Home
last modified time | relevance | path

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

12345678910>>...62

/linux/drivers/vfio/
H A Dgroup.c26 static struct vfio_device *vfio_device_get_from_name(struct vfio_group *group, in vfio_device_get_from_name() argument
31 mutex_lock(&group->device_lock); in vfio_device_get_from_name()
32 list_for_each_entry(it, &group->device_list, group_next) { in vfio_device_get_from_name()
50 mutex_unlock(&group->device_lock); in vfio_device_get_from_name()
58 static bool vfio_group_has_iommu(struct vfio_group *group) in vfio_group_has_iommu() argument
60 lockdep_assert_held(&group->group_lock); in vfio_group_has_iommu()
65 WARN_ON(!group->container != !group->container_users); in vfio_group_has_iommu()
67 return group->container || group in vfio_group_has_iommu()
76 vfio_group_ioctl_unset_container(struct vfio_group * group) vfio_group_ioctl_unset_container() argument
102 vfio_group_ioctl_set_container(struct vfio_group * group,int __user * arg) vfio_group_ioctl_set_container() argument
306 vfio_group_ioctl_get_device_fd(struct vfio_group * group,char __user * arg) vfio_group_ioctl_get_device_fd() argument
346 vfio_group_ioctl_get_status(struct vfio_group * group,struct vfio_group_status __user * arg) vfio_group_ioctl_get_status() argument
388 struct vfio_group *group = filep->private_data; vfio_group_fops_unl_ioctl() local
407 struct vfio_group *group = device->group; vfio_device_block_group() local
425 struct vfio_group *group = device->group; vfio_device_unblock_group() local
434 struct vfio_group *group = vfio_group_fops_open() local
476 struct vfio_group *group = filep->private_data; vfio_group_fops_release() local
511 struct vfio_group *group; vfio_group_find_from_iommu() local
528 struct vfio_group *group = container_of(dev, struct vfio_group, dev); vfio_group_release() local
541 struct vfio_group *group; vfio_group_alloc() local
578 struct vfio_group *group; vfio_create_group() local
615 struct vfio_group *group; vfio_noiommu_group_alloc() local
646 vfio_group_has_device(struct vfio_group * group,struct device * dev) vfio_group_has_device() argument
664 struct vfio_group *group; vfio_group_find_or_alloc() local
705 struct vfio_group *group; vfio_device_set_group() local
722 struct vfio_group *group = device->group; vfio_device_remove_group() local
783 struct vfio_group *group = device->group; vfio_device_group_use_iommu() local
800 struct vfio_group *group = device->group; vfio_device_group_unuse_iommu() local
818 struct vfio_group *group = file->private_data; vfio_group_from_file() local
835 struct vfio_group *group = vfio_group_from_file(file); vfio_file_iommu_group() local
864 vfio_group_enforced_coherent(struct vfio_group * group) vfio_group_enforced_coherent() argument
887 vfio_group_set_kvm(struct vfio_group * group,struct kvm * kvm) vfio_group_set_kvm() argument
903 struct vfio_group *group = vfio_group_from_file(file); vfio_file_has_dev() local
[all...]
H A Dcontainer.c167 device->group->container->iommu_driver; in vfio_device_container_register()
171 device->group->container->iommu_data, device); in vfio_device_container_register()
177 device->group->container->iommu_driver; in vfio_device_container_unregister()
181 device->group->container->iommu_data, device); in vfio_device_container_unregister()
239 struct vfio_group *group; in __vfio_container_attach_groups() local
242 list_for_each_entry(group, &container->group_list, container_next) { in __vfio_container_attach_groups()
243 ret = driver->ops->attach_group(data, group->iommu_group, in __vfio_container_attach_groups()
244 group->type); in __vfio_container_attach_groups()
252 list_for_each_entry_continue_reverse(group, &container->group_list, in __vfio_container_attach_groups()
254 driver->ops->detach_group(data, group->iommu_group); in __vfio_container_attach_groups()
[all …]
/linux/drivers/infiniband/hw/mlx4/
H A Dmcg.c50 #define mcg_warn_group(group, format, arg...) \ argument
52 (group)->name, group->demux->port, ## arg)
54 #define mcg_debug_group(group, format, arg...) \ argument
56 (group)->name, (group)->demux->port, ## arg)
58 #define mcg_error_group(group, format, arg...) \ argument
59 pr_err(" %16s: " format, (group)->name, ## arg)
136 struct mcast_group *group; member
144 mcg_warn_group(group, "did not expect to reach zero\n"); \
166 struct mcast_group *group; in mcast_find() local
170 group = rb_entry(node, struct mcast_group, node); in mcast_find()
[all …]
/linux/fs/notify/
H A Dgroup.c22 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group() argument
24 if (group->ops->free_group_priv) in fsnotify_final_destroy_group()
25 group->ops->free_group_priv(group); in fsnotify_final_destroy_group()
27 mem_cgroup_put(group->memcg); in fsnotify_final_destroy_group()
28 mutex_destroy(&group->mark_mutex); in fsnotify_final_destroy_group()
30 kfree(group); in fsnotify_final_destroy_group()
37 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing() argument
39 spin_lock(&group->notification_lock); in fsnotify_group_stop_queueing()
40 group->shutdown = true; in fsnotify_group_stop_queueing()
41 spin_unlock(&group->notification_lock); in fsnotify_group_stop_queueing()
[all …]
H A Dnotification.c50 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() argument
54 if (!event || event == group->overflow_event) in fsnotify_destroy_event()
63 spin_lock(&group->notification_lock); in fsnotify_destroy_event()
65 spin_unlock(&group->notification_lock); in fsnotify_destroy_event()
67 group->ops->free_event(group, event); in fsnotify_destroy_event()
81 int fsnotify_insert_event(struct fsnotify_group *group, in fsnotify_insert_event() argument
89 struct list_head *list = &group->notification_list; in fsnotify_insert_event()
91 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in fsnotify_insert_event()
93 spin_lock(&group->notification_lock); in fsnotify_insert_event()
95 if (group->shutdown) { in fsnotify_insert_event()
[all …]
/linux/drivers/iommu/
H A Diommu.c72 #define for_each_group_device(group, pos) \ argument
73 list_for_each_entry(pos, &(group)->devices, list)
77 ssize_t (*show)(struct iommu_group *group, char *buf);
78 ssize_t (*store)(struct iommu_group *group,
97 __iommu_group_domain_alloc(struct iommu_group *group, unsigned int type);
101 struct iommu_group *group);
107 static int __iommu_device_set_domain(struct iommu_group *group,
111 static int __iommu_group_set_domain_internal(struct iommu_group *group,
114 static int __iommu_group_set_domain(struct iommu_group *group, in __iommu_group_set_domain() argument
117 return __iommu_group_set_domain_internal(group, new_domain, 0); in __iommu_group_set_domain()
[all …]
H A Dio-pgfault.c42 static void __iopf_free_group(struct iopf_group *group) in __iopf_free_group() argument
46 list_for_each_entry_safe(iopf, next, &group->faults, list) { in __iopf_free_group()
52 iopf_put_dev_fault_param(group->fault_param); in __iopf_free_group()
55 void iopf_free_group(struct iopf_group *group) in iopf_free_group() argument
57 __iopf_free_group(group); in iopf_free_group()
58 kfree(group); in iopf_free_group()
110 struct iopf_group *group; in iopf_group_alloc() local
112 group = kzalloc(sizeof(*group), GFP_KERNEL); in iopf_group_alloc()
113 if (!group) { in iopf_group_alloc()
118 group = abort_group; in iopf_group_alloc()
[all …]
/linux/drivers/infiniband/core/
H A Dmulticast.c117 struct mcast_group *group; member
133 struct mcast_group *group; in mcast_find() local
137 group = rb_entry(node, struct mcast_group, node); in mcast_find()
138 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find()
140 return group; in mcast_find()
151 struct mcast_group *group, in mcast_insert() argument
163 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert()
164 sizeof group->rec.mgid); in mcast_insert()
174 rb_link_node(&group->node, parent, link); in mcast_insert()
175 rb_insert_color(&group->node, &port->table); in mcast_insert()
[all …]
H A Dcma_configfs.c47 struct config_group group; member
59 struct config_group *group; in to_dev_port_group() local
64 group = container_of(item, struct config_group, cg_item); in to_dev_port_group()
65 return container_of(group, struct cma_dev_port_group, group); in to_dev_port_group()
77 struct cma_dev_port_group *group = to_dev_port_group(item); in cma_configfs_params_get() local
80 if (!group) in cma_configfs_params_get()
84 group->cma_dev_group->name); in cma_configfs_params_get()
89 *pgroup = group; in cma_configfs_params_get()
103 struct cma_dev_port_group *group; in default_roce_mode_show() local
107 ret = cma_configfs_params_get(item, &cma_dev, &group); in default_roce_mode_show()
[all …]
/linux/arch/sparc/kernel/
H A Dhvapi.c19 unsigned long group; member
28 { .group = HV_GRP_SUN4V, .flags = FLAG_PRE_API },
29 { .group = HV_GRP_CORE, .flags = FLAG_PRE_API },
30 { .group = HV_GRP_INTR, },
31 { .group = HV_GRP_SOFT_STATE, },
32 { .group = HV_GRP_TM, },
33 { .group = HV_GRP_PCI, .flags = FLAG_PRE_API },
34 { .group = HV_GRP_LDOM, },
35 { .group = HV_GRP_SVC_CHAN, .flags = FLAG_PRE_API },
36 { .group = HV_GRP_NCS, .flags = FLAG_PRE_API },
[all …]
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c105 struct panthor_group *group; member
664 #define group_queue_work(group, wname) \ argument
666 group_get(group); \
667 if (!queue_work((group)->ptdev->scheduler->wq, &(group)->wname ## _work)) \
668 group_put(group); \
728 struct panthor_group *group; member
784 panthor_queue_get_syncwait_obj(struct panthor_group *group, struct panthor_queue *queue) in panthor_queue_get_syncwait_obj() argument
786 struct panthor_device *ptdev = group->ptdev; in panthor_queue_get_syncwait_obj()
794 bo = panthor_vm_get_bo_for_va(group->vm, in panthor_queue_get_syncwait_obj()
816 static void group_free_queue(struct panthor_group *group, struct panthor_queue *queue) in group_free_queue() argument
[all …]
/linux/kernel/sched/
H A Dpsi.c179 static void group_init(struct psi_group *group) in group_init() argument
183 group->enabled = true; in group_init()
185 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init()
186 group->avg_last_update = sched_clock(); in group_init()
187 group->avg_next_update = group->avg_last_update + psi_period; in group_init()
188 mutex_init(&group->avgs_lock); in group_init()
191 INIT_LIST_HEAD(&group->avg_triggers); in group_init()
192 memset(group->avg_nr_triggers, 0, sizeof(group->avg_nr_triggers)); in group_init()
193 INIT_DELAYED_WORK(&group->avgs_work, psi_avgs_work); in group_init()
196 atomic_set(&group->rtpoll_scheduled, 0); in group_init()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_sdlb.c59 static void sparx5_sdlb_group_disable(struct sparx5 *sparx5, u32 group) in sparx5_sdlb_group_disable() argument
63 ANA_AC_SDLB_PUP_CTRL(group)); in sparx5_sdlb_group_disable()
66 static void sparx5_sdlb_group_enable(struct sparx5 *sparx5, u32 group) in sparx5_sdlb_group_enable() argument
70 ANA_AC_SDLB_PUP_CTRL(group)); in sparx5_sdlb_group_enable()
73 static u32 sparx5_sdlb_group_get_first(struct sparx5 *sparx5, u32 group) in sparx5_sdlb_group_get_first() argument
77 val = spx5_rd(sparx5, ANA_AC_SDLB_XLB_START(group)); in sparx5_sdlb_group_get_first()
82 static u32 sparx5_sdlb_group_get_next(struct sparx5 *sparx5, u32 group, in sparx5_sdlb_group_get_next() argument
92 static bool sparx5_sdlb_group_is_first(struct sparx5 *sparx5, u32 group, in sparx5_sdlb_group_is_first() argument
95 return lb == sparx5_sdlb_group_get_first(sparx5, group); in sparx5_sdlb_group_is_first()
98 static bool sparx5_sdlb_group_is_last(struct sparx5 *sparx5, u32 group, in sparx5_sdlb_group_is_last() argument
[all …]
H A Dsparx5_qos.c79 static u32 sparx5_lg_get_leak_time(struct sparx5 *sparx5, u32 layer, u32 group) in sparx5_lg_get_leak_time() argument
83 value = spx5_rd(sparx5, HSCH_HSCH_TIMER_CFG(layer, group)); in sparx5_lg_get_leak_time()
87 static void sparx5_lg_set_leak_time(struct sparx5 *sparx5, u32 layer, u32 group, in sparx5_lg_set_leak_time() argument
91 HSCH_HSCH_TIMER_CFG(layer, group)); in sparx5_lg_set_leak_time()
94 static u32 sparx5_lg_get_first(struct sparx5 *sparx5, u32 layer, u32 group) in sparx5_lg_get_first() argument
98 value = spx5_rd(sparx5, HSCH_HSCH_LEAK_CFG(layer, group)); in sparx5_lg_get_first()
102 static u32 sparx5_lg_get_next(struct sparx5 *sparx5, u32 layer, u32 group, in sparx5_lg_get_next() argument
112 static u32 sparx5_lg_get_last(struct sparx5 *sparx5, u32 layer, u32 group) in sparx5_lg_get_last() argument
116 itr = sparx5_lg_get_first(sparx5, layer, group); in sparx5_lg_get_last()
119 next = sparx5_lg_get_next(sparx5, layer, group, itr); in sparx5_lg_get_last()
[all …]
/linux/kernel/time/
H A Dtimer_migration.c437 static bool tmigr_check_migrator(struct tmigr_group *group, u8 childmask) in tmigr_check_migrator() argument
441 s.state = atomic_read(&group->migr_state); in tmigr_check_migrator()
449 static bool tmigr_check_migrator_and_lonely(struct tmigr_group *group, u8 childmask) in tmigr_check_migrator_and_lonely() argument
455 s.state = atomic_read(&group->migr_state); in tmigr_check_migrator_and_lonely()
466 static bool tmigr_check_lonely(struct tmigr_group *group) in tmigr_check_lonely() argument
471 s.state = atomic_read(&group->migr_state); in tmigr_check_lonely()
483 struct tmigr_group *child = NULL, *group = tmc->tmgroup; in __walk_groups() local
486 WARN_ON_ONCE(group->level >= tmigr_hierarchy_levels); in __walk_groups()
488 if (up(group, child, data)) in __walk_groups()
491 child = group; in __walk_groups()
[all …]
/linux/drivers/gpio/
H A Dgpio-lpc32xx.c168 static inline u32 gpreg_read(struct lpc32xx_gpio_chip *group, unsigned long offset) in gpreg_read() argument
170 return __raw_readl(group->reg_base + offset); in gpreg_read()
173 static inline void gpreg_write(struct lpc32xx_gpio_chip *group, u32 val, unsigned long offset) in gpreg_write() argument
175 __raw_writel(val, group->reg_base + offset); in gpreg_write()
178 static void __set_gpio_dir_p012(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p012() argument
182 gpreg_write(group, GPIO012_PIN_TO_BIT(pin), in __set_gpio_dir_p012()
183 group->gpio_grp->dir_clr); in __set_gpio_dir_p012()
185 gpreg_write(group, GPIO012_PIN_TO_BIT(pin), in __set_gpio_dir_p012()
186 group->gpio_grp->dir_set); in __set_gpio_dir_p012()
189 static void __set_gpio_dir_p3(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p3() argument
[all …]
/linux/drivers/clk/renesas/
H A Dclk-mstp.c59 struct mstp_clock_group *group; member
64 static inline u32 cpg_mstp_read(struct mstp_clock_group *group, in cpg_mstp_read() argument
67 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read()
70 static inline void cpg_mstp_write(struct mstp_clock_group *group, u32 val, in cpg_mstp_write() argument
73 group->width_8bit ? writeb(val, reg) : writel(val, reg); in cpg_mstp_write()
79 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local
85 spin_lock_irqsave(&group->lock, flags); in cpg_mstp_clock_endisable()
87 value = cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_endisable()
92 cpg_mstp_write(group, value, group->smstpcr); in cpg_mstp_clock_endisable()
94 if (!group->mstpsr) { in cpg_mstp_clock_endisable()
[all …]
/linux/fs/notify/inotify/
H A Dinotify_user.c141 struct fsnotify_group *group = file->private_data; in inotify_poll() local
144 poll_wait(file, &group->notification_waitq, wait); in inotify_poll()
145 spin_lock(&group->notification_lock); in inotify_poll()
146 if (!fsnotify_notify_queue_is_empty(group)) in inotify_poll()
148 spin_unlock(&group->notification_lock); in inotify_poll()
168 * Called with the group->notification_lock held.
170 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument
176 event = fsnotify_peek_first_event(group); in get_one_event()
180 pr_debug("%s: group=%p event=%p\n", __func__, group, even in get_one_event()
199 copy_event_to_user(struct fsnotify_group * group,struct fsnotify_event * fsn_event,char __user * buf) copy_event_to_user() argument
252 struct fsnotify_group *group; inotify_read() local
303 struct fsnotify_group *group = file->private_data; inotify_release() local
316 struct fsnotify_group *group; inotify_ioctl() local
414 inotify_idr_find_locked(struct fsnotify_group * group,int wd) inotify_idr_find_locked() argument
435 inotify_idr_find(struct fsnotify_group * group,int wd) inotify_idr_find() argument
452 inotify_remove_from_idr(struct fsnotify_group * group,struct inotify_inode_mark * i_mark) inotify_remove_from_idr() argument
521 inotify_ignored_and_remove_idr(struct fsnotify_mark * fsn_mark,struct fsnotify_group * group) inotify_ignored_and_remove_idr() argument
536 inotify_update_existing_watch(struct fsnotify_group * group,struct inode * inode,u32 arg) inotify_update_existing_watch() argument
590 inotify_new_watch(struct fsnotify_group * group,struct inode * inode,u32 arg) inotify_new_watch() argument
638 inotify_update_watch(struct fsnotify_group * group,struct inode * inode,u32 arg) inotify_update_watch() argument
655 struct fsnotify_group *group; inotify_new_group() local
696 struct fsnotify_group *group; do_inotify_init() local
732 struct fsnotify_group *group; SYSCALL_DEFINE3() local
795 struct fsnotify_group *group; SYSCALL_DEFINE2() local
[all...]
/linux/fs/notify/fanotify/
H A Dfanotify_user.c36 * Legacy fanotify marks limits (8192) is per group and we introduced a tunable
38 * of fanotify marks per user is <max marks per group> * <max groups per user>.
174 * With group flag FAN_REPORT_NAME, if name was not recorded in in fanotify_event_len()
194 static void fanotify_unhash_event(struct fsnotify_group *group, in fanotify_unhash_event() argument
197 assert_spin_locked(&group->notification_lock); in fanotify_unhash_event()
199 pr_debug("%s: group=%p event=%p bucket=%u\n", __func__, in fanotify_unhash_event()
200 group, event, fanotify_event_hash_bucket(group, event)); in fanotify_unhash_event()
214 static struct fanotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument
220 unsigned int info_mode = FAN_GROUP_FLAG(group, FANOTIFY_INFO_MODE in get_one_event()
251 create_fd(struct fsnotify_group * group,const struct path * path,struct file ** file) create_fd() argument
309 finish_permission_event(struct fsnotify_group * group,struct fanotify_perm_event * event,u32 response,struct fanotify_response_info_audit_rule * friar) finish_permission_event() argument
330 process_access_response(struct fsnotify_group * group,struct fanotify_response * response_struct,const char __user * info,size_t info_len) process_access_response() argument
656 copy_event_to_user(struct fsnotify_group * group,struct fanotify_event * event,char __user * buf,size_t count) copy_event_to_user() argument
775 struct fsnotify_group *group = file->private_data; fanotify_poll() local
790 struct fsnotify_group *group; fanotify_read() local
875 struct fsnotify_group *group; fanotify_write() local
906 struct fsnotify_group *group = file->private_data; fanotify_release() local
961 struct fsnotify_group *group; fanotify_ioctl() local
1078 fanotify_remove_mark(struct fsnotify_group * group,fsnotify_connp_t * connp,__u32 mask,unsigned int flags,__u32 umask) fanotify_remove_mark() argument
1108 fanotify_remove_vfsmount_mark(struct fsnotify_group * group,struct vfsmount * mnt,__u32 mask,unsigned int flags,__u32 umask) fanotify_remove_vfsmount_mark() argument
1116 fanotify_remove_sb_mark(struct fsnotify_group * group,struct super_block * sb,__u32 mask,unsigned int flags,__u32 umask) fanotify_remove_sb_mark() argument
1124 fanotify_remove_inode_mark(struct fsnotify_group * group,struct inode * inode,__u32 mask,unsigned int flags,__u32 umask) fanotify_remove_inode_mark() argument
1200 fanotify_set_mark_fsid(struct fsnotify_group * group,struct fsnotify_mark * mark,struct fan_fsid * fsid) fanotify_set_mark_fsid() argument
1251 fanotify_add_new_mark(struct fsnotify_group * group,fsnotify_connp_t * connp,unsigned int obj_type,unsigned int fan_flags,struct fan_fsid * fsid) fanotify_add_new_mark() argument
1305 fanotify_group_init_error_pool(struct fsnotify_group * group) fanotify_group_init_error_pool() argument
1346 fanotify_add_mark(struct fsnotify_group * group,fsnotify_connp_t * connp,unsigned int obj_type,__u32 mask,unsigned int fan_flags,struct fan_fsid * fsid) fanotify_add_mark() argument
1395 fanotify_add_vfsmount_mark(struct fsnotify_group * group,struct vfsmount * mnt,__u32 mask,unsigned int flags,struct fan_fsid * fsid) fanotify_add_vfsmount_mark() argument
1403 fanotify_add_sb_mark(struct fsnotify_group * group,struct super_block * sb,__u32 mask,unsigned int flags,struct fan_fsid * fsid) fanotify_add_sb_mark() argument
1411 fanotify_add_inode_mark(struct fsnotify_group * group,struct inode * inode,__u32 mask,unsigned int flags,struct fan_fsid * fsid) fanotify_add_inode_mark() argument
1462 struct fsnotify_group *group; SYSCALL_DEFINE2() local
1691 fanotify_events_supported(struct fsnotify_group * group,const struct path * path,__u64 mask,unsigned int flags) fanotify_events_supported() argument
1744 struct fsnotify_group *group; do_fanotify_mark() local
[all...]
/linux/fs/ext2/
H A Dialloc.c66 static void ext2_release_inode(struct super_block *sb, int group, int dir) in ext2_release_inode() argument
71 desc = ext2_get_group_desc(sb, group, &bh); in ext2_release_inode()
74 "can't get descriptor for group %d", group); in ext2_release_inode()
78 spin_lock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
82 spin_unlock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
204 int group, best_group = -1; in find_group_dir() local
206 for (group = 0; group < ngroups; group++) { in find_group_dir()
207 desc = ext2_get_group_desc (sb, group, NULL); in find_group_dir()
215 best_group = group; in find_group_dir()
265 int group = -1, i; in find_group_orlov() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c45 static int esw_qos_group_config(struct mlx5_eswitch *esw, struct mlx5_esw_rate_group *group, in esw_qos_group_config() argument
53 group->tsar_ix, in esw_qos_group_config()
58 trace_mlx5_esw_group_qos_config(dev, group, group->tsar_ix, bw_share, max_rate); in esw_qos_group_config()
91 struct mlx5_esw_rate_group *group, in esw_qos_calculate_min_rate_divider() argument
100 struct mlx5_esw_rate_group *group; in esw_qos_calculate_min_rate_divider() local
102 list_for_each_entry(group, &esw->qos.groups, list) { in esw_qos_calculate_min_rate_divider()
103 if (group->min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
105 max_guarantee = group->min_rate; in esw_qos_calculate_min_rate_divider()
110 evport->qos.group != group || evport->qos.min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
122 if (!group_level && !max_guarantee && group && group->bw_share) in esw_qos_calculate_min_rate_divider()
[all …]
/linux/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.h513 #define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group argument
514 #define SIG_DESC_LIST_DECL(sig, group, ...) \ argument
515 static const struct aspeed_sig_desc SIG_DESC_LIST_SYM(sig, group)[] = \
518 #define SIG_EXPR_SYM(sig, group) sig_expr_ ## sig ## _ ## group argument
519 #define SIG_EXPR_DECL_(sig, group, func) \ argument
520 static const struct aspeed_sig_expr SIG_EXPR_SYM(sig, group) = \
524 .ndescs = ARRAY_SIZE(SIG_DESC_LIST_SYM(sig, group)), \
525 .descs = &(SIG_DESC_LIST_SYM(sig, group))[0], \
545 #define SIG_EXPR_DECL(sig, group, func, ...) \ argument
546 SIG_DESC_LIST_DECL(sig, group, __VA_ARGS__); \
[all …]
/linux/include/trace/events/
H A Dtimer_migration.h14 TP_PROTO(struct tmigr_group *group),
16 TP_ARGS(group),
19 __field( void *, group )
25 __entry->group = group;
26 __entry->lvl = group->level;
27 __entry->numa_node = group->numa_node;
31 __entry->group, __entry->lvl, __entry->numa_node)
94 TP_PROTO(struct tmigr_group *group, union tmigr_state state, u32 childmask),
96 TP_ARGS(group, state, childmask),
99 __field( void *, group )
[all …]
/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-core.c61 static void rvin_group_cleanup(struct rvin_group *group) in rvin_group_cleanup() argument
63 media_device_cleanup(&group->mdev); in rvin_group_cleanup()
64 mutex_destroy(&group->lock); in rvin_group_cleanup()
67 static int rvin_group_init(struct rvin_group *group, struct rvin_dev *vin, in rvin_group_init() argument
71 struct media_device *mdev = &group->mdev; in rvin_group_init()
75 mutex_init(&group->lock); in rvin_group_init()
78 group->count = 0; in rvin_group_init()
81 group->count++; in rvin_group_init()
83 vin_dbg(vin, "found %u enabled VIN's in DT", group->count); in rvin_group_init()
85 group->link_setup = link_setup; in rvin_group_init()
[all …]
/linux/include/linux/
H A Dfsnotify_backend.h122 * Each group much define these ops. The fsnotify infrastructure will call
123 * these operations for each relevant group.
125 * handle_event - main call for a group to handle an fs event
126 * @group: group to notify
135 * @iter_info: array of marks from this group that are interested in the event
149 * free_group_priv - called when a group refcnt hits 0 to clean up the private union
150 * freeing_mark - called when a mark is being destroyed for some reason. The group
156 int (*handle_event)(struct fsnotify_group *group, u32 mask,
163 void (*free_group_priv)(struct fsnotify_group *group);
264 fsnotify_group_lock(struct fsnotify_group * group) fsnotify_group_lock() argument
271 fsnotify_group_unlock(struct fsnotify_group * group) fsnotify_group_unlock() argument
278 fsnotify_group_assert_locked(struct fsnotify_group * group) fsnotify_group_assert_locked() argument
508 struct fsnotify_group *group; global() member
622 fsnotify_add_event(struct fsnotify_group * group,struct fsnotify_event * event,int (* merge)(struct fsnotify_group *,struct fsnotify_event *)) fsnotify_add_event() argument
631 fsnotify_queue_overflow(struct fsnotify_group * group) fsnotify_queue_overflow() argument
641 fsnotify_notify_queue_is_empty(struct fsnotify_group * group) fsnotify_notify_queue_is_empty() argument
800 fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group * group) fsnotify_clear_vfsmount_marks_by_group() argument
805 fsnotify_clear_inode_marks_by_group(struct fsnotify_group * group) fsnotify_clear_inode_marks_by_group() argument
810 fsnotify_clear_sb_marks_by_group(struct fsnotify_group * group) fsnotify_clear_sb_marks_by_group() argument
[all...]

12345678910>>...62