/openbmc/linux/drivers/vfio/ |
H A D | group.c | 67 return group->container || group->iommufd; in vfio_group_has_iommu() 265 df->group = device->group; in vfio_device_open_file() 407 struct vfio_group *group = device->group; in vfio_device_block_group() local 425 struct vfio_group *group = device->group; in vfio_device_unblock_group() local 544 group = kzalloc(sizeof(*group), GFP_KERNEL); in vfio_group_alloc() 716 device->group = group; in vfio_device_set_group() 722 struct vfio_group *group = device->group; in vfio_device_remove_group() local 739 cdev_device_del(&group->cdev, &group->dev); in vfio_device_remove_group() 783 struct vfio_group *group = device->group; in vfio_device_group_use_iommu() local 800 struct vfio_group *group = device->group; in vfio_device_group_unuse_iommu() local [all …]
|
H 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 …]
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H 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 …]
|
/openbmc/linux/fs/notify/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/iommu/ |
H A D | iommu.c | 523 WARN_ON(group->default_domain && !group->domain); in __iommu_probe_device() 596 group->domain != group->default_domain); in __iommu_group_free_device() 634 if (group) in iommu_release_device() 896 group->iommu_data_release(group->iommu_data); in iommu_group_release() 929 group = kzalloc(sizeof(*group), GFP_KERNEL); in iommu_group_alloc() 2148 if (group->domain && group->domain != group->default_domain && in __iommu_attach_group() 2149 group->domain != group->blocking_domain) in __iommu_attach_group() 2337 group, gdev->dev, group->domain, in __iommu_group_set_domain_internal() 3062 if (WARN_ON(!group) || !group->default_domain) in iommu_group_store_type() 3119 if (group->domain == group->default_domain) in iommu_is_default_domain() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H 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 …]
|
/openbmc/linux/drivers/infiniband/core/ |
H 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 …]
|
/openbmc/linux/kernel/sched/ |
H A D | psi.c | 588 group->avg_next_update = update_averages(group, now); in psi_avgs_work() 606 memcpy(group->rtpoll_total, group->total[PSI_POLL], in init_rtpoll_triggers() 711 memcpy(group->rtpoll_total, group->total[PSI_POLL], in psi_rtpoll_work() 925 } while ((group = group->parent)); in psi_task_change() 951 } while ((group = group->parent)); in psi_task_switch() 989 } while ((group = group->parent)); in psi_task_switch() 999 for (; group; group = group->parent) in psi_task_switch() 1044 } while ((group = group->parent)); in psi_account_irqtime() 1258 group->avg_next_update = update_averages(group, now); in psi_show() 1341 t->group = group; in psi_trigger_create() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H 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 …]
|
/openbmc/phosphor-dbus-monitor/src/example/ |
H A D | test.yaml | 7 class: group 8 group: path 20 class: group 29 class: group 38 class: group 47 class: group 56 class: group 65 class: group 74 class: group 83 class: group [all …]
|
/openbmc/linux/drivers/gpio/ |
H 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 …]
|
/openbmc/phosphor-led-manager/test/ |
H A D | utest-led-json.cpp | 28 ASSERT_EQ(group.name, "heartbeat"); in TEST() 30 ASSERT_EQ(group.dutyOn, 50); in TEST() 31 ASSERT_EQ(group.period, 0); in TEST() 37 ASSERT_EQ(group.name, "power"); in TEST() 39 ASSERT_EQ(group.dutyOn, 50); in TEST() 40 ASSERT_EQ(group.period, 0); in TEST() 52 if (group.name == "front_id") in TEST() 55 ASSERT_EQ(group.dutyOn, 50); in TEST() 56 ASSERT_EQ(group.period, 1000); in TEST() 59 else if (group.name == "rear_id") in TEST() [all …]
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgroupgentest/ |
H A D | test.yaml | 3 - name: test path group 1 4 class: group 5 group: path 11 class: group 12 group: path 20 class: group 21 group: property 29 class: group 30 group: property 84 callback: group [all …]
|
/openbmc/linux/drivers/clk/renesas/ |
H A D | clk-mstp.c | 79 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local 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() 96 cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_endisable() 128 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_is_enabled() local 132 value = cpg_mstp_read(group, group->mstpsr); in cpg_mstp_clock_is_enabled() 134 value = cpg_mstp_read(group, group->smstpcr); in cpg_mstp_clock_is_enabled() 169 clock->group = group; in cpg_mstp_clock_register() 188 if (!group) in cpg_mstp_clocks_init() 200 kfree(group); in cpg_mstp_clocks_init() [all …]
|
/openbmc/linux/fs/notify/inotify/ |
H 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 …]
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/conditiongentest/ |
H A D | test.yaml | 3 - name: test path group 1 4 class: group 5 group: path 10 - name: test path group 2 11 class: group 12 group: path 20 class: group 21 group: property 29 class: group 30 group: property [all …]
|
/openbmc/qemu/hw/vfio/ |
H A D | container.c | 701 VFIOGroup *group; in vfio_get_group() local 718 group = g_malloc0(sizeof(*group)); in vfio_get_group() 751 return group; in vfio_get_group() 754 close(group->fd); in vfio_get_group() 757 g_free(group); in vfio_get_group() 764 if (!group || !QLIST_EMPTY(&group->device_list)) { in vfio_put_group() 775 close(group->fd); in vfio_put_group() 776 g_free(group); in vfio_put_group() 824 vbasedev->group = group; in vfio_get_device() 897 if (!group) { in vfio_attach_device() [all …]
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 201 group, event, fanotify_event_hash_bucket(group, event)); in fanotify_unhash_event() 791 struct fsnotify_group *group; in fanotify_read() local 798 group = file->private_data; in fanotify_read() 876 struct fsnotify_group *group; in fanotify_write() local 884 group = file->private_data; in fanotify_write() 962 struct fsnotify_group *group; in fanotify_ioctl() local 968 group = file->private_data; in fanotify_ioctl() 1087 fsnotify_group_lock(group); in fanotify_remove_mark() 1288 fsnotify_group_lock(group); in fanotify_add_mark() 1477 if (IS_ERR(group)) { in SYSCALL_DEFINE2() [all …]
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/propertywatchgentest/ |
H A D | watchtwo.yaml | 1 - name: test path group 1 2 class: group 3 group: path 8 - name: test path group 3 9 class: group 10 group: path 18 class: group 19 group: property 27 class: group 28 group: property [all …]
|
/openbmc/linux/fs/ext2/ |
H A D | ialloc.c | 206 for (group = 0; group < ngroups; group++) { in find_group_dir() 356 return group; in find_group_orlov() 364 int group, i; in find_group_other() local 384 group = (group + parent->i_ino) % ngroups; in find_group_other() 391 group += i; in find_group_other() 407 group = 0; in find_group_other() 416 return group; in find_group_other() 425 int group, i; in ext2_new_inode() local 459 group = 0; in ext2_new_inode() 483 group = 0; in ext2_new_inode() [all …]
|
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker-hmp-cmds.c | 248 if (group->has_vlan_id) { in hmp_rocker_of_dpa_groups() 252 if (group->has_pport) { in hmp_rocker_of_dpa_groups() 256 if (group->has_index) { in hmp_rocker_of_dpa_groups() 262 if (group->has_set_vlan_id && group->set_vlan_id) { in hmp_rocker_of_dpa_groups() 268 if (group->set_eth_src) { in hmp_rocker_of_dpa_groups() 276 if (group->set_eth_dst) { in hmp_rocker_of_dpa_groups() 283 if (group->has_ttl_check && group->ttl_check) { in hmp_rocker_of_dpa_groups() 287 if (group->has_group_id && group->group_id) { in hmp_rocker_of_dpa_groups() 291 if (group->has_pop_vlan && group->pop_vlan) { in hmp_rocker_of_dpa_groups() 295 if (group->has_out_pport) { in hmp_rocker_of_dpa_groups() [all …]
|
/openbmc/linux/drivers/pinctrl/aspeed/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H 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 …]
|
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/dbus/led-policy-mori/ |
H A D | led-config.yaml | 1 - name: OS state path group 2 class: group 3 group: path 9 class: group 10 group: path 16 class: group 17 group: property 25 class: group 26 group: property 73 callback: group [all …]
|