/kernel/linux/linux-5.10/kernel/sched/rtg/ |
D | rtg.c | 33 #define for_each_related_thread_group(grp) \ argument 34 list_for_each_entry(grp, &active_related_thread_groups, list) 38 rcu_assign_pointer(p->grp, NULL); in init_task_rtg() 44 return rcu_dereference(p->grp); in task_related_thread_group() 56 struct related_thread_group *grp = NULL; in alloc_related_thread_groups() local 60 grp = kzalloc(sizeof(*grp), GFP_NOWAIT); in alloc_related_thread_groups() 61 if (!grp) { in alloc_related_thread_groups() 66 grp->id = i; in alloc_related_thread_groups() 67 INIT_LIST_HEAD(&grp->tasks); in alloc_related_thread_groups() 68 INIT_LIST_HEAD(&grp->list); in alloc_related_thread_groups() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_mcast.c | 14 struct rxe_mc_grp *grp; in rxe_mcast_get_grp() local 21 grp = rxe_pool_get_key(&rxe->mc_grp_pool, mgid); in rxe_mcast_get_grp() 22 if (grp) in rxe_mcast_get_grp() 25 grp = rxe_alloc(&rxe->mc_grp_pool); in rxe_mcast_get_grp() 26 if (!grp) { in rxe_mcast_get_grp() 31 INIT_LIST_HEAD(&grp->qp_list); in rxe_mcast_get_grp() 32 spin_lock_init(&grp->mcg_lock); in rxe_mcast_get_grp() 33 grp->rxe = rxe; in rxe_mcast_get_grp() 35 rxe_add_key(grp, mgid); in rxe_mcast_get_grp() 42 *grp_p = grp; in rxe_mcast_get_grp() [all …]
|
/kernel/linux/linux-5.10/net/tipc/ |
D | group.c | 101 static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m, 114 static void tipc_group_decr_active(struct tipc_group *grp, in tipc_group_decr_active() argument 119 grp->active_cnt--; in tipc_group_decr_active() 122 static int tipc_group_rcvbuf_limit(struct tipc_group *grp) in tipc_group_rcvbuf_limit() argument 125 int mcnt = grp->member_cnt + 1; in tipc_group_rcvbuf_limit() 130 grp->max_active = max_active; in tipc_group_rcvbuf_limit() 140 u16 tipc_group_bc_snd_nxt(struct tipc_group *grp) in tipc_group_bc_snd_nxt() argument 142 return grp->bc_snd_nxt; in tipc_group_bc_snd_nxt() 155 u32 tipc_group_exclude(struct tipc_group *grp) in tipc_group_exclude() argument 157 if (!grp->loopback) in tipc_group_exclude() [all …]
|
D | group.h | 48 void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcv_buf); 49 void tipc_group_delete(struct net *net, struct tipc_group *grp); 50 void tipc_group_add_member(struct tipc_group *grp, u32 node, 52 struct tipc_nlist *tipc_group_dests(struct tipc_group *grp); 53 void tipc_group_self(struct tipc_group *grp, struct tipc_name_seq *seq, 55 u32 tipc_group_exclude(struct tipc_group *grp); 56 void tipc_group_filter_msg(struct tipc_group *grp, 59 void tipc_group_member_evt(struct tipc_group *grp, bool *wakeup, 63 void tipc_group_proto_rcv(struct tipc_group *grp, bool *wakeup, 67 void tipc_group_update_bc_members(struct tipc_group *grp, int len, bool ack); [all …]
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
D | ctcm_mpc.c | 330 struct mpc_group *grp; in ctc_mpc_alloc_channel() local 337 grp = priv->mpcg; in ctc_mpc_alloc_channel() 339 grp->allochanfunc = callback; in ctc_mpc_alloc_channel() 340 grp->port_num = port_num; in ctc_mpc_alloc_channel() 341 grp->port_persist = 1; in ctc_mpc_alloc_channel() 345 CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm)); in ctc_mpc_alloc_channel() 347 switch (fsm_getstate(grp->fsm)) { in ctc_mpc_alloc_channel() 350 grp->alloc_called = 1; in ctc_mpc_alloc_channel() 359 grp->send_qllc_disc = 1; in ctc_mpc_alloc_channel() 362 fsm_deltimer(&grp->timer); in ctc_mpc_alloc_channel() [all …]
|
/kernel/linux/linux-5.10/fs/sysfs/ |
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() 36 const struct attribute_group *grp, int update) in create_files() argument 42 if (grp->attrs) { in create_files() 43 for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { in create_files() 53 if (grp->is_visible) { in create_files() 54 mode = grp->is_visible(kobj, *attr, i); in create_files() [all …]
|
/kernel/linux/linux-5.10/fs/erofs/ |
D | utils.c | 40 static int erofs_workgroup_get(struct erofs_workgroup *grp) in erofs_workgroup_get() argument 45 o = erofs_wait_on_workgroup_freezed(grp); in erofs_workgroup_get() 49 if (atomic_cmpxchg(&grp->refcount, o, o + 1) != o) in erofs_workgroup_get() 62 struct erofs_workgroup *grp; in erofs_find_workgroup() local 66 grp = xa_load(&sbi->managed_pslots, index); in erofs_find_workgroup() 67 if (grp) { in erofs_find_workgroup() 68 if (erofs_workgroup_get(grp)) { in erofs_find_workgroup() 74 DBG_BUGON(index != grp->index); in erofs_find_workgroup() 77 return grp; in erofs_find_workgroup() 81 struct erofs_workgroup *grp) in erofs_insert_workgroup() argument [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 107 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_val() argument 111 for (n = 0; n < grp->num_settings; n++) { in mvebu_pinctrl_find_setting_by_val() 112 if (config == grp->settings[n].val) { in mvebu_pinctrl_find_setting_by_val() 114 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_val() 115 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_val() 122 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_name() argument 126 for (n = 0; n < grp->num_settings; n++) { in mvebu_pinctrl_find_setting_by_name() 127 if (strcmp(name, grp->settings[n].name) == 0) { in mvebu_pinctrl_find_setting_by_name() 129 grp->settings[n].variant)) in mvebu_pinctrl_find_setting_by_name() 130 return &grp->settings[n]; in mvebu_pinctrl_find_setting_by_name() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_qfq.c | 151 struct qfq_group *grp; member 297 if (agg->grp == NULL) { in qfq_update_agg() 300 agg->grp = &q->groups[i]; in qfq_update_agg() 745 static int qfq_calc_state(struct qfq_sched *q, const struct qfq_group *grp) in qfq_calc_state() argument 748 unsigned int state = qfq_gt(grp->S, q->V); in qfq_calc_state() 749 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state() 754 if (qfq_gt(grp->F, next->F)) in qfq_calc_state() 875 static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg, in qfq_slot_insert() argument 878 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert() 882 u64 deltaS = roundedS - grp->S - in qfq_slot_insert() [all …]
|
/kernel/linux/linux-5.10/include/linux/pinctrl/ |
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 …]
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_ports.c | 98 static void port_subs_info_init(struct snd_seq_port_subs_info *grp) in port_subs_info_init() argument 100 INIT_LIST_HEAD(&grp->list_head); in port_subs_info_init() 101 grp->count = 0; in port_subs_info_init() 102 grp->exclusive = 0; in port_subs_info_init() 103 rwlock_init(&grp->list_lock); in port_subs_info_init() 104 init_rwsem(&grp->list_mutex); in port_subs_info_init() 105 grp->open = NULL; in port_subs_info_init() 106 grp->close = NULL; in port_subs_info_init() 165 struct snd_seq_port_subs_info *grp, 169 struct snd_seq_port_subs_info *grp, [all …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | imx6ull-colibri.dtsi | 217 pinctrl_can_int: canint-grp { 223 pinctrl_enet2: enet2-grp { 253 pinctrl_ecspi1_cs: ecspi1-cs-grp { 259 pinctrl_ecspi1: ecspi1-grp { 267 pinctrl_flexcan1: flexcan1-grp { 274 pinctrl_flexcan2: flexcan2-grp { 281 pinctrl_gpio_bl_on: gpio-bl-on-grp { 287 pinctrl_gpio1: gpio1-grp { 300 pinctrl_gpio2: gpio2-grp { /* Camera */ 310 pinctrl_gpio3: gpio3-grp { /* CAN2 */ [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | user_exp_rcv.c | 61 u32 rcventry, struct tid_group *grp, 69 struct tid_group *grp, 74 struct tid_group **grp); 359 struct tid_group *grp = in hfi1_user_exp_rcv_setup() local 362 ret = program_rcvarray(fd, tidbuf, grp, in hfi1_user_exp_rcv_setup() 371 tid_group_add_tail(grp, &uctxt->tid_group_list); in hfi1_user_exp_rcv_setup() 377 tid_group_add_tail(grp, &uctxt->tid_full_list); in hfi1_user_exp_rcv_setup() 384 struct tid_group *grp, *ptr; in hfi1_user_exp_rcv_setup() local 394 grp = tid_group_pop(&uctxt->tid_group_list); in hfi1_user_exp_rcv_setup() 395 tid_group_add_tail(grp, &uctxt->tid_used_list); in hfi1_user_exp_rcv_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/base/ |
D | devres.c | 450 struct devres_group *grp; in remove_nodes() local 455 grp = node_to_group(node); in remove_nodes() 456 if (grp) { in remove_nodes() 458 grp->color = 0; in remove_nodes() 481 struct devres_group *grp; in remove_nodes() local 486 grp = node_to_group(node); in remove_nodes() 487 BUG_ON(!grp || list_empty(&grp->node[0].entry)); in remove_nodes() 489 grp->color++; in remove_nodes() 490 if (list_empty(&grp->node[1].entry)) in remove_nodes() 491 grp->color++; in remove_nodes() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
D | vivid-rds-gen.c | 15 static u8 vivid_get_di(const struct vivid_rds_gen *rds, unsigned grp) in vivid_get_di() argument 17 switch (grp) { in vivid_get_di() 19 return (rds->dyn_pty << 2) | (grp & 3); in vivid_get_di() 21 return (rds->compressed << 2) | (grp & 3); in vivid_get_di() 23 return (rds->art_head << 2) | (grp & 3); in vivid_get_di() 25 return (rds->mono_stereo << 2) | (grp & 3); in vivid_get_di() 45 unsigned grp; in vivid_rds_generate() local 52 for (grp = 0; grp < VIVID_RDS_GEN_GROUPS; grp++, data += VIVID_RDS_GEN_BLKS_PER_GRP) { in vivid_rds_generate() 61 switch (grp) { in vivid_rds_generate() 65 idx = (grp % 22) % 4; in vivid_rds_generate() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
D | irq-pm-s3c64xx.c | 63 struct irq_grp_save *grp = eint_grp_save; in s3c64xx_irq_pm_suspend() local 73 for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) { in s3c64xx_irq_pm_suspend() 74 grp->con = __raw_readl(S3C64XX_EINT12CON + (i * 4)); in s3c64xx_irq_pm_suspend() 75 grp->mask = __raw_readl(S3C64XX_EINT12MASK + (i * 4)); in s3c64xx_irq_pm_suspend() 76 grp->fltcon = __raw_readl(S3C64XX_EINT12FLTCON + (i * 4)); in s3c64xx_irq_pm_suspend() 84 struct irq_grp_save *grp = eint_grp_save; in s3c64xx_irq_pm_resume() local 94 for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) { in s3c64xx_irq_pm_resume() 95 __raw_writel(grp->con, S3C64XX_EINT12CON + (i * 4)); in s3c64xx_irq_pm_resume() 96 __raw_writel(grp->mask, S3C64XX_EINT12MASK + (i * 4)); in s3c64xx_irq_pm_resume() 97 __raw_writel(grp->fltcon, S3C64XX_EINT12FLTCON + (i * 4)); in s3c64xx_irq_pm_resume()
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
D | pinctrl-rzn1.c | 339 const struct rzn1_pin_group *grp; in rzn1_dt_node_to_map_one() local 348 grp = rzn1_pinctrl_find_group_by_name(ipctl, np->name); in rzn1_dt_node_to_map_one() 349 if (!grp) { in rzn1_dt_node_to_map_one() 375 grp->name, grp->func); in rzn1_dt_node_to_map_one() 382 &reserved_maps, num_maps, grp->name, in rzn1_dt_node_to_map_one() 390 grp->func, grp->name, grp->npins); in rzn1_dt_node_to_map_one() 464 struct rzn1_pin_group *grp = &ipctl->groups[group]; in rzn1_set_mux() local 465 unsigned int i, grp_pins = grp->npins; in rzn1_set_mux() 468 ipctl->functions[selector].name, selector, grp->name, group); in rzn1_set_mux() 472 rzn1_set_hw_pin_func(ipctl, grp->pins[i], grp->pin_ids[i], 0); in rzn1_set_mux() [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier.h | 159 #define __UNIPHIER_PINCTRL_GROUP(grp, mux) \ argument 161 .name = #grp, \ 162 .pins = grp##_pins, \ 163 .num_pins = ARRAY_SIZE(grp##_pins), \ 167 #define UNIPHIER_PINCTRL_GROUP(grp) \ argument 168 __UNIPHIER_PINCTRL_GROUP(grp, \ 169 grp##_muxvals + \ 170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \ 171 ARRAY_SIZE(grp##_muxvals))) 173 #define UNIPHIER_PINCTRL_GROUP_GPIO(grp) \ argument [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
D | otx_cptpf_ucode.c | 188 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].align_dma; in cpt_set_ucode_base() 525 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].ver_str, in print_ucode_info() 549 &eng_grp->g->grp[eng_grp->mirror.idx], in print_engs_info() 605 struct otx_cpt_eng_grp_info *grp; in print_dbg_info() local 617 grp = &eng_grps->grp[i]; in print_dbg_info() 618 pr_debug("engine_group%d, state %s\n", i, grp->is_enabled ? in print_dbg_info() 620 if (grp->is_enabled) { in print_dbg_info() 621 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info() 623 grp->mirror.is_ena ? in print_dbg_info() 625 grp->ucode[0].filename, in print_dbg_info() [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 158 const struct imx1_pin_group *grp = NULL; in imx1_pinctrl_find_group_by_name() local 163 grp = &info->groups[i]; in imx1_pinctrl_find_group_by_name() 168 return grp; in imx1_pinctrl_find_group_by_name() 224 const struct imx1_pin_group *grp; in imx1_dt_node_to_map() local 234 grp = imx1_pinctrl_find_group_by_name(info, np->name); in imx1_dt_node_to_map() 235 if (!grp) { in imx1_dt_node_to_map() 241 for (i = 0; i < grp->npins; i++) in imx1_dt_node_to_map() 265 for (i = j = 0; i < grp->npins; i++) { in imx1_dt_node_to_map() 268 pin_get_name(pctldev, grp->pins[i].pin_id); in imx1_dt_node_to_map() 269 new_map[j].data.configs.configs = &grp->pins[i].config; in imx1_dt_node_to_map() [all …]
|
D | pinctrl-imx.c | 38 const struct group_desc *grp = NULL; in imx_pinctrl_find_group_by_name() local 42 grp = pinctrl_generic_get_group(pctldev, i); in imx_pinctrl_find_group_by_name() 43 if (grp && !strcmp(grp->name, name)) in imx_pinctrl_find_group_by_name() 47 return grp; in imx_pinctrl_find_group_by_name() 62 const struct group_desc *grp; in imx_dt_node_to_map() local 73 grp = imx_pinctrl_find_group_by_name(pctldev, np->name); in imx_dt_node_to_map() 74 if (!grp) { in imx_dt_node_to_map() 80 map_num += grp->num_pins; in imx_dt_node_to_map() 82 for (i = 0; i < grp->num_pins; i++) { in imx_dt_node_to_map() 83 pin = &((struct imx_pin *)(grp->data))[i]; in imx_dt_node_to_map() [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.c | 195 const struct sprd_pin_group *grp = NULL; in sprd_pinctrl_find_group_by_name() local 200 grp = &info->groups[i]; in sprd_pinctrl_find_group_by_name() 205 return grp; in sprd_pinctrl_find_group_by_name() 248 const struct sprd_pin_group *grp; in sprd_dt_node_to_map() local 257 grp = sprd_pinctrl_find_group_by_name(pctl, np->name); in sprd_dt_node_to_map() 258 if (!grp) { in sprd_dt_node_to_map() 306 grp->name, function); in sprd_dt_node_to_map() 316 pin_id = grp->pins[0]; in sprd_dt_node_to_map() 319 group_or_pin = grp->name; in sprd_dt_node_to_map() 390 struct sprd_pin_group *grp = &info->groups[group_selector]; in sprd_pmx_set_mux() local [all …]
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_mru_cache.c | 130 unsigned int grp; in _xfs_mru_cache_migrate() local 168 for (grp = 0; grp < mru->grp_count; grp++) { in _xfs_mru_cache_migrate() 171 lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count); in _xfs_mru_cache_migrate() 174 (mru->grp_count + grp) * mru->grp_time; in _xfs_mru_cache_migrate() 194 unsigned int grp = 0; in _xfs_mru_cache_list_insert() local 210 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert() 211 grp = (mru->lru_grp + grp) % mru->grp_count; in _xfs_mru_cache_list_insert() 215 list_add_tail(&elem->list_node, mru->lists + grp); in _xfs_mru_cache_list_insert() 324 int err = 0, grp; in xfs_mru_cache_create() local 348 for (grp = 0; grp < mru->grp_count; grp++) in xfs_mru_cache_create() [all …]
|