Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 1192) sorted by relevance

12345678910>>...48

/linux/drivers/infiniband/hw/mlx4/
A Dmcg.c52 (group)->name, group->demux->port, ## arg)
627 group->prev_state = group->state; in handle_join_req()
634 group->state = group->prev_state; in handle_join_req()
669 group->state = group->prev_state; in mlx4_ib_mcg_work_handler()
702 memcpy(&group->rec, group->response_sa_mad.data, sizeof group->rec); in mlx4_ib_mcg_work_handler()
729 group->prev_state = group->state; in mlx4_ib_mcg_work_handler()
731 group->state = group->prev_state; in mlx4_ib_mcg_work_handler()
846 group->dentry.attr.name = group->name; in acquire_group()
910 group->prev_state = group->state; in mlx4_ib_mcg_demux_handler()
973 req->group = group; in mlx4_ib_mcg_multiplex_handler()
[all …]
/linux/fs/notify/
A Dgroup.c25 group->ops->free_group_priv(group); in fsnotify_final_destroy_group()
27 mem_cgroup_put(group->memcg); in fsnotify_final_destroy_group()
30 kfree(group); in fsnotify_final_destroy_group()
40 group->shutdown = true; in fsnotify_group_stop_queueing()
68 wait_event(group->notification_waitq, !atomic_read(&group->user_waits)); in fsnotify_destroy_group()
90 if (group->overflow_event) in fsnotify_destroy_group()
91 group->ops->free_event(group, group->overflow_event); in fsnotify_destroy_group()
93 fsnotify_put_group(group); in fsnotify_destroy_group()
120 if (!group) in __fsnotify_alloc_group()
135 group->ops = ops; in __fsnotify_alloc_group()
[all …]
A Dnotification.c67 group->ops->free_event(group, event); in fsnotify_destroy_event()
93 spin_lock(&group->notification_lock); in fsnotify_insert_event()
95 if (group->shutdown) { in fsnotify_insert_event()
100 if (event == group->overflow_event || in fsnotify_insert_event()
101 group->q_len >= group->max_events) { in fsnotify_insert_event()
108 event = group->overflow_event; in fsnotify_insert_event()
113 ret = merge(group, event); in fsnotify_insert_event()
121 group->q_len++; in fsnotify_insert_event()
124 insert(group, event); in fsnotify_insert_event()
127 wake_up(&group->notification_waitq); in fsnotify_insert_event()
[all …]
A Dmark.c232 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy() local
339 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake() local
401 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark() local
432 struct fsnotify_group *group = mark->group; in fsnotify_free_mark() local
449 group->ops->freeing_mark(mark, group); in fsnotify_free_mark()
632 if ((lmark->group == mark->group) && in fsnotify_add_mark_list()
639 cmp = fsnotify_compare_groups(lmark->group, mark->group); in fsnotify_add_mark_list()
671 struct fsnotify_group *group = mark->group; in fsnotify_add_mark_locked() local
712 struct fsnotify_group *group = mark->group; in fsnotify_add_mark() local
736 if (mark->group == group && in fsnotify_find_mark()
[all …]
/linux/drivers/infiniband/core/
A Dmulticast.c208 struct mcast_group *group = member->group; in queue_join() local
361 group, &group->query); in send_leave()
432 group = container_of(work, typeof(*group), work); in mcast_work_handler()
535 rb_erase(&group->node, &group->port->table); in join_handler()
538 mcast_insert(group->port, group, is_mgid0); in join_handler()
551 !send_leave(group, group->leave_state)) in leave_handler()
568 if (group) in acquire_group()
573 group = kzalloc(sizeof *group, gfp_mask); in acquire_group()
574 if (!group) in acquire_group()
668 group = member->group; in ib_sa_free_multicast()
[all …]
A Dcma_configfs.c48 struct config_group group; member
60 struct config_group *group; in to_dev_port_group() local
66 return container_of(group, struct cma_dev_port_group, group); in to_dev_port_group()
81 if (!group) in cma_configfs_params_get()
85 group->cma_dev_group->name); in cma_configfs_params_get()
90 *pgroup = group; in cma_configfs_params_get()
104 struct cma_dev_port_group *group; in default_roce_mode_show() local
125 struct cma_dev_port_group *group; in default_roce_mode_store() local
151 struct cma_dev_port_group *group; in default_roce_tos_show() local
169 struct cma_dev_port_group *group; in default_roce_tos_store() local
[all …]
/linux/drivers/vfio/
A Dvfio.c337 return group; in vfio_group_get_from_iommu()
355 kfree(group); in vfio_group_release()
364 group = kzalloc(sizeof(*group), GFP_KERNEL); in vfio_group_alloc()
365 if (!group) in vfio_group_alloc()
429 err = cdev_device_add(&group->cdev, &group->dev); in vfio_create_group()
464 cdev_device_del(&group->cdev, &group->dev); in vfio_group_put()
767 if (!group) in vfio_group_find_or_alloc()
803 device->group = group; in __vfio_register_dev()
847 if (!group) in vfio_device_get_from_dev()
891 struct vfio_group *group = device->group; in vfio_unregister_group_dev() local
[all …]
/linux/arch/sparc/kernel/
A Dhvapi.c19 unsigned long group; member
30 { .group = HV_GRP_INTR, },
32 { .group = HV_GRP_TM, },
37 { .group = HV_GRP_RNG, },
39 { .group = HV_GRP_TPM, },
64 if (api_table[i].group == group) in __get_info()
104 p = __get_info(group); in sun4v_hvapi_register()
153 p = __get_info(group); in sun4v_hvapi_unregister()
170 p = __get_info(group); in sun4v_hvapi_get()
186 group = HV_GRP_SUN4V; in sun4v_hvapi_init()
[all …]
/linux/drivers/iommu/
A Diommu.c582 group->iommu_data_release(group->iommu_data); in iommu_group_release()
614 group = kzalloc(sizeof(*group), GFP_KERNEL); in iommu_group_alloc()
615 if (!group) in iommu_group_alloc()
1033 if (group) in iommu_group_get()
1063 if (group) in iommu_group_put()
1785 return __iommu_group_for_each_dev(group, group, in iommu_group_create_direct_mappings()
2322 if (group->default_domain && group->domain != group->default_domain) in __iommu_attach_group()
2366 if (group->domain == group->default_domain) in __iommu_detach_group()
2375 group->domain = group->default_domain; in __iommu_detach_group()
3146 if (group->default_domain != group->domain) { in iommu_change_dev_def_domain()
[all …]
/linux/kernel/sched/
A Dpsi.c201 memset(group->nr_triggers, 0, sizeof(group->nr_triggers)); in group_init()
395 sample = group->total[PSI_AVGS][s] - group->avg_total[s]; in update_averages()
447 group->avg_next_update = update_averages(group, now); in psi_avgs_work()
510 memcpy(group->polling_total, group->total[PSI_POLL], in init_triggers()
512 group->polling_next_update = now + group->poll_min_period; in init_triggers()
620 group->polling_next_update = update_triggers(group, now); in psi_poll_work()
879 for (; group; group = iterate_groups(prev, &iter)) in psi_task_switch()
1050 group->avg_next_update = update_averages(group, now); in psi_show()
1145 t->group = group; in psi_trigger_create()
1173 group->poll_min_period = min(group->poll_min_period, in psi_trigger_create()
[all …]
/linux/drivers/gpio/
A Dgpio-lpc32xx.c183 group->gpio_grp->dir_clr); in __set_gpio_dir_p012()
195 gpreg_write(group, u, group->gpio_grp->dir_clr); in __set_gpio_dir_p3()
197 gpreg_write(group, u, group->gpio_grp->dir_set); in __set_gpio_dir_p3()
217 gpreg_write(group, u, group->gpio_grp->outp_set); in __set_gpio_level_p3()
219 gpreg_write(group, u, group->gpio_grp->outp_clr); in __set_gpio_level_p3()
226 gpreg_write(group, GPO3_PIN_TO_BIT(pin), group->gpio_grp->outp_set); in __set_gpo_level_p3()
228 gpreg_write(group, GPO3_PIN_TO_BIT(pin), group->gpio_grp->outp_clr); in __set_gpo_level_p3()
234 return GPIO012_PIN_IN_SEL(gpreg_read(group, group->gpio_grp->inp_state), in __get_gpio_state_p012()
241 int state = gpreg_read(group, group->gpio_grp->inp_state); in __get_gpio_state_p3()
253 return GPI3_PIN_IN_SEL(gpreg_read(group, group->gpio_grp->inp_state), pin); in __get_gpi_state_p3()
[all …]
/linux/fs/notify/fanotify/
A Dfanotify_user.c181 group, event, fanotify_event_hash_bucket(group, event)); in fanotify_unhash_event()
701 struct fsnotify_group *group; in fanotify_read() local
708 group = file->private_data; in fanotify_read()
786 struct fsnotify_group *group; in fanotify_write() local
792 group = file->private_data; in fanotify_write()
868 struct fsnotify_group *group; in fanotify_ioctl() local
874 group = file->private_data; in fanotify_ioctl()
1214 struct fsnotify_group *group; in SYSCALL_DEFINE2() local
1286 if (IS_ERR(group)) { in SYSCALL_DEFINE2()
1287 return PTR_ERR(group); in SYSCALL_DEFINE2()
[all …]
/linux/fs/notify/inotify/
A Dinotify_user.c230 struct fsnotify_group *group; in inotify_read() local
237 group = file->private_data; in inotify_read()
286 fsnotify_destroy_group(group); in inotify_release()
294 struct fsnotify_group *group; in inotify_ioctl() local
300 group = file->private_data; in inotify_ioctl()
322 data = &group->inotify_data; in inotify_ioctl()
640 if (IS_ERR(group)) in inotify_new_group()
641 return group; in inotify_new_group()
669 return group; in inotify_new_group()
688 if (IS_ERR(group)) in do_inotify_init()
[all …]
A Dinotify_fsnotify.c52 struct list_head *list = &group->notification_list; in inotify_merge()
66 struct fsnotify_group *group = inode_mark->group; in inotify_handle_inode_event() local
88 old_memcg = set_active_memcg(group->memcg); in inotify_handle_inode_event()
97 fsnotify_queue_overflow(group); in inotify_handle_inode_event()
122 fsnotify_destroy_event(group, fsn_event); in inotify_handle_inode_event()
126 fsnotify_destroy_mark(inode_mark, group); in inotify_handle_inode_event()
133 inotify_ignored_and_remove_idr(fsn_mark, group); in inotify_freeing_mark()
167 fsn_mark->group, i_mark->wd); in idr_callback()
174 idr_for_each(&group->inotify_data.idr, idr_callback, group); in inotify_free_group_priv()
175 idr_destroy(&group->inotify_data.idr); in inotify_free_group_priv()
[all …]
/linux/drivers/clk/renesas/
A Dclk-mstp.c78 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local
86 value = cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_endisable()
91 cpg_mstp_write(group, value, group->smstpcr); in cpg_mstp_clock_endisable()
95 cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_endisable()
105 if (!(cpg_mstp_read(group, group->mstpsr) & bitmask)) in cpg_mstp_clock_endisable()
132 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_is_enabled() local
136 value = cpg_mstp_read(group, group->mstpsr); in cpg_mstp_clock_is_enabled()
138 value = cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_is_enabled()
173 clock->group = group; in cpg_mstp_clock_register()
192 if (!group) in cpg_mstp_clocks_init()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dqos.c70 struct mlx5_esw_rate_group *group = vport->qos.group; in esw_qos_vport_config() local
79 parent_tsar_ix = group ? group->tsar_ix : esw->qos.root_tsar_ix; in esw_qos_vport_config()
133 if (!group_level && !max_guarantee && group && group->bw_share) in esw_qos_calculate_min_rate_divider()
318 vport->qos.group != group || vport->qos.max_rate) in esw_qos_set_group_max_rate()
335 struct mlx5_esw_rate_group *group = vport->qos.group; in esw_qos_vport_create_sched_element() local
445 group = kzalloc(sizeof(*group), GFP_KERNEL); in esw_qos_create_rate_group()
446 if (!group) in esw_qos_create_rate_group()
472 return group; in esw_qos_create_rate_group()
481 kfree(group); in esw_qos_create_rate_group()
506 kfree(group); in esw_qos_destroy_rate_group()
[all …]
/linux/fs/ext2/
A Dialloc.c211 for (group = 0; group < ngroups; group++) { in find_group_dir()
365 return group; in find_group_orlov()
373 int group, i; in find_group_other() local
393 group = (group + parent->i_ino) % ngroups; in find_group_other()
400 group += i; in find_group_other()
416 group = 0; in find_group_other()
425 return group; in find_group_other()
434 int group, i; in ext2_new_inode() local
468 group = 0; in ext2_new_inode()
492 group = 0; in ext2_new_inode()
[all …]
/linux/drivers/pinctrl/aspeed/
A Dpinmux-aspeed.h513 #define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group argument
518 #define SIG_EXPR_SYM(sig, group) sig_expr_ ## sig ## _ ## group argument
547 SIG_EXPR_DECL_(sig, group, func)
555 #define SIG_EXPR_PTR(sig, group) (&SIG_EXPR_SYM(sig, group)) argument
557 #define SIG_EXPR_LIST_SYM(sig, group) sig_exprs_ ## sig ## _ ## group argument
630 SIG_EXPR_DECL_(sig, group, func); \
631 SIG_EXPR_LIST_DECL(sig, group, SIG_EXPR_PTR(sig, group)); \
650 #define SIG_EXPR_LIST_PTR(sig, group) SIG_EXPR_LIST_SYM(sig, group) argument
741 #define GROUP_SYM(group) group_pins_ ## group argument
742 #define GROUP_DECL(group, ...) \ argument
[all …]
/linux/net/psample/
A Dpsample.c144 group = kzalloc(sizeof(*group), GFP_ATOMIC); in psample_group_create()
145 if (!group) in psample_group_create()
148 group->net = net; in psample_group_create()
153 return group; in psample_group_create()
169 if ((group->group_num == group_num) && (group->net == net)) in psample_group_lookup()
170 return group; in psample_group_lookup()
181 if (!group) { in psample_group_get()
183 if (!group) in psample_group_get()
186 group->refcount++; in psample_group_get()
190 return group; in psample_group_get()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
A Dmarvell,armada-37xx-pinctrl.txt32 group: jtag
36 group sdio0
44 group pwm0
48 group pwm1
52 group pwm2
56 group pwm3
60 group pmic1
68 group i2c2
72 group i2c1
134 group smi
[all …]
/linux/Documentation/filesystems/ext4/
A Dblockgroup.rst6 The layout of a standard block group is approximately as follows (each
37 The ext4 driver primarily works with the superblock and the group
54 As for the ordering of items in a block group, it is generally
73 space in group 0 is for file data. The effect of this is to group the
85 128MiB(2^27 bytes) block group size and 64-byte group descriptors, ext4
92 groups. Each metablock group is a cluster of block groups whose group
97 first block group of the whole filesystem into the first group of each
98 metablock group itself. The backups are in the second and last group of
106 groups in a meta-block group. A meta-block group is a collection of
114 block group using this new layout.
[all …]
/linux/fs/ext4/
A Dresize.c127 ext4_group_t group = input->group; in verify_group_input() local
308 group = group_data[0].group; in ext4_alloc_group_tables()
334 group -= group_data[0].group; in ext4_alloc_group_tables()
345 group -= group_data[0].group; in ext4_alloc_group_tables()
360 group -= group_data[0].group; in ext4_alloc_group_tables()
383 group = group_data[0].group; in ext4_alloc_group_tables()
458 group -= flex_gd->groups[0].group; in set_flexbg_block_bitmap()
538 group = group_data[0].group; in setup_new_flex_group_blocks()
1312 group = group_data->group; in ext4_setup_new_descs()
1522 group = flex_gd->groups[0].group; in ext4_flex_group_add()
[all …]
/linux/arch/s390/tools/
A Dgen_opcode_table.c46 struct insn_group *group; member
250 group = desc->group ? &desc->group[desc->nr_groups - 1] : NULL; in add_to_group()
251 if (group && (!strncmp(group->opcode, insn->opcode, 2) || group->type->byte == 0)) { in add_to_group()
252 group->count++; in add_to_group()
256 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
257 if (!desc->group) in add_to_group()
259 group = &desc->group[desc->nr_groups - 1]; in add_to_group()
262 group->offset = offset; in add_to_group()
263 group->count = 1; in add_to_group()
311 group = &desc->group[i]; in print_opcode_table_offsets()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dlag_conf.c122 group = kmalloc(sizeof(*group), GFP_KERNEL); in nfp_fl_lag_group_create()
123 if (!group) { in nfp_fl_lag_group_create()
128 group->group_id = id; in nfp_fl_lag_group_create()
130 group->dirty = true; in nfp_fl_lag_group_create()
134 group->slave_cnt = 0; in nfp_fl_lag_group_create()
138 return group; in nfp_fl_lag_group_create()
169 if (!group) { in nfp_flower_lag_populate_pre_action()
194 if (group) in nfp_flower_lag_get_output_id()
491 if (!group) { in nfp_fl_lag_schedule_group_delete()
561 if (group && group->offloaded) in nfp_fl_lag_changeupper_event()
[all …]
/linux/sound/core/
A Dcontrol_led.c40 unsigned int group; member
95 if (group >= MAX_LED) in snd_ctl_led_get_by_access()
187 unsigned int group; in snd_ctl_led_find() local
189 for (group = 0; group < MAX_LED; group++) { in snd_ctl_led_find()
286 for (group = 0; group < MAX_LED; group++) in snd_ctl_led_refresh()
302 for (group = 0; group < MAX_LED; group++) { in snd_ctl_led_clean()
680 for (group = 0; group < MAX_LED; group++) { in snd_ctl_led_sysfs_add()
717 for (group = 0; group < MAX_LED; group++) { in snd_ctl_led_sysfs_remove()
753 for (group = 0; group < MAX_LED; group++) { in snd_ctl_led_init()
763 for (; group > 0; group--) { in snd_ctl_led_init()
[all …]

Completed in 70 milliseconds

12345678910>>...48