/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 139 local grp=$1; shift 147 bridge mdb add dev br0 port br0 grp $grp $state vid 10 148 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 151 bridge mdb replace dev br0 port br0 grp $grp $state vid 10 &> /dev/null 154 bridge mdb del dev br0 port br0 grp $grp $state vid 10 155 bridge mdb get dev br0 grp $grp vid 10 &> /dev/null 159 bridge mdb add dev br0 port br0 grp $grp $invalid_state vid 10 \ 163 bridge mdb add dev br0 port br0 grp $grp src $src $state vid 10 \ 167 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ 171 bridge mdb add dev br0 port br0 grp $grp $state vid 10 \ [all …]
|
/linux/net/tipc/ |
H A D | group.c | 102 static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m, 115 static void tipc_group_decr_active(struct tipc_group *grp, in tipc_group_decr_active() argument 120 grp->active_cnt--; in tipc_group_decr_active() 123 static int tipc_group_rcvbuf_limit(struct tipc_group *grp) in tipc_group_rcvbuf_limit() argument 126 int mcnt = grp->member_cnt + 1; in tipc_group_rcvbuf_limit() 131 grp->max_active = max_active; in tipc_group_rcvbuf_limit() 141 u16 tipc_group_bc_snd_nxt(struct tipc_group *grp) in tipc_group_bc_snd_nxt() argument 143 return grp->bc_snd_nxt; in tipc_group_bc_snd_nxt() 156 u32 tipc_group_exclude(struct tipc_group *grp) in tipc_group_exclude() argument 158 if (!grp->loopback) in tipc_group_exclude() [all …]
|
H A D | group.h | 49 void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcv_buf); 50 void tipc_group_delete(struct net *net, struct tipc_group *grp); 51 void tipc_group_add_member(struct tipc_group *grp, u32 node, 53 struct tipc_nlist *tipc_group_dests(struct tipc_group *grp); 54 void tipc_group_self(struct tipc_group *grp, struct tipc_service_range *seq, 56 u32 tipc_group_exclude(struct tipc_group *grp); 57 void tipc_group_filter_msg(struct tipc_group *grp, 60 void tipc_group_member_evt(struct tipc_group *grp, bool *wakeup, 64 void tipc_group_proto_rcv(struct tipc_group *grp, bool *wakeup, 68 void tipc_group_update_bc_members(struct tipc_group *grp, int len, bool ack); [all …]
|
/linux/drivers/s390/net/ |
H A D | ctcm_mpc.c | 332 struct mpc_group *grp; in ctc_mpc_alloc_channel() local 339 grp = priv->mpcg; in ctc_mpc_alloc_channel() 341 grp->allochanfunc = callback; in ctc_mpc_alloc_channel() 342 grp->port_num = port_num; in ctc_mpc_alloc_channel() 343 grp->port_persist = 1; in ctc_mpc_alloc_channel() 347 CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm)); in ctc_mpc_alloc_channel() 349 switch (fsm_getstate(grp->fsm)) { in ctc_mpc_alloc_channel() 352 grp->alloc_called = 1; in ctc_mpc_alloc_channel() 359 /*fsm_newstate(grp->fsm, MPCG_STATE_XID2INITW);*/ in ctc_mpc_alloc_channel() 361 grp->send_qllc_disc = 1; in ctc_mpc_alloc_channel() [all …]
|
/linux/fs/sysfs/ |
H A D | group.c | 21 const struct attribute_group *grp) in remove_files() argument 26 if (grp->attrs) in remove_files() 27 for (attr = grp->attrs; *attr; attr++) in remove_files() 29 if (grp->bin_attrs) in remove_files() 30 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) in remove_files() 34 static umode_t __first_visible(const struct attribute_group *grp, struct kobject *kobj) in __first_visible() argument 36 if (grp->attrs && grp->attrs[0] && grp->is_visible) in __first_visible() 37 return grp->is_visible(kobj, grp->attrs[0], 0); in __first_visible() 39 if (grp->bin_attrs && grp->bin_attrs[0] && grp->is_bin_visible) in __first_visible() 40 return grp->is_bin_visible(kobj, grp->bin_attrs[0], 0); in __first_visible() [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | test_vxlan_mdb.sh | 407 …run_cmd "bridge -n $ns1 mdb add dev vx0 port vx0 grp 01:02:03:04:05:06 permanent dst $vtep_ip src_… 434 local grp_key="grp 239.1.1.1" 447 local grp_key="grp ff0e::1" 460 local grp_key="grp 239.1.1.1" 473 local grp_key="grp ff0e::1" 486 local grp_key="grp 239.1.1.1 src 192.0.2.129" 499 local grp_key="grp ff0e::1 src 2001:db8:100::1" 512 local grp_key="grp 239.1.1.1 src 192.0.2.129" 525 local grp_key="grp ff0e::1 src 2001:db8:100::1" 538 local grp=$1; shift [all …]
|
/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-rt305x.c | 67 GRP("i2c", i2c_grp, 1, RT305X_GPIO_MODE_I2C), 68 GRP("spi", spi_grp, 1, RT305X_GPIO_MODE_SPI), 69 GRP("uartf", uartf_grp, RT305X_GPIO_MODE_UART0_MASK, 71 GRP("uartlite", uartlite_grp, 1, RT305X_GPIO_MODE_UART1), 72 GRP("jtag", jtag_grp, 1, RT305X_GPIO_MODE_JTAG), 73 GRP("mdio", mdio_grp, 1, RT305X_GPIO_MODE_MDIO), 74 GRP("rgmii", rgmii_grp, 1, RT305X_GPIO_MODE_RGMII), 75 GRP("sdram", sdram_grp, 1, RT305X_GPIO_MODE_SDRAM), 80 GRP("i2c", i2c_grp, 1, RT305X_GPIO_MODE_I2C), 81 GRP("spi", spi_grp, 1, RT305X_GPIO_MODE_SPI), [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.c | 109 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_val() argument 114 for (n = 0; n < grp->num_settings; n++) { in mvebu_pinctrl_find_setting_by_val() 115 if (config == grp->settings[n].val) { in mvebu_pinctrl_find_setting_by_val() 117 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_val() 118 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_val() 126 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_name() argument 131 for (n = 0; n < grp->num_settings; n++) { in mvebu_pinctrl_find_setting_by_name() 132 if (strcmp(name, grp->settings[n].name) == 0) { in mvebu_pinctrl_find_setting_by_name() 134 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_name() 135 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_name() [all …]
|
/linux/fs/erofs/ |
H A D | zutil.c | 217 static bool erofs_workgroup_get(struct erofs_workgroup *grp) in erofs_workgroup_get() argument 219 if (lockref_get_not_zero(&grp->lockref)) in erofs_workgroup_get() 222 spin_lock(&grp->lockref.lock); in erofs_workgroup_get() 223 if (__lockref_is_dead(&grp->lockref)) { in erofs_workgroup_get() 224 spin_unlock(&grp->lockref.lock); in erofs_workgroup_get() 228 if (!grp->lockref.count++) in erofs_workgroup_get() 230 spin_unlock(&grp->lockref.lock); in erofs_workgroup_get() 238 struct erofs_workgroup *grp; in erofs_find_workgroup() local 242 grp = xa_load(&sbi->managed_pslots, index); in erofs_find_workgroup() 243 if (grp) { in erofs_find_workgroup() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-dhcom-som.dtsi | 458 pinctrl_hog_base: hog-base-grp { 471 pinctrl_dhcom_a: dhcom-a-grp { 475 pinctrl_dhcom_b: dhcom-b-grp { 479 pinctrl_dhcom_c: dhcom-c-grp { 483 pinctrl_dhcom_d: dhcom-d-grp { 487 pinctrl_dhcom_e: dhcom-e-grp { 491 pinctrl_dhcom_f: dhcom-f-grp { 495 pinctrl_dhcom_g: dhcom-g-grp { 499 pinctrl_dhcom_h: dhcom-h-grp { 503 pinctrl_dhcom_i: dhcom-i-grp { [all …]
|
H A D | imx6ull-dhcom-som.dtsi | 347 pinctrl_dhcom_i: dhcom-i-grp { 351 pinctrl_dhcom_j: dhcom-j-grp { 355 pinctrl_dhcom_k: dhcom-k-grp { 359 pinctrl_dhcom_l: dhcom-l-grp { 363 pinctrl_dhcom_m: dhcom-m-grp { 367 pinctrl_dhcom_n: dhcom-n-grp { 371 pinctrl_dhcom_o: dhcom-o-grp { 375 pinctrl_dhcom_p: dhcom-p-grp { 379 pinctrl_dhcom_q: dhcom-q-grp { 383 pinctrl_dhcom_r: dhcom-r-grp { [all …]
|
/linux/net/sched/ |
H A D | sch_qfq.c | 102 * grp->index is the index of the group; and grp->slot_shift 150 struct qfq_group *grp; member 301 if (agg->grp == NULL) { in qfq_update_agg() 304 agg->grp = &q->groups[i]; in qfq_update_agg() 746 * First compute eligibility comparing grp->S, q->V, 749 static int qfq_calc_state(struct qfq_sched *q, const struct qfq_group *grp) in qfq_calc_state() argument 752 unsigned int state = qfq_gt(grp->S, q->V); in qfq_calc_state() 753 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state() 758 if (qfq_gt(grp->F, next->F)) in qfq_calc_state() 879 static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg, in qfq_slot_insert() argument [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-dhcom-som.dtsi | 647 pinctrl_dhcom_a: dhcom-a-grp { 654 pinctrl_dhcom_b: dhcom-b-grp { 661 pinctrl_dhcom_c: dhcom-c-grp { 668 pinctrl_dhcom_d: dhcom-d-grp { 675 pinctrl_dhcom_e: dhcom-e-grp { 682 pinctrl_dhcom_f: dhcom-f-grp { 689 pinctrl_dhcom_g: dhcom-g-grp { 696 pinctrl_dhcom_h: dhcom-h-grp { 703 pinctrl_dhcom_i: dhcom-i-grp { 710 pinctrl_dhcom_j: dhcom-j-grp { [all …]
|
H A D | imx8mm-emcon.dtsi | 111 pinctrl_csi_pwn: csi-pwn-grp { 117 pinctrl_ecspi1: ecspi1-grp { 125 pinctrl_ecspi1_cs: ecspi1cs-grp { 132 pinctrl_fec1: fec1-grp { 152 pinctrl_flexspi0: flexspi0-grp { 164 pinctrl_flexspi1: flexspi1-grp { 175 pinctrl_gpio_led: gpio-led-grp { 182 pinctrl_i2c1: i2c1-grp { 196 pinctrl_i2c3: i2c3-grp { 203 pinctrl_lvds: lvds-grp { [all …]
|
H A D | imx8mp-data-modul-edm-sbc.dts | 643 pinctrl_ecspi1: ecspi1-grp { 652 pinctrl_ecspi2: ecspi2-grp { 661 pinctrl_ecspi3: ecspi3-grp { 670 pinctrl_eqos: eqos-grp { 693 pinctrl_fec: fec-grp { 716 pinctrl_flexcan1: flexcan1-grp { 723 pinctrl_hdmi: hdmi-grp { 730 pinctrl_hog_feature: hog-feature-grp { 742 pinctrl_hog_panel: hog-panel-grp { 749 pinctrl_hog_misc: hog-misc-grp { [all …]
|
H A D | imx8mm-data-modul-edm-sbc.dts | 485 pinctrl_ecspi1: ecspi1-grp { 494 pinctrl_ecspi2: ecspi2-grp { 503 pinctrl_ecspi3: ecspi3-grp { 512 pinctrl_fec1: fec1-grp { 537 pinctrl_hog_feature: hog-feature-grp { 553 pinctrl_hog_panel: hog-panel-grp { 560 pinctrl_hog_misc: hog-misc-grp { 586 pinctrl_hog_sbc: hog-sbc-grp { 620 pinctrl_i2c1: i2c1-grp { 627 pinctrl_i2c1_gpio: i2c1-gpio-grp { [all …]
|
/linux/sound/core/seq/ |
H A D | seq_ports.c | 99 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument 101 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init() 102 grp->count = 0; in port_subs_info_init() 103 grp->exclusive = 0; in port_subs_info_init() 104 rwlock_init(&grp->list_lock); in port_subs_info_init() 105 init_rwsem(&grp->list_mutex); in port_subs_info_init() 106 grp->open = NULL; in port_subs_info_init() 107 grp->close = NULL; in port_subs_info_init() 170 struct snd_seq_port_subs_info *grp, 174 struct snd_seq_port_subs_info *grp, [all …]
|
/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 40 const struct group_desc *grp = NULL; in imx_pinctrl_find_group_by_name() local 44 grp = pinctrl_generic_get_group(pctldev, i); in imx_pinctrl_find_group_by_name() 45 if (grp && !strcmp(grp->grp.name, name)) in imx_pinctrl_find_group_by_name() 49 return grp; in imx_pinctrl_find_group_by_name() 64 const struct group_desc *grp; in imx_dt_node_to_map() local 75 grp = imx_pinctrl_find_group_by_name(pctldev, np->name); in imx_dt_node_to_map() 76 if (!grp) { in imx_dt_node_to_map() 82 map_num += grp->grp.npins; in imx_dt_node_to_map() 84 for (i = 0; i < grp->grp.npins; i++) { in imx_dt_node_to_map() 85 pin = &((struct imx_pin *)(grp->data))[i]; in imx_dt_node_to_map() [all …]
|
H A D | pinctrl-imx1-core.c | 161 const struct imx1_pin_group *grp = NULL; in imx1_pinctrl_find_group_by_name() local 166 grp = &info->groups[i]; in imx1_pinctrl_find_group_by_name() 171 return grp; in imx1_pinctrl_find_group_by_name() 227 const struct imx1_pin_group *grp; in imx1_dt_node_to_map() local 237 grp = imx1_pinctrl_find_group_by_name(info, np->name); in imx1_dt_node_to_map() 238 if (!grp) { in imx1_dt_node_to_map() 244 for (i = 0; i < grp->npins; i++) in imx1_dt_node_to_map() 268 for (i = j = 0; i < grp->npins; i++) { in imx1_dt_node_to_map() 271 pin_get_name(pctldev, grp->pins[i].pin_id); in imx1_dt_node_to_map() 272 new_map[j].data.configs.configs = &grp->pins[i].config; in imx1_dt_node_to_map() [all …]
|
/linux/include/linux/pinctrl/ |
H A D | machine.h | 87 #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ argument 94 .group = grp, \ 99 #define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func) \ argument 100 PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, pinctrl, grp, func) 102 #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ argument 103 PIN_MAP_MUX_GROUP(dev, state, dev, grp, func) 105 #define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func) \ argument 106 PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, func) 130 #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs) \ argument 137 .group_or_pin = grp, \ [all …]
|
/linux/drivers/net/wireless/marvell/libertas_tf/ |
H A D | deb_defs.h | 49 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument 50 do { if ((lbtf_debug & (grp)) == (grp)) \ 53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument 56 #define lbtf_deb_enter(grp) \ argument 57 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s()\n", __func__); 58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument 59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); 60 #define lbtf_deb_leave(grp) \ argument 61 LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s()\n", __func__); 62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptpf_ucode.c | 188 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].align_dma; in cpt_set_ucode_base() 524 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].ver_str, in print_ucode_info() 548 &eng_grp->g->grp[eng_grp->mirror.idx], in print_engs_info() 604 struct otx_cpt_eng_grp_info *grp; in print_dbg_info() local 616 grp = &eng_grps->grp[i]; in print_dbg_info() 617 pr_debug("engine_group%d, state %s\n", i, grp->is_enabled ? in print_dbg_info() 619 if (grp->is_enabled) { in print_dbg_info() 620 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info() 622 grp->mirror.is_ena ? in print_dbg_info() 624 grp->ucode[0].filename, in print_dbg_info() [all …]
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_ucode.c | 558 struct otx2_cpt_eng_grp_info *grp) in release_engines() argument 563 if (!grp->engs[i].type) in release_engines() 566 if (grp->engs[i].count > 0) { in release_engines() 567 ret = update_engines_avail_count(dev, &grp->g->avail, in release_engines() 568 &grp->engs[i], in release_engines() 569 grp->engs[i].count); in release_engines() 574 grp->engs[i].type = 0; in release_engines() 575 grp->engs[i].count = 0; in release_engines() 576 grp->engs[i].offset = 0; in release_engines() 577 grp->engs[i].ucode = NULL; in release_engines() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | user_exp_rcv.c | 19 u32 rcventry, struct tid_group *grp, 30 struct tid_group *grp, u16 count, 330 struct tid_group *grp = in hfi1_user_exp_rcv_setup() local 333 ret = program_rcvarray(fd, tidbuf, grp, in hfi1_user_exp_rcv_setup() 338 * entries for the entire group, reset the grp fields in hfi1_user_exp_rcv_setup() 339 * and add the grp back to the free group list. in hfi1_user_exp_rcv_setup() 342 tid_group_add_tail(grp, &uctxt->tid_group_list); in hfi1_user_exp_rcv_setup() 348 tid_group_add_tail(grp, &uctxt->tid_full_list); in hfi1_user_exp_rcv_setup() 354 struct tid_group *grp, *ptr; in hfi1_user_exp_rcv_setup() local 364 grp = tid_group_pop(&uctxt->tid_group_list); in hfi1_user_exp_rcv_setup() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | signal_64.c | 46 mc_gregset_t __user *grp; in sparc64_set_context() local 57 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context() 58 err = __get_user(pc, &((*grp)[MC_PC])); in sparc64_set_context() 59 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context() 80 err |= __get_user(regs->y, &((*grp)[MC_Y])); in sparc64_set_context() 81 err |= __get_user(tstate, &((*grp)[MC_TSTATE])); in sparc64_set_context() 84 err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1])); in sparc64_set_context() 85 err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2])); in sparc64_set_context() 86 err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3])); in sparc64_set_context() 87 err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4])); in sparc64_set_context() [all …]
|