Home
last modified time | relevance | path

Searched refs:dip (Results 1 – 25 of 56) 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 Dialloc_repair.c148 struct xfs_dinode *dip; in xrep_ibt_check_ifree() local
161 dip = xfs_buf_offset(cluster_bp, offset); in xrep_ibt_check_ifree()
162 if (be16_to_cpu(dip->di_magic) != XFS_DINODE_MAGIC) in xrep_ibt_check_ifree()
165 if (dip->di_version >= 3 && in xrep_ibt_check_ifree()
166 be64_to_cpu(dip->di_ino) != xfs_agino_to_ino(ri->sc->sa.pag, agino)) in xrep_ibt_check_ifree()
174 *inuse = dip->di_mode != 0; in xrep_ibt_check_ifree()
/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c55 struct xfs_dinode *dip; in xfs_inode_buf_verify() local
59 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify()
60 unlinked_ino = be32_to_cpu(dip->di_next_unlinked); in xfs_inode_buf_verify()
61 di_ok = xfs_verify_magic16(bp, dip->di_magic) && in xfs_inode_buf_verify()
62 xfs_dinode_good_version(mp, dip->di_version) && in xfs_inode_buf_verify()
76 be16_to_cpu(dip->di_magic)); in xfs_inode_buf_verify()
79 __func__, dip, sizeof(*dip), in xfs_inode_buf_verify()
161 struct xfs_dinode *dip, in xfs_inode_from_disk_ts() argument
167 if (xfs_dinode_has_bigtime(dip)) in xfs_inode_from_disk_ts()
377 xfs_dinode_verify_fork(struct xfs_dinode * dip,struct xfs_mount * mp,int whichfork) xfs_dinode_verify_fork() argument
484 xfs_dinode_verify_forkoff(struct xfs_dinode * dip,struct xfs_mount * mp) xfs_dinode_verify_forkoff() argument
514 xfs_dinode_verify_nrext64(struct xfs_mount * mp,struct xfs_dinode * dip) xfs_dinode_verify_nrext64() argument
536 xfs_dinode_verify_metadir(struct xfs_mount * mp,struct xfs_dinode * dip,uint16_t mode,uint16_t flags,uint64_t flags2) xfs_dinode_verify_metadir() argument
596 xfs_dinode_verify(struct xfs_mount * mp,xfs_ino_t ino,struct xfs_dinode * dip) xfs_dinode_verify() argument
799 xfs_dinode_calc_crc(struct xfs_mount * mp,struct xfs_dinode * dip) xfs_dinode_calc_crc() 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...]
/linux/fs/jfs/
H A Dnamei.c63 static int jfs_create(struct mnt_idmap *idmap, struct inode *dip, in jfs_create() argument
75 jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry); in jfs_create()
77 rc = dquot_initialize(dip); in jfs_create()
93 ip = ialloc(dip, mode); in jfs_create()
99 tid = txBegin(dip->i_sb, 0); in jfs_create()
101 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create()
104 rc = jfs_init_acl(tid, ip, dip); in jfs_create()
108 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create()
114 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create()
125 iplist[0] = dip; in jfs_create()
[all …]
/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 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/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 -c 1 -p 100 -q
[all …]
H A Drouter.sh241 local dip=$1; shift
248 flower dst_ip $dip action pass
250 create_mcast_sg $rp1 $sip $dip $rp2
253 -B $dip -q
260 delete_mcast_sg $rp1 $sip $dip $rp2
314 local dip=169.254.1.1
319 flower dst_ip $dip action pass
324 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -q
H A Dmirror_lib.sh34 local dip=$1; shift
39 if is_ipv6 $dip; then
52 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
H A Dlib.sh1422 local dip=$2
1429 -w $PING_TIMEOUT $dip &> /dev/null
1453 local dip=$2
1460 -w $PING_TIMEOUT $dip &> /dev/null
1655 local dip=$1; shift
1659 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \
1669 local dip=$1; shift
1673 __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \
1682 local dip=$1; shift
1686 __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "
[all...]
/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->vdi_mutime); in dip2vip_cpy()
[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_inode_item.c47 struct xfs_dinode *dip; in xfs_inode_item_precommit_check()
50 dip = kzalloc(mp->m_sb.sb_inodesize, GFP_KERNEL | GFP_NOFS); in xfs_inode_item_precommit_check()
51 if (!dip) { in xfs_inode_item_precommit_check()
52 ASSERT(dip != NULL); in xfs_inode_item_precommit_check()
56 xfs_inode_to_disk(ip, dip, 0); in xfs_inode_item_precommit_check()
57 xfs_dinode_calc_crc(mp, dip); in xfs_inode_item_precommit_check()
58 fa = xfs_dinode_verify(mp, I_INO(ip), dip); in xfs_inode_item_precommit_check()
60 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip, in xfs_inode_item_precommit_check()
61 sizeof(*dip), fa); in xfs_inode_item_precommit_check()
65 kfree(dip); in xfs_inode_item_precommit_check()
46 struct xfs_dinode *dip; xfs_inode_item_precommit_check() local
521 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.c803 static void pvr2_v4l2_dev_destroy(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_destroy() argument
805 struct pvr2_hdw *hdw = dip->v4lp->channel.mc_head->hdw; in pvr2_v4l2_dev_destroy()
806 enum pvr2_config cfg = dip->config; in pvr2_v4l2_dev_destroy()
815 video_device_node_name(&dip->devbase), in pvr2_v4l2_dev_destroy()
819 pvr2_hdw_v4l_store_minor_number(hdw,dip->minor_type,-1); in pvr2_v4l2_dev_destroy()
822 dip->v4lp = NULL; in pvr2_v4l2_dev_destroy()
823 dip->stream = NULL; in pvr2_v4l2_dev_destroy()
827 video_unregister_device(&dip->devbase); in pvr2_v4l2_dev_destroy()
834 static void pvr2_v4l2_dev_disassociate_parent(struct pvr2_v4l2_dev *dip) in pvr2_v4l2_dev_disassociate_parent() argument
836 if (!dip) return; in pvr2_v4l2_dev_disassociate_parent()
[all …]
H A Dpvrusb2-sysfs.c411 struct pvr2_sysfs_debugifc *dip; in pvr2_sysfs_add_debugifc() local
414 dip = kzalloc_obj(*dip); in pvr2_sysfs_add_debugifc()
415 if (!dip) return; in pvr2_sysfs_add_debugifc()
416 sysfs_attr_init(&dip->attr_debugcmd.attr); in pvr2_sysfs_add_debugifc()
417 dip->attr_debugcmd.attr.name = "debugcmd"; in pvr2_sysfs_add_debugifc()
418 dip->attr_debugcmd.attr.mode = S_IRUGO|S_IWUSR|S_IWGRP; in pvr2_sysfs_add_debugifc()
419 dip->attr_debugcmd.show = debugcmd_show; in pvr2_sysfs_add_debugifc()
420 dip->attr_debugcmd.store = debugcmd_store; in pvr2_sysfs_add_debugifc()
421 sysfs_attr_init(&dip->attr_debuginfo.attr); in pvr2_sysfs_add_debugifc()
422 dip->attr_debuginfo.attr.name = "debuginfo"; in pvr2_sysfs_add_debugifc()
[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 */
/linux/tools/testing/selftests/net/
H A Dtun.c733 void *sip, *dip, *smac, *dmac; in FIXTURE_SETUP() local
745 assign_ifaddr_vars(family, 1, &sip, &dip, &smac, &dmac); in FIXTURE_SETUP()
749 ret = ip_neigh_add(self->ifname, family, dip, dmac); in FIXTURE_SETUP()
754 ret = geneve_create(param_dev_geneve_name, family, dip, in FIXTURE_SETUP()
760 assign_ifaddr_vars(family, 0, &sip, &dip, &smac, &dmac); in FIXTURE_SETUP()
764 ret = ip_neigh_add(param_dev_geneve_name, family, dip, dmac); in FIXTURE_SETUP()
797 void *sip, *dip, *smac, *dmac; in build_gso_packet_into_tun() local
810 assign_ifaddr_vars(outer_family, 1, &sip, &dip, &smac, &dmac); in build_gso_packet_into_tun()
820 cur += build_ipv4_header(cur, IPPROTO_UDP, pktlen, dip, sip); in build_gso_packet_into_tun()
823 cur += build_ipv6_header(cur, IPPROTO_UDP, 0, pktlen, dip, sip); in build_gso_packet_into_tun()
[all …]
/linux/net/bridge/netfilter/
H A Debt_among.c138 __be32 dip = 0, sip = 0; in ebt_among_mt() local
160 if (get_ip_dst(skb, &dip)) in ebt_among_mt()
164 if (!ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt()
168 if (ebt_mac_wormhash_contains(wh_dst, dmac, dip)) in ebt_among_mt()
/linux/drivers/scsi/bfa/
H A Dbfa_port.c23 u32 *dip = (u32 *) stats; in bfa_port_stats_swap() local
29 t0 = dip[i]; in bfa_port_stats_swap()
30 t1 = dip[i + 1]; in bfa_port_stats_swap()
32 dip[i] = be32_to_cpu(t0); in bfa_port_stats_swap()
33 dip[i + 1] = be32_to_cpu(t1); in bfa_port_stats_swap()
35 dip[i] = be32_to_cpu(t1); in bfa_port_stats_swap()
36 dip[i + 1] = be32_to_cpu(t0); in bfa_port_stats_swap()
/linux/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)

123