Home
last modified time | relevance | path

Searched refs:dip (Results 1 – 25 of 71) sorted by relevance

123

/linux/fs/xfs/scrub/
H A Dinode_repair.c174 struct xfs_dinode *dip = xfs_buf_offset(bp, ioffset); in xrep_dinode_buf_core() local
182 agino = be32_to_cpu(dip->di_next_unlinked); in xrep_dinode_buf_core()
187 if (dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) && in xrep_dinode_buf_core()
188 xfs_dinode_good_version(mp, dip->di_version)) in xrep_dinode_buf_core()
191 if (xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize, in xrep_dinode_buf_core()
199 dip->di_magic = cpu_to_be16(XFS_DINODE_MAGIC); in xrep_dinode_buf_core()
200 dip->di_version = 3; in xrep_dinode_buf_core()
203 dip->di_next_unlinked = cpu_to_be32(NULLAGINO); in xrep_dinode_buf_core()
204 xfs_dinode_calc_crc(mp, dip); in xrep_dinode_buf_core()
229 struct xfs_dinode *dip) in xrep_dinode_header() argument
486 xrep_dinode_mode(struct xrep_inode * ri,struct xfs_dinode * dip) xrep_dinode_mode() argument
525 xrep_dinode_nlinks(struct xfs_dinode * dip) xrep_dinode_nlinks() argument
544 xrep_dinode_flags(struct xfs_scrub * sc,struct xfs_dinode * dip,bool isrt) xrep_dinode_flags() argument
597 xrep_dinode_zap_symlink(struct xrep_inode * ri,struct xfs_dinode * dip) xrep_dinode_zap_symlink() argument
620 xrep_dinode_zap_dir(struct xrep_inode * ri,struct xfs_dinode * dip) xrep_dinode_zap_dir() argument
643 xrep_dinode_size(struct xrep_inode * ri,struct xfs_dinode * dip) xrep_dinode_size() argument
694 xrep_dinode_extsize_hints(struct xfs_scrub * sc,struct xfs_dinode * dip) xrep_dinode_extsize_hints() argument
866 xrep_dinode_bad_extents_fork(struct xfs_scrub * sc,struct xfs_dinode * dip,unsigned int dfork_size,int whichfork) xrep_dinode_bad_extents_fork() argument
900 xrep_dinode_bad_bmbt_fork(struct xfs_scrub * sc,struct xfs_dinode * dip,unsigned int dfork_size,int whichfork) xrep_dinode_bad_bmbt_fork() argument
952 xrep_dinode_bad_rtrmapbt_fork(struct xfs_scrub * sc,struct xfs_dinode * dip,unsigned int dfork_size) xrep_dinode_bad_rtrmapbt_fork() argument
980 xrep_dinode_bad_rtrefcountbt_fork(struct xfs_scrub * sc,struct xfs_dinode * dip,unsigned int dfork_size) xrep_dinode_bad_rtrefcountbt_fork() argument
1008 xrep_dinode_bad_metabt_fork(struct xfs_scrub * sc,struct xfs_dinode * dip,unsigned int dfork_size,int whichfork) xrep_dinode_bad_metabt_fork() argument
1034 xrep_dinode_check_dfork(struct xfs_scrub * sc,struct xfs_dinode * dip,uint16_t mode) xrep_dinode_check_dfork() argument
1129 xrep_dinode_set_data_nextents(struct xfs_dinode * dip,xfs_extnum_t nextents) xrep_dinode_set_data_nextents() argument
1140 xrep_dinode_set_attr_nextents(struct xfs_dinode * dip,xfs_extnum_t nextents) xrep_dinode_set_attr_nextents() argument
1153 xrep_dinode_zap_dfork(struct xrep_inode * ri,struct xfs_dinode * dip,uint16_t mode) xrep_dinode_zap_dfork() argument
1204 xrep_dinode_check_afork(struct xfs_scrub * sc,struct xfs_dinode * dip) xrep_dinode_check_afork() argument
1259 xrep_dinode_zap_afork(struct xrep_inode * ri,struct xfs_dinode * dip,uint16_t mode) xrep_dinode_zap_afork() argument
1288 xrep_dinode_ensure_forkoff(struct xrep_inode * ri,struct xfs_dinode * dip,uint16_t mode) xrep_dinode_ensure_forkoff() argument
1496 xrep_dinode_zap_forks(struct xrep_inode * ri,struct xfs_dinode * dip) xrep_dinode_zap_forks() argument
1551 struct xfs_dinode *dip; xrep_dinode_core() local
[all...]
H A Dinode.c236 struct xfs_dinode *dip, in xchk_inode_extsize() argument
242 uint32_t value = be32_to_cpu(dip->di_extsize); in xchk_inode_extsize()
267 struct xfs_dinode *dip, in xchk_inode_cowextsize() argument
274 uint32_t value = be32_to_cpu(dip->di_cowextsize); in xchk_inode_cowextsize()
280 dip->di_metatype == cpu_to_be16(XFS_METAFILE_RTRMAP)) in xchk_inode_cowextsize()
306 struct xfs_dinode *dip, in xchk_inode_flags() argument
351 struct xfs_dinode *dip, in xchk_inode_flags2() argument
384 if (xfs_dinode_has_bigtime(dip) && !xfs_has_bigtime(mp)) in xchk_inode_flags2()
400 struct xfs_dinode *dip, in xchk_dinode_nsec() argument
405 tv = xfs_inode_from_disk_ts(dip, t in xchk_dinode_nsec()
414 xchk_dinode(struct xfs_scrub * sc,struct xfs_dinode * dip,xfs_ino_t ino) xchk_dinode() argument
698 xchk_inode_xref_bmap(struct xfs_scrub * sc,struct xfs_dinode * dip) xchk_inode_xref_bmap() argument
731 xchk_inode_xref(struct xfs_scrub * sc,xfs_ino_t ino,struct xfs_dinode * dip) xchk_inode_xref() argument
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.c78 struct xfs_dinode *dip, in xfs_iformat_local() argument
87 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local()
91 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local()
93 "xfs_iformat_local", dip, sizeof(*dip), in xfs_iformat_local()
99 xfs_init_local_fork(ip, whichfork, XFS_DFORK_PTR(dip, whichfork), size); in xfs_iformat_local()
110 struct xfs_dinode *dip, in xfs_iformat_extents() argument
116 xfs_extnum_t nex = xfs_dfork_nextents(dip, whichfork); in xfs_iformat_extents()
127 if (unlikely(size < 0 || size > XFS_DFORK_SIZE(dip, mp, whichfork))) { in xfs_iformat_extents()
131 "xfs_iformat_extents(1)", dip, sizeo in xfs_iformat_extents()
177 xfs_iformat_btree(struct xfs_inode * ip,struct xfs_dinode * dip,int whichfork) xfs_iformat_btree() argument
233 xfs_iformat_data_fork(struct xfs_inode * ip,struct xfs_dinode * dip) xfs_iformat_data_fork() argument
299 xfs_dfork_attr_shortform_size(struct xfs_dinode * dip) xfs_dfork_attr_shortform_size() argument
337 xfs_iformat_attr_fork(struct xfs_inode * ip,struct xfs_dinode * dip) xfs_iformat_attr_fork() argument
550 xfs_iflush_fork(struct xfs_inode * ip,struct xfs_dinode * dip,struct xfs_inode_log_item * iip,int whichfork) xfs_iflush_fork() argument
[all...]
H A Dxfs_inode_fork.h125 struct xfs_dinode *dip) in xfs_dfork_data_extents() argument
127 if (xfs_dinode_has_large_extent_counts(dip)) in xfs_dfork_data_extents()
128 return be64_to_cpu(dip->di_big_nextents); in xfs_dfork_data_extents()
130 return be32_to_cpu(dip->di_nextents); in xfs_dfork_data_extents()
135 struct xfs_dinode *dip) in xfs_dfork_attr_extents() argument
137 if (xfs_dinode_has_large_extent_counts(dip)) in xfs_dfork_attr_extents()
138 return be32_to_cpu(dip->di_big_anextents); in xfs_dfork_attr_extents()
140 return be16_to_cpu(dip->di_anextents); in xfs_dfork_attr_extents()
145 struct xfs_dinode *dip, in xfs_dfork_nextents() argument
150 return xfs_dfork_data_extents(dip); in xfs_dfork_nextents()
[all...]
H A Dxfs_format.h1099 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3)) argument
1101 #define XFS_DFORK_DSIZE(dip,mp) \ argument
1102 ((dip)->di_forkoff ? XFS_DFORK_BOFF(dip) : XFS_LITINO(mp))
1103 #define XFS_DFORK_ASIZE(dip,mp) \ argument
1104 ((dip)->di_forkoff ? XFS_LITINO(mp) - XFS_DFORK_BOFF(dip) : 0)
1105 #define XFS_DFORK_SIZE(dip,mp,w) \ argument
1107 XFS_DFORK_DSIZE(dip, m
1110 XFS_DFORK_MAXEXT(dip,mp,w) global() argument
1116 XFS_DFORK_DPTR(dip) global() argument
1118 XFS_DFORK_APTR(dip) global() argument
1120 XFS_DFORK_PTR(dip,w) global() argument
1123 XFS_DFORK_FORMAT(dip,w) global() argument
1132 xfs_dinode_get_rdev(struct xfs_dinode * dip) xfs_dinode_get_rdev() argument
1137 xfs_dinode_put_rdev(struct xfs_dinode * dip,xfs_dev_t rdev) xfs_dinode_put_rdev() argument
1244 xfs_dinode_has_bigtime(const struct xfs_dinode * dip) xfs_dinode_has_bigtime() argument
1251 xfs_dinode_has_large_extent_counts(const struct xfs_dinode * dip) xfs_dinode_has_large_extent_counts() argument
1257 xfs_dinode_is_metadir(const struct xfs_dinode * dip) xfs_dinode_is_metadir() argument
[all...]
H A Dxfs_inode_buf.h24 void xfs_dinode_calc_crc(struct xfs_mount *mp, struct xfs_dinode *dip);
30 struct xfs_dinode *dip);
32 struct xfs_dinode *dip, uint16_t mode, uint16_t flags,
45 struct timespec64 xfs_inode_from_disk_ts(struct xfs_dinode *dip,
/linux/fs/jfs/
H A Dnamei.c49 * NAME: jfs_create(dip, dentry, mode)
51 * FUNCTION: create a regular file in the parent directory <dip>
54 * PARAMETER: dip - parent directory vnode
62 static int jfs_create(struct mnt_idmap *idmap, struct inode *dip, in jfs_create() argument
74 jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry); in jfs_create()
76 rc = dquot_initialize(dip); in jfs_create()
92 ip = ialloc(dip, mode); in jfs_create()
98 tid = txBegin(dip->i_sb, 0); in jfs_create()
100 mutex_lock_nested(&JFS_IP(dip) in jfs_create()
195 jfs_mkdir(struct mnt_idmap * idmap,struct inode * dip,struct dentry * dentry,umode_t mode) jfs_mkdir() argument
333 jfs_rmdir(struct inode * dip,struct dentry * dentry) jfs_rmdir() argument
463 jfs_unlink(struct inode * dip,struct dentry * dentry) jfs_unlink() argument
878 jfs_symlink(struct mnt_idmap * idmap,struct inode * dip,struct dentry * dentry,const char * name) jfs_symlink() argument
1449 jfs_lookup(struct inode * dip,struct dentry * dentry,unsigned int flags) jfs_lookup() argument
[all...]
/linux/tools/testing/selftests/net/forwarding/
H A Dtc_flower_port_range.sh81 local dip=$1; shift
96 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \
101 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \
106 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
113 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
120 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
129 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
131 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
133 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
135 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
[all...]
H A Dtc_flower_l2_miss.sh74 local dip=192.0.2.2
82 dst_ip $dip action pass
86 dst_ip $dip action pass
89 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q
100 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q
111 $MZ $h1 -a own -b $dmac -t ip -A $sip -B $dip -c 1 -p 100 -q
129 local dip=$1; shift
138 flower indev $swp1 l2_miss 1 src_ip $sip dst_ip $dip \
142 flower indev $swp1 l2_miss 0 src_ip $sip dst_ip $dip \
146 $MZ $mode $h1 -a own -b $dmac -t ip -A $sip -B $dip
[all...]
H A Dsch_ets_core.sh74 dip() function
85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac
192 vlan_create $h2 1$i v$h2 $(dip $i)/28
264 ping_test $h1.10 $(dip 0) " vlan 10"
265 ping_test $h1.11 $(dip 1) " vlan 11"
266 ping_test $h1.12 $(dip 2) " vlan 12"
H A Drouter.sh238 local dip=$1; shift
245 flower dst_ip $dip action pass
247 create_mcast_sg $rp1 $sip $dip $rp2
250 -B $dip -q
257 delete_mcast_sg $rp1 $sip $dip $rp2
311 local dip=169.254.1.1
316 flower dst_ip $dip action pass
321 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -q
/linux/fs/gfs2/
H A Ddir.c36 * dip->i_diskflags & GFS2_DIF_EXHASH is true
608 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() argument
615 gfs2_consist_inode(dip); in dirent_check_reclen()
624 gfs2_consist_inode(dip); in dirent_check_reclen()
630 * @dip: the directory
637 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() argument
644 ret = dirent_check_reclen(dip, cur, bh_end); in dirent_next()
649 ret = dirent_check_reclen(dip, tmp, bh_end); in dirent_next()
655 gfs2_consist_inode(dip); in dirent_next()
665 * @dip
672 dirent_del(struct gfs2_inode * dip,struct buffer_head * bh,struct gfs2_dirent * prev,struct gfs2_dirent * cur) dirent_del() argument
759 get_leaf(struct gfs2_inode * dip,u64 leaf_no,struct buffer_head ** bhp) get_leaf() argument
782 get_leaf_nr(struct gfs2_inode * dip,u32 index,u64 * leaf_out) get_leaf_nr() argument
796 get_first_leaf(struct gfs2_inode * dip,u32 index,struct buffer_head ** bh_out) get_first_leaf() argument
910 struct gfs2_inode *dip = GFS2_I(inode); dir_make_exhash() local
1001 struct gfs2_inode *dip = GFS2_I(inode); dir_split_leaf() local
1148 dir_double_exhash(struct gfs2_inode * dip) dir_double_exhash() argument
1264 do_filldir_main(struct gfs2_inode * dip,struct dir_context * ctx,struct gfs2_dirent ** darr,u32 entries,u32 sort_start,int * copied) do_filldir_main() argument
1532 struct gfs2_inode *dip = GFS2_I(inode); dir_e_read() local
1571 struct gfs2_inode *dip = GFS2_I(inode); gfs2_dir_read() local
1875 gfs2_dir_del(struct gfs2_inode * dip,const struct dentry * dentry) gfs2_dir_del() argument
1937 gfs2_dir_mvino(struct gfs2_inode * dip,const struct qstr * filename,const struct gfs2_inode * nip,unsigned int new_type) gfs2_dir_mvino() argument
1973 leaf_dealloc(struct gfs2_inode * dip,u32 index,u32 len,u64 leaf_no,struct buffer_head * leaf_bh,int last_dealloc) leaf_dealloc() argument
2101 gfs2_dir_exhash_dealloc(struct gfs2_inode * dip) gfs2_dir_exhash_dealloc() argument
[all...]
H A Dinode.c271 * @dip: The directory
274 struct inode *gfs2_lookup_meta(struct inode *dip, const char *name) in gfs2_lookup_meta() argument
280 inode = gfs2_lookupi(dip, &qstr, 1); in gfs2_lookup_meta()
312 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() local
328 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) { in gfs2_lookupi()
329 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_lookupi()
353 * @dip: Directory in which dinode is to be created
360 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() argument
365 error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode, in create_ok()
371 if (!dip in create_ok()
382 munge_mode_uid_gid(const struct gfs2_inode * dip,struct inode * inode) munge_mode_uid_gid() argument
560 init_dinode(struct gfs2_inode * dip,struct gfs2_inode * ip,const char * symname) init_dinode() argument
607 gfs2_trans_da_blks(const struct gfs2_inode * dip,const struct gfs2_diradd * da,unsigned nr_inodes) gfs2_trans_da_blks() argument
615 link_dinode(struct gfs2_inode * dip,const struct qstr * name,struct gfs2_inode * ip,struct gfs2_diradd * da) link_dinode() argument
695 struct gfs2_inode *dip = GFS2_I(dir), *ip; gfs2_create_inode() local
1027 struct gfs2_inode *dip = GFS2_I(dir); gfs2_link() local
1157 gfs2_unlink_ok(struct gfs2_inode * dip,const struct qstr * name,const struct gfs2_inode * ip) gfs2_unlink_ok() argument
1192 gfs2_unlink_inode(struct gfs2_inode * dip,const struct dentry * dentry) gfs2_unlink_inode() argument
1229 struct gfs2_inode *dip = GFS2_I(dir); gfs2_unlink() local
[all...]
H A Ddentry.c39 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_drevalidate() local
60 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL); in gfs2_drevalidate()
62 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_drevalidate()
H A Ddir.h38 int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry);
41 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
44 int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip);
/linux/fs/freevxfs/
H A Dvxfs_inode.c77 struct vxfs_inode_info *vip, struct vxfs_dinode *dip) in dip2vip_cpy() argument
81 vip->vii_mode = fs32_to_cpu(sbi, dip->vdi_mode); in dip2vip_cpy()
82 vip->vii_nlink = fs32_to_cpu(sbi, dip->vdi_nlink); in dip2vip_cpy()
83 vip->vii_uid = fs32_to_cpu(sbi, dip->vdi_uid); in dip2vip_cpy()
84 vip->vii_gid = fs32_to_cpu(sbi, dip->vdi_gid); in dip2vip_cpy()
85 vip->vii_size = fs64_to_cpu(sbi, dip->vdi_size); in dip2vip_cpy()
86 vip->vii_atime = fs32_to_cpu(sbi, dip->vdi_atime); in dip2vip_cpy()
87 vip->vii_autime = fs32_to_cpu(sbi, dip->vdi_autime); in dip2vip_cpy()
88 vip->vii_mtime = fs32_to_cpu(sbi, dip->vdi_mtime); in dip2vip_cpy()
89 vip->vii_mutime = fs32_to_cpu(sbi, dip in dip2vip_cpy()
154 struct vxfs_dinode *dip; vxfs_blkiget() local
193 struct vxfs_dinode *dip; __vxfs_iget() local
[all...]
H A Dvxfs_lookup.c121 * @dip: directory to search in
126 * the path component described by @dp in @dip.
132 vxfs_inode_by_name(struct inode *dip, struct dentry *dp) in vxfs_inode_by_name() argument
138 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name()
140 ino = fs32_to_cpu(VXFS_SBI(dip->i_sb), de->d_ino); in vxfs_inode_by_name()
150 * @dip: dir in which we lookup
156 * by @dp in @dip.
163 vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags) in vxfs_lookup() argument
171 ino = vxfs_inode_by_name(dip, dp); in vxfs_lookup()
173 ip = vxfs_iget(dip in vxfs_lookup()
[all...]
/linux/fs/xfs/
H A Dxfs_inode_item_recover.c79 struct xfs_dinode *dip, in xfs_recover_inode_owner_change() argument
93 ASSERT(dip->di_version >= 3); in xfs_recover_inode_owner_change()
95 error = xfs_inode_from_disk(ip, dip); in xfs_recover_inode_owner_change()
277 struct xfs_dinode *dip) in xlog_recover_inode_dbroot() argument
279 void *dfork = XFS_DFORK_DPTR(dip); in xlog_recover_inode_dbroot()
280 unsigned int dsize = XFS_DFORK_DSIZE(dip, mp); in xlog_recover_inode_dbroot()
282 switch (dip->di_format) { in xlog_recover_inode_dbroot()
287 switch (be16_to_cpu(dip->di_metatype)) { in xlog_recover_inode_dbroot()
317 struct xfs_dinode *dip; in xlog_recover_inode_commit_pass2() local
356 dip in xlog_recover_inode_commit_pass2()
[all...]
H A Dxfs_iunlink_item.c56 struct xfs_dinode *dip; in xfs_iunlink_log_dinode() local
73 dip = xfs_buf_offset(ibp, ip->i_imap.im_boffset); in xfs_iunlink_log_dinode()
76 old_ptr = be32_to_cpu(dip->di_next_unlinked); in xfs_iunlink_log_dinode()
78 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip, in xfs_iunlink_log_dinode()
79 sizeof(*dip), __this_address); in xfs_iunlink_log_dinode()
86 dip->di_next_unlinked = cpu_to_be32(iup->next_agino); in xfs_iunlink_log_dinode()
90 xfs_dinode_calc_crc(tp->t_mountp, dip); in xfs_iunlink_log_dinode()
H A Dxfs_inode_item.c46 struct xfs_dinode *dip; in xfs_inode_item_precommit_check() local
49 dip = kzalloc(mp->m_sb.sb_inodesize, GFP_KERNEL | GFP_NOFS); in xfs_inode_item_precommit_check()
50 if (!dip) { in xfs_inode_item_precommit_check()
51 ASSERT(dip != NULL); in xfs_inode_item_precommit_check()
55 xfs_inode_to_disk(ip, dip, 0); in xfs_inode_item_precommit_check()
56 xfs_dinode_calc_crc(mp, dip); in xfs_inode_item_precommit_check()
57 fa = xfs_dinode_verify(mp, ip->i_ino, dip); in xfs_inode_item_precommit_check()
59 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip, in xfs_inode_item_precommit_check()
60 sizeof(*dip), fa); in xfs_inode_item_precommit_check()
64 kfree(dip); in xfs_inode_item_precommit_check()
531 struct xfs_dinode *dip; xfs_copy_dm_fields_to_log_dinode() local
[all...]
/linux/arch/arm/mach-davinci/
H A Dcommon.c28 struct davinci_id *dip; in davinci_init_id() local
45 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num; in davinci_init_id()
46 i++, dip++) in davinci_init_id()
48 if ((dip->part_no == part_no) && (dip->variant == variant)) { in davinci_init_id()
49 soc_info->cpu_id = dip->cpu_id; in davinci_init_id()
50 pr_info("DaVinci %s variant 0x%x\n", dip->name, in davinci_init_id()
51 dip->variant); in davinci_init_id()
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c800 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument
802 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy()
803 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy()
812 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy()
816 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy()
819 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy()
820 dip->stream = NULL; in pvr2_v4l2_dev_destroy()
824 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy()
831 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument
833 if (!dip) retur in pvr2_v4l2_dev_disassociate_parent()
924 struct pvr2_v4l2_dev *dip; /* Our own context pointer */ pvr2_v4l2_open() local
1158 pvr2_v4l2_dev_init(struct pvr2_v4l2_dev * dip,struct pvr2_v4l2 * vp,int v4l_type) pvr2_v4l2_dev_init() argument
[all...]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_l3_drops.sh193 local dip=$1; shift
208 -B $dip -d 1msec -q &
229 local dip=$1; shift
243 -b $rp1mac -B $dip -d 1msec -q &
263 local dip=$1; shift
273 flower dst_ip $dip action drop
277 -B $dip -d 1msec -q &
298 local dip=$1; shift
312 -b $rp1mac -B $dip -d 1msec -q &
468 local dip
[all...]
H A Ddevlink_trap_l3_exceptions.sh370 local dip=$1; shift
386 ping_do $h1 $dip
401 local dip=$1; shift
417 ip $flags route add $dip via $extra_add dev $rp2
423 ping_do $h1 $dip
426 ping_do $h1 $dip
433 ip $flags route del $dip via $extra_add dev $rp2
437 ip $flags route add $dip via $via_add dev $h2
440 ping_do $h1 $dip
447 ip $flags route del $dip vi
[all...]
/linux/arch/riscv/boot/dts/canaan/
H A Dcanaan_kd233.dts85 <K210_FPIOA(20, K210_PCF_GPIOHS4)>, /* Rot. dip sw line 8 */
86 <K210_FPIOA(21, K210_PCF_GPIOHS5)>, /* Rot. dip sw line 4 */
87 <K210_FPIOA(22, K210_PCF_GPIOHS6)>, /* Rot. dip sw line 2 */
88 <K210_FPIOA(23, K210_PCF_GPIOHS7)>, /* Rot. dip sw line 1 */

123