Home
last modified time | relevance | path

Searched refs:dev_t (Results 1 – 25 of 194) sorted by relevance

12345678

/linux-4.19.296/include/linux/
Dkdev_t.h24 static __always_inline bool old_valid_dev(dev_t dev) in old_valid_dev()
29 static __always_inline u16 old_encode_dev(dev_t dev) in old_encode_dev()
34 static __always_inline dev_t old_decode_dev(u16 val) in old_decode_dev()
39 static __always_inline u32 new_encode_dev(dev_t dev) in new_encode_dev()
46 static __always_inline dev_t new_decode_dev(u32 dev) in new_decode_dev()
53 static __always_inline u64 huge_encode_dev(dev_t dev) in huge_encode_dev()
58 static __always_inline dev_t huge_decode_dev(u64 dev) in huge_decode_dev()
63 static __always_inline int sysv_valid_dev(dev_t dev) in sysv_valid_dev()
68 static __always_inline u32 sysv_encode_dev(dev_t dev) in sysv_encode_dev()
Dkobj_map.h11 typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
14 int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
15 kobj_probe_t *, int (*)(dev_t, void *), void *);
16 void kobj_unmap(struct kobj_map *, dev_t, unsigned long);
17 struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
Dif_tap.h78 int tap_get_minor(dev_t major, struct tap_dev *tap);
79 void tap_free_minor(dev_t major, struct tap_dev *tap);
81 int tap_create_cdev(struct cdev *tap_cdev, dev_t *tap_major,
83 void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev);
Dgenhd.h240 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt()
245 static inline dev_t part_devt(struct hd_struct *part) in part_devt()
418 extern struct gendisk *get_gendisk(dev_t dev, int *partno);
598 extern int blk_alloc_devt(struct hd_struct *part, dev_t *devt);
599 extern void blk_free_devt(dev_t devt);
600 extern void blk_invalidate_devt(dev_t devt);
601 extern dev_t blk_lookup_devt(const char *name, int partno);
620 extern void blk_register_region(dev_t devt, unsigned long range,
622 struct kobject *(*probe)(dev_t, int *, void *),
623 int (*lock)(dev_t, void *),
[all …]
Dcdev.h19 dev_t dev;
29 int cdev_add(struct cdev *, dev_t, unsigned);
Dstat.h39 dev_t dev;
40 dev_t rdev;
Ddevice_cgroup.h58 static inline int devcgroup_inode_mknod(int mode, dev_t dev) in devcgroup_inode_mknod()
77 static inline int devcgroup_inode_mknod(int mode, dev_t dev) in devcgroup_inode_mknod()
Dfsi.h90 dev_t *out_dev, int *out_index);
91 extern void fsi_free_minor(dev_t dev);
/linux-4.19.296/drivers/memory/
Domap-gpmc.c1148 struct gpmc_device_timings dev_t; in gpmc_omap_onenand_calc_sync_timings() local
1196 memset(&dev_t, 0, sizeof(dev_t)); in gpmc_omap_onenand_calc_sync_timings()
1199 dev_t.t_avdp_w = max(t_avdp, t_cer) * 1000; in gpmc_omap_onenand_calc_sync_timings()
1200 dev_t.t_wpl = t_wpl * 1000; in gpmc_omap_onenand_calc_sync_timings()
1201 dev_t.t_wph = t_wph * 1000; in gpmc_omap_onenand_calc_sync_timings()
1202 dev_t.t_aavdh = t_aavdh * 1000; in gpmc_omap_onenand_calc_sync_timings()
1204 dev_t.ce_xdelay = true; in gpmc_omap_onenand_calc_sync_timings()
1205 dev_t.avd_xdelay = true; in gpmc_omap_onenand_calc_sync_timings()
1206 dev_t.oe_xdelay = true; in gpmc_omap_onenand_calc_sync_timings()
1207 dev_t.we_xdelay = true; in gpmc_omap_onenand_calc_sync_timings()
[all …]
/linux-4.19.296/include/trace/events/
Djbd2.h21 __field( dev_t, dev )
41 __field( dev_t, dev )
98 __field( dev_t, dev )
122 __field( dev_t, dev )
137 TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
143 __field( dev_t, dev )
165 TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
172 __field( dev_t, dev )
197 TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
205 __field( dev_t, dev )
[all …]
Dext4.h84 __field( dev_t, dev )
114 __field( dev_t, dev )
143 __field( dev_t, dev )
165 __field( dev_t, dev )
190 __field( dev_t, dev )
212 __field( dev_t, dev )
234 __field( dev_t, dev )
254 __field( dev_t, dev )
276 __field( dev_t, dev )
301 __field( dev_t, dev )
[all …]
Dblock.h22 __field( dev_t, dev )
81 __field( dev_t, dev )
123 __field( dev_t, dev )
155 __field( dev_t, dev )
232 __field( dev_t, dev )
269 __field( dev_t, dev )
297 __field( dev_t, dev )
364 __field( dev_t, dev )
392 __field( dev_t, dev )
527 __field( dev_t, dev )
[all …]
Df2fs.h163 __field(dev_t, dev)
202 __field(dev_t, dev)
232 __field(dev_t, dev)
262 __field(dev_t, dev)
314 __field(dev_t, dev)
365 __field(dev_t, dev)
394 __field(dev_t, dev)
452 __field(dev_t, dev)
499 __field(dev_t, dev)
532 __field(dev_t, dev)
[all …]
Dfs_dax.h22 __field(dev_t, dev)
74 __field(dev_t, dev)
116 __field(dev_t, dev)
161 __field(dev_t, dev)
205 __field(dev_t, dev)
234 __field(dev_t, dev)
266 __field(dev_t, dev)
Dfilemap.h26 __field(dev_t, s_dev)
64 __field(dev_t, s_dev)
90 __field(dev_t, s_dev)
Dbcache.h15 __field(dev_t, dev )
19 __field(dev_t, orig_sector )
95 __field(dev_t, dev )
128 __field(dev_t, dev )
412 __field(dev_t, dev )
432 __field(dev_t, dev )
450 __field(dev_t, dev )
/linux-4.19.296/drivers/base/
Dmap.c22 dev_t dev;
26 int (*lock)(dev_t, void *);
32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, in kobj_map()
34 int (*lock)(dev_t, void *), void *data) in kobj_map() argument
68 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) in kobj_unmap()
95 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) in kobj_lookup()
104 struct kobject *(*probe)(dev_t, int *, void *); in kobj_lookup()
/linux-4.19.296/fs/
Dchar_dev.c209 int register_chrdev_region(dev_t from, unsigned count, const char *name) in register_chrdev_region()
212 dev_t to = from + count; in register_chrdev_region()
213 dev_t n, next; in register_chrdev_region()
245 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, in alloc_chrdev_region()
320 void unregister_chrdev_region(dev_t from, unsigned count) in unregister_chrdev_region()
322 dev_t to = from + count; in unregister_chrdev_region()
323 dev_t n, next; in unregister_chrdev_region()
466 static struct kobject *exact_match(dev_t dev, int *part, void *data) in exact_match()
472 static int exact_lock(dev_t dev, void *data) in exact_lock()
488 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add()
[all …]
/linux-4.19.296/fs/xfs/scrub/
Dtrace.h20 __field(dev_t, dev)
66 __field(dev_t, dev)
95 __field(dev_t, dev)
126 __field(dev_t, dev)
168 __field(dev_t, dev)
201 __field(dev_t, dev)
238 __field(dev_t, dev)
258 __field(dev_t, dev)
298 __field(dev_t, dev)
343 __field(dev_t, dev)
[all …]
/linux-4.19.296/fs/nfs/
Dnfstrace.h54 __field(dev_t, dev)
87 __field(dev_t, dev)
180 __field(dev_t, dev)
224 __field(dev_t, dev)
291 __field(dev_t, dev)
329 __field(dev_t, dev)
367 __field(dev_t, dev)
402 __field(dev_t, dev)
435 __field(dev_t, dev)
473 __field(dev_t, dev)
[all …]
Dnfs4trace.h395 __field(dev_t, dev)
480 __field(dev_t, dev)
524 __field(dev_t, dev)
588 __field(dev_t, dev)
658 __field(dev_t, dev)
715 __field(dev_t, dev)
756 __field(dev_t, dev)
796 __field(dev_t, dev)
851 __field(dev_t, dev)
900 __field(dev_t, dev)
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_trace.h38 __field(dev_t, dev)
99 __field(dev_t, dev)
136 __field(dev_t, dev)
162 __field(dev_t, dev)
214 __field(dev_t, dev)
272 __field(dev_t, dev)
340 __field(dev_t, dev)
383 __field(dev_t, dev)
421 __field(dev_t, dev)
495 __field(dev_t, dev)
[all …]
/linux-4.19.296/fs/gfs2/
Dtrace_gfs2.h98 __field( dev_t, dev )
137 __field( dev_t, dev )
169 __field( dev_t, dev )
206 __field( dev_t, dev )
236 __field( dev_t, dev )
266 __field( dev_t, dev )
330 __field( dev_t, dev )
361 __field( dev_t, dev )
389 __field( dev_t, dev )
410 __field( dev_t, dev )
[all …]
/linux-4.19.296/fs/proc/
Dproc_tty.c29 dev_t from, int num) in show_tty_range()
72 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
73 dev_t to = from + p->num; in show_tty_driver()
96 dev_t next = MKDEV(MAJOR(from)+1, 0); in show_tty_driver()
/linux-4.19.296/drivers/char/
Draw.c129 dev_t dev = MKDEV(major, minor); in bind_set()
176 dev_t raw = MKDEV(RAW_MAJOR, number); in bind_set()
187 static int bind_get(int number, dev_t *dev) in bind_get()
212 dev_t dev; in raw_ctl_ioctl()
254 dev_t dev; in raw_ctl_compat_ioctl()
315 dev_t dev = MKDEV(RAW_MAJOR, 0); in raw_init()

12345678