| /linux/drivers/infiniband/hw/mlx4/ |
| H A 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/fs/notify/ |
| H A D | group.c | 20 * 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 …]
|
| H A D | notification.c | 7 * 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 50 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() argument 53 /* Overflow events are per-group and we don't want to free them */ in fsnotify_destroy_event() 54 if (!event || event == group->overflow_event) in fsnotify_destroy_event() 63 spin_lock(&group->notification_lock); in fsnotify_destroy_event() 65 spin_unlock(&group->notification_lock); in fsnotify_destroy_event() 67 group->ops->free_event(group, event); in fsnotify_destroy_event() [all …]
|
| /linux/drivers/pinctrl/meson/ |
| H A D | pinctrl-amlogic-c3.c | 436 GROUP(pwm_a, 1), 437 GROUP(pwm_b, 1), 438 GROUP(i2c2_sda, 1), 439 GROUP(i2c2_scl, 1), 440 GROUP(gen_clk_e, 1), 443 GROUP(i2c0_sda_e, 2), 444 GROUP(i2c0_scl_e, 2), 445 GROUP(clk_32k_in, 2), 448 GROUP(i2c_slave_scl, 3), 449 GROUP(i2c_slave_sda, 3), [all …]
|
| H A D | pinctrl-meson-s4.c | 506 GROUP(i2c0_sda, 1), 507 GROUP(i2c0_scl, 1), 510 GROUP(uart_b_tx_e, 2), 511 GROUP(uart_b_rx_e, 2), 514 GROUP(pwm_h, 3), 515 GROUP(pwm_j, 3), 518 GROUP(emmc_nand_d0, 1), 519 GROUP(emmc_nand_d1, 1), 520 GROUP(emmc_nand_d2, 1), 521 GROUP(emmc_nand_d3, 1), [all …]
|
| H A D | pinctrl-amlogic-t7.c | 708 GROUP(emmc_nand_d0, 1), 709 GROUP(emmc_nand_d1, 1), 710 GROUP(emmc_nand_d2, 1), 711 GROUP(emmc_nand_d3, 1), 712 GROUP(emmc_nand_d4, 1), 713 GROUP(emmc_nand_d5, 1), 714 GROUP(emmc_nand_d6, 1), 715 GROUP(emmc_nand_d7, 1), 716 GROUP(emmc_clk, 1), 717 GROUP(emmc_cmd, 1), [all …]
|
| H A D | pinctrl-meson-axg.c | 448 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 …]
|
| H A D | pinctrl-meson-a1.c | 407 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 …]
|
| H A D | pinctrl-meson8.c | 531 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 …]
|
| H A D | pinctrl-meson8b.c | 444 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 …]
|
| H A D | pinctrl-meson-gxbb.c | 440 GROUP(sdio_d0, 8, 5), 441 GROUP(sdio_d1, 8, 4), 442 GROUP(sdio_d2, 8, 3), 443 GROUP(sdio_d3, 8, 2), 444 GROUP(sdio_cmd, 8, 1), 445 GROUP(sdio_clk, 8, 0), 446 GROUP(sdio_irq, 8, 11), 447 GROUP(uart_tx_a, 4, 13), 448 GROUP(uart_rx_a, 4, 12), 449 GROUP(uart_cts_a, 4, 11), [all …]
|
| /linux/drivers/infiniband/core/ |
| H A 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 …]
|
| /linux/arch/sparc/kernel/ |
| H A 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/drivers/gpu/drm/panthor/ |
| H A D | panthor_sched.c | 45 * The scheduling happens at the scheduling group level, each group 54 * rotating the groups passed to the firmware so every group gets 70 * queue ring-buffer, and the group is scheduled for execution if it 73 * Kernel-side group scheduling is timeslice-based. When we have less 76 * groups than slots, we let each group a chance to execute stuff for 78 * to schedule. The group selection algorithm is based on 83 * group/queue state that would be based on information we wouldn't have 85 * reason we don't do 'cooperative' scheduling (encoding FW group slot 87 * drm_gpu_scheduler::prepare_job() hook, and treating group rotatio 109 struct panthor_group *group; global() member 732 group_queue_work(group,wname) global() argument 802 struct panthor_group *group; global() member 867 panthor_queue_get_syncwait_obj(struct panthor_group * group,struct panthor_queue * queue) panthor_queue_get_syncwait_obj() argument 913 group_free_queue(struct panthor_group * group,struct panthor_queue * queue) group_free_queue() argument 943 struct panthor_group *group = container_of(work, group_release_work() local 964 struct panthor_group *group = container_of(kref, group_release() local 976 group_put(struct panthor_group * group) group_put() argument 983 group_get(struct panthor_group * group) group_get() argument 999 group_bind_locked(struct panthor_group * group,u32 csg_id) group_bind_locked() argument 1041 group_unbind_locked(struct panthor_group * group) group_unbind_locked() argument 1073 group_is_idle(struct panthor_group * group) group_is_idle() argument 1081 group_can_run(struct panthor_group * group) group_can_run() argument 1112 struct panthor_group *group; queue_suspend_timeout_locked() local 1228 struct panthor_group *group = ptdev->scheduler->csg_slots[csg_id].group; cs_slot_reset_locked() local 1276 struct panthor_group *group = ptdev->scheduler->csg_slots[csg_id].group; cs_slot_sync_queue_state_locked() local 1328 struct panthor_group *group = csg_slot->group; csg_slot_sync_queues_state_locked() local 1347 struct panthor_group *group; csg_slot_sync_state_locked() local 1420 struct panthor_group *group; csg_slot_prog_locked() local 1480 struct panthor_group *group = csg_slot->group; cs_slot_process_fatal_event_locked() local 1526 struct panthor_group *group = csg_slot->group; cs_slot_process_fault_event_locked() local 1572 group_process_tiler_oom(struct panthor_group * group,u32 cs_id) group_process_tiler_oom() argument 1663 struct panthor_group *group = group_tiler_oom_work() local 1683 struct panthor_group *group = csg_slot->group; cs_slot_process_tiler_oom_event_locked() local 1749 struct panthor_group *group = csg_slot->group; csg_slot_sync_update_locked() local 1764 struct panthor_group *group = csg_slot->group; csg_slot_process_progress_timer_event_locked() local 2035 struct panthor_group *group, *tmp; tick_ctx_pick_groups_from_list() local 2083 tick_ctx_insert_old_group(struct panthor_scheduler * sched,struct panthor_sched_tick_ctx * ctx,struct panthor_group * group) tick_ctx_insert_old_group() argument 2126 struct panthor_group *group = csg_slot->group; tick_ctx_init() local 2160 group_term_post_processing(struct panthor_group * group) group_term_post_processing() argument 2210 struct panthor_group *group = group_term_work() local 2222 struct panthor_group *group, *tmp; tick_ctx_cleanup() local 2273 struct panthor_group *group, *tmp; tick_ctx_apply() local 2585 panthor_queue_eval_syncwait(struct panthor_group * group,u8 queue_idx) panthor_queue_eval_syncwait() argument 2619 struct panthor_group *group, *tmp; sync_upd_work() local 2687 group_schedule_locked(struct panthor_group * group,u32 queue_mask) group_schedule_locked() argument 2759 panthor_group_stop(struct panthor_group * group) panthor_group_stop() argument 2772 panthor_group_start(struct panthor_group * group) panthor_group_start() argument 2883 struct panthor_group *group = csg_slot->group; panthor_sched_suspend() local 2929 struct panthor_group *group = csg_slot->group; panthor_sched_suspend() local 2961 struct panthor_group *group, *group_tmp; panthor_sched_pre_reset() local 2994 struct panthor_group *group, *group_tmp; panthor_sched_post_reset() local 3023 struct panthor_group *group = job->group; update_fdinfo_stats() local 3040 struct panthor_group *group; panthor_fdinfo_gather_group_samples() local 3068 struct panthor_group *group = job->group; queue_check_job_completion() local 3112 struct panthor_group *group = group_sync_upd_work() local 3186 struct panthor_group *group = job->group; get_job_cs_params() local 3315 struct panthor_group *group = job->group; queue_run_job() local 3416 struct panthor_group *group = job->group; queue_timedout_job() local 3497 group_create_queue(struct panthor_group * group,const struct drm_panthor_queue_create * args,u64 drm_client_id,u32 gid,u32 qid) group_create_queue() argument 3615 group_init_task_info(struct panthor_group * group) group_init_task_info() argument 3624 add_group_kbo_sizes(struct panthor_device * ptdev,struct panthor_group * group) add_group_kbo_sizes() argument 3657 struct panthor_group *group = NULL; panthor_group_create() local 3794 struct panthor_group *group; panthor_group_destroy() local 3826 struct panthor_group *group; group_from_handle() local 3841 struct panthor_group *group; panthor_group_get_state() local 3883 struct panthor_group *group; panthor_group_pool_destroy() local 3909 struct panthor_group *group; panthor_fdinfo_gather_group_mem_info() local [all...] |
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | nexthop.sh | 158 $IP nexthop add id 10 group 1/2 159 nexthop_check "id 10" "id 10 group 1/2 trap" 160 check_err $? "Unexpected nexthop group entry" 169 $IP nexthop add id 10 group 1,20/2,39 170 nexthop_check "id 10" "id 10 group 1,20/2,39 trap" 171 check_err $? "Unexpected weighted nexthop group entry" 180 log_test "Nexthop group add and delete" 194 $IP nexthop add id 10 group 1/2 &> /dev/null 195 check_fail $? "Nexthop group addition succeeded when should fail" 200 log_test "Nexthop group add failure" [all …]
|
| /linux/drivers/pinctrl/aspeed/ |
| H A D | pinctrl-aspeed-g7-soc1.c | 595 unsigned int fselector, unsigned int group) in aspeed_g7_soc1_set_mux() argument 606 gd = pinctrl_generic_get_group(pctldev, group); in aspeed_g7_soc1_set_mux() 1186 #define GROUP(n) PINCTRL_PINGROUP(#n, n##_pins, ARRAY_SIZE(n##_pins)) macro 1189 GROUP(ADC0), 1190 GROUP(ADC1), 1191 GROUP(ADC10), 1192 GROUP(ADC11), 1193 GROUP(ADC12), 1194 GROUP(ADC13), 1195 GROUP(ADC14), [all …]
|
| /linux/fs/notify/inotify/ |
| H A D | inotify_user.c | 141 struct fsnotify_group *group = file->private_data; in inotify_poll() local 144 poll_wait(file, &group->notification_waitq, wait); in inotify_poll() 145 spin_lock(&group->notification_lock); in inotify_poll() 146 if (!fsnotify_notify_queue_is_empty(group)) in inotify_poll() 148 spin_unlock(&group->notification_lock); in inotify_poll() 168 * Called with the group->notification_lock held. 170 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument 176 event = fsnotify_peek_first_event(group); in get_one_event() 180 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in get_one_event() 188 fsnotify_remove_first_event(group); in get_one_event() [all …]
|
| /linux/drivers/clk/renesas/ |
| H A D | clk-mstp.c | 32 * struct mstp_clock_group - MSTP gating clocks group 34 * @data: clock specifier translation for clocks in this group 39 * @clks: clocks in this group 54 * @group: MSTP clocks group 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 [all …]
|
| /linux/drivers/gpio/ |
| H A 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 …]
|
| H A D | gpio-104-dio-48e.c | 195 "PPI Group 0 Port A 0", "PPI Group 0 Port A 1", "PPI Group 0 Port A 2", 196 "PPI Group 0 Port A 3", "PPI Group 0 Port A 4", "PPI Group 0 Port A 5", 197 "PPI Group 0 Port A 6", "PPI Group 0 Port A 7", "PPI Group 0 Port B 0", 198 "PPI Group 0 Port B 1", "PPI Group 0 Port B 2", "PPI Group 0 Port B 3", 199 "PPI Group 0 Port B 4", "PPI Group 0 Port B 5", "PPI Group 0 Port B 6", 200 "PPI Group 0 Port B 7", "PPI Group 0 Port C 0", "PPI Group 0 Port C 1", 201 "PPI Group 0 Port C 2", "PPI Group 0 Port C 3", "PPI Group 0 Port C 4", 202 "PPI Group 0 Port C 5", "PPI Group 0 Port C 6", "PPI Group 0 Port C 7", 203 "PPI Group 1 Port A 0", "PPI Group 1 Port A 1", "PPI Group 1 Port A 2", 204 "PPI Group 1 Port A 3", "PPI Group 1 Port A 4", "PPI Group 1 Port A 5", [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | fib_nexthops.sh | 351 run_cmd "$IP nexthop add id $grpidstr group $grpstr" 352 check_nexthop "id $grpidstr" "id $grpidstr group $grpstr" 373 # create a resilient group with $buckets buckets and dump them 375 run_cmd "$IP nexthop add id 1000 group 100 type resilient buckets $buckets" 450 echo "SKIP: iproute2 too old, missing resilient nexthop group support" 468 # create group with multiple nexthops 471 run_cmd "$IP nexthop add id 102 group 61/62 fdb" 472 check_nexthop "id 102" "id 102 group 61/62 fdb" 473 log_test $? 0 "Fdb Nexthop group with multiple nexthops" 475 ## get nexthop group [all …]
|
| /linux/drivers/media/platform/renesas/rcar-vin/ |
| H A D | rcar-core.c | 46 * Gen3 Group Allocator 50 * than one group for the whole system be replaced with a linked 55 * be only one group for all instances. 62 static void rvin_group_cleanup(struct rvin_group *group) in rvin_group_cleanup() argument 64 media_device_cleanup(&group->mdev); in rvin_group_cleanup() 65 mutex_destroy(&group->lock); in rvin_group_cleanup() 68 static int rvin_group_init(struct rvin_group *group, struct rvin_dev *vin, in rvin_group_init() argument 72 struct media_device *mdev = &group->mdev; in rvin_group_init() 76 mutex_init(&group->lock); in rvin_group_init() 79 group->count = 0; in rvin_group_init() [all …]
|
| /linux/kernel/sched/ |
| H A D | psi.c | 205 static void group_init(struct psi_group *group) in group_init() argument 207 group->enabled = true; in group_init() 208 group->avg_last_update = sched_clock(); in group_init() 209 group->avg_next_update = group->avg_last_update + psi_period; in group_init() 210 mutex_init(&group->avgs_lock); in group_init() 213 INIT_LIST_HEAD(&group->avg_triggers); in group_init() 214 memset(group->avg_nr_triggers, 0, sizeof(group->avg_nr_triggers)); in group_init() 215 INIT_DELAYED_WORK(&group->avgs_work, psi_avgs_work); in group_init() 218 atomic_set(&group->rtpoll_scheduled, 0); in group_init() 219 mutex_init(&group->rtpoll_trigger_lock); in group_init() [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | group_descr.rst | 3 Block Group Descriptors 6 Each block group on the filesystem has one of these descriptors 7 associated with it. As noted in the Layout section above, the group 8 descriptors (if present) are the second item in the block group. The 9 standard configuration is for each block group to contain a full copy of 10 the block group descriptor table unless the sparse_super feature flag 13 Notice how the group descriptor records the location of both bitmaps and 15 group, the only data structures with fixed locations are the superblock 16 and the group descriptor table. The flex_bg mechanism uses this 17 property to group several block groups into a flex group and lay out all [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | lag_conf.c | 6 /* LAG group config flags. */ 33 * @group_id: Group ID applicable 34 * @group_inst: Group instance number - increment when group is reused 35 * @members: Array of 32-bit words listing all active group members 49 * struct nfp_fl_lag_group - list entry for each LAG group 50 * @group_id: Assigned group ID for host/kernel sync 51 * @group_inst: Group instance in case of ID reuse 53 * @master_ndev: Group master Netdev 54 * @dirty: Marked if the group needs synced to HW 55 * @offloaded: Marked if the group is currently offloaded to NIC [all …]
|