Home
last modified time | relevance | path

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

12345678910>>...52

/linux-5.15/drivers/infiniband/hw/mlx4/ !
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-5.15/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(event); in fsnotify_destroy_event()
81 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event() argument
89 struct list_head *list = &group->notification_list; in fsnotify_add_event()
91 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in fsnotify_add_event()
93 spin_lock(&group->notification_lock); in fsnotify_add_event()
95 if (group->shutdown) { in fsnotify_add_event()
[all …]
H A Dmark.c232 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy() local
234 if (WARN_ON_ONCE(!group)) in fsnotify_final_mark_destroy()
236 group->ops->free_mark(mark); in fsnotify_final_mark_destroy()
237 fsnotify_put_group(group); in fsnotify_final_mark_destroy()
321 atomic_inc(&mark->group->user_waits); in fsnotify_get_mark_safe()
339 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake() local
346 if (atomic_dec_and_test(&group->user_waits) && group->shutdown) in fsnotify_put_mark_wake()
347 wake_up(&group->notification_waitq); in fsnotify_put_mark_wake()
401 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark() local
403 WARN_ON_ONCE(!mutex_is_locked(&group->mark_mutex)); in fsnotify_detach_mark()
[all …]
/linux-5.15/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-5.15/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 …]
A Dcma_configfs.c48 struct config_group group; member
60 struct config_group *group; in to_dev_port_group() local
65 group = container_of(item, struct config_group, cg_item); in to_dev_port_group()
66 return container_of(group, struct cma_dev_port_group, group); in to_dev_port_group()
78 struct cma_dev_port_group *group = to_dev_port_group(item); in cma_configfs_params_get() local
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
108 ret = cma_configfs_params_get(item, &cma_dev, &group); in default_roce_mode_show()
[all …]
/linux-5.15/drivers/vfio/ !
H A Dvfio.c182 struct iommu_group *group; in vfio_iommu_group_get() local
185 group = iommu_group_get(dev); in vfio_iommu_group_get()
194 if (group || !noiommu || iommu_present(dev->bus)) in vfio_iommu_group_get()
195 return group; in vfio_iommu_group_get()
197 group = iommu_group_alloc(); in vfio_iommu_group_get()
198 if (IS_ERR(group)) in vfio_iommu_group_get()
201 iommu_group_set_name(group, "vfio-noiommu"); in vfio_iommu_group_get()
202 iommu_group_set_iommudata(group, &noiommu, NULL); in vfio_iommu_group_get()
203 ret = iommu_group_add_device(group, dev); in vfio_iommu_group_get()
205 iommu_group_put(group); in vfio_iommu_group_get()
[all …]
/linux-5.15/drivers/iommu/ !
H A Diommu.c60 ssize_t (*show)(struct iommu_group *group, char *buf);
61 ssize_t (*store)(struct iommu_group *group,
76 static int iommu_alloc_default_domain(struct iommu_group *group,
83 struct iommu_group *group);
85 struct iommu_group *group);
86 static int iommu_create_device_direct_mappings(struct iommu_group *group,
89 static ssize_t iommu_group_store_type(struct iommu_group *group,
218 struct iommu_group *group; in __iommu_probe_device() local
240 group = iommu_group_get_for_dev(dev); in __iommu_probe_device()
241 if (IS_ERR(group)) { in __iommu_probe_device()
[all …]
/linux-5.15/kernel/sched/ !
A Dpsi.c190 static void group_init(struct psi_group *group) in group_init() argument
195 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init()
196 group->avg_last_update = sched_clock(); in group_init()
197 group->avg_next_update = group->avg_last_update + psi_period; in group_init()
198 INIT_DELAYED_WORK(&group->avgs_work, psi_avgs_work); in group_init()
199 mutex_init(&group->avgs_lock); in group_init()
201 mutex_init(&group->trigger_lock); in group_init()
202 INIT_LIST_HEAD(&group->triggers); in group_init()
203 memset(group->nr_triggers, 0, sizeof(group->nr_triggers)); in group_init()
204 group->poll_states = 0; in group_init()
[all …]
/linux-5.15/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-5.15/drivers/clk/renesas/ !
A Dclk-mstp.c58 struct mstp_clock_group *group; member
63 static inline u32 cpg_mstp_read(struct mstp_clock_group *group, in cpg_mstp_read() argument
66 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read()
69 static inline void cpg_mstp_write(struct mstp_clock_group *group, u32 val, in cpg_mstp_write() argument
72 group->width_8bit ? writeb(val, reg) : writel(val, reg); in cpg_mstp_write()
78 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local
84 spin_lock_irqsave(&group->lock, flags); in cpg_mstp_clock_endisable()
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()
93 if (!group->mstpsr) { in cpg_mstp_clock_endisable()
[all …]
/linux-5.15/fs/notify/inotify/ !
H A Dinotify_user.c119 struct fsnotify_group *group = file->private_data; in inotify_poll() local
122 poll_wait(file, &group->notification_waitq, wait); in inotify_poll()
123 spin_lock(&group->notification_lock); in inotify_poll()
124 if (!fsnotify_notify_queue_is_empty(group)) in inotify_poll()
126 spin_unlock(&group->notification_lock); in inotify_poll()
148 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument
154 event = fsnotify_peek_first_event(group); in get_one_event()
158 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in get_one_event()
166 fsnotify_remove_first_event(group); in get_one_event()
177 static ssize_t copy_event_to_user(struct fsnotify_group *group, in copy_event_to_user() argument
[all …]
H A Dinotify_fsnotify.c49 static int inotify_merge(struct fsnotify_group *group, in inotify_merge() argument
52 struct list_head *list = &group->notification_list; in inotify_merge()
66 struct fsnotify_group *group = inode_mark->group; in inotify_handle_inode_event() local
77 pr_debug("%s: group=%p mark=%p mask=%x\n", __func__, group, inode_mark, in inotify_handle_inode_event()
88 old_memcg = set_active_memcg(group->memcg); in inotify_handle_inode_event()
97 fsnotify_queue_overflow(group); in inotify_handle_inode_event()
119 ret = fsnotify_add_event(group, fsn_event, inotify_merge, NULL); 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()
131 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark() argument
[all …]
/linux-5.15/fs/notify/fanotify/ !
H A Dfanotify_user.c161 static void fanotify_unhash_event(struct fsnotify_group *group, in fanotify_unhash_event() argument
164 assert_spin_locked(&group->notification_lock); in fanotify_unhash_event()
167 group, event, fanotify_event_hash_bucket(group, event)); in fanotify_unhash_event()
181 static struct fanotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument
187 unsigned int info_mode = FAN_GROUP_FLAG(group, FANOTIFY_INFO_MODES); in get_one_event()
189 pr_debug("%s: group=%p count=%zd\n", __func__, group, count); in get_one_event()
191 spin_lock(&group->notification_lock); in get_one_event()
192 fsn_event = fsnotify_peek_first_event(group); in get_one_event()
209 fsnotify_remove_first_event(group); in get_one_event()
213 fanotify_unhash_event(group, event); in get_one_event()
[all …]
/linux-5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ !
A Dqos.c46 static int esw_qos_group_config(struct mlx5_eswitch *esw, struct mlx5_esw_rate_group *group, in esw_qos_group_config() argument
54 esw->qos.root_tsar_ix, group->tsar_ix, in esw_qos_group_config()
59 trace_mlx5_esw_group_qos_config(dev, group, group->tsar_ix, bw_share, max_rate); in esw_qos_group_config()
70 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()
102 struct mlx5_esw_rate_group *group, in esw_qos_calculate_min_rate_divider() argument
111 struct mlx5_esw_rate_group *group; in esw_qos_calculate_min_rate_divider() local
113 list_for_each_entry(group, &esw->qos.groups, list) { in esw_qos_calculate_min_rate_divider()
114 if (group->min_rate < max_guarantee) in esw_qos_calculate_min_rate_divider()
116 max_guarantee = group->min_rate; in esw_qos_calculate_min_rate_divider()
[all …]
/linux-5.15/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()
209 int group, best_group = -1; in find_group_dir() local
211 for (group = 0; group < ngroups; group++) { in find_group_dir()
212 desc = ext2_get_group_desc (sb, group, NULL); in find_group_dir()
220 best_group = group; in find_group_dir()
270 int group = -1, i; in find_group_orlov() local
[all …]
/linux-5.15/drivers/pinctrl/aspeed/ !
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-5.15/net/psample/ !
A Dpsample.c40 struct psample_group *group, in psample_group_nl_fill() argument
51 ret = nla_put_u32(msg, PSAMPLE_ATTR_SAMPLE_GROUP, group->group_num); in psample_group_nl_fill()
55 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_REFCOUNT, group->refcount); in psample_group_nl_fill()
59 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_SEQ, group->seq); in psample_group_nl_fill()
74 struct psample_group *group; in psample_nl_cmd_get_group_dumpit() local
80 list_for_each_entry(group, &psample_groups_list, list) { in psample_nl_cmd_get_group_dumpit()
81 if (!net_eq(group->net, sock_net(msg->sk))) in psample_nl_cmd_get_group_dumpit()
87 err = psample_group_nl_fill(msg, group, PSAMPLE_CMD_NEW_GROUP, in psample_nl_cmd_get_group_dumpit()
121 static void psample_group_notify(struct psample_group *group, in psample_group_notify() argument
131 err = psample_group_nl_fill(msg, group, cmd, 0, 0, NLM_F_MULTI); in psample_group_notify()
[all …]
/linux-5.15/Documentation/devicetree/bindings/pinctrl/ !
A Dmarvell,armada-37xx-pinctrl.txt32 group: jtag
36 group sdio0
40 group emmc_nb
44 group pwm0
48 group pwm1
52 group pwm2
56 group pwm3
60 group pmic1
64 group pmic0
68 group i2c2
[all …]
/linux-5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ !
A Dqos_tracepoint.h37 __field(void *, group)
44 __entry->group = vport->qos.group;
48 __entry->bw_share, __entry->max_rate, __entry->group
64 const struct mlx5_esw_rate_group *group,
66 TP_ARGS(dev, group, tsar_ix),
68 __field(const void *, group)
72 __entry->group = group;
76 __get_str(devname), __entry->group, __entry->tsar_ix
82 const struct mlx5_esw_rate_group *group,
84 TP_ARGS(dev, group, tsar_ix)
[all …]
/linux-5.15/arch/s390/tools/ !
A Dgen_opcode_table.c46 struct insn_group *group; member
248 struct insn_group *group; in add_to_group() local
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()
260 memcpy(group->opcode, insn->opcode, 2); in add_to_group()
261 group->type = insn->type; in add_to_group()
[all …]
/linux-5.15/Documentation/filesystems/ext4/ !
A Dblockgroup.rst6 The layout of a standard block group is approximately as follows (each
30 For the special case of block group 0, the first 1024 bytes are unused,
37 The ext4 driver primarily works with the superblock and the group
38 descriptors that are found in block group 0. Redundant copies of the
39 superblock and group descriptors are written to some of the block groups
42 paragraph for more details). If the group does not have a redundant
43 copy, the block group begins with the data block bitmap. Note also that
45 GDT block” space after the block group descriptors and before the start
54 As for the ordering of items in a block group, it is generally
55 established that the super block and the group descriptor table, if
[all …]
/linux-5.15/drivers/net/ethernet/netronome/nfp/flower/ !
A Dlag_conf.c108 struct nfp_fl_lag_group *group; in nfp_fl_lag_group_create() local
122 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()
129 group->master_ndev = master; in nfp_fl_lag_group_create()
130 group->dirty = true; in nfp_fl_lag_group_create()
131 group->offloaded = false; in nfp_fl_lag_group_create()
132 group->to_remove = false; in nfp_fl_lag_group_create()
133 group->to_destroy = false; in nfp_fl_lag_group_create()
134 group->slave_cnt = 0; in nfp_fl_lag_group_create()
[all …]
/linux-5.15/fs/ext4/ !
H A Dresize.c96 ext4_group_t group) { in ext4_meta_bg_first_group() argument
97 return (group >> EXT4_DESC_PER_BLOCK_BITS(sb)) << in ext4_meta_bg_first_group()
102 ext4_group_t group) { in ext4_meta_bg_first_block_no() argument
103 group = ext4_meta_bg_first_group(sb, group); in ext4_meta_bg_first_block_no()
104 return ext4_group_first_block_no(sb, group); in ext4_meta_bg_first_block_no()
108 ext4_group_t group) { in ext4_group_overhead_blocks() argument
110 overhead = ext4_bg_num_gdb(sb, group); in ext4_group_overhead_blocks()
111 if (ext4_bg_has_super(sb, group)) in ext4_group_overhead_blocks()
127 ext4_group_t group = input->group; in verify_group_input() local
135 if (group != sbi->s_groups_count) { in verify_group_input()
[all …]

12345678910>>...52