Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
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()
951 e_idx = min(s_idx + sizeof(param->outer), value_size); in dr_rule_verify()
953 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { 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()
963 if (!dr_rule_cmp_value_to_mask(mask_p, param_p, s_idx, e_idx)) { in dr_rule_verify()
970 s_idx = offsetof(struct mlx5dr_match_param, inner); in dr_rule_verify()
[all …]
/linux-6.6.21/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()
644 struct cx18_stream *s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stop_capture() local
[all …]
Dcx18-streams.c786 struct cx18_stream *s_idx; in cx18_start_v4l2_encode_stream() local
883 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
885 s->handle, cx18_stream_enabled(s_idx) ? 7 : 0); in cx18_start_v4l2_encode_stream()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/net/ipv4/
Ddevinet.c1856 int idx, s_idx; in inet_dump_ifaddr() local
1864 s_idx = idx = cb->args[1]; in inet_dump_ifaddr()
1890 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_dump_ifaddr()
1896 if (idx < s_idx) in inet_dump_ifaddr()
1898 if (h > s_h || idx > s_idx) in inet_dump_ifaddr()
2268 int idx, s_idx; in inet_netconf_dump_devconf() local
2289 s_idx = idx = cb->args[1]; in inet_netconf_dump_devconf()
2291 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_netconf_dump_devconf()
2297 if (idx < s_idx) in inet_netconf_dump_devconf()
Dnexthop.c3195 int s_idx; in rtm_dump_walk_nexthops() local
3198 s_idx = ctx->idx; in rtm_dump_walk_nexthops()
3203 if (nh->id < s_idx) in rtm_dump_walk_nexthops()
/linux-6.6.21/net/core/
Drtnetlink.c2175 int idx = 0, s_idx; in rtnl_dump_ifinfo() local
2187 s_idx = cb->args[1]; in rtnl_dump_ifinfo()
2232 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in rtnl_dump_ifinfo()
2238 if (idx < s_idx) in rtnl_dump_ifinfo()
3976 int s_idx = cb->family; in rtnl_dump_all() local
3980 if (s_idx == 0) in rtnl_dump_all()
3981 s_idx = 1; in rtnl_dump_all()
3988 if (idx < s_idx || idx == PF_PACKET) in rtnl_dump_all()
4006 if (idx > s_idx) { in rtnl_dump_all()
4608 int idx = 0, s_idx; in rtnl_fdb_dump() local
[all …]
Dnet_namespace.c974 int s_idx; member
983 if (net_cb->idx < net_cb->s_idx) in rtnl_net_dumpid_one()
1052 .s_idx = cb->args[0], in rtnl_net_dumpid()
Dneighbour.c2711 int idx, s_idx = idx = cb->args[2]; in neigh_dump_table() local
2723 s_idx = 0; in neigh_dump_table()
2727 if (idx < s_idx || !net_eq(dev_net(n->dev), net)) in neigh_dump_table()
2758 int idx, s_idx = idx = cb->args[4]; in pneigh_dump_table() local
2768 s_idx = 0; in pneigh_dump_table()
2770 if (idx < s_idx || pneigh_net(n) != net) in pneigh_dump_table()
/linux-6.6.21/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.c731 int idx, s_idx; in inet6_netconf_dump_devconf() local
752 s_idx = idx = cb->args[1]; in inet6_netconf_dump_devconf()
754 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_netconf_dump_devconf()
760 if (idx < s_idx) in inet6_netconf_dump_devconf()
5340 int idx, s_idx, s_ip_idx; in inet6_dump_addr() local
5348 s_idx = idx = cb->args[1]; in inet6_dump_addr()
5377 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_dump_addr()
5381 if (idx < s_idx) in inet6_dump_addr()
5383 if (h > s_h || idx > s_idx) in inet6_dump_addr()
6060 int idx = 0, s_idx; in inet6_dump_ifinfo() local
[all …]
/linux-6.6.21/net/mctp/
Droute.c1354 int s_idx, idx; in mctp_dump_rtinfo() local
1361 s_idx = cb->args[0]; in mctp_dump_rtinfo()
1366 if (idx++ < s_idx) in mctp_dump_rtinfo()
/linux-6.6.21/net/bridge/
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()
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()
/linux-6.6.21/net/sched/
Dsch_api.c1826 int s_idx, s_q_idx; in tc_dump_qdisc() local
1832 s_idx = cb->args[0]; in tc_dump_qdisc()
1846 if (idx < s_idx) in tc_dump_qdisc()
1848 if (idx > s_idx) in tc_dump_qdisc()
/linux-6.6.21/net/mpls/
Daf_mpls.c1309 int idx, s_idx; in mpls_netconf_dump_devconf() local
1328 s_idx = idx = cb->args[1]; in mpls_netconf_dump_devconf()
1330 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in mpls_netconf_dump_devconf()
1336 if (idx < s_idx) in mpls_netconf_dump_devconf()
/linux-6.6.21/net/netfilter/
Dnf_tables_api.c1050 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_tables() local
1062 if (idx < s_idx) in nf_tables_dump_tables()
1064 if (idx > s_idx) in nf_tables_dump_tables()
1884 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_chains() local
1900 if (idx < s_idx) in nf_tables_dump_chains()
1902 if (idx > s_idx) in nf_tables_dump_chains()
3471 unsigned int s_idx = cb->args[0]; in __nf_tables_dump_rules() local
3480 if (*idx < s_idx) in __nf_tables_dump_rules()
4591 unsigned int idx, s_idx = cb->args[0]; in nf_tables_dump_sets() local
4620 if (idx < s_idx) in nf_tables_dump_sets()
[all …]
/linux-6.6.21/net/can/
Dgw.c760 int s_idx = cb->args[0]; in cgw_dump_jobs() local
764 if (idx < s_idx) in cgw_dump_jobs()