Home
last modified time | relevance | path

Searched full:group (Results 1 – 25 of 4139) sorted by relevance

12345678910>>...166

/kernel/linux/linux-4.19/drivers/infiniband/hw/mlx4/
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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
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 …]
/kernel/linux/linux-5.10/fs/notify/
Dgroup.c20 * Final freeing of a group
22 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()
34 * Stop queueing new events for this group. Once this function returns
35 * fsnotify_add_event() will not add any new events to the group's queue.
37 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing() argument
[all …]
Dnotification.c7 * Basic idea behind the notification queue: An fsnotify group (like inotify)
10 * event to the group notify queue. Since a single event might need to be on
11 * multiple group's notification queues we can't add the event directly to each
17 * another group a new event_holder (from fsnotify_event_holder_cachep) will be
51 bool fsnotify_notify_queue_is_empty(struct fsnotify_group *group) in fsnotify_notify_queue_is_empty() argument
53 assert_spin_locked(&group->notification_lock); in fsnotify_notify_queue_is_empty()
54 return list_empty(&group->notification_list) ? true : false; in fsnotify_notify_queue_is_empty()
57 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() argument
60 /* Overflow events are per-group and we don't want to free them */ in fsnotify_destroy_event()
61 if (!event || event == group->overflow_event) in fsnotify_destroy_event()
[all …]
/kernel/linux/linux-4.19/drivers/iommu/
Diommu.c71 ssize_t (*show)(struct iommu_group *group, char *buf);
72 ssize_t (*store)(struct iommu_group *group,
116 struct iommu_group *group);
118 struct iommu_group *group);
138 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show() local
142 ret = attr->show(group, buf); in iommu_group_attr_show()
151 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store() local
155 ret = attr->store(group, buf, count); in iommu_group_attr_store()
164 static int iommu_group_create_file(struct iommu_group *group, in iommu_group_create_file() argument
167 return sysfs_create_file(&group->kobj, &attr->attr); in iommu_group_create_file()
[all …]
/kernel/linux/linux-4.19/fs/notify/
Dgroup.c33 * Final freeing of a group
35 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group() argument
37 if (group->ops->free_group_priv) in fsnotify_final_destroy_group()
38 group->ops->free_group_priv(group); in fsnotify_final_destroy_group()
40 mem_cgroup_put(group->memcg); in fsnotify_final_destroy_group()
42 kfree(group); in fsnotify_final_destroy_group()
46 * Stop queueing new events for this group. Once this function returns
47 * fsnotify_add_event() will not add any new events to the group's queue.
49 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing() argument
51 spin_lock(&group->notification_lock); in fsnotify_group_stop_queueing()
[all …]
Dnotification.c20 * Basic idea behind the notification queue: An fsnotify group (like inotify)
23 * event to the group notify queue. Since a single event might need to be on
24 * multiple group's notification queues we can't add the event directly to each
30 * another group a new event_holder (from fsnotify_event_holder_cachep) will be
64 bool fsnotify_notify_queue_is_empty(struct fsnotify_group *group) in fsnotify_notify_queue_is_empty() argument
66 assert_spin_locked(&group->notification_lock); in fsnotify_notify_queue_is_empty()
67 return list_empty(&group->notification_list) ? true : false; in fsnotify_notify_queue_is_empty()
70 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() argument
73 /* Overflow events are per-group and we don't want to free them */ in fsnotify_destroy_event()
83 spin_lock(&group->notification_lock); in fsnotify_destroy_event()
[all …]
/kernel/linux/linux-5.10/drivers/vfio/
Dvfio.c97 struct vfio_group *group; member
115 * removes the device from the dummy group and cannot be nested.
119 struct iommu_group *group; in vfio_iommu_group_get() local
122 group = iommu_group_get(dev); in vfio_iommu_group_get()
126 * With noiommu enabled, an IOMMU group will be created for a device in vfio_iommu_group_get()
131 if (group || !noiommu || iommu_present(dev->bus)) in vfio_iommu_group_get()
132 return group; in vfio_iommu_group_get()
134 group = iommu_group_alloc(); in vfio_iommu_group_get()
135 if (IS_ERR(group)) in vfio_iommu_group_get()
138 iommu_group_set_name(group, "vfio-noiommu"); in vfio_iommu_group_get()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/meson/
Dpinctrl-meson-g12a.c524 GROUP(emmc_nand_d0, 1),
525 GROUP(emmc_nand_d1, 1),
526 GROUP(emmc_nand_d2, 1),
527 GROUP(emmc_nand_d3, 1),
528 GROUP(emmc_nand_d4, 1),
529 GROUP(emmc_nand_d5, 1),
530 GROUP(emmc_nand_d6, 1),
531 GROUP(emmc_nand_d7, 1),
532 GROUP(emmc_clk, 1),
533 GROUP(emmc_cmd, 1),
[all …]
Dpinctrl-meson-axg.c448 GROUP(emmc_nand_d0, 1),
449 GROUP(emmc_nand_d1, 1),
450 GROUP(emmc_nand_d2, 1),
451 GROUP(emmc_nand_d3, 1),
452 GROUP(emmc_nand_d4, 1),
453 GROUP(emmc_nand_d5, 1),
454 GROUP(emmc_nand_d6, 1),
455 GROUP(emmc_nand_d7, 1),
456 GROUP(emmc_clk, 1),
457 GROUP(emmc_cmd, 1),
[all …]
Dpinctrl-meson-a1.c407 GROUP(psram_clkn, 1),
408 GROUP(psram_clkp, 1),
409 GROUP(psram_ce_n, 1),
410 GROUP(psram_rst_n, 1),
411 GROUP(psram_adq0, 1),
412 GROUP(psram_adq1, 1),
413 GROUP(psram_adq2, 1),
414 GROUP(psram_adq3, 1),
415 GROUP(psram_adq4, 1),
416 GROUP(psram_adq5, 1),
[all …]
Dpinctrl-meson8.c531 GROUP(sd_d0_a, 8, 5),
532 GROUP(sd_d1_a, 8, 4),
533 GROUP(sd_d2_a, 8, 3),
534 GROUP(sd_d3_a, 8, 2),
535 GROUP(sd_clk_a, 8, 1),
536 GROUP(sd_cmd_a, 8, 0),
538 GROUP(sdxc_d0_a, 5, 14),
539 GROUP(sdxc_d13_a, 5, 13),
540 GROUP(sdxc_d47_a, 5, 12),
541 GROUP(sdxc_clk_a, 5, 11),
[all …]
Dpinctrl-meson8b.c444 GROUP(sd_d0_a, 8, 5),
445 GROUP(sd_d1_a, 8, 4),
446 GROUP(sd_d2_a, 8, 3),
447 GROUP(sd_d3_a, 8, 2),
448 GROUP(sdxc_d0_0_a, 5, 29),
449 GROUP(sdxc_d47_a, 5, 12),
450 GROUP(sdxc_d13_0_a, 5, 28),
451 GROUP(sd_clk_a, 8, 1),
452 GROUP(sd_cmd_a, 8, 0),
453 GROUP(xtal_32k_out, 3, 22),
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
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 …]
/kernel/linux/linux-4.19/drivers/infiniband/core/
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 …]
/kernel/linux/linux-4.19/drivers/vfio/
Dvfio.c99 struct vfio_group *group; member
117 * removes the device from the dummy group and cannot be nested.
121 struct iommu_group *group; in vfio_iommu_group_get() local
124 group = iommu_group_get(dev); in vfio_iommu_group_get()
128 * With noiommu enabled, an IOMMU group will be created for a device in vfio_iommu_group_get()
133 if (group || !noiommu || iommu_present(dev->bus)) in vfio_iommu_group_get()
134 return group; in vfio_iommu_group_get()
136 group = iommu_group_alloc(); in vfio_iommu_group_get()
137 if (IS_ERR(group)) in vfio_iommu_group_get()
140 iommu_group_set_name(group, "vfio-noiommu"); in vfio_iommu_group_get()
[all …]
/kernel/linux/linux-4.19/drivers/pinctrl/meson/
Dpinctrl-meson-axg.c448 GROUP(emmc_nand_d0, 1),
449 GROUP(emmc_nand_d1, 1),
450 GROUP(emmc_nand_d2, 1),
451 GROUP(emmc_nand_d3, 1),
452 GROUP(emmc_nand_d4, 1),
453 GROUP(emmc_nand_d5, 1),
454 GROUP(emmc_nand_d6, 1),
455 GROUP(emmc_nand_d7, 1),
456 GROUP(emmc_clk, 1),
457 GROUP(emmc_cmd, 1),
[all …]
Dpinctrl-meson8.c511 GROUP(sd_d0_a, 8, 5),
512 GROUP(sd_d1_a, 8, 4),
513 GROUP(sd_d2_a, 8, 3),
514 GROUP(sd_d3_a, 8, 2),
515 GROUP(sd_clk_a, 8, 1),
516 GROUP(sd_cmd_a, 8, 0),
518 GROUP(sdxc_d0_a, 5, 14),
519 GROUP(sdxc_d13_a, 5, 13),
520 GROUP(sdxc_d47_a, 5, 12),
521 GROUP(sdxc_clk_a, 5, 11),
[all …]
Dpinctrl-meson8b.c420 GROUP(sd_d0_a, 8, 5),
421 GROUP(sd_d1_a, 8, 4),
422 GROUP(sd_d2_a, 8, 3),
423 GROUP(sd_d3_a, 8, 2),
424 GROUP(sdxc_d0_0_a, 5, 29),
425 GROUP(sdxc_d47_a, 5, 12),
426 GROUP(sdxc_d13_0_a, 5, 28),
427 GROUP(sd_clk_a, 8, 1),
428 GROUP(sd_cmd_a, 8, 0),
429 GROUP(xtal_32k_out, 3, 22),
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
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 …]
/kernel/linux/linux-4.19/arch/sparc/kernel/
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 …]
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
Dblockgroup.rst6 The layout of a standard block group is approximately as follows (each
13 * - Group 0 Padding
15 - Group Descriptors
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
[all …]
/kernel/linux/linux-4.19/Documentation/filesystems/ext4/ondisk/
Dblockgroup.rst6 The layout of a standard block group is approximately as follows (each
13 * - Group 0 Padding
15 - Group Descriptors
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
[all …]
/kernel/linux/linux-5.10/drivers/iommu/
Diommu.c58 ssize_t (*show)(struct iommu_group *group, char *buf);
59 ssize_t (*store)(struct iommu_group *group,
83 static int iommu_alloc_default_domain(struct iommu_group *group,
90 struct iommu_group *group);
92 struct iommu_group *group);
93 static int iommu_create_device_direct_mappings(struct iommu_group *group,
197 struct iommu_group *group; in __iommu_probe_device() local
219 group = iommu_group_get_for_dev(dev); in __iommu_probe_device()
220 if (IS_ERR(group)) { in __iommu_probe_device()
221 ret = PTR_ERR(group); in __iommu_probe_device()
[all …]
/kernel/linux/linux-4.19/fs/notify/fanotify/
Dfanotify_user.c55 * Called with the group->notification_lock held.
57 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument
60 assert_spin_locked(&group->notification_lock); in get_one_event()
62 pr_debug("%s: group=%p count=%zd\n", __func__, group, count); in get_one_event()
64 if (fsnotify_notify_queue_is_empty(group)) in get_one_event()
72 return fsnotify_remove_first_event(group); in get_one_event()
75 static int create_fd(struct fsnotify_group *group, in create_fd() argument
82 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in create_fd()
84 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); in create_fd()
96 group->fanotify_data.f_flags | FMODE_NONOTIFY, in create_fd()
[all …]

12345678910>>...166