Home
last modified time | relevance | path

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

12345678910

/linux-3.4.99/include/linux/
Dkdev_t.h21 static inline int old_valid_dev(dev_t dev) in old_valid_dev()
26 static inline u16 old_encode_dev(dev_t dev) in old_encode_dev()
31 static inline dev_t old_decode_dev(u16 val) in old_decode_dev()
36 static inline int new_valid_dev(dev_t dev) in new_valid_dev()
41 static inline u32 new_encode_dev(dev_t dev) in new_encode_dev()
48 static inline dev_t new_decode_dev(u32 dev) in new_decode_dev()
55 static inline int huge_valid_dev(dev_t dev) in huge_valid_dev()
60 static inline u64 huge_encode_dev(dev_t dev) in huge_encode_dev()
65 static inline dev_t huge_decode_dev(u64 dev) in huge_decode_dev()
70 static inline int sysv_valid_dev(dev_t dev) in sysv_valid_dev()
[all …]
Dkobj_map.h10 typedef struct kobject *kobj_probe_t(dev_t, int *, void *);
13 int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
14 kobj_probe_t *, int (*)(dev_t, void *), void *);
15 void kobj_unmap(struct kobj_map *, dev_t, unsigned long);
16 struct kobject *kobj_lookup(struct kobj_map *, dev_t, int *);
Dgenhd.h238 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt()
243 static inline dev_t part_devt(struct hd_struct *part) in part_devt()
406 extern struct gendisk *get_gendisk(dev_t dev, int *partno);
586 extern int blk_alloc_devt(struct hd_struct *part, dev_t *devt);
587 extern void blk_free_devt(dev_t devt);
588 extern dev_t blk_lookup_devt(const char *name, int partno);
607 extern void blk_register_region(dev_t devt, unsigned long range,
609 struct kobject *(*probe)(dev_t, int *, void *),
610 int (*lock)(dev_t, void *),
612 extern void blk_unregister_region(dev_t devt, unsigned long range);
[all …]
Ddevice_cgroup.h5 extern int devcgroup_inode_mknod(int mode, dev_t dev);
17 static inline int devcgroup_inode_mknod(int mode, dev_t dev) in devcgroup_inode_mknod()
Dcdev.h17 dev_t dev;
27 int cdev_add(struct cdev *, dev_t, unsigned);
Dstat.h64 dev_t dev;
69 dev_t rdev;
/linux-3.4.99/include/trace/events/
Dext3.h15 __field( dev_t, dev )
45 __field( dev_t, dev )
67 __field( dev_t, dev )
92 __field( dev_t, dev )
114 __field( dev_t, dev )
136 __field( dev_t, dev )
159 __field( dev_t, dev )
188 __field( dev_t, dev )
240 __field( dev_t, dev )
301 __field( dev_t, dev )
[all …]
Djbd2.h20 __field( dev_t, dev )
40 __field( dev_t, dev )
97 __field( dev_t, dev )
121 __field( dev_t, dev )
136 TP_PROTO(dev_t dev, unsigned long tid,
142 __field( dev_t, dev )
180 TP_PROTO(dev_t dev, unsigned long tid,
186 __field( dev_t, dev )
218 __field( dev_t, dev )
246 __field( dev_t, dev )
Dext4.h27 __field( dev_t, dev )
56 __field( dev_t, dev )
78 __field( dev_t, dev )
103 __field( dev_t, dev )
125 __field( dev_t, dev )
147 __field( dev_t, dev )
169 __field( dev_t, dev )
194 __field( dev_t, dev )
238 __field( dev_t, dev )
297 __field( dev_t, dev )
[all …]
Djbd.h17 __field( dev_t, dev )
38 __field( dev_t, dev )
89 __field( dev_t, dev )
111 __field( dev_t, dev )
135 __field( dev_t, dev )
159 __field( dev_t, dev )
186 __field( dev_t, dev )
Dblock.h20 __field( dev_t, dev )
100 __field( dev_t, dev )
132 __field( dev_t, dev )
212 __field( dev_t, dev )
250 __field( dev_t, dev )
278 __field( dev_t, dev )
350 __field( dev_t, dev )
485 __field( dev_t, dev )
519 TP_PROTO(struct request_queue *q, struct bio *bio, dev_t dev,
525 __field( dev_t, dev )
[all …]
/linux-3.4.99/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
69 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) in kobj_unmap()
96 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) in kobj_lookup()
105 struct kobject *(*probe)(dev_t, int *, void *); in kobj_lookup()
/linux-3.4.99/block/
Dblk-cgroup.h169 dev_t dev;
182 dev_t dev;
201 dev_t dev);
203 dev_t dev);
205 dev_t dev);
207 dev_t dev);
209 dev_t dev);
311 struct blkio_group *blkg, void *key, dev_t dev,
338 struct blkio_group *blkg, void *key, dev_t dev,
Dgenhd.c408 int blk_alloc_devt(struct hd_struct *part, dev_t *devt) in blk_alloc_devt()
448 void blk_free_devt(dev_t devt) in blk_free_devt()
462 static char *bdevt_str(dev_t devt, char *buf) in bdevt_str()
479 void blk_register_region(dev_t devt, unsigned long range, struct module *module, in blk_register_region()
480 struct kobject *(*probe)(dev_t, int *, void *), in blk_register_region() argument
481 int (*lock)(dev_t, void *), void *data) in blk_register_region() argument
488 void blk_unregister_region(dev_t devt, unsigned long range) in blk_unregister_region()
495 static struct kobject *exact_match(dev_t devt, int *partno, void *data) in exact_match()
502 static int exact_lock(dev_t devt, void *data) in exact_lock()
581 dev_t devt; in add_disk()
[all …]
Dcfq.h71 struct blkio_group *blkg, void *key, dev_t dev) { in cfq_blkiocg_add_blkio_group()
108 struct blkio_group *blkg, void *key, dev_t dev) {} in cfq_blkiocg_add_blkio_group()
/linux-3.4.99/fs/
Dchar_dev.c196 int register_chrdev_region(dev_t from, unsigned count, const char *name) in register_chrdev_region()
199 dev_t to = from + count; in register_chrdev_region()
200 dev_t n, next; in register_chrdev_region()
232 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, in alloc_chrdev_region()
307 void unregister_chrdev_region(dev_t from, unsigned count) in unregister_chrdev_region()
309 dev_t to = from + count; in unregister_chrdev_region()
310 dev_t n, next; in unregister_chrdev_region()
450 static struct kobject *exact_match(dev_t dev, int *part, void *data) in exact_match()
456 static int exact_lock(dev_t dev, void *data) in exact_lock()
472 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add()
[all …]
/linux-3.4.99/fs/gfs2/
Dtrace_gfs2.h84 __field( dev_t, dev )
123 __field( dev_t, dev )
155 __field( dev_t, dev )
189 __field( dev_t, dev )
219 __field( dev_t, dev )
249 __field( dev_t, dev )
313 __field( dev_t, dev )
344 __field( dev_t, dev )
369 __field( dev_t, dev )
390 __field( dev_t, dev )
[all …]
/linux-3.4.99/fs/xfs/
Dxfs_trace.h45 __field(dev_t, dev)
104 __field(dev_t, dev)
138 __field(dev_t, dev)
190 __field(dev_t, dev)
229 __field(dev_t, dev)
282 __field(dev_t, dev)
353 __field(dev_t, dev)
396 __field(dev_t, dev)
434 __field(dev_t, dev)
513 __field(dev_t, dev)
[all …]
/linux-3.4.99/fs/proc/
Dproc_tty.c27 dev_t from, int num) in show_tty_range()
70 dev_t from = MKDEV(p->major, p->minor_start); in show_tty_driver()
71 dev_t to = from + p->num; in show_tty_driver()
94 dev_t next = MKDEV(MAJOR(from)+1, 0); in show_tty_driver()
/linux-3.4.99/drivers/char/
Draw.c130 dev_t dev = MKDEV(major, minor); in bind_set()
177 dev_t raw = MKDEV(RAW_MAJOR, number); in bind_set()
188 static int bind_get(int number, dev_t *dev) in bind_get()
213 dev_t dev; in raw_ctl_ioctl()
255 dev_t dev; in raw_ctl_compat_ioctl()
318 dev_t dev = MKDEV(RAW_MAJOR, 0); in raw_init()
/linux-3.4.99/init/
Ddo_mounts.c33 dev_t ROOT_DEV;
99 static dev_t devt_from_partuuid(char *uuid_str) in devt_from_partuuid()
101 dev_t res = 0; in devt_from_partuuid()
176 dev_t name_to_dev_t(char *name) in name_to_dev_t()
180 dev_t res = 0; in name_to_dev_t()
/linux-3.4.99/fs/9p/
Dv9fs_vfs.h57 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t);
59 struct inode *inode, umode_t mode, dev_t);
/linux-3.4.99/include/linux/mtd/
Dubi.h112 dev_t cdev;
154 dev_t cdev;
/linux-3.4.99/kernel/
Daudit_watch.c49 dev_t dev; /* associated superblock device */
139 int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev) in audit_watch_compare()
182 watch->dev = (dev_t)-1; in audit_init_watch()
257 const char *dname, dev_t dev, in audit_update_watch()
523 audit_update_watch(parent, dname, (dev_t)-1, (unsigned long)-1, 1); in audit_watch_handle_event()
/linux-3.4.99/arch/mips/include/asm/sn/
Dtypes.h24 typedef dev_t vertex_hdl_t; /* hardware graph vertex handle */

12345678910