/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 50 #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-v5.4/fs/notify/ |
D | group.c | 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() 29 kfree(group); in fsnotify_final_destroy_group() 36 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing() argument 38 spin_lock(&group->notification_lock); in fsnotify_group_stop_queueing() 39 group->shutdown = true; in fsnotify_group_stop_queueing() 40 spin_unlock(&group->notification_lock); in fsnotify_group_stop_queueing() 49 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group() argument [all …]
|
D | notification.c | 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 61 if (!event || event == group->overflow_event) in fsnotify_destroy_event() 70 spin_lock(&group->notification_lock); in fsnotify_destroy_event() 72 spin_unlock(&group->notification_lock); in fsnotify_destroy_event() 74 group->ops->free_event(event); in fsnotify_destroy_event() 84 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event() argument 90 struct list_head *list = &group->notification_list; in fsnotify_add_event() [all …]
|
D | mark.c | 201 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy() local 203 if (WARN_ON_ONCE(!group)) in fsnotify_final_mark_destroy() 205 group->ops->free_mark(mark); in fsnotify_final_mark_destroy() 206 fsnotify_put_group(group); in fsnotify_final_mark_destroy() 297 atomic_inc(&mark->group->user_waits); in fsnotify_get_mark_safe() 315 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake() local 322 if (atomic_dec_and_test(&group->user_waits) && group->shutdown) in fsnotify_put_mark_wake() 323 wake_up(&group->notification_waitq); in fsnotify_put_mark_wake() 373 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark() local 375 WARN_ON_ONCE(!mutex_is_locked(&group->mark_mutex)); in fsnotify_detach_mark() [all …]
|
/Linux-v5.4/drivers/vfio/ |
D | vfio.c | 96 struct vfio_group *group; member 118 struct iommu_group *group; in vfio_iommu_group_get() local 121 group = iommu_group_get(dev); in vfio_iommu_group_get() 130 if (group || !noiommu || iommu_present(dev->bus)) in vfio_iommu_group_get() 131 return group; in vfio_iommu_group_get() 133 group = iommu_group_alloc(); in vfio_iommu_group_get() 134 if (IS_ERR(group)) in vfio_iommu_group_get() 137 iommu_group_set_name(group, "vfio-noiommu"); in vfio_iommu_group_get() 138 iommu_group_set_iommudata(group, &noiommu, NULL); in vfio_iommu_group_get() 139 ret = iommu_group_add_device(group, dev); in vfio_iommu_group_get() [all …]
|
/Linux-v5.4/arch/sparc/kernel/ |
D | hvapi.c | 19 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-v5.4/drivers/infiniband/core/ |
D | multicast.c | 117 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 …]
|
D | cma_configfs.c | 48 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-v5.4/drivers/iommu/ |
D | iommu.c | 56 ssize_t (*show)(struct iommu_group *group, char *buf); 57 ssize_t (*store)(struct iommu_group *group, 208 struct iommu_group *group); 210 struct iommu_group *group); 240 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show() local 244 ret = attr->show(group, buf); in iommu_group_attr_show() 253 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store() local 257 ret = attr->store(group, buf, count); in iommu_group_attr_store() 266 static int iommu_group_create_file(struct iommu_group *group, in iommu_group_create_file() argument 269 return sysfs_create_file(&group->kobj, &attr->attr); in iommu_group_create_file() [all …]
|
/Linux-v5.4/fs/notify/inotify/ |
D | inotify_user.c | 103 struct fsnotify_group *group = file->private_data; in inotify_poll() local 106 poll_wait(file, &group->notification_waitq, wait); in inotify_poll() 107 spin_lock(&group->notification_lock); in inotify_poll() 108 if (!fsnotify_notify_queue_is_empty(group)) in inotify_poll() 110 spin_unlock(&group->notification_lock); in inotify_poll() 132 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument 138 if (fsnotify_notify_queue_is_empty(group)) in get_one_event() 141 event = fsnotify_peek_first_event(group); in get_one_event() 143 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in get_one_event() 151 fsnotify_remove_first_event(group); in get_one_event() [all …]
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-lpc32xx.c | 168 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-v5.4/fs/notify/fanotify/ |
D | fanotify_user.c | 70 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument 76 pr_debug("%s: group=%p count=%zd\n", __func__, group, count); in get_one_event() 78 spin_lock(&group->notification_lock); in get_one_event() 79 if (fsnotify_notify_queue_is_empty(group)) in get_one_event() 82 if (FAN_GROUP_FLAG(group, FAN_REPORT_FID)) { in get_one_event() 84 FANOTIFY_E(fsnotify_peek_first_event(group))); in get_one_event() 91 fsn_event = fsnotify_remove_first_event(group); in get_one_event() 95 spin_unlock(&group->notification_lock); in get_one_event() 99 static int create_fd(struct fsnotify_group *group, in create_fd() argument 106 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in create_fd() [all …]
|
/Linux-v5.4/drivers/clk/renesas/ |
D | clk-mstp.c | 58 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-v5.4/net/psample/ |
D | psample.c | 37 struct psample_group *group, in psample_group_nl_fill() argument 48 ret = nla_put_u32(msg, PSAMPLE_ATTR_SAMPLE_GROUP, group->group_num); in psample_group_nl_fill() 52 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_REFCOUNT, group->refcount); in psample_group_nl_fill() 56 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_SEQ, group->seq); in psample_group_nl_fill() 71 struct psample_group *group; in psample_nl_cmd_get_group_dumpit() local 77 list_for_each_entry(group, &psample_groups_list, list) { in psample_nl_cmd_get_group_dumpit() 78 if (!net_eq(group->net, sock_net(msg->sk))) in psample_nl_cmd_get_group_dumpit() 84 err = psample_group_nl_fill(msg, group, PSAMPLE_CMD_NEW_GROUP, in psample_nl_cmd_get_group_dumpit() 118 static void psample_group_notify(struct psample_group *group, in psample_group_notify() argument 128 err = psample_group_nl_fill(msg, group, cmd, 0, 0, NLM_F_MULTI); in psample_group_notify() [all …]
|
/Linux-v5.4/kernel/sched/ |
D | psi.c | 182 static void group_init(struct psi_group *group) in group_init() argument 187 seqcount_init(&per_cpu_ptr(group->pcpu, cpu)->seq); in group_init() 188 group->avg_next_update = sched_clock() + psi_period; in group_init() 189 INIT_DELAYED_WORK(&group->avgs_work, psi_avgs_work); in group_init() 190 mutex_init(&group->avgs_lock); in group_init() 192 atomic_set(&group->poll_scheduled, 0); in group_init() 193 mutex_init(&group->trigger_lock); in group_init() 194 INIT_LIST_HEAD(&group->triggers); in group_init() 195 memset(group->nr_triggers, 0, sizeof(group->nr_triggers)); in group_init() 196 group->poll_states = 0; in group_init() [all …]
|
/Linux-v5.4/fs/ext2/ |
D | ialloc.c | 66 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() 208 int group, best_group = -1; in find_group_dir() local 210 for (group = 0; group < ngroups; group++) { in find_group_dir() 211 desc = ext2_get_group_desc (sb, group, NULL); in find_group_dir() 219 best_group = group; in find_group_dir() 269 int group = -1, i; in find_group_orlov() local [all …]
|
/Linux-v5.4/drivers/pinctrl/aspeed/ |
D | pinmux-aspeed.h | 513 #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-v5.4/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,armada-37xx-pinctrl.txt | 32 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-v5.4/arch/s390/tools/ |
D | gen_opcode_table.c | 46 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-v5.4/Documentation/filesystems/ext4/ |
D | blockgroup.rst | 6 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-v5.4/arch/mips/rb532/ |
D | irq.c | 86 static inline int group_to_ip(unsigned int group) in group_to_ip() argument 88 return group + 2; in group_to_ip() 114 unsigned int group, intr_bit, irq_nr = d->irq; in rb532_enable_irq() local 121 group = ip >> 5; in rb532_enable_irq() 126 enable_local_irq(group_to_ip(group)); in rb532_enable_irq() 128 addr = intr_group[group].base_addr; in rb532_enable_irq() 135 unsigned int group, intr_bit, mask, irq_nr = d->irq; in rb532_disable_irq() local 142 group = ip >> 5; in rb532_disable_irq() 146 addr = intr_group[group].base_addr; in rb532_disable_irq() 152 if (group == GPIO_MAPPED_IRQ_GROUP && irq_nr <= (GROUP4_IRQ_BASE + 13)) in rb532_disable_irq() [all …]
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
D | lag_conf.c | 108 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-v5.4/drivers/pinctrl/sirf/ |
D | pinctrl-prima2.c | 136 .group = 3, 142 .group = 2, 160 .group = 3, 166 .group = 2, 169 .group = 0, 187 .group = 3, 193 .group = 2, 196 .group = 0, 216 .group = 3, 222 .group = 2, [all …]
|
/Linux-v5.4/drivers/media/platform/rcar-vin/ |
D | rcar-core.c | 52 static int rvin_group_entity_to_csi_id(struct rvin_group *group, in rvin_group_entity_to_csi_id() argument 61 if (group->csi[i].subdev == sd) in rvin_group_entity_to_csi_id() 115 struct rvin_group *group = container_of(link->graph_obj.mdev, in rvin_group_link_notify() local 139 media_device_for_each_entity(entity, &group->mdev) in rvin_group_link_notify() 143 mutex_lock(&group->lock); in rvin_group_link_notify() 150 if (WARN_ON(!group->vin[master_id])) { in rvin_group_link_notify() 157 if (!group->vin[i]) in rvin_group_link_notify() 162 &group->vin[i]->vdev.entity.pads[0]); in rvin_group_link_notify() 166 csi_id = rvin_group_entity_to_csi_id(group, csi_pad->entity); in rvin_group_link_notify() 169 mask &= rvin_group_get_mask(group->vin[i], csi_id, channel); in rvin_group_link_notify() [all …]
|
/Linux-v5.4/fs/ext4/ |
D | resize.c | 64 ext4_group_t group) { in ext4_meta_bg_first_group() argument 65 return (group >> EXT4_DESC_PER_BLOCK_BITS(sb)) << in ext4_meta_bg_first_group() 70 ext4_group_t group) { in ext4_meta_bg_first_block_no() argument 71 group = ext4_meta_bg_first_group(sb, group); in ext4_meta_bg_first_block_no() 72 return ext4_group_first_block_no(sb, group); in ext4_meta_bg_first_block_no() 76 ext4_group_t group) { in ext4_group_overhead_blocks() argument 78 overhead = ext4_bg_num_gdb(sb, group); in ext4_group_overhead_blocks() 79 if (ext4_bg_has_super(sb, group)) in ext4_group_overhead_blocks() 95 ext4_group_t group = input->group; in verify_group_input() local 103 if (group != sbi->s_groups_count) { in verify_group_input() [all …]
|