Home
last modified time | relevance | path

Searched refs:s_idx (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c891 u32 s_idx, u32 e_idx) in dr_rule_cmp_value_to_mask() argument
895 for (i = s_idx; i < e_idx; i++) { in dr_rule_cmp_value_to_mask()
912 u32 s_idx, e_idx; in dr_rule_verify() local
923 s_idx = offsetof(struct mlx5dr_match_param, outer); in dr_rule_verify()
924 e_idx = min(s_idx + sizeof(param->outer), value_size); in dr_rule_verify()
926 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
933 s_idx = offsetof(struct mlx5dr_match_param, misc); in dr_rule_verify()
934 e_idx = min(s_idx + sizeof(param->misc), value_size); in dr_rule_verify()
936 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
943 s_idx = offsetof(struct mlx5dr_match_param, inner); in dr_rule_verify()
[all …]
/linux-6.1.9/drivers/media/pci/cx18/
Dcx18-fileops.c487 struct cx18_stream *s_idx; in cx18_start_capture() local
508 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_capture()
515 if (test_bit(CX18_F_S_INTERNAL_USE, &s_idx->s_flags) && in cx18_start_capture()
516 !test_and_set_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_start_capture()
517 if (cx18_start_v4l2_encode_stream(s_idx)) { in cx18_start_capture()
519 clear_bit(CX18_F_S_STREAMING, &s_idx->s_flags); in cx18_start_capture()
555 if (test_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_start_capture()
556 cx18_stop_v4l2_encode_stream(s_idx, 0); in cx18_start_capture()
557 clear_bit(CX18_F_S_STREAMING, &s_idx->s_flags); in cx18_start_capture()
703 struct cx18_stream *s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stop_capture() local
[all …]
Dcx18-streams.c774 struct cx18_stream *s_idx; in cx18_start_v4l2_encode_stream() local
871 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
873 s->handle, cx18_stream_enabled(s_idx) ? 7 : 0); in cx18_start_v4l2_encode_stream()
/linux-6.1.9/net/ieee802154/
Dnl-mac.c443 int s_idx = cb->args[0]; in ieee802154_dump_iface() local
449 if (idx < s_idx || dev->type != ARPHRD_IEEE802154) in ieee802154_dump_iface()
763 int s_idx, s_idx2; member
791 data.s_idx = cb->args[1]; in ieee802154_llsec_dump_table()
957 if (idx++ < data->s_idx) in llsec_iter_keys()
966 data->s_idx++; in llsec_iter_keys()
1088 if (idx++ < data->s_idx) in llsec_iter_devs()
1097 data->s_idx++; in llsec_iter_devs()
1192 if (idx++ < data->s_idx) in llsec_iter_devkeys()
1211 data->s_idx++; in llsec_iter_devkeys()
[all …]
Dnl-phy.c116 int idx, s_idx; member
126 if (data->idx++ < data->s_idx) in ieee802154_dump_phy_iter()
148 .s_idx = cb->args[0], in ieee802154_dump_phy()
/linux-6.1.9/net/ethtool/
Dtunnels.c246 int s_idx = ctx->pos_idx; in ethnl_tunnel_info_dumpit() local
253 for (h = ctx->pos_hash; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in ethnl_tunnel_info_dumpit()
260 if (idx < s_idx) in ethnl_tunnel_info_dumpit()
Dnetlink.c472 int s_idx = ctx->pos_idx; in ethnl_default_dumpit() local
477 for (h = ctx->pos_hash; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in ethnl_default_dumpit()
489 if (idx < s_idx) in ethnl_default_dumpit()
506 s_idx = idx + 1; in ethnl_default_dumpit()
/linux-6.1.9/net/bridge/
Dbr_mdb.c321 int idx = 0, s_idx = cb->args[1], err = 0, pidx = 0, s_pidx = cb->args[2]; in br_mdb_fill_info() local
337 if (idx < s_idx) in br_mdb_fill_info()
411 int idx = 0, s_idx; in br_mdb_dump() local
420 s_idx = cb->args[0]; in br_mdb_dump()
431 if (idx < s_idx) in br_mdb_dump()
Dbr_vlan.c1959 int idx = 0, s_idx = cb->args[1]; in br_vlan_dump_dev() local
2003 if (idx < s_idx) { in br_vlan_dump_dev()
2078 int idx = 0, err = 0, s_idx = cb->args[0]; in br_vlan_rtm_dump() local
2106 if (idx < s_idx) in br_vlan_rtm_dump()
/linux-6.1.9/drivers/video/fbdev/
Dimsttfb.c1227 data[d_idx] = byte_rev[dat[s_idx] ^
1228 dst[s_idx]];
1229 mask[d_idx] = byte_rev[msk[s_idx]];
1230 s_idx++;
1239 data[d_idx] = byte_rev[dat[s_idx]];
1240 mask[d_idx] = byte_rev[msk[s_idx]];
1241 s_idx++;
/linux-6.1.9/drivers/net/vxlan/
Dvxlan_vnifilter.c343 int idx = 0, s_idx = cb->args[1]; in vxlan_vnifilter_dump_dev() local
370 if (idx < s_idx) { in vxlan_vnifilter_dump_dev()
409 int idx = 0, err = 0, s_idx = cb->args[0]; in vxlan_vnifilter_dump() local
442 if (idx < s_idx) in vxlan_vnifilter_dump()
/linux-6.1.9/net/ipv4/
Ddevinet.c1820 int idx, s_idx; in inet_dump_ifaddr() local
1828 s_idx = idx = cb->args[1]; in inet_dump_ifaddr()
1854 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_dump_ifaddr()
1861 if (idx < s_idx) in inet_dump_ifaddr()
1863 if (h > s_h || idx > s_idx) in inet_dump_ifaddr()
2233 int idx, s_idx; in inet_netconf_dump_devconf() local
2254 s_idx = idx = cb->args[1]; in inet_netconf_dump_devconf()
2256 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_netconf_dump_devconf()
2263 if (idx < s_idx) in inet_netconf_dump_devconf()
Dnexthop.c3172 int s_idx; in rtm_dump_walk_nexthops() local
3175 s_idx = ctx->idx; in rtm_dump_walk_nexthops()
3180 if (nh->id < s_idx) in rtm_dump_walk_nexthops()
/linux-6.1.9/net/core/
Drtnetlink.c2122 int idx = 0, s_idx; in rtnl_dump_ifinfo() local
2134 s_idx = cb->args[1]; in rtnl_dump_ifinfo()
2179 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in rtnl_dump_ifinfo()
2185 if (idx < s_idx) in rtnl_dump_ifinfo()
3852 int s_idx = cb->family; in rtnl_dump_all() local
3856 if (s_idx == 0) in rtnl_dump_all()
3857 s_idx = 1; in rtnl_dump_all()
3864 if (idx < s_idx || idx == PF_PACKET) in rtnl_dump_all()
3882 if (idx > s_idx) { in rtnl_dump_all()
4470 int idx = 0, s_idx; in rtnl_fdb_dump() local
[all …]
Dnet_namespace.c963 int s_idx; member
972 if (net_cb->idx < net_cb->s_idx) in rtnl_net_dumpid_one()
1041 .s_idx = cb->args[0], in rtnl_net_dumpid()
Dneighbour.c2708 int idx, s_idx = idx = cb->args[2]; in neigh_dump_table() local
2720 s_idx = 0; in neigh_dump_table()
2724 if (idx < s_idx || !net_eq(dev_net(n->dev), net)) in neigh_dump_table()
2755 int idx, s_idx = idx = cb->args[4]; in pneigh_dump_table() local
2765 s_idx = 0; in pneigh_dump_table()
2767 if (idx < s_idx || pneigh_net(n) != net) in pneigh_dump_table()
/linux-6.1.9/net/ipv6/
Daddrlabel.c500 int idx = 0, s_idx = cb->args[0]; in ip6addrlbl_dump() local
511 if (idx >= s_idx) { in ip6addrlbl_dump()
Daddrconf.c714 int idx, s_idx; in inet6_netconf_dump_devconf() local
735 s_idx = idx = cb->args[1]; in inet6_netconf_dump_devconf()
737 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_netconf_dump_devconf()
744 if (idx < s_idx) in inet6_netconf_dump_devconf()
5278 int idx, s_idx, s_ip_idx; in inet6_dump_addr() local
5286 s_idx = idx = cb->args[1]; in inet6_dump_addr()
5315 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_dump_addr()
5319 if (idx < s_idx) in inet6_dump_addr()
5321 if (h > s_h || idx > s_idx) in inet6_dump_addr()
5996 int idx = 0, s_idx; in inet6_dump_ifinfo() local
[all …]
/linux-6.1.9/net/mctp/
Droute.c1341 int s_idx, idx; in mctp_dump_rtinfo() local
1348 s_idx = cb->args[0]; in mctp_dump_rtinfo()
1353 if (idx++ < s_idx) in mctp_dump_rtinfo()
/linux-6.1.9/net/sched/
Dsch_api.c1756 int s_idx, s_q_idx; in tc_dump_qdisc() local
1762 s_idx = cb->args[0]; in tc_dump_qdisc()
1776 if (idx < s_idx) in tc_dump_qdisc()
1778 if (idx > s_idx) in tc_dump_qdisc()
/linux-6.1.9/net/netfilter/
Dnf_tables_api.c897 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_tables() local
909 if (idx < s_idx) in nf_tables_dump_tables()
911 if (idx > s_idx) in nf_tables_dump_tables()
1710 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_chains() local
1726 if (idx < s_idx) in nf_tables_dump_chains()
1728 if (idx > s_idx) in nf_tables_dump_chains()
3121 unsigned int s_idx = cb->args[0]; in __nf_tables_dump_rules() local
3128 if (*idx < s_idx) in __nf_tables_dump_rules()
3130 if (*idx > s_idx) { in __nf_tables_dump_rules()
4144 unsigned int idx, s_idx = cb->args[0]; in nf_tables_dump_sets() local
[all …]
/linux-6.1.9/net/mpls/
Daf_mpls.c1308 int idx, s_idx; in mpls_netconf_dump_devconf() local
1327 s_idx = idx = cb->args[1]; in mpls_netconf_dump_devconf()
1329 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in mpls_netconf_dump_devconf()
1335 if (idx < s_idx) in mpls_netconf_dump_devconf()
/linux-6.1.9/net/can/
Dgw.c760 int s_idx = cb->args[0]; in cgw_dump_jobs() local
764 if (idx < s_idx) in cgw_dump_jobs()