| /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/drivers/iommu/ |
| H A D | iommu.c | 50 /* Tags used with xa_tag_pointer() in group->pasid_array */ 66 * During a group device reset, @resetting_domain points to the physical 83 #define for_each_group_device(group, pos) \ argument 84 list_for_each_entry(pos, &(group)->devices, list) 88 ssize_t (*show)(struct iommu_group *group, char *buf); 89 ssize_t (*store)(struct iommu_group *group, 111 struct iommu_group *group); 120 static int __iommu_device_set_domain(struct iommu_group *group, 125 static int __iommu_group_set_domain_internal(struct iommu_group *group, 128 static int __iommu_group_set_domain(struct iommu_group *group, in __iommu_group_set_domain() argument [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/drivers/gpu/drm/panthor/ |
| H A D | panthor_sched.c | 44 * The scheduling happens at the scheduling group level, each group 53 * rotating the groups passed to the firmware so every group gets 69 * queue ring-buffer, and the group is scheduled for execution if it 72 * Kernel-side group scheduling is timeslice-based. When we have less 75 * groups than slots, we let each group a chance to execute stuff for 77 * to schedule. The group selection algorithm is based on 82 * group/queue state that would be based on information we wouldn't have 84 * reason we don't do 'cooperative' scheduling (encoding FW group slot 86 * drm_gpu_scheduler::prepare_job() hook, and treating group rotation as 102 * struct panthor_csg_slot - Command stream group slot [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/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/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/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/tools/testing/selftests/net/ |
| H A D | fib_nexthops.sh | 349 run_cmd "$IP nexthop add id $grpidstr group $grpstr" 350 check_nexthop "id $grpidstr" "id $grpidstr group $grpstr" 371 # create a resilient group with $buckets buckets and dump them 373 run_cmd "$IP nexthop add id 1000 group 100 type resilient buckets $buckets" 439 echo "SKIP: iproute2 too old, missing resilient nexthop group support" 457 # create group with multiple nexthops 460 run_cmd "$IP nexthop add id 102 group 61/62 fdb" 461 check_nexthop "id 102" "id 102 group 61/62 fdb" 462 log_test $? 0 "Fdb Nexthop group with multiple nexthops" 464 ## get nexthop group [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/kernel/time/ |
| H A D | timer_migration.c | 23 * lowest level group contains CPUs, the next level groups of CPU groups 44 * Each group has a designated migrator CPU/group as long as a CPU/group is 45 * active in the group. This designated role is necessary to avoid that all 46 * active CPUs in a group try to migrate expired timers from other CPUs, 49 * When a CPU is awake, it checks in it's own timer tick the group 54 * If it finds expired timers in one of the group queues it pulls them over 56 * group and the parent groups if required. 61 * CPU does not queue an event in the LVL0 group. If the next migratable 63 * in the LVL0 group. In both cases the CPU marks itself idle in the LVL0 64 * group. [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/fs/ext4/ |
| H A D | resize.c | 108 ext4_group_t group) { in ext4_group_overhead_blocks() argument 110 overhead = ext4_bg_num_gdb(sb, group); in ext4_group_overhead_blocks() 111 if (ext4_bg_has_super(sb, group)) in ext4_group_overhead_blocks() 127 ext4_group_t group = input->group; in verify_group_input() local 135 if (group != sbi->s_groups_count) { in verify_group_input() 136 ext4_warning(sb, "Cannot add at group %u (only %u groups)", in verify_group_input() 137 input->group, sbi->s_groups_count); in verify_group_input() 141 overhead = ext4_group_overhead_blocks(sb, group); in verify_group_input() 148 printk(KERN_DEBUG "EXT4-fs: adding %s group %u: %u blocks " in verify_group_input() 150 ext4_bg_has_super(sb, input->group) ? "normal" : in verify_group_input() [all …]
|