/Linux-v5.4/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-v5.4/fs/notify/ |
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() 29 kfree(group); in fsnotify_final_destroy_group() 33 * Stop queueing new events for this group. Once this function returns 34 * fsnotify_add_event() will not add any new events to the group's queue. 36 void fsnotify_group_stop_queueing(struct fsnotify_group *group) in fsnotify_group_stop_queueing() argument 38 spin_lock(&group->notification_lock); in fsnotify_group_stop_queueing() [all …]
|
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 51 bool fsnotify_notify_queue_is_empty(struct fsnotify_group *group) in fsnotify_notify_queue_is_empty() argument 53 assert_spin_locked(&group->notification_lock); in fsnotify_notify_queue_is_empty() 54 return list_empty(&group->notification_list) ? true : false; in fsnotify_notify_queue_is_empty() 57 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() argument 60 /* Overflow events are per-group and we don't want to free them */ in fsnotify_destroy_event() 61 if (!event || event == group->overflow_event) in fsnotify_destroy_event() [all …]
|
/Linux-v5.4/drivers/pinctrl/meson/ |
D | pinctrl-meson-g12a.c | 524 GROUP(emmc_nand_d0, 1), 525 GROUP(emmc_nand_d1, 1), 526 GROUP(emmc_nand_d2, 1), 527 GROUP(emmc_nand_d3, 1), 528 GROUP(emmc_nand_d4, 1), 529 GROUP(emmc_nand_d5, 1), 530 GROUP(emmc_nand_d6, 1), 531 GROUP(emmc_nand_d7, 1), 532 GROUP(emmc_clk, 1), 533 GROUP(emmc_cmd, 1), [all …]
|
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 …]
|
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 …]
|
D | pinctrl-meson8b.c | 442 GROUP(sd_d0_a, 8, 5), 443 GROUP(sd_d1_a, 8, 4), 444 GROUP(sd_d2_a, 8, 3), 445 GROUP(sd_d3_a, 8, 2), 446 GROUP(sdxc_d0_0_a, 5, 29), 447 GROUP(sdxc_d47_a, 5, 12), 448 GROUP(sdxc_d13_0_a, 5, 28), 449 GROUP(sd_clk_a, 8, 1), 450 GROUP(sd_cmd_a, 8, 0), 451 GROUP(xtal_32k_out, 3, 22), [all …]
|
D | pinctrl-meson-gxl.c | 403 GROUP(sdio_d0, 5, 31), 404 GROUP(sdio_d1, 5, 30), 405 GROUP(sdio_d2, 5, 29), 406 GROUP(sdio_d3, 5, 28), 407 GROUP(sdio_clk, 5, 27), 408 GROUP(sdio_cmd, 5, 26), 409 GROUP(sdio_irq, 5, 24), 410 GROUP(uart_tx_a, 5, 19), 411 GROUP(uart_rx_a, 5, 18), 412 GROUP(uart_cts_a, 5, 17), [all …]
|
D | pinctrl-meson-gxbb.c | 426 GROUP(sdio_d0, 8, 5), 427 GROUP(sdio_d1, 8, 4), 428 GROUP(sdio_d2, 8, 3), 429 GROUP(sdio_d3, 8, 2), 430 GROUP(sdio_cmd, 8, 1), 431 GROUP(sdio_clk, 8, 0), 432 GROUP(sdio_irq, 8, 11), 433 GROUP(uart_tx_a, 4, 13), 434 GROUP(uart_rx_a, 4, 12), 435 GROUP(uart_cts_a, 4, 11), [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/vfio/ |
D | vfio.c | 96 struct vfio_group *group; member 114 * removes the device from the dummy group and cannot be nested. 118 struct iommu_group *group; in vfio_iommu_group_get() local 121 group = iommu_group_get(dev); in vfio_iommu_group_get() 125 * With noiommu enabled, an IOMMU group will be created for a device in vfio_iommu_group_get() 130 if (group || !noiommu || iommu_present(dev->bus)) in vfio_iommu_group_get() 131 return group; in vfio_iommu_group_get() 133 group = iommu_group_alloc(); in vfio_iommu_group_get() 134 if (IS_ERR(group)) in vfio_iommu_group_get() 137 iommu_group_set_name(group, "vfio-noiommu"); in vfio_iommu_group_get() [all …]
|
/Linux-v5.4/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-v5.4/drivers/iommu/ |
D | iommu.c | 56 ssize_t (*show)(struct iommu_group *group, char *buf); 57 ssize_t (*store)(struct iommu_group *group, 208 struct iommu_group *group); 210 struct iommu_group *group); 240 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show() local 244 ret = attr->show(group, buf); in iommu_group_attr_show() 253 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store() local 257 ret = attr->store(group, buf, count); in iommu_group_attr_store() 266 static int iommu_group_create_file(struct iommu_group *group, in iommu_group_create_file() argument 269 return sysfs_create_file(&group->kobj, &attr->attr); in iommu_group_create_file() [all …]
|
/Linux-v5.4/Documentation/filesystems/ext4/ |
D | blockgroup.rst | 6 The layout of a standard block group is approximately as follows (each 13 * - Group 0 Padding 15 - Group Descriptors 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 [all …]
|
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-v5.4/fs/notify/fanotify/ |
D | fanotify_user.c | 70 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument 76 pr_debug("%s: group=%p count=%zd\n", __func__, group, count); in get_one_event() 78 spin_lock(&group->notification_lock); in get_one_event() 79 if (fsnotify_notify_queue_is_empty(group)) in get_one_event() 82 if (FAN_GROUP_FLAG(group, FAN_REPORT_FID)) { in get_one_event() 84 FANOTIFY_E(fsnotify_peek_first_event(group))); in get_one_event() 91 fsn_event = fsnotify_remove_first_event(group); in get_one_event() 95 spin_unlock(&group->notification_lock); in get_one_event() 99 static int create_fd(struct fsnotify_group *group, in create_fd() argument 106 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in create_fd() [all …]
|
/Linux-v5.4/fs/notify/inotify/ |
D | inotify_user.c | 103 struct fsnotify_group *group = file->private_data; in inotify_poll() local 106 poll_wait(file, &group->notification_waitq, wait); in inotify_poll() 107 spin_lock(&group->notification_lock); in inotify_poll() 108 if (!fsnotify_notify_queue_is_empty(group)) in inotify_poll() 110 spin_unlock(&group->notification_lock); in inotify_poll() 130 * Called with the group->notification_lock held. 132 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument 138 if (fsnotify_notify_queue_is_empty(group)) in get_one_event() 141 event = fsnotify_peek_first_event(group); in get_one_event() 143 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in get_one_event() [all …]
|
/Linux-v5.4/drivers/clk/renesas/ |
D | clk-mstp.c | 31 * struct mstp_clock_group - MSTP gating clocks group 33 * @data: clock specifier translation for clocks in this group 38 * @clks: clocks in this group 53 * @group: MSTP clocks group 58 struct mstp_clock_group *group; member 63 static inline u32 cpg_mstp_read(struct mstp_clock_group *group, in cpg_mstp_read() argument 66 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read() 69 static inline void cpg_mstp_write(struct mstp_clock_group *group, u32 val, in cpg_mstp_write() argument 72 group->width_8bit ? writeb(val, reg) : writel(val, reg); in cpg_mstp_write() 78 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local [all …]
|
/Linux-v5.4/net/psample/ |
D | psample.c | 37 struct psample_group *group, in psample_group_nl_fill() argument 48 ret = nla_put_u32(msg, PSAMPLE_ATTR_SAMPLE_GROUP, group->group_num); in psample_group_nl_fill() 52 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_REFCOUNT, group->refcount); in psample_group_nl_fill() 56 ret = nla_put_u32(msg, PSAMPLE_ATTR_GROUP_SEQ, group->seq); in psample_group_nl_fill() 71 struct psample_group *group; in psample_nl_cmd_get_group_dumpit() local 77 list_for_each_entry(group, &psample_groups_list, list) { in psample_nl_cmd_get_group_dumpit() 78 if (!net_eq(group->net, sock_net(msg->sk))) in psample_nl_cmd_get_group_dumpit() 84 err = psample_group_nl_fill(msg, group, PSAMPLE_CMD_NEW_GROUP, in psample_nl_cmd_get_group_dumpit() 118 static void psample_group_notify(struct psample_group *group, in psample_group_notify() argument 128 err = psample_group_nl_fill(msg, group, cmd, 0, 0, NLM_F_MULTI); in psample_group_notify() [all …]
|
/Linux-v5.4/drivers/gpio/ |
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 …]
|
/Linux-v5.4/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-v5.4/tools/testing/selftests/net/ |
D | fib_nexthops.sh | 319 # basic functionality: create a nexthop group, default weight 321 run_cmd "$IP nexthop add id 101 group 61" 322 log_test $? 0 "Create nexthop group with single nexthop" 324 # get nexthop group 326 log_test $? 0 "Get nexthop group by id" 327 check_nexthop "id 101" "id 101 group 61" 329 # delete nexthop group 331 log_test $? 0 "Delete nexthop group by id" 338 # create group with multiple nexthops - mix of gw and dev only 344 run_cmd "$IP nexthop add id 102 group 62/63/64/65" [all …]
|
/Linux-v5.4/fs/ext2/ |
D | ialloc.c | 31 * blocks groups. Each group contains 1 bitmap block for blocks, 1 bitmap 34 * The file system contains group descriptors which are located after the 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() 184 * Figure out the offset within the block group inode table in ext2_preread_inode() 195 * a directory, then a forward search is made for a block group with both 197 * the groups with above-average free space, that group with the fewest [all …]
|
/Linux-v5.4/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-v5.4/tools/testing/selftests/tc-testing/tc-tests/actions/ |
D | sample.json | 17 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2", 20 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref", 41 "cmdUnderTest": "$TC actions add action sample rate 700 group 2 continue index 2", 44 "matchPattern": "action order [0-9]+: sample rate 1/700 group 2 continue.*index 2 ref", 65 "cmdUnderTest": "$TC actions add action sample rate 10000 group 11 drop index 22", 68 "matchPattern": "action order [0-9]+: sample rate 1/10000 group 11 drop.*index 22 ref", 89 "cmdUnderTest": "$TC actions add action sample rate 20000 group 72 reclassify index 100", 92 … "matchPattern": "action order [0-9]+: sample rate 1/20000 group 72 reclassify.*index 100 ref", 113 "cmdUnderTest": "$TC actions add action sample rate 20 group 2 pipe index 100", 116 "matchPattern": "action order [0-9]+: sample rate 1/20 group 2 pipe.*index 100 ref", [all …]
|