Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c853 u32 s_idx, u32 e_idx) in dr_rule_cmp_value_to_mask() argument
857 for (i = s_idx; i < e_idx; i++) { in dr_rule_cmp_value_to_mask()
874 u32 s_idx, e_idx; in dr_rule_verify() local
886 s_idx = offsetof(struct mlx5dr_match_param, outer); in dr_rule_verify()
887 e_idx = min(s_idx + sizeof(param->outer), value_size); in dr_rule_verify()
889 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
896 s_idx = offsetof(struct mlx5dr_match_param, misc); in dr_rule_verify()
897 e_idx = min(s_idx + sizeof(param->misc), value_size); in dr_rule_verify()
899 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
906 s_idx = offsetof(struct mlx5dr_match_param, inner); in dr_rule_verify()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ethtool/
Dtunnels.c244 int s_idx = ctx->pos_idx; in ethnl_tunnel_info_dumpit() local
251 for (h = ctx->pos_hash; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in ethnl_tunnel_info_dumpit()
258 if (idx < s_idx) in ethnl_tunnel_info_dumpit()
Dnetlink.c424 int s_idx = ctx->pos_idx; in ethnl_default_dumpit() local
429 for (h = ctx->pos_hash; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in ethnl_default_dumpit()
441 if (idx < s_idx) in ethnl_default_dumpit()
458 s_idx = idx + 1; in ethnl_default_dumpit()
/kernel/linux/linux-5.10/net/bridge/
Dbr_mdb.c235 int idx = 0, s_idx = cb->args[1], err = 0, pidx = 0, s_pidx = cb->args[2]; in br_mdb_fill_info() local
251 if (idx < s_idx) in br_mdb_fill_info()
325 int idx = 0, s_idx; in br_mdb_dump() local
334 s_idx = cb->args[0]; in br_mdb_dump()
344 if (idx < s_idx) in br_mdb_dump()
Dbr_vlan.c1782 int idx = 0, s_idx = cb->args[1]; in br_vlan_dump_dev() local
1822 if (idx < s_idx) { in br_vlan_dump_dev()
1876 int idx = 0, err = 0, s_idx = cb->args[0]; in br_vlan_rtm_dump() local
1904 if (idx < s_idx) in br_vlan_rtm_dump()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dimsttfb.c1226 data[d_idx] = byte_rev[dat[s_idx] ^
1227 dst[s_idx]];
1228 mask[d_idx] = byte_rev[msk[s_idx]];
1229 s_idx++;
1238 data[d_idx] = byte_rev[dat[s_idx]];
1239 mask[d_idx] = byte_rev[msk[s_idx]];
1240 s_idx++;
/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c1816 int idx, s_idx; in inet_dump_ifaddr() local
1824 s_idx = idx = cb->args[1]; in inet_dump_ifaddr()
1850 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_dump_ifaddr()
1857 if (idx < s_idx) in inet_dump_ifaddr()
1859 if (h > s_h || idx > s_idx) in inet_dump_ifaddr()
2227 int idx, s_idx; in inet_netconf_dump_devconf() local
2248 s_idx = idx = cb->args[1]; in inet_netconf_dump_devconf()
2250 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_netconf_dump_devconf()
2257 if (idx < s_idx) in inet_netconf_dump_devconf()
Dnexthop.c1905 int idx = 0, s_idx; in rtm_dump_nexthop() local
1913 s_idx = cb->args[0]; in rtm_dump_nexthop()
1917 if (idx < s_idx) in rtm_dump_nexthop()
/kernel/linux/linux-5.10/net/core/
Drtnetlink.c2063 int idx = 0, s_idx; in rtnl_dump_ifinfo() local
2075 s_idx = cb->args[1]; in rtnl_dump_ifinfo()
2120 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in rtnl_dump_ifinfo()
2126 if (idx < s_idx) in rtnl_dump_ifinfo()
3754 int s_idx = cb->family; in rtnl_dump_all() local
3758 if (s_idx == 0) in rtnl_dump_all()
3759 s_idx = 1; in rtnl_dump_all()
3766 if (idx < s_idx || idx == PF_PACKET) in rtnl_dump_all()
3784 if (idx > s_idx) { in rtnl_dump_all()
4343 int idx = 0, s_idx; in rtnl_fdb_dump() local
[all …]
Dnet_namespace.c982 int s_idx; member
991 if (net_cb->idx < net_cb->s_idx) in rtnl_net_dumpid_one()
1060 .s_idx = cb->args[0], in rtnl_net_dumpid()
Dneighbour.c2592 int idx, s_idx = idx = cb->args[2]; in neigh_dump_table() local
2604 s_idx = 0; in neigh_dump_table()
2608 if (idx < s_idx || !net_eq(dev_net(n->dev), net)) in neigh_dump_table()
2639 int idx, s_idx = idx = cb->args[4]; in pneigh_dump_table() local
2649 s_idx = 0; in pneigh_dump_table()
2651 if (idx < s_idx || pneigh_net(n) != net) in pneigh_dump_table()
/kernel/linux/linux-5.10/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.c706 int idx, s_idx; in inet6_netconf_dump_devconf() local
727 s_idx = idx = cb->args[1]; in inet6_netconf_dump_devconf()
729 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_netconf_dump_devconf()
736 if (idx < s_idx) in inet6_netconf_dump_devconf()
5245 int idx, s_idx, s_ip_idx; in inet6_dump_addr() local
5253 s_idx = idx = cb->args[1]; in inet6_dump_addr()
5282 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_dump_addr()
5286 if (idx < s_idx) in inet6_dump_addr()
5288 if (h > s_h || idx > s_idx) in inet6_dump_addr()
5930 int idx = 0, s_idx; in inet6_dump_ifinfo() local
[all …]
/kernel/linux/linux-5.10/net/decnet/
Ddn_route.c1727 int idx, s_idx; in dn_cache_dump() local
1741 s_idx = idx = cb->args[1]; in dn_cache_dump()
1746 s_idx = 0; in dn_cache_dump()
1751 if (idx < s_idx) in dn_cache_dump()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_tables_api.c775 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_tables() local
786 if (idx < s_idx) in nf_tables_dump_tables()
788 if (idx > s_idx) in nf_tables_dump_tables()
1555 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_chains() local
1567 if (idx < s_idx) in nf_tables_dump_chains()
1569 if (idx > s_idx) in nf_tables_dump_chains()
2917 unsigned int s_idx = cb->args[0]; in __nf_tables_dump_rules() local
2923 if (*idx < s_idx) in __nf_tables_dump_rules()
2925 if (*idx > s_idx) { in __nf_tables_dump_rules()
3930 unsigned int idx, s_idx = cb->args[0]; in nf_tables_dump_sets() local
[all …]
/kernel/linux/linux-5.10/net/sched/
Dsch_api.c1754 int s_idx, s_q_idx; in tc_dump_qdisc() local
1760 s_idx = cb->args[0]; in tc_dump_qdisc()
1774 if (idx < s_idx) in tc_dump_qdisc()
1776 if (idx > s_idx) in tc_dump_qdisc()
/kernel/linux/linux-5.10/net/mpls/
Daf_mpls.c1307 int idx, s_idx; in mpls_netconf_dump_devconf() local
1326 s_idx = idx = cb->args[1]; in mpls_netconf_dump_devconf()
1328 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in mpls_netconf_dump_devconf()
1334 if (idx < s_idx) in mpls_netconf_dump_devconf()
/kernel/linux/linux-5.10/net/can/
Dgw.c692 int s_idx = cb->args[0]; in cgw_dump_jobs() local
696 if (idx < s_idx) in cgw_dump_jobs()