Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H 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()
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/drivers/media/pci/cx18/
H 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()
644 struct cx18_stream *s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stop_capture() local
[all …]
H A Dcx18-streams.c785 struct cx18_stream *s_idx; in cx18_start_v4l2_encode_stream() local
882 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
884 s->handle, cx18_stream_enabled(s_idx) ? 7 : 0); in cx18_start_v4l2_encode_stream()
/linux/net/ieee802154/
H 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/drivers/video/fbdev/
H 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/drivers/net/vxlan/
H A Dvxlan_vnifilter.c339 int idx = 0, s_idx = cb->args[1]; in vxlan_vnifilter_dump_dev() local
366 if (idx < s_idx) { in vxlan_vnifilter_dump_dev()
405 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/net/ipv6/
H A Daddrlabel.c491 int idx = 0, s_idx = cb->args[0]; in ip6addrlbl_dump() local
504 if (idx >= s_idx) { in ip6addrlbl_dump()
/linux/net/core/
H A Dnet_namespace.c1082 int s_idx; member
1091 if (net_cb->idx < net_cb->s_idx) in rtnl_net_dumpid_one()
1160 .s_idx = cb->args[0], in rtnl_net_dumpid()
H A Dneighbour.c2807 int idx, s_idx = idx = cb->args[2]; in neigh_dump_table() local
2818 s_idx = 0; in neigh_dump_table()
2821 if (idx < s_idx || !net_eq(dev_net(n->dev), net)) in neigh_dump_table()
2848 int idx, s_idx = idx = cb->args[4]; in pneigh_dump_table() local
2856 s_idx = 0; in pneigh_dump_table()
2860 if (idx < s_idx || pneigh_net(n) != net) in pneigh_dump_table()
H A Drtnetlink.c4352 int s_idx = cb->family; in rtnl_dump_all() local
4356 if (s_idx == 0) in rtnl_dump_all()
4357 s_idx = 1; in rtnl_dump_all()
4364 if (idx < s_idx || idx == PF_PACKET) in rtnl_dump_all()
4382 if (idx > s_idx) { in rtnl_dump_all()
6490 int idx, s_idx; in rtnl_mdb_dump() local
6501 s_idx = ctx->idx; in rtnl_mdb_dump()
6505 if (idx < s_idx) in rtnl_mdb_dump()
/linux/net/mctp/
H A Droute.c1700 int s_idx, idx; in mctp_dump_rtinfo() local
1707 s_idx = cb->args[0]; in mctp_dump_rtinfo()
1712 if (idx++ < s_idx) in mctp_dump_rtinfo()
/linux/net/bridge/
H A Dbr_vlan.c1996 int idx = 0, s_idx = cb->args[1]; in br_vlan_dump_dev() local
2040 if (idx < s_idx) { in br_vlan_dump_dev()
2115 int idx = 0, err = 0, s_idx = cb->args[0]; in br_vlan_rtm_dump() local
2143 if (idx < s_idx) in br_vlan_rtm_dump()
H A Dbr_mdb.c323 int idx = 0, s_idx = cb->args[1], err = 0, pidx = 0, s_pidx = cb->args[2]; in br_mdb_fill_info() local
336 if (idx < s_idx) in br_mdb_fill_info()
/linux/net/netfilter/
H A Dnf_tables_api.c1268 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_tables() local
1280 if (idx < s_idx) in nf_tables_dump_tables()
1282 if (idx > s_idx) in nf_tables_dump_tables()
2150 unsigned int idx = 0, s_idx = cb->args[0]; in nf_tables_dump_chains() local
2166 if (idx < s_idx) in nf_tables_dump_chains()
2168 if (idx > s_idx) in nf_tables_dump_chains()
3799 unsigned int s_idx; member
3822 if (*idx < ctx->s_idx) in __nf_tables_dump_rules()
3905 ctx->s_idx = idx; in nf_tables_dump_rules()
5034 unsigned int idx, s_idx = cb->args[0]; in nf_tables_dump_sets() local
[all …]
/linux/net/sched/
H A Dsch_api.c1881 int s_idx, s_q_idx; in tc_dump_qdisc() local
1887 s_idx = cb->args[0]; in tc_dump_qdisc()
1901 if (idx < s_idx) in tc_dump_qdisc()
1903 if (idx > s_idx) in tc_dump_qdisc()
/linux/net/can/
H A Dgw.c781 int s_idx = cb->args[0]; in cgw_dump_jobs() local
785 if (idx < s_idx) in cgw_dump_jobs()
/linux/net/ipv4/
H A Dnexthop.c3528 int s_idx; in rtm_dump_walk_nexthops() local
3531 s_idx = ctx->idx; in rtm_dump_walk_nexthops()
3541 if (s_idx != 0) { in rtm_dump_walk_nexthops()
3549 if (nh->id < s_idx) { in rtm_dump_walk_nexthops()