Home
last modified time | relevance | path

Searched refs:group_num (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/net/psample/
Dpsample.c51 ret = nla_put_u32(msg, PSAMPLE_ATTR_SAMPLE_GROUP, group->group_num); in psample_group_nl_fill()
141 u32 group_num) in psample_group_create() argument
150 group->group_num = group_num; in psample_group_create()
165 psample_group_lookup(struct net *net, u32 group_num) in psample_group_lookup() argument
170 if ((group->group_num == group_num) && (group->net == net)) in psample_group_lookup()
175 struct psample_group *psample_group_get(struct net *net, u32 group_num) in psample_group_get() argument
181 group = psample_group_lookup(net, group_num); in psample_group_get()
183 group = psample_group_create(net, group_num); in psample_group_get()
428 ret = nla_put_u32(nl_skb, PSAMPLE_ATTR_SAMPLE_GROUP, group->group_num); in psample_sample_packet()
/linux-6.1.9/net/netfilter/
Dnfnetlink_log.c79 u_int16_t group_num; /* number of this queue */ member
100 static inline u_int8_t instance_hashfn(u_int16_t group_num) in instance_hashfn() argument
102 return ((group_num & 0xff) % INSTANCE_BUCKETS); in instance_hashfn()
106 __instance_lookup(struct nfnl_log_net *log, u_int16_t group_num) in __instance_lookup() argument
111 head = &log->instance_table[instance_hashfn(group_num)]; in __instance_lookup()
113 if (inst->group_num == group_num) in __instance_lookup()
126 instance_lookup_get(struct nfnl_log_net *log, u_int16_t group_num) in instance_lookup_get() argument
131 inst = __instance_lookup(log, group_num); in instance_lookup_get()
159 instance_create(struct net *net, u_int16_t group_num, in instance_create() argument
167 if (__instance_lookup(log, group_num)) { in instance_create()
[all …]
/linux-6.1.9/drivers/pinctrl/meson/
Dpinctrl-meson8-pmx.c57 unsigned group_num) in meson8_pmx_set_mux() argument
61 struct meson_pmx_group *group = &pc->data->groups[group_num]; in meson8_pmx_set_mux()
74 meson8_pmx_disable_other_groups(pc, group->pins[i], group_num); in meson8_pmx_set_mux()
Dpinctrl-meson-axg-pmx.c81 unsigned int func_num, unsigned int group_num) in meson_axg_pmx_set_mux() argument
87 struct meson_pmx_group *group = &pc->data->groups[group_num]; in meson_axg_pmx_set_mux()
/linux-6.1.9/include/net/
Dpsample.h11 u32 group_num; member
30 struct psample_group *psample_group_get(struct net *net, u32 group_num);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dsample.c37 sample_attr->group_num = act->sample.psample_group->group_num; in tc_act_parse_sample()
/linux-6.1.9/drivers/net/netdevsim/
Dpsample.c28 u32 group_num; member
144 psample->group_num); in nsim_dev_psample_enable()
220 psample->group_num = 10; in nsim_dev_psample_init()
222 &psample->group_num); in nsim_dev_psample_init()
/linux-6.1.9/tools/testing/selftests/drivers/net/netdevsim/
Dpsample.sh70 echo 1234 > $PSAMPLE_DIR/group_num
78 echo 4321 > $PSAMPLE_DIR/group_num
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.h14 u32 group_num; member
Dsample.c334 psample_group.group_num = mapped_obj->sample.group_id; in mlx5e_tc_sample_skb()
521 restore_obj.sample.group_id = sample_attr->group_num; in mlx5e_tc_sample_offload()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dlparcfg.c76 u16 group_num; member
123 ppp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_ppp()
203 seq_printf(m, "group=%d\n", ppp_data.group_num); in parse_ppp_data()
271 seq_printf(m, "entitled_memory_group_number=%d\n", mpp_data.group_num); in parse_mpp_data()
Dlpar.c1919 mpp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff; in h_get_mpp()
/linux-6.1.9/drivers/hwmon/
Dadt7475.c1643 int i, ret = 0, revision, group_num = 0; in adt7475_probe() local
1758 data->groups[group_num++] = &adt7475_attr_group; in adt7475_probe()
1762 data->groups[group_num++] = &fan4_attr_group; in adt7475_probe()
1765 data->groups[group_num++] = &pwm2_attr_group; in adt7475_probe()
1768 data->groups[group_num++] = &in0_attr_group; in adt7475_probe()
1771 data->groups[group_num++] = &in3_attr_group; in adt7475_probe()
1774 data->groups[group_num++] = &in4_attr_group; in adt7475_probe()
1777 data->groups[group_num++] = &in5_attr_group; in adt7475_probe()
1781 data->groups[group_num] = &vid_attr_group; in adt7475_probe()
/linux-6.1.9/Documentation/filesystems/ext4/
Dgroup_descr.rst102 - Group descriptor checksum; crc16(sb_uuid+group_num+bg_desc) if the
104 crc32c(sb_uuid+group_num+bg_desc) & 0xFFFF if the
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c36 u32 group_num; member
200 ft_attr.autogroup.max_num_groups = chains->group_num; in mlx5_chains_create_table()
739 chains_priv->group_num = attr->max_grp_num; in mlx5_chains_init()
/linux-6.1.9/drivers/pinctrl/qcom/
Dpinctrl-lpass-lpi.c82 unsigned int group_num) in lpi_gpio_set_mux() argument
85 const struct lpi_pingroup *g = &pctrl->data->groups[group_num]; in lpi_gpio_set_mux()
/linux-6.1.9/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_dec_hw.c349 u32 group_num, u32 last_mcu) in mtk_jpeg_dec_set_dma_group() argument
354 (((group_num - 1) & 0x007F) << 8) | in mtk_jpeg_dec_set_dma_group()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c488 int group_num = val.vu32; in mlx5_devlink_large_group_num_validate() local
490 if (group_num < 1 || group_num > 1024) { in mlx5_devlink_large_group_num_validate()
/linux-6.1.9/arch/powerpc/include/asm/
Dhvcall.h532 unsigned short group_num; member
/linux-6.1.9/drivers/media/common/siano/
Dsmscoreapi.c1943 u32 group_num = 0; in smscore_gpio_configure() local
1978 if (get_gpio_pin_params(pin_num, &translatedpin_num, &group_num, in smscore_gpio_configure()
1985 p_msg->msg_data[2] = group_num; in smscore_gpio_configure()