Home
last modified time | relevance | path

Searched refs:sip (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c123 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()
168 hw->sip = sip + ts_sip; in st_lsm6dsx_update_decimators()
239 if (!hw->sip) in st_lsm6dsx_update_watermark()
257 fifo_watermark = max_t(u16, fifo_watermark, hw->sip); in st_lsm6dsx_update_watermark()
[all …]
Dst_lsm6dsx.h355 u8 sip; member
402 u8 sip; member
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_builtin.c279 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()
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->lpcr_sync.allphases & phase) != phase) { in wait_for_sync()
695 void kvmhv_p9_set_lpcr(struct kvm_split_mode *sip) in kvmhv_p9_set_lpcr() argument
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Darp.c395 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument
404 sip = 0; 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() argument
506 if (sip == tip) in arp_fwd_pvlan()
649 __be32 sip, __be32 tip, in arp_is_garp() argument
652 bool is_garp = tip == sip; in arp_is_garp()
[all …]
Dipconfig.c479 __be32 sip, tip; in ic_rarp_recv() local
533 memcpy(&sip, rarp_ptr, 4); in ic_rarp_recv()
544 if (ic_servaddr != NONE && ic_servaddr != sip) in ic_rarp_recv()
551 ic_servaddr = sip; in ic_rarp_recv()
552 ic_addrservaddr = sip; in ic_rarp_recv()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_tunnel_ipip.sh203 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:"
Ddevlink_trap_l3_drops.sh227 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 \
Dqos_dscp_bridge.sh137 local sip=$1; shift
155 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
Dqos_dscp_router.sh170 local sip=$1; shift
192 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
Dmirror_gre_scale.sh123 local sip=$(mirror_gre_ipv6_addr 1 $i)::1
129 mirror_test v$h1 $sip $dip $htun 100 10
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_debug.c498 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->storep; in do_device_access()
2990 static bool comp_write_worker(struct sdeb_store_info *sip, u64 lba, u32 num, in comp_write_worker() argument
[all …]
/kernel/linux/linux-5.10/net/bridge/
Dbr_arp_nd_proxy.c133 __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/
Dmirror_lib.sh33 local sip=$1; shift
48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
Dsch_ets_core.sh69 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
Drouter.sh219 local sip=$1; shift
229 create_mcast_sg $rp1 $sip $dip $rp2
239 delete_mcast_sg $rp1 $sip $dip $rp2
/kernel/linux/linux-5.10/net/bridge/netfilter/
Debt_among.c138 __be32 dip = 0, sip = 0; in ebt_among_mt() local
145 if (get_ip_src(skb, &sip)) in ebt_among_mt()
149 if (!ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt()
153 if (ebt_mac_wormhash_contains(wh_src, smac, sip)) in ebt_among_mt()
/kernel/linux/linux-5.10/security/smack/
Dsmack.h365 struct inode_smack *sip = smack_inode(isp); in smk_inode_transmutable() local
366 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0; in smk_inode_transmutable()
374 struct inode_smack *sip = smack_inode(isp); in smk_of_inode() local
375 return sip->smk_inode; in smk_of_inode()
Dsmack_lsm.c2296 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) in smack_ipv4host_label() argument
2299 struct in_addr *siap = &sip->sin_addr; in smack_ipv4host_label()
2323 static bool smk_ipv6_localhost(struct sockaddr_in6 *sip) in smk_ipv6_localhost() argument
2325 __be16 *be16p = (__be16 *)&sip->sin6_addr; in smk_ipv6_localhost()
2326 __be32 *be32p = (__be32 *)&sip->sin6_addr; in smk_ipv6_localhost()
2346 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) in smack_ipv6host_label() argument
2349 struct in6_addr *sap = &sip->sin6_addr; in smack_ipv6host_label()
2356 if (smk_ipv6_localhost(sip)) in smack_ipv6host_label()
2843 struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap; in smack_socket_connect() local
2849 rsp = smack_ipv6host_label(sip); in smack_socket_connect()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_vcap.h139 struct ocelot_vcap_ipv4 sip; /* Sender IP address */ member
149 struct ocelot_vcap_ipv4 sip; /* Source IP address */ member
167 struct ocelot_vcap_u128 sip; /* IPv6 source (byte 0-7 ignored) */ member
Docelot_vcap.c476 arp->sip.value.addr, arp->sip.mask.addr); in is2_entry_set()
489 struct ocelot_vcap_ipv4 sip, dip; in is2_entry_set() local
501 sip = ipv4->sip; in is2_entry_set()
523 val = ipv6->sip.value[i + 8]; in is2_entry_set()
524 msk = ipv6->sip.mask[i + 8]; in is2_entry_set()
529 sip.value.addr[i - 4] = val; in is2_entry_set()
530 sip.mask.addr[i - 4] = msk; in is2_entry_set()
560 sip.value.addr, sip.mask.addr); in is2_entry_set()
721 struct ocelot_vcap_ipv4 sip = ipv4->sip; in is1_entry_set() local
731 sip.value.addr, sip.mask.addr); in is1_entry_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h254 __be32 sip, __be16 sport, __be16 vlan,
257 const struct in6_addr *sip, __be16 sport,
262 __be32 sip, __be16 sport, __be16 vlan,
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h154 uint32_t sip; member
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_sip.c1635 static struct nf_conntrack_helper sip[MAX_PORTS * 4] __read_mostly; variable
1662 nf_conntrack_helpers_unregister(sip, ports_c * 4); in nf_conntrack_sip_fini()
1675 nf_ct_helper_init(&sip[4 * i], AF_INET, IPPROTO_UDP, in nf_conntrack_sip_init()
1679 nf_ct_helper_init(&sip[4 * i + 1], AF_INET, IPPROTO_TCP, in nf_conntrack_sip_init()
1683 nf_ct_helper_init(&sip[4 * i + 2], AF_INET6, IPPROTO_UDP, in nf_conntrack_sip_init()
1687 nf_ct_helper_init(&sip[4 * i + 3], AF_INET6, IPPROTO_TCP, in nf_conntrack_sip_init()
1693 ret = nf_conntrack_helpers_register(sip, ports_c * 4); in nf_conntrack_sip_init()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode.c1359 xfs_inode_t *sip, in xfs_link() argument
1369 ASSERT(!S_ISDIR(VFS_I(sip)->i_mode)); in xfs_link()
1374 error = xfs_qm_dqattach(sip); in xfs_link()
1391 xfs_lock_two_inodes(sip, XFS_ILOCK_EXCL, tdp, XFS_ILOCK_EXCL); in xfs_link()
1393 xfs_trans_ijoin(tp, sip, XFS_ILOCK_EXCL); in xfs_link()
1402 tdp->i_d.di_projid != sip->i_d.di_projid)) { in xfs_link()
1416 if (VFS_I(sip)->i_nlink == 0) { in xfs_link()
1417 error = xfs_iunlink_remove(tp, sip); in xfs_link()
1422 error = xfs_dir_createname(tp, tdp, target_name, sip->i_ino, in xfs_link()
1429 xfs_bumplink(tp, sip); in xfs_link()
/kernel/linux/linux-5.10/include/net/
Dflow_dissector.h158 __u32 sip; member

12