/linux-6.3-rc2/drivers/vfio/ |
A D | group.c | 65 WARN_ON(!group->container != !group->container_users); in vfio_group_has_iommu() 67 return group->container || group->iommufd; in vfio_group_has_iommu() 466 group = kzalloc(sizeof(*group), GFP_KERNEL); in vfio_group_alloc() 467 if (!group) in vfio_group_alloc() 518 err = cdev_device_add(&group->cdev, &group->dev); in vfio_create_group() 648 device->group = group; in vfio_device_set_group() 654 struct vfio_group *group = device->group; in vfio_device_remove_group() local 671 cdev_device_del(&group->cdev, &group->dev); in vfio_device_remove_group() 715 struct vfio_group *group = device->group; in vfio_device_group_use_iommu() local 732 struct vfio_group *group = device->group; in vfio_device_group_unuse_iommu() local [all …]
|
A D | container.c | 239 struct vfio_group *group; in __vfio_container_attach_groups() local 244 group->type); in __vfio_container_attach_groups() 437 ret = iommu_group_claim_dma_owner(group->iommu_group, group); in vfio_container_attach_group() 445 group->iommu_group, in vfio_container_attach_group() 446 group->type); in vfio_container_attach_group() 450 group->iommu_group); in vfio_container_attach_group() 481 group->iommu_group); in vfio_group_detach_container() 486 group->container = NULL; in vfio_group_detach_container() 518 group->container_users++; in vfio_group_use_container() 527 group->container_users--; in vfio_group_unuse_container() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | mcg.c | 52 (group)->name, group->demux->port, ## arg) 627 group->prev_state = group->state; in handle_join_req() 634 group->state = group->prev_state; in handle_join_req() 669 group->state = group->prev_state; in mlx4_ib_mcg_work_handler() 702 memcpy(&group->rec, group->response_sa_mad.data, sizeof group->rec); in mlx4_ib_mcg_work_handler() 729 group->prev_state = group->state; in mlx4_ib_mcg_work_handler() 731 group->state = group->prev_state; in mlx4_ib_mcg_work_handler() 846 group->dentry.attr.name = group->name; in acquire_group() 910 group->prev_state = group->state; in mlx4_ib_mcg_demux_handler() 973 req->group = group; in mlx4_ib_mcg_multiplex_handler() [all …]
|
/linux-6.3-rc2/fs/notify/ |
A D | group.c | 25 group->ops->free_group_priv(group); in fsnotify_final_destroy_group() 27 mem_cgroup_put(group->memcg); in fsnotify_final_destroy_group() 30 kfree(group); in fsnotify_final_destroy_group() 40 group->shutdown = true; in fsnotify_group_stop_queueing() 68 wait_event(group->notification_waitq, !atomic_read(&group->user_waits)); in fsnotify_destroy_group() 90 if (group->overflow_event) in fsnotify_destroy_group() 91 group->ops->free_event(group, group->overflow_event); in fsnotify_destroy_group() 122 if (!group) in __fsnotify_alloc_group() 137 group->ops = ops; in __fsnotify_alloc_group() 138 group->flags = flags; in __fsnotify_alloc_group() [all …]
|
A D | notification.c | 67 group->ops->free_event(group, event); in fsnotify_destroy_event() 93 spin_lock(&group->notification_lock); in fsnotify_insert_event() 95 if (group->shutdown) { in fsnotify_insert_event() 100 if (event == group->overflow_event || in fsnotify_insert_event() 101 group->q_len >= group->max_events) { in fsnotify_insert_event() 108 event = group->overflow_event; in fsnotify_insert_event() 113 ret = merge(group, event); in fsnotify_insert_event() 121 group->q_len++; in fsnotify_insert_event() 124 insert(group, event); in fsnotify_insert_event() 127 wake_up(&group->notification_waitq); in fsnotify_insert_event() [all …]
|
/linux-6.3-rc2/drivers/iommu/ |
A D | iommu.c | 428 if (group->default_domain && !group->owner) { in iommu_probe_device() 729 group->iommu_data_release(group->iommu_data); in iommu_group_release() 763 group = kzalloc(sizeof(*group), GFP_KERNEL); in iommu_group_alloc() 1831 return __iommu_group_for_each_dev(group, group, in iommu_group_create_direct_mappings() 2144 if (group->domain && group->domain != group->default_domain && in __iommu_attach_group() 2145 group->domain != group->blocking_domain) in __iommu_attach_group() 2844 if (group->default_domain != group->domain) { in iommu_change_dev_def_domain() 2930 group->domain = group->default_domain; in iommu_change_dev_def_domain() 2975 if (WARN_ON(!group) || !group->default_domain) in iommu_group_store_type() 3054 if (group->domain == group->default_domain) in iommu_is_default_domain() [all …]
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | hvapi.c | 19 unsigned long group; member 30 { .group = HV_GRP_INTR, }, 32 { .group = HV_GRP_TM, }, 37 { .group = HV_GRP_RNG, }, 39 { .group = HV_GRP_TPM, }, 64 if (api_table[i].group == group) in __get_info() 104 p = __get_info(group); in sun4v_hvapi_register() 153 p = __get_info(group); in sun4v_hvapi_unregister() 170 p = __get_info(group); in sun4v_hvapi_get() 186 group = HV_GRP_SUN4V; in sun4v_hvapi_init() [all …]
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | multicast.c | 208 struct mcast_group *group = member->group; in queue_join() local 361 group, &group->query); in send_leave() 432 group = container_of(work, typeof(*group), work); in mcast_work_handler() 535 rb_erase(&group->node, &group->port->table); in join_handler() 538 mcast_insert(group->port, group, is_mgid0); in join_handler() 551 !send_leave(group, group->leave_state)) in leave_handler() 568 if (group) in acquire_group() 573 group = kzalloc(sizeof *group, gfp_mask); in acquire_group() 574 if (!group) in acquire_group() 668 group = member->group; in ib_sa_free_multicast() [all …]
|
A D | cma_configfs.c | 47 struct config_group group; member 59 struct config_group *group; in to_dev_port_group() local 65 return container_of(group, struct cma_dev_port_group, group); in to_dev_port_group() 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 124 struct cma_dev_port_group *group; in default_roce_mode_store() local 150 struct cma_dev_port_group *group; in default_roce_tos_show() local 168 struct cma_dev_port_group *group; in default_roce_tos_store() local [all …]
|
/linux-6.3-rc2/kernel/sched/ |
A D | psi.c | 463 group->avg_next_update = update_averages(group, now); in psi_avgs_work() 526 memcpy(group->polling_total, group->total[PSI_POLL], in init_triggers() 901 } while ((group = group->parent)); in psi_task_change() 927 } while ((group = group->parent)); in psi_task_switch() 965 } while ((group = group->parent)); in psi_task_switch() 975 for (; group; group = group->parent) in psi_task_switch() 1010 } while ((group = group->parent)); in psi_account_irqtime() 1224 group->avg_next_update = update_averages(group, now); in psi_show() 1293 t->group = group; in psi_trigger_create() 1322 group->poll_min_period = min(group->poll_min_period, in psi_trigger_create() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_sdlb.c | 63 ANA_AC_SDLB_PUP_CTRL(group)); in sparx5_sdlb_group_disable() 70 ANA_AC_SDLB_PUP_CTRL(group)); in sparx5_sdlb_group_enable() 188 group = &sdlb_groups[i]; in sparx5_sdlb_group_get_by_rate() 199 if (rate_bps < group->max_rate) in sparx5_sdlb_group_get_by_rate() 221 *group = i; in sparx5_sdlb_group_get_by_index() 250 ANA_AC_SDLB_XLB_START(group)); in sparx5_sdlb_group_link() 281 __LINE__, idx, group); in sparx5_sdlb_group_del() 307 struct sparx5_sdlb_group *group; in sparx5_sdlb_group_init() local 310 group = &sdlb_groups[idx]; in sparx5_sdlb_group_init() 322 group->pup_interval = in sparx5_sdlb_group_init() [all …]
|
A D | sparx5_qos.c | 91 HSCH_HSCH_TIMER_CFG(layer, group)); in sparx5_lg_set_leak_time() 146 if (sparx5_lg_is_empty(sparx5, layer, group)) in sparx5_lg_is_singular() 165 u32 idx, u32 *group) in sparx5_lg_get_group_by_index() argument 180 *group = i; in sparx5_lg_get_group_by_index() 202 *group = i; in sparx5_lg_get_group_by_rate() 242 sparx5_lg_disable(sparx5, layer, group); in sparx5_lg_conf_set() 258 HSCH_HSCH_LEAK_CFG(layer, group)); in sparx5_lg_conf_set() 327 u32 idx, u32 group) in sparx5_shaper_conf_set() argument 499 u32 group; in sparx5_tc_tbf_add() local 508 lg = &layers[layer].leak_groups[group]; in sparx5_tc_tbf_add() [all …]
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-lpc32xx.c | 183 group->gpio_grp->dir_clr); in __set_gpio_dir_p012() 195 gpreg_write(group, u, group->gpio_grp->dir_clr); in __set_gpio_dir_p3() 197 gpreg_write(group, u, group->gpio_grp->dir_set); in __set_gpio_dir_p3() 217 gpreg_write(group, u, group->gpio_grp->outp_set); in __set_gpio_level_p3() 219 gpreg_write(group, u, group->gpio_grp->outp_clr); in __set_gpio_level_p3() 226 gpreg_write(group, GPO3_PIN_TO_BIT(pin), group->gpio_grp->outp_set); in __set_gpo_level_p3() 228 gpreg_write(group, GPO3_PIN_TO_BIT(pin), group->gpio_grp->outp_clr); in __set_gpo_level_p3() 234 return GPIO012_PIN_IN_SEL(gpreg_read(group, group->gpio_grp->inp_state), in __get_gpio_state_p012() 241 int state = gpreg_read(group, group->gpio_grp->inp_state); in __get_gpio_state_p3() 253 return GPI3_PIN_IN_SEL(gpreg_read(group, group->gpio_grp->inp_state), pin); in __get_gpi_state_p3() [all …]
|
/linux-6.3-rc2/drivers/clk/renesas/ |
A D | clk-mstp.c | 78 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local 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() 95 cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_endisable() 105 if (!(cpg_mstp_read(group, group->mstpsr) & bitmask)) in cpg_mstp_clock_endisable() 132 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_is_enabled() local 136 value = cpg_mstp_read(group, group->mstpsr); in cpg_mstp_clock_is_enabled() 138 value = cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_is_enabled() 173 clock->group = group; in cpg_mstp_clock_register() 192 if (!group) in cpg_mstp_clocks_init() [all …]
|
/linux-6.3-rc2/fs/notify/inotify/ |
A D | inotify_user.c | 253 struct fsnotify_group *group; in inotify_read() local 260 group = file->private_data; in inotify_read() 309 fsnotify_destroy_group(group); in inotify_release() 317 struct fsnotify_group *group; in inotify_ioctl() local 323 group = file->private_data; in inotify_ioctl() 643 fsnotify_group_lock(group); in inotify_update_watch() 661 if (IS_ERR(group)) in inotify_new_group() 662 return group; in inotify_new_group() 690 return group; in inotify_new_group() 709 if (IS_ERR(group)) in do_inotify_init() [all …]
|
A D | inotify_fsnotify.c | 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 88 old_memcg = set_active_memcg(group->memcg); in inotify_handle_inode_event() 97 fsnotify_queue_overflow(group); 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() 133 inotify_ignored_and_remove_idr(fsn_mark, group); in inotify_freeing_mark() 167 fsn_mark->group, i_mark->wd); in idr_callback() 174 idr_for_each(&group->inotify_data.idr, idr_callback, group); in inotify_free_group_priv() 175 idr_destroy(&group->inotify_data.idr); in inotify_free_group_priv() [all …]
|
/linux-6.3-rc2/fs/notify/fanotify/ |
A D | fanotify_user.c | 201 group, event, fanotify_event_hash_bucket(group, event)); in fanotify_unhash_event() 786 struct fsnotify_group *group; in fanotify_read() local 793 group = file->private_data; in fanotify_read() 871 struct fsnotify_group *group; in fanotify_write() local 879 group = file->private_data; in fanotify_write() 957 struct fsnotify_group *group; in fanotify_ioctl() local 963 group = file->private_data; in fanotify_ioctl() 1082 fsnotify_group_lock(group); in fanotify_remove_mark() 1283 fsnotify_group_lock(group); in fanotify_add_mark() 1472 if (IS_ERR(group)) { in SYSCALL_DEFINE2() [all …]
|
/linux-6.3-rc2/fs/ext2/ |
A D | ialloc.c | 206 for (group = 0; group < ngroups; group++) { in find_group_dir() 359 return group; in find_group_orlov() 367 int group, i; in find_group_other() local 387 group = (group + parent->i_ino) % ngroups; in find_group_other() 394 group += i; in find_group_other() 410 group = 0; in find_group_other() 419 return group; in find_group_other() 428 int group, i; in ext2_new_inode() local 462 group = 0; in ext2_new_inode() 486 group = 0; in ext2_new_inode() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | qos.c | 121 if (!group_level && !max_guarantee && group && group->bw_share) in esw_qos_calculate_min_rate_divider() 302 vport->qos.group != group || vport->qos.max_rate) in esw_qos_set_group_max_rate() 319 struct mlx5_esw_rate_group *group = vport->qos.group; in esw_qos_vport_create_sched_element() local 426 group = kzalloc(sizeof(*group), GFP_KERNEL); in __esw_qos_create_rate_group() 427 if (!group) in __esw_qos_create_rate_group() 453 return group; in __esw_qos_create_rate_group() 462 kfree(group); in __esw_qos_create_rate_group() 486 return group; in esw_qos_create_rate_group() 511 kfree(group); in __esw_qos_destroy_rate_group() 671 WARN(vport->qos.group && vport->qos.group != esw->qos.group0, in mlx5_esw_qos_vport_disable() [all …]
|
/linux-6.3-rc2/drivers/pinctrl/aspeed/ |
A D | pinmux-aspeed.h | 513 #define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group argument 518 #define SIG_EXPR_SYM(sig, group) sig_expr_ ## sig ## _ ## group argument 547 SIG_EXPR_DECL_(sig, group, func) 555 #define SIG_EXPR_PTR(sig, group) (&SIG_EXPR_SYM(sig, group)) argument 557 #define SIG_EXPR_LIST_SYM(sig, group) sig_exprs_ ## sig ## _ ## group argument 630 SIG_EXPR_DECL_(sig, group, func); \ 631 SIG_EXPR_LIST_DECL(sig, group, SIG_EXPR_PTR(sig, group)); \ 650 #define SIG_EXPR_LIST_PTR(sig, group) SIG_EXPR_LIST_SYM(sig, group) argument 741 #define GROUP_SYM(group) group_pins_ ## group argument 742 #define GROUP_DECL(group, ...) \ argument [all …]
|
/linux-6.3-rc2/drivers/media/platform/renesas/rcar-vin/ |
A D | rcar-core.c | 80 group->count = 0; in rvin_group_init() 83 group->count++; in rvin_group_init() 114 kfree(group); in rvin_group_release() 147 group = kzalloc(sizeof(*group), GFP_KERNEL); in rvin_group_get() 148 if (!group) { in rvin_group_get() 155 kfree(group); in rvin_group_get() 169 if (group->vin[id]) { in rvin_group_get() 176 group->vin[id] = vin; in rvin_group_get() 179 vin->group = group; in rvin_group_get() 192 struct rvin_group *group = vin->group; in rvin_group_put() local [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | fsnotify_backend.h | 266 mutex_lock(&group->mark_mutex); in fsnotify_group_lock() 267 if (group->flags & FSNOTIFY_GROUP_NOFS) in fsnotify_group_lock() 268 group->owner_flags = memalloc_nofs_save(); in fsnotify_group_lock() 273 if (group->flags & FSNOTIFY_GROUP_NOFS) in fsnotify_group_unlock() 275 mutex_unlock(&group->mark_mutex); in fsnotify_group_unlock() 281 if (group->flags & FSNOTIFY_GROUP_NOFS) in fsnotify_group_assert_locked() 510 struct fsnotify_group *group; member 633 fsnotify_add_event(group, group->overflow_event, NULL); in fsnotify_queue_overflow() 759 struct fsnotify_group *group); 762 struct fsnotify_group *group); [all …]
|
/linux-6.3-rc2/net/psample/ |
A D | psample.c | 145 group = kzalloc(sizeof(*group), GFP_ATOMIC); in psample_group_create() 146 if (!group) in psample_group_create() 149 group->net = net; in psample_group_create() 154 return group; in psample_group_create() 170 if ((group->group_num == group_num) && (group->net == net)) in psample_group_lookup() 171 return group; in psample_group_lookup() 182 if (!group) { in psample_group_get() 184 if (!group) in psample_group_get() 187 group->refcount++; in psample_group_get() 191 return group; in psample_group_get() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/pinctrl/ |
A D | marvell,armada-37xx-pinctrl.txt | 32 group: jtag 36 group sdio0 44 group pwm0 48 group pwm1 52 group pwm2 56 group pwm3 60 group pmic1 68 group i2c2 72 group i2c1 134 group smi [all …]
|
/linux-6.3-rc2/Documentation/filesystems/ext4/ |
A D | blockgroup.rst | 6 The layout of a standard block group is approximately as follows (each 37 The ext4 driver primarily works with the superblock and the group 54 As for the ordering of items in a block group, it is generally 73 space in group 0 is for file data. The effect of this is to group the 85 128MiB(2^27 bytes) block group size and 64-byte group descriptors, ext4 92 groups. Each metablock group is a cluster of block groups whose group 97 first block group of the whole filesystem into the first group of each 98 metablock group itself. The backups are in the second and last group of 106 groups in a meta-block group. A meta-block group is a collection of 114 block group using this new layout. [all …]
|