Home
last modified time | relevance | path

Searched refs:devt (Results 1 – 6 of 6) sorted by relevance

/fs/fuse/
A Dcuse.c80 return &cuse_conntbl[(MAJOR(devt) + MINOR(devt)) % CUSE_CONNTBL_LEN]; in cuse_conntbl_head()
116 dev_t devt = inode->i_cdev->dev; in cuse_open() local
123 if (pos->dev->devt == devt) { in cuse_open()
333 dev_t devt; in cuse_process_init_reply() local
352 devt = MKDEV(arg->dev_major, arg->dev_minor); in cuse_process_init_reply()
353 if (!MAJOR(devt)) in cuse_process_init_reply()
354 rc = alloc_chrdev_region(&devt, MINOR(devt), 1, devinfo.name); in cuse_process_init_reply()
371 dev->devt = devt; in cuse_process_init_reply()
398 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()
406 list_add(&cc->list, cuse_conntbl_head(devt)); in cuse_process_init_reply()
[all …]
/fs/
A Dchar_dev.c548 if (dev->devt) { in cdev_device_add()
551 rc = cdev_add(cdev, dev->devt, 1); in cdev_device_add()
557 if (rc && dev->devt) in cdev_device_add()
581 if (dev->devt) in cdev_device_del()
/fs/btrfs/
A Dvolumes.c544 if (devt && devt != device->devt) in btrfs_free_stale_devices()
547 if (devt) in btrfs_free_stale_devices()
606 if (device->devt == devt) { in find_fsid_by_device()
710 device->devt = device->bdev->bd_dev; in btrfs_open_one_device()
873 device->devt = path_devt; in device_list_add()
948 if (device->devt != path_devt) { in device_list_add()
979 device->devt = path_devt; in device_list_add()
1390 int btrfs_forget_devices(dev_t devt) in btrfs_forget_devices() argument
1458 dev_t devt; in btrfs_scan_one_device() local
1485 path, MAJOR(devt), MINOR(devt)); in btrfs_scan_one_device()
[all …]
A Dvolumes.h130 dev_t devt; member
733 int btrfs_forget_devices(dev_t devt);
A Dsuper.c2222 dev_t devt = 0; in btrfs_control_ioctl() local
2248 ret = lookup_bdev(vol->name, &devt); in btrfs_control_ioctl()
2252 ret = btrfs_forget_devices(devt); in btrfs_control_ioctl()
A Ddev-replace.c293 ret = lookup_bdev(device_path, &device->devt); in btrfs_init_dev_replace_tgtdev()

Completed in 29 milliseconds