Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_rule.c918 u32 s_idx, u32 e_idx) in dr_rule_cmp_value_to_mask() argument
922 for (i = s_idx; i < e_idx; i++) { in dr_rule_cmp_value_to_mask()
939 u32 s_idx, e_idx; in dr_rule_verify() local
950 s_idx = offsetof(struct mlx5dr_match_param, outer); in dr_rule_verify()
960 s_idx = offsetof(struct mlx5dr_match_param, misc); in dr_rule_verify()
961 e_idx = min(s_idx + sizeof(param->misc), value_size); in dr_rule_verify()
970 s_idx = offsetof(struct mlx5dr_match_param, inner); in dr_rule_verify()
980 s_idx = offsetof(struct mlx5dr_match_param, misc2); in dr_rule_verify()
990 s_idx = offsetof(struct mlx5dr_match_param, misc3); in dr_rule_verify()
1000 s_idx = offsetof(struct mlx5dr_match_param, misc4); in dr_rule_verify()
[all …]
/linux-6.3-rc2/net/core/
A Dnetdev-genl.c96 int idx = 0, s_idx; in netdev_nl_dev_get_dumpit() local
101 s_idx = cb->args[1]; in netdev_nl_dev_get_dumpit()
105 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in netdev_nl_dev_get_dumpit()
111 if (idx < s_idx) in netdev_nl_dev_get_dumpit()
A Drtnetlink.c2167 int idx = 0, s_idx; in rtnl_dump_ifinfo() local
2179 s_idx = cb->args[1]; in rtnl_dump_ifinfo()
2230 if (idx < s_idx) in rtnl_dump_ifinfo()
3932 if (s_idx == 0) in rtnl_dump_all()
3933 s_idx = 1; in rtnl_dump_all()
3958 if (idx > s_idx) { in rtnl_dump_all()
4553 int idx = 0, s_idx; in rtnl_fdb_dump() local
4575 s_idx = cb->args[1]; in rtnl_fdb_dump()
4601 if (idx < s_idx) in rtnl_fdb_dump()
5909 s_idx = cb->args[1]; in rtnl_stats_dump()
[all …]
A Dnet_namespace.c975 int s_idx; member
984 if (net_cb->idx < net_cb->s_idx) in rtnl_net_dumpid_one()
1053 .s_idx = cb->args[0], in rtnl_net_dumpid()
A Dneighbour.c2730 int idx, s_idx = idx = cb->args[2]; in neigh_dump_table() local
2742 s_idx = 0; in neigh_dump_table()
2746 if (idx < s_idx || !net_eq(dev_net(n->dev), net)) in neigh_dump_table()
2777 int idx, s_idx = idx = cb->args[4]; in pneigh_dump_table() local
2787 s_idx = 0; in pneigh_dump_table()
2789 if (idx < s_idx || pneigh_net(n) != net) in pneigh_dump_table()
/linux-6.3-rc2/drivers/media/pci/cx18/
A 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()
719 if (test_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_stop_capture()
[all …]
A 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.3-rc2/net/ieee802154/
A Dnl-mac.c443 int s_idx = cb->args[0]; in ieee802154_dump_iface() local
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()
1324 if (idx++ < data->s_idx) in llsec_iter_seclevels()
[all …]
A 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.3-rc2/net/ethtool/
A 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()
A Dnetlink.c491 int s_idx = ctx->pos_idx; in ethnl_default_dumpit() local
496 for (h = ctx->pos_hash; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in ethnl_default_dumpit()
508 if (idx < s_idx) in ethnl_default_dumpit()
525 s_idx = idx + 1; in ethnl_default_dumpit()
/linux-6.3-rc2/drivers/video/fbdev/
A 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.3-rc2/drivers/net/vxlan/
A 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.3-rc2/net/ipv4/
A Ddevinet.c1821 int idx, s_idx; in inet_dump_ifaddr() local
1829 s_idx = idx = cb->args[1]; in inet_dump_ifaddr()
1855 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_dump_ifaddr()
1862 if (idx < s_idx) in inet_dump_ifaddr()
1864 if (h > s_h || idx > s_idx) in inet_dump_ifaddr()
2234 int idx, s_idx; in inet_netconf_dump_devconf() local
2255 s_idx = idx = cb->args[1]; in inet_netconf_dump_devconf()
2257 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_netconf_dump_devconf()
2264 if (idx < s_idx) in inet_netconf_dump_devconf()
A 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.3-rc2/net/bridge/
A 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()
429 if (idx < s_idx) in br_mdb_dump()
A Dbr_vlan.c1960 int idx = 0, s_idx = cb->args[1]; in br_vlan_dump_dev() local
2004 if (idx < s_idx) { in br_vlan_dump_dev()
2079 int idx = 0, err = 0, s_idx = cb->args[0]; in br_vlan_rtm_dump() local
2107 if (idx < s_idx) in br_vlan_rtm_dump()
/linux-6.3-rc2/net/ipv6/
A Daddrlabel.c500 int idx = 0, s_idx = cb->args[0]; in ip6addrlbl_dump() local
511 if (idx >= s_idx) { in ip6addrlbl_dump()
A 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()
5283 int idx, s_idx, s_ip_idx; in inet6_dump_addr() local
5291 s_idx = idx = cb->args[1]; in inet6_dump_addr()
5324 if (idx < s_idx) in inet6_dump_addr()
5326 if (h > s_h || idx > s_idx) in inet6_dump_addr()
6001 int idx = 0, s_idx; in inet6_dump_ifinfo() local
6017 s_idx = cb->args[1]; in inet6_dump_ifinfo()
[all …]
/linux-6.3-rc2/net/mctp/
A 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.3-rc2/net/sched/
A Dsch_api.c1759 int s_idx, s_q_idx; in tc_dump_qdisc() local
1765 s_idx = cb->args[0]; in tc_dump_qdisc()
1779 if (idx < s_idx) in tc_dump_qdisc()
1781 if (idx > s_idx) in tc_dump_qdisc()
/linux-6.3-rc2/net/netfilter/
A Dnf_tables_api.c909 if (idx < s_idx) in nf_tables_dump_tables()
911 if (idx > s_idx) in nf_tables_dump_tables()
1730 if (idx < s_idx) in nf_tables_dump_chains()
1732 if (idx > s_idx) in nf_tables_dump_chains()
3175 if (*idx < s_idx) in __nf_tables_dump_rules()
4237 if (idx < s_idx) in nf_tables_dump_sets()
4257 if (s_idx) in nf_tables_dump_sets()
4258 s_idx = 0; in nf_tables_dump_sets()
7156 if (idx < s_idx) in nf_tables_dump_obj()
7158 if (idx > s_idx) in nf_tables_dump_obj()
[all …]
/linux-6.3-rc2/net/mpls/
A 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.3-rc2/net/can/
A Dgw.c760 int s_idx = cb->args[0]; in cgw_dump_jobs() local
764 if (idx < s_idx) in cgw_dump_jobs()

Completed in 136 milliseconds