Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c124 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()
169 hw->sip = sip + ts_sip; in st_lsm6dsx_update_decimators()
240 if (!hw->sip) in st_lsm6dsx_update_watermark()
258 fifo_watermark = max_t(u16, fifo_watermark, hw->sip); in st_lsm6dsx_update_watermark()
[all …]
Dst_lsm6dsx.h363 u8 sip; member
412 u8 sip; member
/linux-6.1.9/net/ipv4/
Darp.c396 static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip) in arp_ignore() argument
405 sip = 0; 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
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, tip, 0, l3mdev_master_ifindex_rcu(dev)); in arp_filter()
520 __be32 sip, __be32 tip) in arp_fwd_pvlan() argument
527 if (sip == tip) in arp_fwd_pvlan()
[all …]
/linux-6.1.9/drivers/scsi/
Dscsi_debug.c507 static void sdebug_erase_store(int idx, struct sdeb_store_info *sip);
883 static void *lba2fake_store(struct sdeb_store_info *sip, in lba2fake_store() argument
886 struct sdeb_store_info *lsip = sip; in lba2fake_store()
889 if (!sip || !sip->storep) { in lba2fake_store()
896 static struct t10_pi_tuple *dif_store(struct sdeb_store_info *sip, in dif_store() argument
901 return sip->dif_storep + sector; in dif_store()
3017 static int do_device_access(struct sdeb_store_info *sip, struct scsi_cmnd *scp, in do_device_access() argument
3033 if (!sdb->length || !sip) in do_device_access()
3037 fsp = sip->storep; in do_device_access()
3075 static bool comp_write_worker(struct sdeb_store_info *sip, u64 lba, u32 num, in comp_write_worker() argument
[all …]
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
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" \
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 \
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
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
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-6.1.9/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()
/linux-6.1.9/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.sh237 local sip=$1; shift
247 create_mcast_sg $rp1 $sip $dip $rp2
257 delete_mcast_sg $rp1 $sip $dip $rp2
/linux-6.1.9/drivers/gpu/drm/i915/pxp/
Dintel_pxp_session.c25 u32 sip = 0; in intel_pxp_session_is_in_play() local
29 sip = intel_uncore_read(uncore, GEN12_KCR_SIP); in intel_pxp_session_is_in_play()
31 return sip & BIT(id); in intel_pxp_session_is_in_play()
/linux-6.1.9/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()
/linux-6.1.9/security/smack/
Dsmack.h362 struct inode_smack *sip = smack_inode(isp); in smk_inode_transmutable() local
363 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0; in smk_inode_transmutable()
371 struct inode_smack *sip = smack_inode(isp); in smk_of_inode() local
372 return sip->smk_inode; in smk_of_inode()
Dsmack_lsm.c2307 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) in smack_ipv4host_label() argument
2310 struct in_addr *siap = &sip->sin_addr; in smack_ipv4host_label()
2334 static bool smk_ipv6_localhost(struct sockaddr_in6 *sip) in smk_ipv6_localhost() argument
2336 __be16 *be16p = (__be16 *)&sip->sin6_addr; in smk_ipv6_localhost()
2337 __be32 *be32p = (__be32 *)&sip->sin6_addr; in smk_ipv6_localhost()
2357 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) in smack_ipv6host_label() argument
2360 struct in6_addr *sap = &sip->sin6_addr; in smack_ipv6host_label()
2367 if (smk_ipv6_localhost(sip)) in smack_ipv6host_label()
2854 struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap; in smack_socket_connect() local
2860 rsp = smack_ipv6host_label(sip); in smack_socket_connect()
[all …]
/linux-6.1.9/drivers/net/ethernet/mscc/
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()
720 struct ocelot_vcap_ipv4 sip = ipv4->sip; in is1_entry_set() local
730 sip.value.addr, sip.mask.addr); in is1_entry_set()
/linux-6.1.9/arch/powerpc/kvm/
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-6.1.9/include/soc/mscc/
Docelot_vcap.h540 struct ocelot_vcap_ipv4 sip; /* Sender IP address */ member
550 struct ocelot_vcap_ipv4 sip; /* Source IP address */ member
568 struct ocelot_vcap_u128 sip; /* IPv6 source (byte 0-7 ignored) */ member
/linux-6.1.9/arch/riscv/include/uapi/asm/
Dkvm.h73 unsigned long sip; member
/linux-6.1.9/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,
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h154 uint32_t sip; member
/linux-6.1.9/fs/xfs/
Dxfs_inode.c1200 xfs_inode_t *sip, in xfs_link() argument
1210 ASSERT(!S_ISDIR(VFS_I(sip)->i_mode)); in xfs_link()
1215 error = xfs_qm_dqattach(sip); in xfs_link()
1224 error = xfs_trans_alloc_dir(tdp, &M_RES(mp)->tr_link, sip, &resblks, in xfs_link()
1235 tdp->i_projid != sip->i_projid)) { in xfs_link()
1249 if (VFS_I(sip)->i_nlink == 0) { in xfs_link()
1252 pag = xfs_perag_get(mp, XFS_INO_TO_AGNO(mp, sip->i_ino)); in xfs_link()
1253 error = xfs_iunlink_remove(tp, pag, sip); in xfs_link()
1259 error = xfs_dir_createname(tp, tdp, target_name, sip->i_ino, in xfs_link()
1266 xfs_bumplink(tp, sip); in xfs_link()

123