/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower_port_range.sh | 79 local sip=$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 [all...] |
H A D | tc_flower_l2_miss.sh | 75 local sip=192.0.2.1 81 flower indev $swp1 l2_miss 1 dst_mac $dmac src_ip $sip \ 85 flower indev $swp1 l2_miss 0 dst_mac $dmac src_ip $sip \ 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 128 local sip=$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 [all...] |
H A D | mirror_lib.sh | 33 local sip=$1; shift 48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
|
H A D | sch_ets_core.sh | 69 sip() function 85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac 171 vlan_create $h1 1$i v$h1 $(sip $i)/28
|
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_buffer.c | 123 u8 sip = sensor->odr / min_odr; in st_lsm6dsx_get_sip() local 125 return sip > 1 ? round_down(sip, 2) : sip; in st_lsm6dsx_get_sip() 132 u16 sip = 0, ts_sip = 0; in st_lsm6dsx_update_decimators() local 148 sensor->sip = st_lsm6dsx_get_sip(sensor, min_odr); in st_lsm6dsx_update_decimators() 151 sensor->sip = 0; in st_lsm6dsx_update_decimators() 154 ts_sip = max_t(u16, ts_sip, sensor->sip); in st_lsm6dsx_update_decimators() 166 sip += sensor->sip; in st_lsm6dsx_update_decimators() 353 int err, sip, acc_sip, gyro_sip, ts_sip, ext_sip, read_len, offset; st_lsm6dsx_read_fifo() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_buffer.c | 124 u8 sip = sensor->odr / min_odr; in st_lsm6dsx_get_sip() local 126 return sip > 1 ? round_down(sip, 2) : sip; in st_lsm6dsx_get_sip() 133 u16 sip = 0, ts_sip = 0; in st_lsm6dsx_update_decimators() local 149 sensor->sip = st_lsm6dsx_get_sip(sensor, min_odr); in st_lsm6dsx_update_decimators() 152 sensor->sip = 0; in st_lsm6dsx_update_decimators() 155 ts_sip = max_t(u16, ts_sip, sensor->sip); in st_lsm6dsx_update_decimators() 167 sip += sensor->sip; in st_lsm6dsx_update_decimators() 354 int err, sip, acc_sip, gyro_sip, ts_sip, ext_sip, read_len, offset; st_lsm6dsx_read_fifo() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_builtin.c | 279 struct kvm_split_mode *sip = local_paca->kvm_hstate.kvm_split_mode; in kvmhv_commence_exit() local 306 if (!sip) in kvmhv_commence_exit() 310 vc = sip->vc[i]; in kvmhv_commence_exit() 325 * On POWER9 when running a HPT guest on a radix host (sip != NULL), in kvmhv_commence_exit() 329 if (sip->lpcr_req) { in kvmhv_commence_exit() 330 if (cmpxchg(&sip->do_restore, 0, 1) == 0) { in kvmhv_commence_exit() 334 if (sip->napped[t]) in kvmhv_commence_exit() 682 static void wait_for_sync(struct kvm_split_mode *sip, int phase) in wait_for_sync() argument 686 sip->lpcr_sync.phase[thr] |= phase; in wait_for_sync() 688 while ((sip in wait_for_sync() 695 kvmhv_p9_set_lpcr(struct kvm_split_mode *sip) kvmhv_p9_set_lpcr() argument 731 kvmhv_p9_restore_lpcr(struct kvm_split_mode *sip) kvmhv_p9_restore_lpcr() argument [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | arp.c | 396 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument 405 sip = 0; in arp_ignore() 410 * and is in same subnet as sip in arp_ignore() 415 sip = 0; in arp_ignore() 429 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore() 432 static int arp_accept(struct in_device *in_dev, __be32 sip) in arp_accept() argument 442 case 2: /* Create a neighbor in the arp table only if sip in arp_accept() 446 return !!inet_confirm_addr(net, in_dev, sip, 0, scope); in arp_accept() 452 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument 459 rt = ip_route_output(net, sip, ti in arp_filter() 518 arp_fwd_pvlan(struct in_device *in_dev, struct net_device *dev, struct rtable *rt, __be32 sip, __be32 tip) arp_fwd_pvlan() argument 668 arp_is_garp(struct net *net, struct net_device *dev, int *addr_type, __be16 ar_op, __be32 sip, __be32 tip, unsigned char *sha, unsigned char *tha) arp_is_garp() argument 707 __be32 sip, tip; arp_process() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | arp.c | 395 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument 404 sip = 0; in arp_ignore() 409 * and is in same subnet as sip in arp_ignore() 414 sip = 0; in arp_ignore() 428 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore() 431 static int arp_filter(__be32 sip, __be32 tip, struct net_device *dev) in arp_filter() argument 438 rt = ip_route_output(net, sip, tip, 0, l3mdev_master_ifindex_rcu(dev)); in arp_filter() 499 __be32 sip, __be32 tip) in arp_fwd_pvlan() 506 if (sip == tip) in arp_fwd_pvlan() 649 __be32 sip, __be3 in arp_is_garp() 497 arp_fwd_pvlan(struct in_device *in_dev, struct net_device *dev, struct rtable *rt, __be32 sip, __be32 tip) arp_fwd_pvlan() argument 647 arp_is_garp(struct net *net, struct net_device *dev, int *addr_type, __be16 ar_op, __be32 sip, __be32 tip, unsigned char *sha, unsigned char *tha) arp_is_garp() argument 686 __be32 sip, tip; arp_process() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_debug.c | 505 static void sdebug_erase_store(int idx, struct sdeb_store_info *sip); 876 static void *lba2fake_store(struct sdeb_store_info *sip, in lba2fake_store() argument 879 struct sdeb_store_info *lsip = sip; in lba2fake_store() 882 if (!sip || !sip->storep) { in lba2fake_store() 889 static struct t10_pi_tuple *dif_store(struct sdeb_store_info *sip, in dif_store() argument 894 return sip->dif_storep + sector; in dif_store() 3005 static int do_device_access(struct sdeb_store_info *sip, struct scsi_cmnd *scp, in do_device_access() argument 3021 if (!sdb->length || !sip) in do_device_access() 3025 fsp = sip in do_device_access() 3063 comp_write_worker(struct sdeb_store_info *sip, u64 lba, u32 num, const u8 *arr, bool compare_only) comp_write_worker() argument 3137 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) dif_copy_prot() local 3184 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) prot_verify_read() local 3219 sdeb_read_lock(struct sdeb_store_info *sip) sdeb_read_lock() argument 3235 sdeb_read_unlock(struct sdeb_store_info *sip) sdeb_read_unlock() argument 3251 sdeb_write_lock(struct sdeb_store_info *sip) sdeb_write_lock() argument 3267 sdeb_write_unlock(struct sdeb_store_info *sip) sdeb_write_unlock() argument 3289 struct sdeb_store_info *sip = devip2sip(devip, true); resp_read_dt0() local 3514 map_state(struct sdeb_store_info *sip, sector_t lba, unsigned int *num) map_state() argument 3535 map_region(struct sdeb_store_info *sip, sector_t lba, unsigned int len) map_region() argument 3550 unmap_region(struct sdeb_store_info *sip, sector_t lba, unsigned int len) unmap_region() argument 3586 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_dt0() local 3721 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_scat() local 3886 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) resp_write_same() local 4046 struct sdeb_store_info *sip = devip2sip(devip, true); resp_comp_write() local 4112 struct sdeb_store_info *sip = devip2sip(devip, true); resp_unmap() local 4185 struct sdeb_store_info *sip = devip2sip(devip, true); resp_get_lba_status() local 4248 struct sdeb_store_info *sip = devip2sip(devip, true); resp_pre_fetch() local 4395 struct sdeb_store_info *sip = devip2sip(devip, true); resp_verify() local 4475 struct sdeb_store_info *sip = devip2sip(devip, false); resp_report_zones() local 4625 struct sdeb_store_info *sip = devip2sip(devip, false); resp_open_zone() local 4701 struct sdeb_store_info *sip = devip2sip(devip, false); resp_close_zone() local 4773 struct sdeb_store_info *sip = devip2sip(devip, false); resp_finish_zone() local 4817 struct sdeb_store_info *sip = devip2sip(devip, false); zbc_rwp_zone() local 4853 struct sdeb_store_info *sip = devip2sip(devip, false); resp_rwp_zone() local 5969 struct sdeb_store_info *sip; scsi_debug_show_info() local 6487 struct sdeb_store_info *sip; add_host_store() local 6604 struct sdeb_store_info *sip = xa_load(per_store_ap, 0); map_show() local 7074 sdebug_erase_store(int idx, struct sdeb_store_info *sip) sdebug_erase_store() argument 7096 struct sdeb_store_info *sip = NULL; sdebug_erase_all_stores() local 7118 struct sdeb_store_info *sip = NULL; sdebug_add_store() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_tunnel_ipip.sh | 203 local sip=$1; shift 216 -A $sip -B 192.0.2.65 -t ip len=48,proto=47,p=$payload -q & 233 local sip=192.0.2.66 242 "Decap error: Key exists but was not expected" $sip "2" ":E9:" 252 "Decap error: Key does not exist but was expected" $sip "0" 254 "Decap error: Packet has a wrong key field" $sip "2" "E8:"
|
H A D | devlink_trap_l3_drops.sh | 227 local sip=$1; shift 238 flower src_ip $sip action drop 241 $MZ $h1 $flags -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip \ 296 local sip=$1; shift 307 flower src_ip $sip action drop 310 $MZ $h1 $flags -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip \ 330 local sip=255.255.255.255 338 flower src_ip $sip action drop 341 $MZ $h1 -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip -b $rp1mac \
|
H A D | qos_dscp_bridge.sh | 137 local sip=$1; shift 155 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_tunnel_ipip6.sh | 187 local sip=$1; shift 200 -A $sip -B 2001:db8:3::1 -t ip next=47,p=$payload -q & 217 local sip=2001:db8:3::2 226 "Decap error: Key exists but was not expected" $sip "2" \ 238 "Decap error: Key does not exist but was expected" $sip "0" 240 "Decap error: Packet has a wrong key field" $sip "2" \
|
H A D | devlink_trap_tunnel_ipip.sh | 187 local sip=$1; shift 200 -A $sip -B 192.0.2.65 -t ip len=48,proto=47,p=$payload -q & 217 local sip=192.0.2.66 226 "Decap error: Key exists but was not expected" $sip "2" \ 237 "Decap error: Key does not exist but was expected" $sip "0" 239 "Decap error: Packet has a wrong key field" $sip "2" \
|
H A D | qos_dscp_bridge.sh | 125 local sip=$1; shift 143 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
|
H A D | devlink_trap_l3_drops.sh | 228 local sip=$1; shift 239 flower src_ip $sip action drop 242 $MZ $h1 $flags -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip \ 297 local sip=$1; shift 308 flower src_ip $sip action drop 311 $MZ $h1 $flags -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip \ 331 local sip=255.255.255.255 339 flower src_ip $sip action drop 342 $MZ $h1 -t udp "sp=54321,dp=12345" -c 0 -p 100 -A $sip -b $rp1mac \
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | test_bridge_neigh_suppress.sh | 307 local sip=$1; shift 316 run_cmd "tc -n sw1 filter replace dev vx0 egress pref 1 handle 101 proto 0x0806 flower indev swp1 arp_tip $tip arp_sip $sip arp_op request action pass" 320 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 331 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 342 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 352 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 362 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 376 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 386 run_cmd "ip netns exec h1 arping -q -b -c 1 -w 5 -s $sip -I eth0.$vid $tip" 395 local sip [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_debug.c | 498 static void sdebug_erase_store(int idx, struct sdeb_store_info *sip); 871 static void *lba2fake_store(struct sdeb_store_info *sip, in lba2fake_store() argument 874 struct sdeb_store_info *lsip = sip; in lba2fake_store() 877 if (!sip || !sip->storep) { in lba2fake_store() 884 static struct t10_pi_tuple *dif_store(struct sdeb_store_info *sip, in dif_store() argument 889 return sip->dif_storep + sector; in dif_store() 2932 static int do_device_access(struct sdeb_store_info *sip, struct scsi_cmnd *scp, in do_device_access() argument 2948 if (!sdb->length || !sip) in do_device_access() 2952 fsp = sip in do_device_access() 2990 comp_write_worker(struct sdeb_store_info *sip, u64 lba, u32 num, const u8 *arr, bool compare_only) comp_write_worker() argument 3064 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) dif_copy_prot() local 3110 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) prot_verify_read() local 3144 struct sdeb_store_info *sip = devip2sip(devip, true); resp_read_dt0() local 3375 map_state(struct sdeb_store_info *sip, sector_t lba, unsigned int *num) map_state() argument 3396 map_region(struct sdeb_store_info *sip, sector_t lba, unsigned int len) map_region() argument 3411 unmap_region(struct sdeb_store_info *sip, sector_t lba, unsigned int len) unmap_region() argument 3447 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_dt0() local 3566 struct sdeb_store_info *sip = devip2sip(devip, true); resp_write_scat() local 3732 struct sdeb_store_info *sip = devip2sip((struct sdebug_dev_info *) resp_write_same() local 3893 struct sdeb_store_info *sip = devip2sip(devip, true); resp_comp_write() local 3960 struct sdeb_store_info *sip = devip2sip(devip, true); resp_unmap() local 4034 struct sdeb_store_info *sip = devip2sip(devip, true); resp_get_lba_status() local 4097 struct sdeb_store_info *sip = devip2sip(devip, true); resp_pre_fetch() local 4245 struct sdeb_store_info *sip = devip2sip(devip, true); resp_verify() local 4326 struct sdeb_store_info *sip = devip2sip(devip, false); resp_report_zones() local 4469 struct sdeb_store_info *sip = devip2sip(devip, false); resp_open_zone() local 4546 struct sdeb_store_info *sip = devip2sip(devip, false); resp_close_zone() local 4619 struct sdeb_store_info *sip = devip2sip(devip, false); resp_finish_zone() local 4664 struct sdeb_store_info *sip = devip2sip(devip, false); zbc_rwp_zone() local 4700 struct sdeb_store_info *sip = devip2sip(devip, false); resp_rwp_zone() local 5832 struct sdeb_store_info *sip; scsi_debug_show_info() local 6339 struct sdeb_store_info *sip; add_host_store() local 6456 struct sdeb_store_info *sip = xa_load(per_store_ap, 0); map_show() local 6938 sdebug_erase_store(int idx, struct sdeb_store_info *sip) sdebug_erase_store() argument 6960 struct sdeb_store_info *sip = NULL; sdebug_erase_all_stores() local 6982 struct sdeb_store_info *sip = NULL; sdebug_add_store() local [all...] |
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_arp_nd_proxy.c | 133 __be32 sip, tip; in br_do_proxy_suppress_arp() local 151 memcpy(&sip, arpptr, sizeof(sip)); in br_do_proxy_suppress_arp() 152 arpptr += sizeof(sip); in br_do_proxy_suppress_arp() 165 (ipv4_is_zeronet(sip) || sip == tip)) { in br_do_proxy_suppress_arp() 208 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp() 211 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp()
|
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_arp_nd_proxy.c | 133 __be32 sip, tip; in br_do_proxy_suppress_arp() local 151 memcpy(&sip, arpptr, sizeof(sip)); in br_do_proxy_suppress_arp() 152 arpptr += sizeof(sip); in br_do_proxy_suppress_arp() 165 (ipv4_is_zeronet(sip) || sip == tip)) { in br_do_proxy_suppress_arp() 208 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp() 211 br_arp_send(br, p, skb->dev, sip, tip, in br_do_proxy_suppress_arp()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | mirror_lib.sh | 33 local sip=$1; shift 48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
|
H A D | sch_ets_core.sh | 69 sip() function 85 start_traffic $h1.1$i $(sip $i) $(dip $i) $dst_mac 171 vlan_create $h1 1$i v$h1 $(sip $i)/28
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_tc.c | 105 struct vcap_u128_key sip; in vcap_tc_flower_handler_ipv6_usage() local 111 vcap_netbytes_copy(sip.value, mt.key->src.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage() 112 vcap_netbytes_copy(sip.mask, mt.mask->src.s6_addr, 16); in vcap_tc_flower_handler_ipv6_usage() 114 VCAP_KF_L3_IP6_SIP, &sip); in vcap_tc_flower_handler_ipv6_usage() 359 if (mt.mask->sip) { in vcap_tc_flower_handler_arp_usage() 360 ipval = be32_to_cpu((__force __be32)mt.key->sip); in vcap_tc_flower_handler_arp_usage() 361 ipmsk = be32_to_cpu((__force __be32)mt.mask->sip); in vcap_tc_flower_handler_arp_usage()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp_session.c | 22 u32 sip = 0; in intel_pxp_session_is_in_play() local 26 sip = intel_uncore_read(uncore, KCR_SIP(pxp->kcr_base)); in intel_pxp_session_is_in_play() 28 return sip & BIT(id); in intel_pxp_session_is_in_play()
|