/Linux-v4.19/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-v4.19/fs/notify/ |
D | group.c | 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() 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() 52 group->shutdown = true; in fsnotify_group_stop_queueing() 53 spin_unlock(&group->notification_lock); in fsnotify_group_stop_queueing() 62 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group() argument [all …]
|
D | notification.c | 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 83 spin_lock(&group->notification_lock); in fsnotify_destroy_event() 85 spin_unlock(&group->notification_lock); in fsnotify_destroy_event() 87 group->ops->free_event(event); in fsnotify_destroy_event() 97 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event() argument 103 struct list_head *list = &group->notification_list; in fsnotify_add_event() 105 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in fsnotify_add_event() [all …]
|
D | mark.c | 206 struct fsnotify_group *group = mark->group; in fsnotify_final_mark_destroy() local 208 if (WARN_ON_ONCE(!group)) in fsnotify_final_mark_destroy() 210 group->ops->free_mark(mark); in fsnotify_final_mark_destroy() 211 fsnotify_put_group(group); in fsnotify_final_mark_destroy() 283 atomic_inc(&mark->group->user_waits); in fsnotify_get_mark_safe() 301 struct fsnotify_group *group = mark->group; in fsnotify_put_mark_wake() local 308 if (atomic_dec_and_test(&group->user_waits) && group->shutdown) in fsnotify_put_mark_wake() 309 wake_up(&group->notification_waitq); in fsnotify_put_mark_wake() 359 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark() local 361 WARN_ON_ONCE(!mutex_is_locked(&group->mark_mutex)); in fsnotify_detach_mark() [all …]
|
/Linux-v4.19/drivers/vfio/ |
D | vfio.c | 98 struct vfio_group *group; member 120 struct iommu_group *group; in vfio_iommu_group_get() local 123 group = iommu_group_get(dev); in vfio_iommu_group_get() 132 if (group || !noiommu || iommu_present(dev->bus)) in vfio_iommu_group_get() 133 return group; in vfio_iommu_group_get() 135 group = iommu_group_alloc(); in vfio_iommu_group_get() 136 if (IS_ERR(group)) in vfio_iommu_group_get() 139 iommu_group_set_name(group, "vfio-noiommu"); in vfio_iommu_group_get() 140 iommu_group_set_iommudata(group, &noiommu, NULL); in vfio_iommu_group_get() 141 ret = iommu_group_add_device(group, dev); in vfio_iommu_group_get() [all …]
|
/Linux-v4.19/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-v4.19/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 | 45 struct config_group group; member 57 struct config_group *group; in to_dev_port_group() local 62 group = container_of(item, struct config_group, cg_item); in to_dev_port_group() 63 return container_of(group, struct cma_dev_port_group, group); in to_dev_port_group() 75 struct cma_dev_port_group *group = to_dev_port_group(item); in cma_configfs_params_get() local 78 if (!group) in cma_configfs_params_get() 82 group->cma_dev_group->name); in cma_configfs_params_get() 87 *pgroup = group; in cma_configfs_params_get() 101 struct cma_dev_port_group *group; in default_roce_mode_show() local 105 ret = cma_configfs_params_get(item, &cma_dev, &group); in default_roce_mode_show() [all …]
|
/Linux-v4.19/drivers/iommu/ |
D | iommu.c | 71 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 …]
|
/Linux-v4.19/fs/notify/fanotify/ |
D | fanotify_user.c | 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() 117 static int fill_event_metadata(struct fsnotify_group *group, in fill_event_metadata() argument [all …]
|
/Linux-v4.19/fs/notify/inotify/ |
D | inotify_user.c | 113 struct fsnotify_group *group = file->private_data; in inotify_poll() local 116 poll_wait(file, &group->notification_waitq, wait); in inotify_poll() 117 spin_lock(&group->notification_lock); in inotify_poll() 118 if (!fsnotify_notify_queue_is_empty(group)) in inotify_poll() 120 spin_unlock(&group->notification_lock); in inotify_poll() 142 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument 148 if (fsnotify_notify_queue_is_empty(group)) in get_one_event() 151 event = fsnotify_peek_first_event(group); in get_one_event() 153 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in get_one_event() 161 fsnotify_remove_first_event(group); in get_one_event() [all …]
|
/Linux-v4.19/drivers/clk/renesas/ |
D | clk-mstp.c | 59 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-v4.19/net/psample/ |
D | psample.c | 40 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() 120 static void psample_group_notify(struct psample_group *group, in psample_group_notify() argument 130 err = psample_group_nl_fill(msg, group, cmd, 0, 0, NLM_F_MULTI); in psample_group_notify() [all …]
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-lpc32xx.c | 179 static void __set_gpio_dir_p012(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p012() argument 184 group->gpio_grp->dir_clr); in __set_gpio_dir_p012() 187 group->gpio_grp->dir_set); in __set_gpio_dir_p012() 190 static void __set_gpio_dir_p3(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p3() argument 196 __raw_writel(u, group->gpio_grp->dir_clr); in __set_gpio_dir_p3() 198 __raw_writel(u, group->gpio_grp->dir_set); in __set_gpio_dir_p3() 201 static void __set_gpio_level_p012(struct lpc32xx_gpio_chip *group, in __set_gpio_level_p012() argument 206 group->gpio_grp->outp_set); in __set_gpio_level_p012() 209 group->gpio_grp->outp_clr); in __set_gpio_level_p012() 212 static void __set_gpio_level_p3(struct lpc32xx_gpio_chip *group, in __set_gpio_level_p3() argument [all …]
|
/Linux-v4.19/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() 210 int group, best_group = -1; in find_group_dir() local 212 for (group = 0; group < ngroups; group++) { in find_group_dir() 213 desc = ext2_get_group_desc (sb, group, NULL); in find_group_dir() 221 best_group = group; in find_group_dir() 273 int group = -1, i; in find_group_orlov() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_tcam.c | 169 struct mlxsw_sp_acl_tcam_group *group; member 190 struct mlxsw_sp_acl_tcam_group *group) in mlxsw_sp_acl_tcam_group_update() argument 196 mlxsw_reg_pagt_pack(pagt_pl, group->id); in mlxsw_sp_acl_tcam_group_update() 197 list_for_each_entry(region, &group->region_list, list) in mlxsw_sp_acl_tcam_group_update() 206 struct mlxsw_sp_acl_tcam_group *group, in mlxsw_sp_acl_tcam_group_add() argument 213 group->tcam = tcam; in mlxsw_sp_acl_tcam_group_add() 214 group->patterns = patterns; in mlxsw_sp_acl_tcam_group_add() 215 group->patterns_count = patterns_count; in mlxsw_sp_acl_tcam_group_add() 217 group->tmplt_elusage_set = true; in mlxsw_sp_acl_tcam_group_add() 218 memcpy(&group->tmplt_elusage, tmplt_elusage, in mlxsw_sp_acl_tcam_group_add() [all …]
|
/Linux-v4.19/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 135 media_device_for_each_entity(entity, &group->mdev) in rvin_group_link_notify() 139 mutex_lock(&group->lock); in rvin_group_link_notify() 146 if (WARN_ON(!group->vin[master_id])) { in rvin_group_link_notify() 153 if (!group->vin[i]) in rvin_group_link_notify() 158 &group->vin[i]->vdev.entity.pads[0]); in rvin_group_link_notify() 162 csi_id = rvin_group_entity_to_csi_id(group, csi_pad->entity); in rvin_group_link_notify() 165 mask &= rvin_group_get_mask(group->vin[i], csi_id, channel); in rvin_group_link_notify() [all …]
|
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/ |
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-v4.19/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-v4.19/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-v4.19/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-v4.19/drivers/net/ethernet/netronome/nfp/flower/ |
D | lag_conf.c | 138 struct nfp_fl_lag_group *group; in nfp_fl_lag_group_create() local 152 group = kmalloc(sizeof(*group), GFP_KERNEL); in nfp_fl_lag_group_create() 153 if (!group) { in nfp_fl_lag_group_create() 158 group->group_id = id; in nfp_fl_lag_group_create() 159 group->master_ndev = master; in nfp_fl_lag_group_create() 160 group->dirty = true; in nfp_fl_lag_group_create() 161 group->offloaded = false; in nfp_fl_lag_group_create() 162 group->to_remove = false; in nfp_fl_lag_group_create() 163 group->to_destroy = false; in nfp_fl_lag_group_create() 164 group->slave_cnt = 0; in nfp_fl_lag_group_create() [all …]
|
/Linux-v4.19/drivers/pinctrl/sirf/ |
D | pinctrl-prima2.c | 137 .group = 3, 143 .group = 2, 161 .group = 3, 167 .group = 2, 170 .group = 0, 188 .group = 3, 194 .group = 2, 197 .group = 0, 217 .group = 3, 223 .group = 2, [all …]
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | uvc_configfs.c | 37 func_inst.group); in to_f_uvc_opts() 136 static struct config_item *uvcg_control_header_make(struct config_group *group, in uvcg_control_header_make() argument 156 static void uvcg_control_header_drop(struct config_group *group, in uvcg_control_header_drop() argument 166 struct config_group group; member 181 struct config_group group; member 188 struct uvcg_default_processing, group); in to_uvcg_default_processing() 198 struct mutex *su_mutex = &dp->group.cg_subsys->su_mutex; \ 204 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; \ 235 struct mutex *su_mutex = &dp->group.cg_subsys->su_mutex; in uvcg_default_processing_bm_controls_show() 242 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_default_processing_bm_controls_show() [all …]
|