Searched refs:holder (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | block_dev.c | 479 int bd_claim(struct block_device *bdev, void *holder) in bd_claim() argument 485 if (bdev->bd_holder == holder) in bd_claim() 508 bdev->bd_holder = holder; in bd_claim() 753 static int bd_claim_by_kobject(struct block_device *bdev, void *holder, in bd_claim_by_kobject() argument 768 err = bd_claim(bdev, holder); in bd_claim_by_kobject() 816 int bd_claim_by_disk(struct block_device *bdev, void *holder, in bd_claim_by_disk() argument 819 return bd_claim_by_kobject(bdev, holder, kobject_get(disk->slave_dir)); in bd_claim_by_disk() 1346 struct block_device *open_bdev_exclusive(const char *path, fmode_t mode, void *holder) in open_bdev_exclusive() argument 1361 error = bd_claim(bdev, holder); in open_bdev_exclusive()
|
/fs/btrfs/ |
D | volumes.h | 139 fmode_t flags, void *holder); 140 int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder,
|
D | super.c | 240 void *holder, char **subvol_name, in btrfs_parse_early_options() argument 270 flags, holder, fs_devices); in btrfs_parse_early_options()
|
D | volumes.c | 435 fmode_t flags, void *holder) in __btrfs_open_devices() argument 455 bdev = open_bdev_exclusive(device->name, flags, holder); in __btrfs_open_devices() 523 fmode_t flags, void *holder) in btrfs_open_devices() argument 532 ret = __btrfs_open_devices(fs_devices, flags, holder); in btrfs_open_devices() 538 int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder, in btrfs_scan_one_device() argument 550 bdev = open_bdev_exclusive(path, flags, holder); in btrfs_scan_one_device()
|