Searched refs:dip (Results 1 - 25 of 68) sorted by relevance

123

/linux-master/arch/arm/mach-davinci/
H A Dcommon.c28 struct davinci_id *dip; local
45 for (i = 0, dip = soc_info->ids; i < soc_info->ids_num;
46 i++, dip++)
48 if ((dip->part_no == part_no) && (dip->variant == variant)) {
49 soc_info->cpu_id = dip->cpu_id;
50 pr_info("DaVinci %s variant 0x%x\n", dip->name,
51 dip->variant);
/linux-master/fs/xfs/scrub/
H A Dinode_repair.c170 struct xfs_dinode *dip = xfs_buf_offset(bp, ioffset); local
178 agino = be32_to_cpu(dip->di_next_unlinked);
183 if (dip->di_magic == cpu_to_be16(XFS_DINODE_MAGIC) &&
184 xfs_dinode_good_version(mp, dip->di_version))
187 if (xfs_verify_cksum((char *)dip, mp->m_sb.sb_inodesize,
195 dip->di_magic = cpu_to_be16(XFS_DINODE_MAGIC);
196 dip->di_version = 3;
199 dip->di_next_unlinked = cpu_to_be32(NULLAGINO);
200 xfs_dinode_calc_crc(mp, dip);
225 struct xfs_dinode *dip)
223 xrep_dinode_header( struct xfs_scrub *sc, struct xfs_dinode *dip) argument
428 xrep_dinode_mode( struct xrep_inode *ri, struct xfs_dinode *dip) argument
468 xrep_dinode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, bool isrt) argument
513 xrep_dinode_zap_symlink( struct xrep_inode *ri, struct xfs_dinode *dip) argument
536 xrep_dinode_zap_dir( struct xrep_inode *ri, struct xfs_dinode *dip) argument
559 xrep_dinode_size( struct xrep_inode *ri, struct xfs_dinode *dip) argument
610 xrep_dinode_extsize_hints( struct xfs_scrub *sc, struct xfs_dinode *dip) argument
727 xrep_dinode_bad_extents_fork( struct xfs_scrub *sc, struct xfs_dinode *dip, unsigned int dfork_size, int whichfork) argument
761 xrep_dinode_bad_bmbt_fork( struct xfs_scrub *sc, struct xfs_dinode *dip, unsigned int dfork_size, int whichfork) argument
816 xrep_dinode_check_dfork( struct xfs_scrub *sc, struct xfs_dinode *dip, uint16_t mode) argument
899 xrep_dinode_set_data_nextents( struct xfs_dinode *dip, xfs_extnum_t nextents) argument
910 xrep_dinode_set_attr_nextents( struct xfs_dinode *dip, xfs_extnum_t nextents) argument
922 xrep_dinode_zap_dfork( struct xrep_inode *ri, struct xfs_dinode *dip, uint16_t mode) argument
973 xrep_dinode_check_afork( struct xfs_scrub *sc, struct xfs_dinode *dip) argument
1023 xrep_dinode_zap_afork( struct xrep_inode *ri, struct xfs_dinode *dip, uint16_t mode) argument
1052 xrep_dinode_ensure_forkoff( struct xrep_inode *ri, struct xfs_dinode *dip, uint16_t mode) argument
1243 xrep_dinode_zap_forks( struct xrep_inode *ri, struct xfs_dinode *dip) argument
1300 struct xfs_dinode *dip; local
[all...]
H A Dinode.c214 struct xfs_dinode *dip,
220 uint32_t value = be32_to_cpu(dip->di_extsize);
250 struct xfs_dinode *dip,
259 be32_to_cpu(dip->di_cowextsize), mode, flags,
269 struct xfs_dinode *dip,
314 struct xfs_dinode *dip,
346 if (xfs_dinode_has_bigtime(dip) && !xfs_has_bigtime(mp))
362 struct xfs_dinode *dip,
367 tv = xfs_inode_from_disk_ts(dip, ts);
376 struct xfs_dinode *dip,
212 xchk_inode_extsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) argument
248 xchk_inode_cowextsize( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) argument
267 xchk_inode_flags( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags) argument
312 xchk_inode_flags2( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino, uint16_t mode, uint16_t flags, uint64_t flags2) argument
359 xchk_dinode_nsec( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip, const xfs_timestamp_t ts) argument
374 xchk_dinode( struct xfs_scrub *sc, struct xfs_dinode *dip, xfs_ino_t ino) argument
649 xchk_inode_xref_bmap( struct xfs_scrub *sc, struct xfs_dinode *dip) argument
683 xchk_inode_xref( struct xfs_scrub *sc, xfs_ino_t ino, struct xfs_dinode *dip) argument
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_inode_buf.c54 struct xfs_dinode *dip; local
58 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog));
59 unlinked_ino = be32_to_cpu(dip->di_next_unlinked);
60 di_ok = xfs_verify_magic16(bp, dip->di_magic) &&
61 xfs_dinode_good_version(mp, dip->di_version) &&
75 be16_to_cpu(dip->di_magic));
78 __func__, dip, sizeof(*dip),
160 struct xfs_dinode *dip,
166 if (xfs_dinode_has_bigtime(dip))
159 xfs_inode_from_disk_ts( struct xfs_dinode *dip, const xfs_timestamp_t ts) argument
361 xfs_dinode_verify_fork( struct xfs_dinode *dip, struct xfs_mount *mp, int whichfork) argument
421 xfs_dinode_verify_forkoff( struct xfs_dinode *dip, struct xfs_mount *mp) argument
446 xfs_dinode_verify_nrext64( struct xfs_mount *mp, struct xfs_dinode *dip) argument
464 xfs_dinode_verify( struct xfs_mount *mp, xfs_ino_t ino, struct xfs_dinode *dip) argument
623 xfs_dinode_calc_crc( struct xfs_mount *mp, struct xfs_dinode *dip) argument
[all...]
H A Dxfs_inode_fork.c76 struct xfs_dinode *dip,
85 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) {
89 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork));
91 "xfs_iformat_local", dip, sizeof(*dip),
97 xfs_init_local_fork(ip, whichfork, XFS_DFORK_PTR(dip, whichfork), size);
108 struct xfs_dinode *dip,
114 xfs_extnum_t nex = xfs_dfork_nextents(dip, whichfork);
125 if (unlikely(size < 0 || size > XFS_DFORK_SIZE(dip, mp, whichfork))) {
129 "xfs_iformat_extents(1)", dip, sizeo
74 xfs_iformat_local( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork, int size) argument
106 xfs_iformat_extents( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork) argument
173 xfs_iformat_btree( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork) argument
232 xfs_iformat_data_fork( struct xfs_inode *ip, struct xfs_dinode *dip) argument
289 xfs_dfork_attr_shortform_size( struct xfs_dinode *dip) argument
326 xfs_iformat_attr_fork( struct xfs_inode *ip, struct xfs_dinode *dip) argument
606 xfs_iflush_fork( struct xfs_inode *ip, struct xfs_dinode *dip, struct xfs_inode_log_item *iip, int whichfork) 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);
42 struct timespec64 xfs_inode_from_disk_ts(struct xfs_dinode *dip,
H A Dxfs_inode_fork.h125 struct xfs_dinode *dip)
127 if (xfs_dinode_has_large_extent_counts(dip))
128 return be64_to_cpu(dip->di_big_nextents);
130 return be32_to_cpu(dip->di_nextents);
135 struct xfs_dinode *dip)
137 if (xfs_dinode_has_large_extent_counts(dip))
138 return be32_to_cpu(dip->di_big_anextents);
140 return be16_to_cpu(dip->di_anextents);
145 struct xfs_dinode *dip,
150 return xfs_dfork_data_extents(dip);
124 xfs_dfork_data_extents( struct xfs_dinode *dip) argument
134 xfs_dfork_attr_extents( struct xfs_dinode *dip) argument
144 xfs_dfork_nextents( struct xfs_dinode *dip, int whichfork) argument
[all...]
H A Dxfs_format.h992 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3))
994 #define XFS_DFORK_DSIZE(dip,mp) \
995 ((dip)->di_forkoff ? XFS_DFORK_BOFF(dip) : XFS_LITINO(mp))
996 #define XFS_DFORK_ASIZE(dip,mp) \
997 ((dip)->di_forkoff ? XFS_LITINO(mp) - XFS_DFORK_BOFF(dip) : 0)
998 #define XFS_DFORK_SIZE(dip,mp,w) \
1000 XFS_DFORK_DSIZE(dip, m
1025 xfs_dinode_get_rdev(struct xfs_dinode *dip) argument
1030 xfs_dinode_put_rdev(struct xfs_dinode *dip, xfs_dev_t rdev) argument
1098 xfs_dinode_has_bigtime(const struct xfs_dinode *dip) argument
1104 xfs_dinode_has_large_extent_counts( const struct xfs_dinode *dip) argument
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_flower_port_range.sh80 local dip=$1; shift
95 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \
100 flower src_ip $sip dst_ip $dip ip_proto $ip_proto \
105 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
112 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
119 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
128 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
130 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
132 $MZ $mode $h1 -c 1 -q -p 100 -a $smac -b $dmac -A $sip -B $dip \
134 $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
194 vlan_create $h2 1$i v$h2 $(dip $i)/28
285 ping_test $h1.10 $(dip 0) " vlan 10"
286 ping_test $h1.11 $(dip 1) " vlan 11"
287 ping_test $h1.12 $(dip 2) " vlan 12"
H A Dmirror_lib.sh34 local dip=$1; shift
39 if is_ipv6 $dip; then
48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
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-master/fs/freevxfs/
H A Dvxfs_inode.c77 struct vxfs_inode_info *vip, struct vxfs_dinode *dip)
81 vip->vii_mode = fs32_to_cpu(sbi, dip->vdi_mode);
82 vip->vii_nlink = fs32_to_cpu(sbi, dip->vdi_nlink);
83 vip->vii_uid = fs32_to_cpu(sbi, dip->vdi_uid);
84 vip->vii_gid = fs32_to_cpu(sbi, dip->vdi_gid);
85 vip->vii_size = fs64_to_cpu(sbi, dip->vdi_size);
86 vip->vii_atime = fs32_to_cpu(sbi, dip->vdi_atime);
87 vip->vii_autime = fs32_to_cpu(sbi, dip->vdi_autime);
88 vip->vii_mtime = fs32_to_cpu(sbi, dip->vdi_mtime);
89 vip->vii_mutime = fs32_to_cpu(sbi, dip
76 dip2vip_cpy(struct vxfs_sb_info *sbi, struct vxfs_inode_info *vip, struct vxfs_dinode *dip) argument
154 struct vxfs_dinode *dip; local
157 dip2vip_cpy(VXFS_SBI(sbp), vip, dip); local
193 struct vxfs_dinode *dip; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_iunlink_item.c57 struct xfs_dinode *dip; local
73 dip = xfs_buf_offset(ibp, ip->i_imap.im_boffset);
76 if (be32_to_cpu(dip->di_next_unlinked) != iup->old_agino) {
77 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip,
78 sizeof(*dip), __this_address);
85 be32_to_cpu(dip->di_next_unlinked), iup->next_agino);
87 dip->di_next_unlinked = cpu_to_be32(iup->next_agino);
91 xfs_dinode_calc_crc(mp, dip);
H A Dxfs_inode_item_recover.c77 struct xfs_dinode *dip,
91 ASSERT(dip->di_version >= 3);
93 error = xfs_inode_from_disk(ip, dip);
279 struct xfs_dinode *dip; local
318 dip = xfs_buf_offset(bp, in_f->ilf_boffset);
324 if (XFS_IS_CORRUPT(mp, !xfs_verify_magic16(bp, dip->di_magic))) {
326 "%s: Bad inode magic number, dip = "PTR_FMT", dino bp = "PTR_FMT", ino = %lld",
327 __func__, dip, bp, in_f->ilf_ino);
356 if (dip->di_version >= 3) {
357 xfs_lsn_t lsn = be64_to_cpu(dip
75 xfs_recover_inode_owner_change( struct xfs_mount *mp, struct xfs_dinode *dip, struct xfs_inode_log_format *in_f, struct list_head *buffer_list) argument
[all...]
/linux-master/fs/gfs2/
H A Ddir.c36 * dip->i_diskflags & GFS2_DIF_EXHASH is true
606 static int dirent_check_reclen(struct gfs2_inode *dip, argument
620 gfs2_consist_inode(dip);
626 * @dip: the directory
633 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, argument
640 ret = dirent_check_reclen(dip, cur, bh_end);
645 ret = dirent_check_reclen(dip, tmp, bh_end);
651 gfs2_consist_inode(dip);
661 * @dip: The GFS2 inode
668 static void dirent_del(struct gfs2_inode *dip, struc argument
755 get_leaf(struct gfs2_inode *dip, u64 leaf_no, struct buffer_head **bhp) argument
778 get_leaf_nr(struct gfs2_inode *dip, u32 index, u64 *leaf_out) argument
792 get_first_leaf(struct gfs2_inode *dip, u32 index, struct buffer_head **bh_out) argument
906 struct gfs2_inode *dip = GFS2_I(inode); local
1000 struct gfs2_inode *dip = GFS2_I(inode); local
1147 dir_double_exhash(struct gfs2_inode *dip) argument
1263 do_filldir_main(struct gfs2_inode *dip, struct dir_context *ctx, struct gfs2_dirent **darr, u32 entries, u32 sort_start, int *copied) argument
1531 struct gfs2_inode *dip = GFS2_I(inode); local
1570 struct gfs2_inode *dip = GFS2_I(inode); local
1874 gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry) argument
1936 gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, const struct gfs2_inode *nip, unsigned int new_type) argument
1972 leaf_dealloc(struct gfs2_inode *dip, u32 index, u32 len, u64 leaf_no, struct buffer_head *leaf_bh, int last_dealloc) argument
2100 gfs2_dir_exhash_dealloc(struct gfs2_inode *dip) argument
[all...]
H A Ddentry.c37 struct gfs2_inode *dip; local
49 dip = GFS2_I(d_inode(parent));
63 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL);
65 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
H A Dinode.c271 * @dip: The directory
274 struct inode *gfs2_lookup_meta(struct inode *dip, const char *name) argument
280 inode = gfs2_lookupi(dip, &qstr, 1);
312 struct gfs2_inode *dip = GFS2_I(dir); local
328 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) {
329 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh);
353 * @dip: Directory in which dinode is to be created
360 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, argument
365 error = gfs2_permission(&nop_mnt_idmap, &dip->i_inode,
371 if (!dip
382 munge_mode_uid_gid(const struct gfs2_inode *dip, struct inode *inode) argument
494 init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, const char *symname) argument
541 gfs2_trans_da_blks(const struct gfs2_inode *dip, const struct gfs2_diradd *da, unsigned nr_inodes) argument
549 link_dinode(struct gfs2_inode *dip, const struct qstr *name, struct gfs2_inode *ip, struct gfs2_diradd *da) argument
629 struct gfs2_inode *dip = GFS2_I(dir), *ip; local
948 struct gfs2_inode *dip = GFS2_I(dir); local
1078 gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name, const struct gfs2_inode *ip) argument
1113 gfs2_unlink_inode(struct gfs2_inode *dip, const struct dentry *dentry) argument
1150 struct gfs2_inode *dip = GFS2_I(dir); local
[all...]
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-master/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, argument
74 jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry);
76 rc = dquot_initialize(dip);
92 ip = ialloc(dip, mode);
98 tid = txBegin(dip->i_sb, 0);
100 mutex_lock_nested(&JFS_IP(dip)
195 jfs_mkdir(struct mnt_idmap *idmap, struct inode *dip, struct dentry *dentry, umode_t mode) argument
333 jfs_rmdir(struct inode *dip, struct dentry *dentry) argument
463 jfs_unlink(struct inode *dip, struct dentry *dentry) argument
878 jfs_symlink(struct mnt_idmap *idmap, struct inode *dip, struct dentry *dentry, const char *name) argument
1449 jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) argument
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c824 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) argument
826 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw;
827 enum pvr2_config cfg = dip->config;
836 video_device_node_name(&dip->devbase),
840 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1);
843 dip->v4lp = NULL;
844 dip->stream = NULL;
848 video_unregister_device(&dip->devbase);
855 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) argument
857 if (!dip) retur
948 struct pvr2_v4l2_dev *dip; /* Our own context pointer */ local
1182 pvr2_v4l2_dev_init(struct pvr2_v4l2_dev *dip, struct pvr2_v4l2 *vp, int v4l_type) argument
[all...]
/linux-master/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-master/tools/testing/selftests/bpf/
H A Dgenerate_udp_fragments.py65 dip = VETH1_ADDR
72 pkt = IP(src=sip,dst=dip) / UDP(sport=sport,dport=dport,chksum=0) / Raw(load=payload)

Completed in 664 milliseconds

123