Home
last modified time | relevance | path

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

123

/linux/drivers/iio/imu/st_lsm6dsx/
A 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
151 sensor->sip = 0; 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()
258 fifo_watermark = (fifo_watermark / hw->sip) * hw->sip; in st_lsm6dsx_update_watermark()
409 acc_sip = acc_sensor->sip; in st_lsm6dsx_read_fifo()
412 sip = 0; in st_lsm6dsx_read_fifo()
[all …]
A Dst_lsm6dsx.h359 u8 sip; member
408 u8 sip; member
/linux/net/ipv4/
A Darp.c404 sip = 0; in arp_ignore()
414 sip = 0; in arp_ignore()
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()
686 __be32 sip, tip; in arp_process() local
749 memcpy(&sip, arp_ptr, 4); in arp_process()
806 if (sip == 0) { in arp_process()
831 sip, dev, tip, sha, in arp_process()
[all …]
/linux/drivers/scsi/
A Dscsi_debug.c881 if (!sip || !sip->storep) { in lba2fake_store()
3129 rwlock_t *macc_lckp = sip ? &sip->macc_lck : &sdeb_fake_rw_lck; in resp_read_dt0()
4323 rwlock_t *macc_lckp = sip ? &sip->macc_lck : &sdeb_fake_rw_lck; in resp_report_zones()
4466 rwlock_t *macc_lckp = sip ? &sip->macc_lck : &sdeb_fake_rw_lck; in resp_open_zone()
6486 if (sip) in map_show()
6970 if (!sip) { in sdebug_erase_store()
6974 if (!sip) in sdebug_erase_store()
6981 kfree(sip); in sdebug_erase_store()
7013 sip = kzalloc(sizeof(*sip), GFP_KERNEL); in sdebug_add_store()
7014 if (!sip) in sdebug_add_store()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Ddevlink_trap_tunnel_ipip.sh187 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" \
A Ddevlink_trap_l3_drops.sh228 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 \
A Dqos_dscp_bridge.sh137 local sip=$1; shift
155 ${PING} -Q $dscp_10 ${sip:+-I $sip} $dip \
A Dqos_dscp_router.sh170 local sip=$1; shift
192 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
A Dmirror_gre_scale.sh123 local sip=$(mirror_gre_ipv6_addr 1 $i)::1
129 mirror_test v$h1 $sip $dip $htun 100 10
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
A Ddevlink_trap_tunnel_ipip6.sh187 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" \
/linux/net/bridge/
A 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()
/linux/tools/testing/selftests/net/forwarding/
A Dmirror_lib.sh33 local sip=$1; shift
48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
A 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
A Drouter.sh219 local sip=$1; shift
229 create_mcast_sg $rp1 $sip $dip $rp2
239 delete_mcast_sg $rp1 $sip $dip $rp2
/linux/drivers/gpu/drm/i915/pxp/
A Dintel_pxp_session.c26 u32 sip = 0; in intel_pxp_session_is_in_play() local
30 sip = intel_uncore_read(uncore, GEN12_KCR_SIP); in intel_pxp_session_is_in_play()
32 return sip & BIT(id); in intel_pxp_session_is_in_play()
/linux/net/bridge/netfilter/
A 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()
/linux/security/smack/
A Dsmack.h371 struct inode_smack *sip = smack_inode(isp); in smk_inode_transmutable() local
372 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0; in smk_inode_transmutable()
380 struct inode_smack *sip = smack_inode(isp); in smk_of_inode() local
381 return sip->smk_inode; in smk_of_inode()
A Dsmack_lsm.c2304 struct in_addr *siap = &sip->sin_addr; in smack_ipv4host_label()
2361 if (smk_ipv6_localhost(sip)) in smack_ipv6host_label()
2854 rsp = smack_ipv6host_label(sip); in smack_socket_connect()
3681 if (sip == NULL) in smack_socket_sendmsg()
3687 sip->sin_family != AF_INET) in smack_socket_sendmsg()
3689 rc = smk_ipv4_check(sock->sk, sip); in smack_socket_sendmsg()
3806 sip->sin6_port = 0; in smk_skb_to_addr_ipv6()
3812 sip->sin6_addr = ip6->saddr; in smk_skb_to_addr_ipv6()
3825 sip->sin6_port = th->source; in smk_skb_to_addr_ipv6()
3831 sip->sin6_port = uh->source; in smk_skb_to_addr_ipv6()
[all …]
/linux/drivers/net/ethernet/mscc/
A Docelot_vcap.c477 arp->sip.value.addr, arp->sip.mask.addr); in is2_entry_set()
490 struct ocelot_vcap_ipv4 sip, dip; in is2_entry_set() local
502 sip = ipv4->sip; in is2_entry_set()
524 val = ipv6->sip.value[i + 8]; in is2_entry_set()
525 msk = ipv6->sip.mask[i + 8]; in is2_entry_set()
530 sip.value.addr[i - 4] = val; in is2_entry_set()
531 sip.mask.addr[i - 4] = msk; in is2_entry_set()
561 sip.value.addr, sip.mask.addr); in is2_entry_set()
722 struct ocelot_vcap_ipv4 sip = ipv4->sip; in is1_entry_set() local
732 sip.value.addr, sip.mask.addr); in is1_entry_set()
/linux/include/soc/mscc/
A Docelot_vcap.h526 struct ocelot_vcap_ipv4 sip; /* Sender IP address */ member
536 struct ocelot_vcap_ipv4 sip; /* Source IP address */ member
554 struct ocelot_vcap_u128 sip; /* IPv6 source (byte 0-7 ignored) */ member
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_uld.h254 __be32 sip, __be16 sport, __be16 vlan,
257 const struct in6_addr *sip, __be16 sport,
262 __be32 sip, __be16 sport, __be16 vlan,
/linux/arch/powerpc/kvm/
A Dbook3s_hv_builtin.c249 struct kvm_split_mode *sip = local_paca->kvm_hstate.kvm_split_mode; in kvmhv_commence_exit() local
275 if (!sip) in kvmhv_commence_exit()
279 vc = sip->vc[i]; in kvmhv_commence_exit()
/linux/arch/riscv/include/uapi/asm/
A Dkvm.h72 unsigned long sip; member
/linux/net/netfilter/
A 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()
/linux/fs/xfs/
A Dxfs_inode.c1215 xfs_inode_t *sip, in xfs_link() argument
1225 ASSERT(!S_ISDIR(VFS_I(sip)->i_mode)); in xfs_link()
1230 error = xfs_qm_dqattach(sip); in xfs_link()
1247 xfs_lock_two_inodes(sip, XFS_ILOCK_EXCL, tdp, XFS_ILOCK_EXCL); in xfs_link()
1249 xfs_trans_ijoin(tp, sip, XFS_ILOCK_EXCL); in xfs_link()
1263 tdp->i_projid != sip->i_projid)) { in xfs_link()
1277 if (VFS_I(sip)->i_nlink == 0) { in xfs_link()
1280 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, sip->i_ino)); in xfs_link()
1281 error = xfs_iunlink_remove(tp, pag, sip); in xfs_link()
1287 error = xfs_dir_createname(tp, tdp, target_name, sip->i_ino, in xfs_link()
[all …]

Completed in 65 milliseconds

123