Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/char/
Draw.c37 static struct raw_device_data *raw_devices; variable
78 if (!raw_devices[minor].binding) in raw_open()
80 bdev = blkdev_get_by_dev(raw_devices[minor].binding, in raw_open()
91 if (++raw_devices[minor].inuse == 1) in raw_open()
95 raw_devices[minor].bdev = bdev; in raw_open()
116 bdev = raw_devices[minor].bdev; in raw_release()
117 if (--raw_devices[minor].inuse == 0) in raw_release()
149 rawdev = &raw_devices[number]; in bind_set()
193 *dev = raw_devices[number].binding; in bind_get()
317 raw_devices = vzalloc(array_size(max_raw_minors, in raw_init()
[all …]