Searched refs:dev_t (Results 1 - 200 of 292) sorted by relevance

12

/linux-4.4.14/include/linux/
H A 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 *);
H A Dkdev_t.h23 static inline bool old_valid_dev(dev_t dev) old_valid_dev()
28 static inline u16 old_encode_dev(dev_t dev) old_encode_dev()
33 static inline dev_t old_decode_dev(u16 val) old_decode_dev()
38 static inline bool new_valid_dev(dev_t dev) new_valid_dev()
43 static inline u32 new_encode_dev(dev_t dev) new_encode_dev()
50 static inline dev_t new_decode_dev(u32 dev) new_decode_dev()
57 static inline u64 huge_encode_dev(dev_t dev) huge_encode_dev()
62 static inline dev_t huge_decode_dev(u64 dev) huge_decode_dev()
67 static inline int sysv_valid_dev(dev_t dev) sysv_valid_dev()
72 static inline u32 sysv_encode_dev(dev_t dev) sysv_encode_dev()
H A Dcdev.h17 dev_t dev;
27 int cdev_add(struct cdev *, dev_t, unsigned);
H A Ddevice_cgroup.h5 extern int devcgroup_inode_mknod(int mode, dev_t dev); devcgroup_inode_permission()
17 static inline int devcgroup_inode_mknod(int mode, dev_t dev) devcgroup_inode_mknod()
H A Dstat.h23 dev_t dev;
28 dev_t rdev;
H A Droot_dev.h21 extern dev_t ROOT_DEV;
H A Dramfs.h5 umode_t mode, dev_t dev);
H A Ddevpts_fs.h25 struct inode *devpts_pty_new(struct inode *ptmx_inode, dev_t device, int index,
40 dev_t device, int index, void *priv) devpts_pty_new()
H A Dgenhd.h266 static inline dev_t disk_devt(struct gendisk *disk) disk_devt()
271 static inline dev_t part_devt(struct hd_struct *part) part_devt()
434 extern struct gendisk *get_gendisk(dev_t dev, int *partno);
614 extern int blk_alloc_devt(struct hd_struct *part, dev_t *devt);
615 extern void blk_free_devt(dev_t devt);
616 extern dev_t blk_lookup_devt(const char *name, int partno);
635 extern void blk_register_region(dev_t devt, unsigned long range,
637 struct kobject *(*probe)(dev_t, int *, void *),
638 int (*lock)(dev_t, void *),
640 extern void blk_unregister_region(dev_t devt, unsigned long range);
756 static inline dev_t blk_lookup_devt(const char *name, int partno) blk_lookup_devt()
758 dev_t devt = MKDEV(0, 0); blk_lookup_devt()
H A Dblktrace_api.h34 dev_t dev, struct block_device *bdev,
62 extern int blk_trace_setup(struct request_queue *q, char *name, dev_t dev,
H A Dmount.h96 extern dev_t name_to_dev_t(const char *name);
H A Dposix-clock.h138 int posix_clock_register(struct posix_clock *clk, dev_t devid);
H A Dtypes.h15 typedef __kernel_dev_t dev_t; typedef
H A Dnfs_fs_sb.h159 dev_t s_dev; /* superblock dev numbers */
H A Dnfs_xdr.h50 dev_t rdev;
482 dev_t s_dev;
840 dev_t rdev;
1540 dev_t);
H A Domap-gpmc.h154 struct gpmc_device_timings *dev_t);
H A Dpktcdvd.h166 dev_t pkt_dev; /* our dev */
H A Dfs.h451 dev_t bd_dev; /* not a kdev_t - it's a search key */
617 dev_t i_rdev;
1288 dev_t s_dev; /* search index; _not_ kdev_t */
1517 extern int vfs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
1659 int (*mknod) (struct inode *,struct dentry *,umode_t,dev_t);
1980 int get_anon_bdev(dev_t *);
1981 void free_anon_bdev(dev_t);
2024 extern int vfs_ustat(dev_t, struct kstatfs *);
2264 extern struct block_device *bdget(dev_t);
2319 extern struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode,
2344 extern int alloc_chrdev_region(dev_t *, unsigned, unsigned, const char *);
2345 extern int register_chrdev_region(dev_t, unsigned, const char *);
2351 extern void unregister_chrdev_region(dev_t, unsigned);
2371 extern const char *__bdevname(dev_t, char *buffer);
2380 extern void init_special_inode(struct inode *, umode_t, dev_t);
H A Ddevice.h824 dev_t devt; /* dev_t, creates the sysfs "dev" */
1051 dev_t devt, void *drvdata,
1055 dev_t devt, void *drvdata,
1059 struct device *parent, dev_t devt, void *drvdata,
1062 extern void device_destroy(struct class *cls, dev_t devt);
H A Ddevice-mapper.h127 dev_t dm_get_dev_t(const char *path);
374 struct mapped_device *dm_get_md(dev_t dev);
H A Dquota.h495 extern void quota_send_warning(struct kqid qid, dev_t dev,
498 static inline void quota_send_warning(struct kqid qid, dev_t dev, quota_send_warning()
H A Dbacking-dev.h26 int bdi_register_dev(struct backing_dev_info *bdi, dev_t dev);
H A Dtty.h370 extern dev_t tty_devnum(struct tty_struct *tty);
386 static inline dev_t tty_devnum(struct tty_struct *tty) tty_devnum()
/linux-4.4.14/arch/arm/mach-omap2/
H A Dusb-tusb6010.c53 struct gpmc_device_timings dev_t; tusb_set_async_mode() local
57 memset(&dev_t, 0, sizeof(dev_t)); tusb_set_async_mode()
59 dev_t.t_ceasu = 8 * 1000; tusb_set_async_mode()
60 dev_t.t_avdasu = t_acsnh_advnh - 7000; tusb_set_async_mode()
61 dev_t.t_ce_avd = 1000; tusb_set_async_mode()
62 dev_t.t_avdp_r = t_acsnh_advnh; tusb_set_async_mode()
63 dev_t.t_oeasu = t_acsnh_advnh + 1000; tusb_set_async_mode()
64 dev_t.t_oe = 300; tusb_set_async_mode()
65 dev_t.t_cez_r = 7000; tusb_set_async_mode()
66 dev_t.t_cez_w = dev_t.t_cez_r; tusb_set_async_mode()
67 dev_t.t_avdp_w = t_acsnh_advnh; tusb_set_async_mode()
68 dev_t.t_weasu = t_acsnh_advnh + 1000; tusb_set_async_mode()
69 dev_t.t_wpl = 300; tusb_set_async_mode()
70 dev_t.cyc_aavdh_we = 1; tusb_set_async_mode()
72 gpmc_calc_timings(&t, &tusb_async, &dev_t); tusb_set_async_mode()
79 struct gpmc_device_timings dev_t; tusb_set_sync_mode() local
83 memset(&dev_t, 0, sizeof(dev_t)); tusb_set_sync_mode()
85 dev_t.clk = 11100; tusb_set_sync_mode()
86 dev_t.t_bacc = 1000; tusb_set_sync_mode()
87 dev_t.t_ces = 1000; tusb_set_sync_mode()
88 dev_t.t_ceasu = 8 * 1000; tusb_set_sync_mode()
89 dev_t.t_avdasu = t_scsnh_advnh - 7000; tusb_set_sync_mode()
90 dev_t.t_ce_avd = 1000; tusb_set_sync_mode()
91 dev_t.t_avdp_r = t_scsnh_advnh; tusb_set_sync_mode()
92 dev_t.cyc_aavdh_oe = 3; tusb_set_sync_mode()
93 dev_t.cyc_oe = 5; tusb_set_sync_mode()
94 dev_t.t_ce_rdyz = 7000; tusb_set_sync_mode()
95 dev_t.t_avdp_w = t_scsnh_advnh; tusb_set_sync_mode()
96 dev_t.cyc_aavdh_we = 3; tusb_set_sync_mode()
97 dev_t.cyc_wpl = 6; tusb_set_sync_mode()
99 gpmc_calc_timings(&t, &tusb_sync, &dev_t); tusb_set_sync_mode()
H A Dgpmc-onenand.c65 struct gpmc_device_timings dev_t; omap2_onenand_calc_async_timings() local
76 memset(&dev_t, 0, sizeof(dev_t)); omap2_onenand_calc_async_timings()
78 dev_t.t_avdp_r = max_t(int, t_avdp, t_cer) * 1000; omap2_onenand_calc_async_timings()
79 dev_t.t_avdp_w = dev_t.t_avdp_r; omap2_onenand_calc_async_timings()
80 dev_t.t_aavdh = t_aavdh * 1000; omap2_onenand_calc_async_timings()
81 dev_t.t_aa = t_aa * 1000; omap2_onenand_calc_async_timings()
82 dev_t.t_ce = t_ce * 1000; omap2_onenand_calc_async_timings()
83 dev_t.t_oe = t_oe * 1000; omap2_onenand_calc_async_timings()
84 dev_t.t_cez_r = t_cez * 1000; omap2_onenand_calc_async_timings()
85 dev_t.t_cez_w = dev_t.t_cez_r; omap2_onenand_calc_async_timings()
86 dev_t.t_wpl = t_wpl * 1000; omap2_onenand_calc_async_timings()
87 dev_t.t_wph = t_wph * 1000; omap2_onenand_calc_async_timings()
89 gpmc_calc_timings(t, &onenand_async, &dev_t); omap2_onenand_calc_async_timings()
162 struct gpmc_device_timings dev_t; omap2_onenand_calc_sync_timings() local
236 memset(&dev_t, 0, sizeof(dev_t)); omap2_onenand_calc_sync_timings()
244 dev_t.t_avdp_w = max(t_avdp, t_cer) * 1000; omap2_onenand_calc_sync_timings()
245 dev_t.t_wpl = t_wpl * 1000; omap2_onenand_calc_sync_timings()
246 dev_t.t_wph = t_wph * 1000; omap2_onenand_calc_sync_timings()
247 dev_t.t_aavdh = t_aavdh * 1000; omap2_onenand_calc_sync_timings()
249 dev_t.ce_xdelay = true; omap2_onenand_calc_sync_timings()
250 dev_t.avd_xdelay = true; omap2_onenand_calc_sync_timings()
251 dev_t.oe_xdelay = true; omap2_onenand_calc_sync_timings()
252 dev_t.we_xdelay = true; omap2_onenand_calc_sync_timings()
253 dev_t.clk = min_gpmc_clk_period; omap2_onenand_calc_sync_timings()
254 dev_t.t_bacc = dev_t.clk; omap2_onenand_calc_sync_timings()
255 dev_t.t_ces = t_ces * 1000; omap2_onenand_calc_sync_timings()
256 dev_t.t_avds = t_avds * 1000; omap2_onenand_calc_sync_timings()
257 dev_t.t_avdh = t_avdh * 1000; omap2_onenand_calc_sync_timings()
258 dev_t.t_ach = t_ach * 1000; omap2_onenand_calc_sync_timings()
259 dev_t.cyc_iaa = (latency + 1); omap2_onenand_calc_sync_timings()
260 dev_t.t_cez_r = t_cez * 1000; omap2_onenand_calc_sync_timings()
261 dev_t.t_cez_w = dev_t.t_cez_r; omap2_onenand_calc_sync_timings()
262 dev_t.cyc_aavdh_oe = 1; omap2_onenand_calc_sync_timings()
263 dev_t.t_rdyo = t_rdyo * 1000 + min_gpmc_clk_period; omap2_onenand_calc_sync_timings()
265 gpmc_calc_timings(t, &onenand_sync, &dev_t); omap2_onenand_calc_sync_timings()
/linux-4.4.14/drivers/base/
H A Dmap.c7 * NOTE: data structure needs to be changed. It works, but for large dev_t
22 dev_t dev;
26 int (*lock)(dev_t, void *);
32 int kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, kobj_map()
34 int (*lock)(dev_t, void *), void *data) kobj_map()
68 void kobj_unmap(struct kobj_map *domain, dev_t dev, unsigned long range) kobj_unmap()
95 struct kobject *kobj_lookup(struct kobj_map *domain, dev_t dev, int *index) kobj_lookup()
104 struct kobject *(*probe)(dev_t, int *, void *); kobj_lookup()
H A Dcore.c1681 dev_t devt, void *drvdata, device_create_groups_vargs()
1724 * @devt: the dev_t for the char device to be added
1732 * A "dev" file will be created, showing the dev_t for the device, if
1733 * the dev_t is not 0,0.
1746 dev_t devt, void *drvdata, const char *fmt, device_create_vargs()
1758 * @devt: the dev_t for the char device to be added
1765 * A "dev" file will be created, showing the dev_t for the device, if
1766 * the dev_t is not 0,0.
1779 dev_t devt, void *drvdata, const char *fmt, ...) device_create()
1795 * @devt: the dev_t for the char device to be added
1805 * A "dev" file will be created, showing the dev_t for the device, if
1806 * the dev_t is not 0,0.
1819 struct device *parent, dev_t devt, device_create_with_groups()
1837 const dev_t *devt = data; __match_devt()
1845 * @devt: the dev_t of the device that was previously registered
1850 void device_destroy(struct class *class, dev_t devt) device_destroy()
2124 * b12:8 block dev_t create_syslog_header()
2125 * c127:3 char dev_t create_syslog_header()
H A Ddevtmpfs.c283 /* does the dev_t match */ dev_mynode()
/linux-4.4.14/include/trace/events/
H A 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, unsigned int type,
142 __field( dev_t, dev )
164 TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
171 __field( dev_t, dev )
196 TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
204 __field( dev_t, dev )
234 TP_PROTO(dev_t dev, unsigned long tid,
240 __field( dev_t, dev )
282 TP_PROTO(dev_t dev, unsigned long tid,
288 __field( dev_t, dev )
320 __field( dev_t, dev )
348 __field( dev_t, dev )
363 TP_PROTO(dev_t dev, unsigned long stall_ms),
368 __field( dev_t, dev )
H A Dext4.h82 __field( dev_t, dev )
112 __field( dev_t, dev )
141 __field( dev_t, dev )
163 __field( dev_t, dev )
188 __field( dev_t, dev )
210 __field( dev_t, dev )
232 __field( dev_t, dev )
254 __field( dev_t, dev )
279 __field( dev_t, dev )
323 __field( dev_t, dev )
374 __field( dev_t, dev )
417 __field( dev_t, dev )
445 __field( dev_t, dev )
473 __field( dev_t, dev )
507 __field( dev_t, dev )
552 __field( dev_t, dev )
593 __field( dev_t, dev )
617 __field( dev_t, dev )
662 __field( dev_t, dev )
688 __field( dev_t, dev )
711 __field( dev_t, dev )
732 __field( dev_t, dev )
753 __field( dev_t, dev )
793 __field( dev_t, dev )
836 __field( dev_t, dev )
866 __field( dev_t, dev )
893 __field( dev_t, dev )
916 __field( dev_t, dev )
937 __field( dev_t, dev )
962 __field( dev_t, dev )
1029 __field( dev_t, dev )
1073 __field( dev_t, dev )
1123 __field( dev_t, dev )
1150 __field( dev_t, dev )
1193 __field( dev_t, dev )
1225 __field( dev_t, dev )
1262 __field( dev_t, dev )
1311 __field( dev_t, dev )
1339 __field( dev_t, dev )
1369 __field( dev_t, dev )
1419 __field( dev_t, dev )
1447 __field( dev_t, dev )
1472 __field( dev_t, dev )
1495 __field( dev_t, dev )
1533 __field( dev_t, dev )
1571 __field( dev_t, dev )
1613 __field( dev_t, dev )
1655 __field( dev_t, dev )
1704 __field( dev_t, dev )
1729 __field( dev_t, dev )
1750 __field( dev_t, dev )
1774 __field( dev_t, dev )
1846 __field( dev_t, dev )
1883 __field( dev_t, dev )
1913 __field( dev_t, dev )
1942 __field( dev_t, dev )
1970 __field( dev_t, dev )
2004 __field( dev_t, dev )
2031 __field( dev_t, dev )
2062 __field( dev_t, dev )
2103 __field( dev_t, dev )
2139 __field( dev_t, dev )
2163 __field( dev_t, dev )
2193 __field( dev_t, dev )
2229 __field( dev_t, dev )
2271 __field( dev_t, dev )
2296 __field( dev_t, dev )
2318 __field( dev_t, dev )
2348 __field( dev_t, dev )
2371 __field( dev_t, dev )
2404 __field( dev_t, dev )
2438 __field( dev_t, dev )
2460 __field(dev_t, dev)
2485 __field(dev_t, dev)
2511 __field( dev_t, dev )
H A Df2fs.h129 __field(dev_t, dev)
168 __field(dev_t, dev)
198 __field(dev_t, dev)
228 __field(dev_t, dev)
280 __field(dev_t, dev)
324 __field(dev_t, dev)
353 __field(dev_t, dev)
411 __field(dev_t, dev)
458 __field(dev_t, dev)
491 __field(dev_t, dev)
525 __field(dev_t, dev)
554 __field(dev_t, dev)
601 __field(dev_t, dev)
640 __field(dev_t, dev)
670 __field(dev_t, dev)
703 __field(dev_t, dev)
727 __field(dev_t, dev)
779 __field(dev_t, dev)
830 __field(dev_t, dev)
860 __field(dev_t, dev)
889 __field(dev_t, dev)
974 __field(dev_t, dev)
1038 __field(dev_t, dev)
1064 __field(dev_t, dev)
1088 __field(dev_t, dev)
1113 __field(dev_t, dev)
1137 __field(dev_t, dev)
1163 __field(dev_t, dev)
1197 __field(dev_t, dev)
1228 __field(dev_t, dev)
1252 __field(dev_t, dev)
H A Dblock.h21 __field( dev_t, dev )
71 __field( dev_t, dev )
151 __field( dev_t, dev )
183 __field( dev_t, dev )
263 __field( dev_t, dev )
301 __field( dev_t, dev )
329 __field( dev_t, dev )
396 __field( dev_t, dev )
424 __field( dev_t, dev )
559 __field( dev_t, dev )
593 TP_PROTO(struct request_queue *q, struct bio *bio, dev_t dev,
599 __field( dev_t, dev )
602 __field( dev_t, old_dev )
637 TP_PROTO(struct request_queue *q, struct request *rq, dev_t dev,
643 __field( dev_t, dev )
646 __field( dev_t, old_dev )
H A Dfilemap.h24 __field(dev_t, s_dev)
H A Dbcache.h14 __field(dev_t, dev )
18 __field(dev_t, orig_sector )
94 __field(dev_t, dev )
127 __field(dev_t, dev )
411 __field(dev_t, dev )
431 __field(dev_t, dev )
449 __field(dev_t, dev )
H A Dfilelock.h46 __field(dev_t, s_dev)
100 __field(dev_t, s_dev)
H A Drandom.h148 TP_PROTO(dev_t dev, int input_bits),
153 __field( dev_t, dev )
H A Dwriteback.h243 __field(dev_t, sb_dev)
736 __field( dev_t, dev )
/linux-4.4.14/drivers/memory/
H A Domap-gpmc.c1261 struct gpmc_device_timings *dev_t, gpmc_calc_sync_read_timings()
1267 temp = dev_t->t_avdp_r; gpmc_calc_sync_read_timings()
1274 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh); gpmc_calc_sync_read_timings()
1280 temp = dev_t->t_oeasu; /* XXX: remove this ? */ gpmc_calc_sync_read_timings()
1282 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach); gpmc_calc_sync_read_timings()
1284 gpmc_ticks_to_ps(dev_t->cyc_aavdh_oe)); gpmc_calc_sync_read_timings()
1293 temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); gpmc_calc_sync_read_timings()
1295 if (dev_t->cyc_oe) gpmc_calc_sync_read_timings()
1297 gpmc_ticks_to_ps(dev_t->cyc_oe)); gpmc_calc_sync_read_timings()
1304 temp = max_t(u32, dev_t->t_cez_r, dev_t->t_oez); gpmc_calc_sync_read_timings()
1308 if (dev_t->t_ce_rdyz) gpmc_calc_sync_read_timings()
1309 temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz); gpmc_calc_sync_read_timings()
1316 struct gpmc_device_timings *dev_t, gpmc_calc_sync_write_timings()
1322 temp = dev_t->t_avdp_w; gpmc_calc_sync_write_timings()
1325 gpmc_t->clk_activation + dev_t->t_avdh); gpmc_calc_sync_write_timings()
1331 temp = max_t(u32, dev_t->t_weasu, gpmc_calc_sync_write_timings()
1332 gpmc_t->clk_activation + dev_t->t_rdyo); gpmc_calc_sync_write_timings()
1338 gpmc_t->adv_wr_off + dev_t->t_aavdh); gpmc_calc_sync_write_timings()
1340 gpmc_ticks_to_ps(dev_t->cyc_aavdh_we)); gpmc_calc_sync_write_timings()
1346 gpmc_t->we_on = gpmc_round_ps_to_ticks(dev_t->t_weasu); gpmc_calc_sync_write_timings()
1355 temp = gpmc_t->we_on + dev_t->t_wpl; gpmc_calc_sync_write_timings()
1359 gpmc_t->we_on + gpmc_ticks_to_ps(dev_t->cyc_wpl)); gpmc_calc_sync_write_timings()
1363 dev_t->t_wph); gpmc_calc_sync_write_timings()
1366 temp = gpmc_round_ps_to_sync_clk(dev_t->t_cez_w, gpmc_t->sync_clk); gpmc_calc_sync_write_timings()
1369 if (dev_t->t_ce_rdyz) gpmc_calc_sync_write_timings()
1371 gpmc_t->cs_wr_off + dev_t->t_ce_rdyz); gpmc_calc_sync_write_timings()
1378 struct gpmc_device_timings *dev_t, gpmc_calc_async_read_timings()
1384 temp = dev_t->t_avdp_r; gpmc_calc_async_read_timings()
1390 temp = dev_t->t_oeasu; gpmc_calc_async_read_timings()
1393 gpmc_t->adv_rd_off + dev_t->t_aavdh); gpmc_calc_async_read_timings()
1397 temp = max_t(u32, dev_t->t_iaa, /* XXX: remove t_iaa in async ? */ gpmc_calc_async_read_timings()
1398 gpmc_t->oe_on + dev_t->t_oe); gpmc_calc_async_read_timings()
1400 gpmc_t->cs_on + dev_t->t_ce); gpmc_calc_async_read_timings()
1402 gpmc_t->adv_on + dev_t->t_aa); gpmc_calc_async_read_timings()
1409 temp = max_t(u32, dev_t->t_rd_cycle, gpmc_calc_async_read_timings()
1410 gpmc_t->cs_rd_off + dev_t->t_cez_r); gpmc_calc_async_read_timings()
1411 temp = max_t(u32, temp, gpmc_t->oe_off + dev_t->t_oez); gpmc_calc_async_read_timings()
1418 struct gpmc_device_timings *dev_t, gpmc_calc_async_write_timings()
1424 temp = dev_t->t_avdp_w; gpmc_calc_async_write_timings()
1430 temp = dev_t->t_weasu; gpmc_calc_async_write_timings()
1432 temp = max_t(u32, temp, gpmc_t->adv_wr_off + dev_t->t_aavdh); gpmc_calc_async_write_timings()
1434 gpmc_ticks_to_ps(dev_t->cyc_aavdh_we)); gpmc_calc_async_write_timings()
1440 gpmc_t->we_on = gpmc_round_ps_to_ticks(dev_t->t_weasu); gpmc_calc_async_write_timings()
1445 temp = gpmc_t->we_on + dev_t->t_wpl; gpmc_calc_async_write_timings()
1449 dev_t->t_wph); gpmc_calc_async_write_timings()
1452 temp = max_t(u32, dev_t->t_wr_cycle, gpmc_calc_async_write_timings()
1453 gpmc_t->cs_wr_off + dev_t->t_cez_w); gpmc_calc_async_write_timings()
1460 struct gpmc_device_timings *dev_t) gpmc_calc_sync_common_timings()
1464 gpmc_t->sync_clk = gpmc_calc_divider(dev_t->clk) * gpmc_calc_sync_common_timings()
1468 dev_t->t_bacc, gpmc_calc_sync_common_timings()
1471 temp = max_t(u32, dev_t->t_ces, dev_t->t_avds); gpmc_calc_sync_common_timings()
1477 if (dev_t->ce_xdelay) gpmc_calc_sync_common_timings()
1479 if (dev_t->avd_xdelay) gpmc_calc_sync_common_timings()
1481 if (dev_t->oe_xdelay) gpmc_calc_sync_common_timings()
1483 if (dev_t->we_xdelay) gpmc_calc_sync_common_timings()
1490 struct gpmc_device_timings *dev_t, gpmc_calc_common_timings()
1496 gpmc_t->cs_on = gpmc_round_ps_to_ticks(dev_t->t_ceasu); gpmc_calc_common_timings()
1499 temp = dev_t->t_avdasu; gpmc_calc_common_timings()
1500 if (dev_t->t_ce_avd) gpmc_calc_common_timings()
1502 gpmc_t->cs_on + dev_t->t_ce_avd); gpmc_calc_common_timings()
1506 gpmc_calc_sync_common_timings(gpmc_t, dev_t); gpmc_calc_common_timings()
1541 struct gpmc_device_timings *dev_t) gpmc_calc_timings()
1552 gpmc_calc_common_timings(gpmc_t, dev_t, sync); gpmc_calc_timings()
1555 gpmc_calc_sync_read_timings(gpmc_t, dev_t, mux); gpmc_calc_timings()
1557 gpmc_calc_async_read_timings(gpmc_t, dev_t, mux); gpmc_calc_timings()
1560 gpmc_calc_sync_write_timings(gpmc_t, dev_t, mux); gpmc_calc_timings()
1562 gpmc_calc_async_write_timings(gpmc_t, dev_t, mux); gpmc_calc_timings()
1260 gpmc_calc_sync_read_timings(struct gpmc_timings *gpmc_t, struct gpmc_device_timings *dev_t, bool mux) gpmc_calc_sync_read_timings() argument
1315 gpmc_calc_sync_write_timings(struct gpmc_timings *gpmc_t, struct gpmc_device_timings *dev_t, bool mux) gpmc_calc_sync_write_timings() argument
1377 gpmc_calc_async_read_timings(struct gpmc_timings *gpmc_t, struct gpmc_device_timings *dev_t, bool mux) gpmc_calc_async_read_timings() argument
1417 gpmc_calc_async_write_timings(struct gpmc_timings *gpmc_t, struct gpmc_device_timings *dev_t, bool mux) gpmc_calc_async_write_timings() argument
1459 gpmc_calc_sync_common_timings(struct gpmc_timings *gpmc_t, struct gpmc_device_timings *dev_t) gpmc_calc_sync_common_timings() argument
1489 gpmc_calc_common_timings(struct gpmc_timings *gpmc_t, struct gpmc_device_timings *dev_t, bool sync) gpmc_calc_common_timings() argument
1539 gpmc_calc_timings(struct gpmc_timings *gpmc_t, struct gpmc_settings *gpmc_s, struct gpmc_device_timings *dev_t) gpmc_calc_timings() argument
/linux-4.4.14/fs/efivarfs/
H A Dinternal.h18 const struct inode *dir, int mode, dev_t dev,
H A Dinode.c19 dev_t dev, bool is_removable) efivarfs_get_inode()
/linux-4.4.14/fs/nfs/
H A 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)
526 __field(dev_t, dev)
561 __field(dev_t, dev)
597 __field(dev_t, dev)
644 __field(dev_t, dev)
699 __field(dev_t, dev)
H A Dnfs4trace.h397 __field(dev_t, dev)
466 __field(dev_t, dev)
523 __field(dev_t, dev)
580 __field(dev_t, dev)
621 __field(dev_t, dev)
653 __field(dev_t, dev)
700 __field(dev_t, dev)
752 __field(dev_t, dev)
792 __field(dev_t, dev)
847 __field(dev_t, dev)
899 __field(dev_t, dev)
1002 __field(dev_t, dev)
1053 __field(dev_t, dev)
1105 __field(dev_t, dev)
1163 __field(dev_t, dev)
/linux-4.4.14/fs/gfs2/
H A Dtrace_gfs2.h96 __field( dev_t, dev )
135 __field( dev_t, dev )
167 __field( dev_t, dev )
204 __field( dev_t, dev )
234 __field( dev_t, dev )
264 __field( dev_t, dev )
328 __field( dev_t, dev )
359 __field( dev_t, dev )
384 __field( dev_t, dev )
405 __field( dev_t, dev )
441 __field( dev_t, dev )
481 __field( dev_t, dev )
520 __field( dev_t, dev )
/linux-4.4.14/fs/xfs/
H A Dxfs_trace.h46 __field(dev_t, dev)
107 __field(dev_t, dev)
142 __field(dev_t, dev)
168 __field(dev_t, dev)
220 __field(dev_t, dev)
259 __field(dev_t, dev)
312 __field(dev_t, dev)
385 __field(dev_t, dev)
428 __field(dev_t, dev)
466 __field(dev_t, dev)
546 __field(dev_t, dev)
576 __field(dev_t, dev)
605 __field(dev_t, dev)
637 __field(dev_t, dev)
698 __field(dev_t, dev)
724 __field(dev_t, dev)
748 __field(dev_t, dev)
774 __field(dev_t, dev)
804 __field(dev_t, dev)
837 __field(dev_t, dev)
870 __field(dev_t, dev)
946 __field(dev_t, dev)
1034 __field(dev_t, dev)
1059 __field(dev_t, dev)
1084 __field(dev_t, dev)
1120 __field(dev_t, dev)
1142 __field(dev_t, dev)
1181 __field(dev_t, dev)
1230 __field(dev_t, dev)
1283 __field(dev_t, dev)
1322 __field(dev_t, dev)
1351 __field(dev_t, dev)
1377 __field(dev_t, dev)
1411 __field(dev_t, dev)
1445 __field(dev_t, dev)
1473 __field(dev_t, dev)
1493 __field(dev_t, dev)
1550 __field(dev_t, dev)
1583 __field(dev_t, dev)
1683 __field(dev_t, dev)
1747 __field(dev_t, dev)
1855 __field(dev_t, dev)
1886 __field(dev_t, dev)
1925 __field(dev_t, dev)
1966 __field(dev_t, dev)
2010 __field(dev_t, dev)
2053 __field(dev_t, dev)
2099 __field(dev_t, dev)
2134 __field(dev_t, dev)
H A Dxfs_buf.h106 dev_t bt_dev;
H A Dxfs_iops.c131 dev_t rdev, xfs_generic_create()
211 dev_t rdev) xfs_vn_mknod()
/linux-4.4.14/fs/
H A Dchar_dev.c174 int register_chrdev_region(dev_t from, unsigned count, const char *name) register_chrdev_region()
177 dev_t to = from + count; register_chrdev_region()
178 dev_t n, next; register_chrdev_region()
210 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, alloc_chrdev_region()
285 void unregister_chrdev_region(dev_t from, unsigned count) unregister_chrdev_region()
287 dev_t to = from + count; unregister_chrdev_region()
288 dev_t n, next; unregister_chrdev_region()
430 static struct kobject *exact_match(dev_t dev, int *part, void *data) exact_match()
436 static int exact_lock(dev_t dev, void *data) exact_lock()
452 int cdev_add(struct cdev *p, dev_t dev, unsigned count) cdev_add()
469 static void cdev_unmap(dev_t dev, unsigned count) cdev_unmap()
546 static struct kobject *base_probe(dev_t dev, int *part, void *data) base_probe()
H A Dinternal.h90 extern struct super_block *user_get_super(dev_t);
H A Dbad_inode.c69 umode_t mode, dev_t rdev) bad_inode_mknod()
H A Dstatfs.c216 int vfs_ustat(dev_t dev, struct kstatfs *sbuf) vfs_ustat()
H A Dsuper.c678 struct super_block *user_get_super(dev_t dev) user_get_super()
842 int get_anon_bdev(dev_t *p) get_anon_bdev()
874 void free_anon_bdev(dev_t dev) free_anon_bdev()
894 dev_t dev = sb->s_dev; kill_anon_super()
H A Dblock_dev.c609 static inline unsigned long hash(dev_t dev) hash()
616 return BDEV_I(inode)->bdev.bd_dev == *(dev_t *)data; bdev_test()
621 BDEV_I(inode)->bdev.bd_dev = *(dev_t *)data; bdev_set()
627 struct block_device *bdget(dev_t dev) bdget()
1468 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder) blkdev_get_by_dev()
/linux-4.4.14/arch/x86/include/asm/
H A Dia32.h26 * insane amounts of padding around dev_t's.
/linux-4.4.14/arch/alpha/include/uapi/asm/
H A Dstat.h22 /* The stat64 structure increases the size of dev_t, blkcnt_t, adds
/linux-4.4.14/fs/proc/
H A Dproc_tty.c27 dev_t from, int num) show_tty_range()
70 dev_t from = MKDEV(p->major, p->minor_start); show_tty_driver()
71 dev_t to = from + p->num; show_tty_driver()
94 dev_t next = MKDEV(MAJOR(from)+1, 0); show_tty_driver()
H A Dconsoles.c32 dev_t dev = 0; show_console_dev()
H A Dnommu.c41 dev_t dev = 0; nommu_region_show()
H A Dtask_nommu.c155 dev_t dev = 0; nommu_vma_show()
/linux-4.4.14/arch/mips/include/asm/sn/
H A Dtypes.h23 typedef dev_t vertex_hdl_t; /* hardware graph vertex handle */
/linux-4.4.14/arch/blackfin/include/uapi/asm/
H A Dstat.h34 * insane amounts of padding around dev_t's.
/linux-4.4.14/drivers/char/
H A Draw.c129 dev_t dev = MKDEV(major, minor); bind_set()
176 dev_t raw = MKDEV(RAW_MAJOR, number); bind_set()
187 static int bind_get(int number, dev_t *dev) bind_get()
212 dev_t dev; raw_ctl_ioctl()
254 dev_t dev; raw_ctl_compat_ioctl()
315 dev_t dev = MKDEV(RAW_MAJOR, 0); raw_init()
H A Dscx200_gpio.c78 dev_t devid; scx200_gpio_init()
H A Dbsr.c69 dev_t bsr_dev;
303 dev_t bsr_dev; bsr_init()
H A Dmisc.c187 dev_t dev; misc_register()
H A Dpc8736x_gpio.c257 dev_t devid; pc8736x_gpio_init()
H A Dsnsc.c380 dev_t first_dev, dev; scdrv_init()
H A Dtile-srom.c362 dev_t dev = MKDEV(srom_major, 0); srom_init()
H A Dvirtio_console.c270 dev_t dev) find_port_by_devt_in_portdev()
289 static struct port *find_port_by_devt(dev_t dev) find_port_by_devt()
1395 dev_t devt; add_port()
/linux-4.4.14/fs/9p/
H A Dv9fs_vfs.h59 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t);
61 struct inode *inode, umode_t mode, dev_t);
H A Dvfs_inode.c126 struct p9_wstat *stat, dev_t *rdev) p9mode2unixmode()
272 struct inode *inode, umode_t mode, dev_t rdev) v9fs_init_inode()
370 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t rdev) v9fs_get_inode()
469 dev_t rdev; v9fs_test_inode()
508 dev_t rdev; v9fs_qid_iget()
1360 v9fs_vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) v9fs_vfs_mknod()
1388 dev_t rdev; v9fs_refresh_inode()
H A Dvfs_inode_dotl.c52 dev_t rdev);
815 dev_t rdev) v9fs_vfs_mknod_dotl()
/linux-4.4.14/arch/sh/include/uapi/asm/
H A Dstat.h43 * insane amounts of padding around dev_t's.
100 * insane amounts of padding around dev_t's.
/linux-4.4.14/block/
H A Dgenhd.c399 * blk_alloc_devt - allocate a dev_t for a partition
400 * @part: partition to allocate dev_t for
401 * @devt: out parameter for resulting dev_t
403 * Allocate a dev_t for block device.
406 * 0 on success, allocated dev_t is returned in *@devt. -errno on
412 int blk_alloc_devt(struct hd_struct *part, dev_t *devt) blk_alloc_devt()
439 * blk_free_devt - free a dev_t
440 * @devt: dev_t to free
447 void blk_free_devt(dev_t devt) blk_free_devt()
459 static char *bdevt_str(dev_t devt, char *buf) bdevt_str()
476 void blk_register_region(dev_t devt, unsigned long range, struct module *module, blk_register_region()
477 struct kobject *(*probe)(dev_t, int *, void *), blk_register_region()
478 int (*lock)(dev_t, void *), void *data) blk_register_region()
485 void blk_unregister_region(dev_t devt, unsigned long range) blk_unregister_region()
492 static struct kobject *exact_match(dev_t devt, int *partno, void *data) exact_match()
499 static int exact_lock(dev_t devt, void *data) exact_lock()
586 dev_t devt; add_disk()
683 struct gendisk *get_gendisk(dev_t devt, int *partno) get_gendisk()
894 static struct kobject *base_probe(dev_t devt, int *partno, void *data) base_probe()
1220 dev_t blk_lookup_devt(const char *name, int partno) blk_lookup_devt()
1222 dev_t devt = MKDEV(0, 0); blk_lookup_devt()
H A Dpartition-generic.c24 extern void md_autodetect_dev(dev_t dev);
58 const char *__bdevname(dev_t dev, char *buffer) __bdevname()
274 dev_t devt = MKDEV(0, 0); add_partition()
H A Dbsg.c978 dev_t dev; bsg_register_queue()
1051 dev_t devid; bsg_init()
/linux-4.4.14/drivers/s390/char/
H A Dtape_class.h51 dev_t dev,
H A Dtape_class.c43 dev_t dev, register_tape_dev()
H A Dvmlogrdr.c811 static int vmlogrdr_register_cdev(dev_t dev) vmlogrdr_register_cdev()
856 dev_t dev; vmlogrdr_init()
H A Dhmcdrv_dev.c81 static dev_t hmcdrv_dev_no; /* device number (major/minor) */
H A Dtape_char.c483 dev_t dev; tapechar_init()
H A Dvmur.c47 static dev_t ur_first_dev_maj_min;
1013 dev_t dev; ur_init()
/linux-4.4.14/init/
H A Ddo_mounts.h16 static inline int create_dev(char *name, dev_t dev) create_dev()
H A Ddo_mounts.c45 dev_t ROOT_DEV;
104 * devt_from_partuuid - looks up the dev_t of a partition by its UUID
114 * Returns the matching dev_t on success or 0 on failure.
116 static dev_t devt_from_partuuid(const char *uuid_str) devt_from_partuuid()
118 dev_t res = 0; devt_from_partuuid()
210 dev_t name_to_dev_t(const char *name) name_to_dev_t()
214 dev_t res = 0; name_to_dev_t()
H A Ddo_mounts_md.c129 dev_t dev; md_setup_drive()
130 dev_t devices[MD_SB_DISKS+1]; md_setup_drive()
/linux-4.4.14/arch/m68k/include/uapi/asm/
H A Dstat.h42 * insane amounts of padding around dev_t's.
/linux-4.4.14/arch/mn10300/include/uapi/asm/
H A Dstat.h40 * insane amounts of padding around dev_t's.
/linux-4.4.14/arch/parisc/include/uapi/asm/
H A Dstat.h7 unsigned int st_dev; /* dev_t is 32 bits on parisc */
/linux-4.4.14/arch/cris/include/uapi/asm/
H A Dstat.h45 * insane amounts of padding around dev_t's.
/linux-4.4.14/arch/m32r/include/uapi/asm/
H A Dstat.h46 * insane amounts of padding around dev_t's.
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dstat.h52 * insane amounts of padding around dev_t's.
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Ddevice.c61 static dev_t hfi1_dev;
68 const dev_t dev = MKDEV(MAJOR(hfi1_dev), minor); hfi1_cdev_init()
/linux-4.4.14/kernel/
H A Daudit_fsnotify.c36 dev_t dev; /* associated superblock device */
69 int audit_mark_compare(struct audit_fsnotify_mark *mark, unsigned long ino, dev_t dev) audit_mark_compare()
H A Daudit.h85 dev_t dev;
89 dev_t rdev;
273 extern int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev);
279 extern int audit_mark_compare(struct audit_fsnotify_mark *mark, unsigned long ino, dev_t dev);
H A Daudit_watch.c49 dev_t dev; /* associated superblock device */
139 int audit_watch_compare(struct audit_watch *watch, unsigned long ino, dev_t dev) audit_watch_compare()
258 const char *dname, dev_t dev, audit_update_watch()
545 dev_t dev; audit_exe_compare()
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dstat.h49 * insane amounts of padding around dev_t's.
/linux-4.4.14/fs/ufs/
H A Dutil.c180 dev_t ufs_get_inode_dev()
184 dev_t dev; ufs_get_inode_dev()
208 ufs_set_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi, dev_t dev) ufs_set_inode_dev()
H A Dutil.h258 extern dev_t ufs_get_inode_dev(struct super_block *, struct ufs_inode_info *);
259 extern void ufs_set_inode_dev(struct super_block *, struct ufs_inode_info *, dev_t);
H A Dnamei.c89 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) ufs_mknod()
/linux-4.4.14/drivers/ptp/
H A Dptp_private.h45 dev_t devid;
H A Dptp_clock.c41 static dev_t ptp_devt;
/linux-4.4.14/arch/x86/include/uapi/asm/
H A Dstat.h39 * insane amounts of padding around dev_t's.
/linux-4.4.14/block/partitions/
H A Dmac.c15 extern void note_bootable_part(dev_t dev, int part, int goodness);
/linux-4.4.14/fs/quota/
H A Dnetlink.c44 void quota_send_warning(struct kqid qid, dev_t dev, quota_send_warning()
/linux-4.4.14/arch/mips/include/uapi/asm/
H A Dstat.h47 * amounts of padding around dev_t's. The memory layout is the same as of
/linux-4.4.14/arch/sh/boards/mach-landisk/
H A Dgio.c28 static dev_t dev;
/linux-4.4.14/drivers/platform/chrome/
H A Dcros_ec_dev.c225 dev_t devno = MKDEV(ec_major, pdev->id); ec_device_probe()
308 dev_t dev = 0; cros_ec_dev_init()
/linux-4.4.14/fs/jfs/
H A Djfs_incore.h100 u32 dev; /* will die when we get wide dev_t */
175 dev_t logdev; /* external log device */
H A Djfs_mount.c439 /* record log's dev_t and mount serial number */ updateSuper()
/linux-4.4.14/fs/nfs/blocklayout/
H A Drpc_pipefs.c52 dev_t bl_resolve_deviceid()
63 dev_t dev = 0; bl_resolve_deviceid()
H A Dblocklayout.h182 dev_t bl_resolve_deviceid(struct nfs_server *server,
H A Ddev.c197 dev_t dev; bl_parse_simple()
/linux-4.4.14/kernel/bpf/
H A Dinode.c172 dev_t devt) bpf_mkobj()
205 dev_t devt; bpf_obj_do_pin()
/linux-4.4.14/fs/ramfs/
H A Dinode.c54 const struct inode *dir, umode_t mode, dev_t dev) ramfs_get_inode()
93 ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) ramfs_mknod()
/linux-4.4.14/fs/autofs4/
H A Ddev-ioctl.c222 return path->dentry->d_sb->s_dev == *(dev_t *)p; test_by_dev()
235 static int autofs_dev_ioctl_open_mountpoint(const char *name, dev_t devid) autofs_dev_ioctl_open_mountpoint()
276 dev_t devid; autofs_dev_ioctl_openmount()
438 dev_t devid; autofs_dev_ioctl_requester()
554 dev_t dev = sbi->sb->s_dev; autofs_dev_ioctl_ismountpoint()
/linux-4.4.14/fs/minix/
H A Dminix.h60 extern void minix_set_inode(struct inode *, dev_t);
H A Dnamei.c39 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) minix_mknod()
/linux-4.4.14/fs/nfsd/
H A Dvfs.h62 int type, dev_t rdev, struct svc_fh *res);
H A Dnfsfh.h86 static inline void mk_fsid(int vers, u32 *fsidv, dev_t dev, ino_t ino, mk_fsid()
H A Dnfsfh.c182 dev_t xdev; nfsd_set_fh_dentry()
524 dev_t ex_dev = exp_sb(exp)->s_dev; fh_compose()
H A Dvfs.c60 dev_t p_dev;
727 dev_t dev = inode->i_sb->s_dev; nfsd_init_raparms()
891 static dev_t last_dev; wait_for_concurrent_writes()
1124 int type, dev_t rdev, struct svc_fh *resfhp) nfsd_create()
/linux-4.4.14/fs/sysv/
H A Dnamei.c63 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) sysv_mknod()
H A Dinode.c154 void sysv_set_inode(struct inode *inode, dev_t rdev) sysv_set_inode()
H A Dsysv.h144 extern void sysv_set_inode(struct inode *, dev_t);
/linux-4.4.14/arch/parisc/include/asm/
H A Dcompat.h53 compat_dev_t st_dev; /* dev_t is 32 bits on parisc */
/linux-4.4.14/drivers/pps/
H A Dpps.c42 static dev_t pps_devt;
295 dev_t devt; pps_register_cdev()
/linux-4.4.14/drivers/hid/
H A Dhid-roccat.c420 dev_t dev_id; roccat_init()
450 dev_t dev_id = MKDEV(roccat_major, 0); roccat_exit()
H A Dhidraw.c586 dev_t dev_id; hidraw_init()
622 dev_t dev_id = MKDEV(hidraw_major, 0); hidraw_exit()
/linux-4.4.14/drivers/char/ipmi/
H A Dipmi_devintf.c884 dev_t dev;
894 dev_t dev = MKDEV(ipmi_major, if_num); ipmi_new_smi()
913 dev_t dev = MKDEV(ipmi_major, if_num); ipmi_smi_gone()
/linux-4.4.14/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c603 dev_t devt; hwicap_setup()
853 dev_t devt; hwicap_module_init()
880 dev_t devt = MKDEV(XHWICAP_MAJOR, XHWICAP_MINOR); hwicap_module_cleanup()
H A Dxilinx_hwicap.h54 dev_t devt;
/linux-4.4.14/fs/fuse/
H A Dcuse.c75 static struct list_head *cuse_conntbl_head(dev_t devt) cuse_conntbl_head()
113 dev_t devt = inode->i_cdev->dev; cuse_open()
315 dev_t devt; cuse_process_init_reply()
/linux-4.4.14/fs/overlayfs/
H A Ddir.c385 static int ovl_create_or_link(struct dentry *dentry, int mode, dev_t rdev, ovl_create_or_link()
440 static int ovl_create_object(struct dentry *dentry, int mode, dev_t rdev, ovl_create_object()
466 dev_t rdev) ovl_mknod()
H A Doverlayfs.h74 umode_t mode, dev_t dev, bool debug) ovl_do_mknod()
/linux-4.4.14/drivers/staging/most/aim-cdev/
H A Dcdev.c27 static dev_t aim_devno;
41 dev_t devno;
/linux-4.4.14/drivers/hwtracing/intel_th/
H A Dcore.c510 dev_t devt = (dev_t)(unsigned long)data; match_devt()
/linux-4.4.14/drivers/misc/cxl/
H A Dfile.c44 static dev_t cxl_dev;
453 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev, cxl_add_chardev()
/linux-4.4.14/include/uapi/linux/
H A Dcoda.h79 typedef u_long dev_t; typedef
110 #define cdev_t dev_t
/linux-4.4.14/include/linux/mtd/
H A Dubi.h125 dev_t cdev;
196 dev_t cdev;
/linux-4.4.14/drivers/watchdog/
H A Dwatchdog_dev.c47 /* the dev_t structure to store the dynamically allocated watchdog devices */
48 static dev_t watchdog_devt;
/linux-4.4.14/drivers/scsi/
H A Dsd.h6 * is a leftover from 16bit dev_t days, we don't really need that
/linux-4.4.14/drivers/md/
H A Ddm-table.c263 static struct dm_dev_internal *find_device(struct list_head *l, dev_t dev) find_device()
370 dev_t dm_get_dev_t(const char *path) dm_get_dev_t()
372 dev_t uninitialized_var(dev); dm_get_dev_t()
395 dev_t dev; dm_get_device()
H A Ddm.h202 int dm_get_table_device(struct mapped_device *md, dev_t dev, fmode_t mode,
H A Dmd.c518 static struct mddev *mddev_find(dev_t unit) mddev_find()
650 static struct md_rdev *find_rdev(struct mddev *mddev, dev_t dev) find_rdev()
661 static struct md_rdev *find_rdev_rcu(struct mddev *mddev, dev_t dev) find_rdev_rcu()
2161 static int lock_rdev(struct md_rdev *rdev, dev_t dev, int shared) lock_rdev()
2185 void md_autodetect_dev(dev_t dev);
3202 static struct md_rdev *md_import_device(dev_t newdev, int super_format, int super_minor) md_import_device()
4078 dev_t dev; new_dev_store()
4974 static int md_alloc(dev_t dev, char *name) md_alloc()
5079 static struct kobject *md_probe(dev_t dev, int *part, void *data) md_probe()
5736 dev_t dev; autorun_devices()
5956 dev_t dev = MKDEV(info->major,info->minor); add_new_disk()
6139 static int hot_remove_disk(struct mddev *mddev, dev_t dev) hot_remove_disk()
6179 static int hot_add_disk(struct mddev *mddev, dev_t dev) hot_add_disk()
6627 static int set_disk_faulty(struct mddev *mddev, dev_t dev) set_disk_faulty()
9213 dev_t dev;
9216 void md_autodetect_dev(dev_t dev) md_autodetect_dev()
9234 dev_t dev; autostart_arrays()
H A Ddm.c774 static int open_table_device(struct table_device *td, dev_t dev, open_table_device()
811 static struct table_device *find_table_device(struct list_head *l, dev_t dev, find_table_device()
822 int dm_get_table_device(struct mapped_device *md, dev_t dev, fmode_t mode, dm_get_table_device()
2806 struct mapped_device *dm_get_md(dev_t dev) dm_get_md()
/linux-4.4.14/drivers/misc/mic/host/
H A Dmic_main.c61 static dev_t g_mic_devno;
/linux-4.4.14/drivers/firewire/
H A Dcore.h150 struct fw_device *fw_device_get_by_devt(dev_t devt);
/linux-4.4.14/drivers/block/
H A Dz2ram.c332 static struct kobject *z2_find(dev_t dev, int *part, void *data) z2_find()
H A Dpktcdvd.c106 static int pkt_setup_dev(dev_t dev, dev_t* pkt_dev);
107 static int pkt_remove_dev(dev_t pkt_dev);
2592 static int pkt_new_dev(struct pktcdvd_device *pd, dev_t dev) pkt_new_dev()
2722 static int pkt_setup_dev(dev_t dev, dev_t* pkt_dev) pkt_setup_dev()
2816 static int pkt_remove_dev(dev_t pkt_dev) pkt_remove_dev()
2891 dev_t pkt_dev = 0; pkt_ctl_ioctl()
H A Dbrd.c567 static struct kobject *brd_probe(dev_t dev, int *part, void *data) brd_probe()
/linux-4.4.14/drivers/char/tpm/
H A Dtpm-chip.c37 dev_t tpm_devt;
H A Dtpm.h498 extern dev_t tpm_devt;
/linux-4.4.14/arch/arc/kernel/
H A Dtroubleshoot.c86 dev_t dev = 0; show_faulting_vma()
/linux-4.4.14/fs/ncpfs/
H A Dncplib_kernel.h117 umode_t mode, dev_t rdev, __le32 attributes);
H A Ddir.c41 umode_t mode, dev_t rdev);
911 dev_t rdev, __le32 attributes) ncp_create_new()
1166 umode_t mode, dev_t rdev) ncp_mknod()
/linux-4.4.14/security/tomoyo/
H A Drealpath.c183 const dev_t dev = sb->s_dev; tomoyo_get_local_path()
H A Dcommon.h568 dev_t dev;
569 dev_t rdev;
/linux-4.4.14/fs/cifs/
H A Dcifsfs.h64 extern int cifs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
/linux-4.4.14/fs/efs/
H A Dinode.c50 dev_t device; efs_iget()
/linux-4.4.14/fs/exofs/
H A Dnamei.c78 dev_t rdev) exofs_mknod()
/linux-4.4.14/kernel/power/
H A Dpower.h85 extern dev_t swsusp_resume_device;
H A Duser.c358 dev_t swdev; snapshot_ioctl()
H A Dhibernate.c43 dev_t swsusp_resume_device;
1003 dev_t res; resume_store()
/linux-4.4.14/fs/ubifs/
H A Dmisc.h156 static inline int ubifs_encode_dev(union ubifs_dev_desc *dev, dev_t rdev) ubifs_encode_dev()
/linux-4.4.14/kernel/trace/
H A Dblktrace.c436 int do_blk_trace_setup(struct request_queue *q, char *name, dev_t dev, do_blk_trace_setup()
534 int blk_trace_setup(struct request_queue *q, char *name, dev_t dev, blk_trace_setup()
559 dev_t dev, struct block_device *bdev, compat_blk_trace_setup()
903 dev_t dev, sector_t from) blk_add_trace_bio_remap()
935 struct request *rq, dev_t dev, blk_add_trace_rq_remap()
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_hid.c591 dev_t dev; hidg_bind()
973 dev_t dev; ghid_setup()
H A Df_printer.c1021 dev_t devt; printer_func_bind()
1440 dev_t devt; gprinter_setup()
/linux-4.4.14/drivers/mtd/ubi/
H A Dvmt.c161 dev_t dev; ubi_create_volume()
590 dev_t dev; ubi_add_volume()
/linux-4.4.14/drivers/hsi/clients/
H A Dhsi_char.c695 dev_t hsc_dev; hsc_probe()
751 dev_t hsc_dev = cl_data->cdev.dev; hsc_remove()
/linux-4.4.14/fs/hostfs/
H A Dhostfs_kern.c520 dev_t rdev; read_name()
714 static int hostfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) hostfs_mknod()
/linux-4.4.14/fs/jffs2/
H A Ddir.c36 static int jffs2_mknod (struct inode *,struct dentry *,umode_t,dev_t);
609 static int jffs2_mknod (struct inode *dir_i, struct dentry *dentry, umode_t mode, dev_t rdev) jffs2_mknod()
/linux-4.4.14/drivers/mtd/devices/
H A Dblock2mtd.c248 dev_t devt; add_device()
/linux-4.4.14/drivers/ide/
H A Dide-probe.c877 static int ata_lock(dev_t dev, void *data) ata_lock()
883 static struct kobject *ata_probe(dev_t dev, int *part, void *data) ata_probe()
904 static struct kobject *exact_match(dev_t dev, int *part, void *data) exact_match()
911 static int exact_lock(dev_t dev, void *data) exact_lock()
/linux-4.4.14/drivers/media/
H A Dmedia-devnode.c51 static dev_t media_dev_t;
/linux-4.4.14/fs/ext2/
H A Dnamei.c141 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) ext2_mknod()
/linux-4.4.14/kernel/time/
H A Dposix-clock.c209 int posix_clock_register(struct posix_clock *clk, dev_t devid) posix_clock_register()
/linux-4.4.14/include/net/9p/
H A Dclient.h254 dev_t rdev, kgid_t gid, struct p9_qid *);
/linux-4.4.14/drivers/tty/
H A Dtty_io.c307 * @dev_t: device identifier
316 static struct tty_driver *get_tty_driver(dev_t device, int *index) get_tty_driver()
321 dev_t base = MKDEV(p->major, p->minor_start); get_tty_driver()
1935 static struct tty_struct *tty_open_current_tty(dev_t device, struct file *filp) tty_open_current_tty()
1973 static struct tty_driver *tty_lookup_driver(dev_t device, struct file *filp, tty_lookup_driver()
2040 dev_t device = inode->i_rdev; tty_open()
3117 const dev_t *devt = data; dev_match_devt()
3124 dev_t devt = tty_devnum(tty); tty_get_device()
3209 static int tty_cdev_add(struct tty_driver *driver, dev_t dev, tty_cdev_add()
3284 dev_t devt = MKDEV(driver->major, driver->minor_start) + index; tty_register_device_attr()
3484 dev_t dev; tty_register_driver()
3559 dev_t tty_devnum(struct tty_struct *tty) tty_devnum()
/linux-4.4.14/drivers/infiniband/core/
H A Duser_mad.c130 static const dev_t base_dev = MKDEV(IB_UMAD_MAJOR, IB_UMAD_MINOR_BASE);
1128 static dev_t overflow_maj;
1156 dev_t base; ib_umad_init_port()
H A Ducm.c1232 static dev_t overflow_maj; find_overflow_devnum()
1256 dev_t base; ib_ucm_add_one()
H A Duverbs_main.c1039 static dev_t overflow_maj;
1070 dev_t base; ib_uverbs_add_one()
/linux-4.4.14/drivers/rtc/
H A Drtc-dev.c21 static dev_t rtc_devt;
/linux-4.4.14/drivers/misc/
H A Dphantom.c512 dev_t dev; phantom_init()
/linux-4.4.14/drivers/media/dvb-core/
H A Ddvbdev.c599 dev_t dev = MKDEV(DVB_MAJOR, 0); init_dvbdev()
/linux-4.4.14/drivers/nvdimm/
H A Dbus.c315 dev_t devt = MKDEV(nvdimm_bus_major, nvdimm_bus->id); nvdimm_bus_create_ndctl()
/linux-4.4.14/drivers/crypto/qat/qat_common/
H A Dadf_ctl_drv.c92 dev_t dev_id; adf_chr_drv_create()
/linux-4.4.14/fs/hfsplus/
H A Ddir.c475 umode_t mode, dev_t rdev) hfsplus_mknod()
/linux-4.4.14/fs/hpfs/
H A Dnamei.c217 static int hpfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) hpfs_mknod()
/linux-4.4.14/fs/nilfs2/
H A Dnamei.c117 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) nilfs_mknod()
/linux-4.4.14/fs/ocfs2/
H A Dnamei.c72 dev_t dev,
240 dev_t dev) ocfs2_mknod()
506 dev_t dev, __ocfs2_mknod_locked()
619 dev_t dev, ocfs2_mknod_locked()
/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dsetup.c368 void __init_refok note_bootable_part(dev_t dev, int part, int goodness) note_bootable_part()
/linux-4.4.14/sound/
H A Dsound_core.c93 * 32bit dev_t) from the modules and their interface.
/linux-4.4.14/drivers/media/v4l2-core/
H A Dv4l2-dev.c983 dev_t dev = MKDEV(VIDEO_MAJOR, 0); videodev_init()
1006 dev_t dev = MKDEV(VIDEO_MAJOR, 0); videodev_exit()
/linux-4.4.14/drivers/net/
H A Dmacvtap.c126 static dev_t macvtap_major;
1279 dev_t devt; macvtap_device_event()
/linux-4.4.14/fs/hugetlbfs/
H A Dinode.c721 umode_t mode, dev_t dev) hugetlbfs_get_inode()
779 struct dentry *dentry, umode_t mode, dev_t dev) hugetlbfs_mknod()
/linux-4.4.14/drivers/staging/unisys/visorbus/
H A Dvisorchipset.c240 static dev_t major_dev = -1; /**< indicates major num for device */
2234 visorchipset_file_init(dev_t major_dev, struct visorchannel **controlvm_channel) visorchipset_file_init()
2339 visorchipset_file_cleanup(dev_t major_dev) visorchipset_file_cleanup()
/linux-4.4.14/drivers/uio/
H A Duio.c724 dev_t uio_dev = 0; uio_major_init()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dlloop.c674 dev_t dev; lloop_ioctl()
/linux-4.4.14/drivers/spi/
H A Dspidev.c76 dev_t devt;
/linux-4.4.14/drivers/misc/mei/
H A Dmain.c736 static dev_t mei_devt;
/linux-4.4.14/drivers/net/can/
H A Dslcan.c511 static struct slcan *slc_alloc(dev_t line) slc_alloc()

Completed in 5575 milliseconds

12