D | btrfs-util.c | 423 #define FOREACH_BTRFS_IOCTL_SEARCH_HEADER(i, sh, args) \ argument 425 (sh) = (const struct btrfs_ioctl_search_header*) (args).buf; \ 428 …(sh) = (const struct btrfs_ioctl_search_header*) ((uint8_t*) (sh) + sizeof(struct btrfs_ioctl_sear… 430 #define BTRFS_IOCTL_SEARCH_HEADER_BODY(sh) \ argument 431 ((void*) ((uint8_t*) sh + sizeof(struct btrfs_ioctl_search_header))) 471 const struct btrfs_ioctl_search_header *sh; in btrfs_subvol_get_info_fd() local 481 FOREACH_BTRFS_IOCTL_SEARCH_HEADER(i, sh, args) { in btrfs_subvol_get_info_fd() 486 btrfs_ioctl_search_args_set(&args, sh); in btrfs_subvol_get_info_fd() 488 if (sh->objectid != subvol_id) in btrfs_subvol_get_info_fd() 490 if (sh->type != BTRFS_ROOT_ITEM_KEY) in btrfs_subvol_get_info_fd() [all …]
|