| /linux/fs/xfs/scrub/ |
| H A D | inode_repair.c | 174 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 [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | tc_flower_port_range.sh | 81 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 D | tc_flower_l2_miss.sh | 74 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 D | router.sh | 241 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 D | mirror_lib.sh | 34 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 D | lib.sh | 1444 -w $PING_TIMEOUT $dip &> /dev/null 1475 -w $PING_TIMEOUT $dip &> /dev/null 1670 local dip=$1; shift 1674 $MZ $h_in -p $pktsize -A $sip -B $dip -c 0 \ 1684 local dip=$1; shift 1688 __start_traffic $pktsize udp "$h_in" "$sip" "$dip" "$dmac" \ 1697 local dip=$1; shift 1701 __start_traffic $pktsize tcp "$h_in" "$sip" "$dip" "$dmac" \ 1709 local dip=$1; shift 1713 start_traffic_pktsize 8000 "$h_in" "$sip" "$dip" "$dmac" \ [all …]
|
| H A D | router_broadcast.sh | 168 local dip=$2 174 log_info "ping $dip, expected reply from $from" 176 $PING -I $oif $dip -c 10 -i 0.1 -w $PING_TIMEOUT -b 2>&1 \
|
| /linux/arch/arm/mach-davinci/ |
| H A D | common.c | 28 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/fs/xfs/libxfs/ |
| H A D | xfs_inode_fork.h | 125 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 D | xfs_rtrefcount_btree.c | 631 struct xfs_dinode *dip) in xfs_iformat_rtrefcount() argument 634 struct xfs_rtrefcount_root *dfp = XFS_DFORK_PTR(dip, XFS_DATA_FORK); in xfs_iformat_rtrefcount() 650 dsize = XFS_DFORK_SIZE(dip, mp, XFS_DATA_FORK); in xfs_iformat_rtrefcount() 717 struct xfs_dinode *dip) in xfs_iflush_rtrefcount() argument 720 struct xfs_rtrefcount_root *dfp = XFS_DFORK_PTR(dip, XFS_DATA_FORK); in xfs_iflush_rtrefcount() 728 XFS_DFORK_SIZE(dip, ip->i_mount, XFS_DATA_FORK)); in xfs_iflush_rtrefcount()
|
| H A D | xfs_rtrefcount_btree.h | 180 int xfs_iformat_rtrefcount(struct xfs_inode *ip, struct xfs_dinode *dip); 184 void xfs_iflush_rtrefcount(struct xfs_inode *ip, struct xfs_dinode *dip);
|
| H A D | xfs_rtrmap_btree.h | 191 int xfs_iformat_rtrmap(struct xfs_inode *ip, struct xfs_dinode *dip); 195 void xfs_iflush_rtrmap(struct xfs_inode *ip, struct xfs_dinode *dip);
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-v4l2.c | 803 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 D | pvrusb2-sysfs.c | 411 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/fs/gfs2/ |
| H A D | dentry.c | 39 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 D | dir.h | 38 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/arch/riscv/boot/dts/canaan/ |
| H A D | canaan_kd233.dts | 85 <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/fs/btrfs/ |
| H A D | direct-io.c | 707 struct btrfs_dio_private *dip = in btrfs_dio_end_io() local 716 dip->file_offset, dip->bytes, bio->bi_status); in btrfs_dio_end_io() 720 btrfs_finish_ordered_extent(bbio->ordered, dip->file_offset, in btrfs_dio_end_io() 721 dip->bytes, !bio->bi_status); in btrfs_dio_end_io() 723 btrfs_unlock_dio_extent(&inode->io_tree, dip->file_offset, in btrfs_dio_end_io() 724 dip->file_offset + dip->bytes - 1, NULL); in btrfs_dio_end_io() 773 struct btrfs_dio_private *dip = in btrfs_dio_submit_io() local 780 dip->file_offset = file_offset; in btrfs_dio_submit_io() 781 dip->bytes = bio->bi_iter.bi_size; in btrfs_dio_submit_io() 796 file_offset, dip->bytes, in btrfs_dio_submit_io()
|
| /linux/tools/testing/selftests/net/ |
| H A D | tun.c | 733 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 D | ebt_among.c | 138 __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 D | bfa_port.c | 23 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 D | generate_udp_fragments.py | 65 dip = VETH1_ADDR 72 pkt = IP(src=sip,dst=dip) / UDP(sport=sport,dport=dport,chksum=0) / Raw(load=payload)
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | qos_dscp_bridge.sh | 126 local dip=$1; shift 143 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
|
| H A D | mirror_gre_scale.sh | 124 local dip=$(mirror_gre_ipv6_addr 1 $i)::2 129 mirror_test v$h1 $sip $dip $htun 100 10
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_tc.c | 106 struct vcap_u128_key dip; in vcap_tc_flower_handler_ipv6_usage() local 119 vcap_netbytes_copy(dip.value, mt.key->dst.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage() 120 vcap_netbytes_copy(dip.mask, mt.mask->dst.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage() 122 VCAP_KF_L3_IP6_DIP, &dip); in vcap_tc_flower_handler_ipv6_usage()
|