/xnu-2782.1.97/bsd/sys/_types/ |
H A D | _dev_t.h | 30 typedef __darwin_dev_t dev_t; /* device number */ typedef
|
/xnu-2782.1.97/bsd/machine/ |
H A D | cons.h | 39 dev_t cn_dev; /* major/minor of device */ 63 int consopen(dev_t, int, int, struct proc *); 64 int consclose(dev_t, int, int, struct proc *); 65 int consread(dev_t, struct uio *, int); 66 int conswrite(dev_t, struct uio *, int); 67 int consioctl(dev_t, u_long, caddr_t, int, struct proc *); 68 int consselect(dev_t, int, void *, struct proc *); 75 int kmopen(dev_t, int, int, struct proc *); 76 int kmclose(dev_t, int, int, struct proc *); 77 int kmread(dev_t, struc [all...] |
/xnu-2782.1.97/osfmk/profiling/ |
H A D | profile-mk.h | 47 extern int gprofopen(dev_t, int, io_req_t); 48 extern void gprofclose(dev_t); 50 extern int gprofread(dev_t, io_req_t); 51 extern int gprofwrite(dev_t, io_req_t);
|
H A D | profile-mk.c | 174 gprofopen(dev_t dev, 183 gprofclose(dev_t dev) 220 gprofread(dev_t dev, 227 gprofwrite(dev_t dev,
|
/xnu-2782.1.97/bsd/dev/random/ |
H A D | randomdev.h | 51 int random_open(dev_t dev, int flags, int devtype, struct proc *pp); 52 int random_close(dev_t dev, int flags, int mode, struct proc *pp); 53 int random_read(dev_t dev, struct uio *uio, int ioflag); 54 int random_write(dev_t dev, struct uio *uio, int ioflag);
|
H A D | randomdev.c | 108 random_ioctl( __unused dev_t dev, u_long cmd, __unused caddr_t data, 128 random_open(__unused dev_t dev, int flags, __unused int devtype, __unused struct proc *p) 152 random_close(__unused dev_t dev, __unused int flags, __unused int mode, __unused struct proc *p) 163 random_write (dev_t dev, struct uio *uio, __unused int ioflag) 192 random_read(__unused dev_t dev, struct uio *uio, __unused int ioflag)
|
/xnu-2782.1.97/bsd/dev/i386/ |
H A D | cons.c | 69 int cnopen(__unused dev_t dev, int flag, int devtype, proc_t pp); 70 int cnclose(__unused dev_t dev, int flag, int mode, proc_t pp); 71 int cnread(__unused dev_t dev, struct uio *uio, int ioflag); 72 int cnwrite(__unused dev_t dev, struct uio *uio, int ioflag); 73 int cnioctl(__unused dev_t dev, u_long cmd, caddr_t addr, int flg, proc_t p); 74 int cnselect(__unused dev_t dev, int flag, void * wql, proc_t p); 76 static dev_t 86 cnopen(__unused dev_t dev, int flag, int devtype, struct proc *pp) 94 cnclose(__unused dev_t dev, int flag, int mode, struct proc *pp) 102 cnread(__unused dev_t de [all...] |
H A D | conf.c | 48 extern dev_t chrtoblk(dev_t dev); 297 isdisk(dev_t dev, int type) 299 dev_t maj = major(dev); 347 dev_t 348 chrtoblk(dev_t dev)
|
H A D | km.c | 92 kmopen(dev_t dev, int flag, __unused int devtype, proc_t pp) 163 kmclose(dev_t dev, int flag, __unused int mode, __unused proc_t p) 177 kmread(dev_t dev, struct uio *uio, int ioflag) 190 kmwrite(dev_t dev, struct uio *uio, int ioflag) 203 kmioctl(dev_t dev, u_long cmd, caddr_t data, int flag, proc_t p) 271 kmputc(__unused dev_t dev, char c)
|
/xnu-2782.1.97/bsd/miscfs/devfs/ |
H A D | devfs.h | 77 * before returning a dev_t value for an open instance, the dev_t has 82 * dev - the dev_t value to associate 91 void * devfs_make_node_clone(dev_t dev, int chrblk, uid_t uid, gid_t gid, 92 int perms, int (*clone)(dev_t dev, int action), 102 * dev - the dev_t value to associate 110 void * devfs_make_node(dev_t dev, int chrblk, uid_t uid, gid_t gid,
|
/xnu-2782.1.97/iokit/bsddev/ |
H A D | DINetBootHook.h | 43 * fixed up comment re dev_t 72 int di_root_image(const char *path, char devname[], dev_t *dev_p);
|
/xnu-2782.1.97/osfmk/libsa/i386/ |
H A D | types.h | 59 typedef int dev_t; /* device number (major+minor) */ typedef
|
/xnu-2782.1.97/security/ |
H A D | mac_pty.c | 9 mac_pty_notify_grant(proc_t p, struct tty *tp, dev_t dev, struct label *label) { 14 mac_pty_notify_close(proc_t p, struct tty *tp, dev_t dev, struct label *label) {
|
/xnu-2782.1.97/bsd/dev/ |
H A D | mem.c | 89 boolean_t iskmemdev(dev_t dev); 108 int mmread(dev_t dev, struct uio *uio); 109 int mmwrite(dev_t dev, struct uio *uio); 110 int mmioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p); 111 int mmrw(dev_t dev, struct uio *uio, enum uio_rw rw); 114 mmread(dev_t dev, struct uio *uio) 120 mmwrite(dev_t dev, struct uio *uio) 126 mmioctl(dev_t dev, u_long cmd, __unused caddr_t data, 154 mmrw(dev_t dev, struct uio *uio, enum uio_rw rw) 292 boolean_t iskmemdev(dev_t de [all...] |
H A D | memdev.c | 108 static int mdevbioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p); 109 static int mdevcioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p); 110 static int mdevrw(dev_t dev, struct uio *uio, int ioflag); 177 static int mdevioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p, int is_char); 178 dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys); 179 dev_t mdevlookup(int devid); 182 static int mdevclose(__unused dev_t dev, __unused int flags, 188 static int mdevopen(dev_t dev, int flags, __unused int devtype, __unused struct proc *p) { 201 static int mdevrw(dev_t dev, struct uio *uio, __unused int ioflag) { 343 static int mdevbioctl(dev_t de [all...] |
/xnu-2782.1.97/bsd/sys/ |
H A D | conf.h | 99 typedef int open_close_fcn_t(dev_t dev, int flags, int devtype, 102 typedef struct tty *d_devtotty_t(dev_t dev); 105 typedef int ioctl_fcn_t(dev_t dev, u_long cmd, caddr_t data, 108 typedef int psize_fcn_t(dev_t dev); 109 typedef int read_write_fcn_t(dev_t dev, struct uio *uio, int ioflag); 112 typedef int select_fcn_t(dev_t dev, int which, void * wql, struct proc *p); 169 extern int (*bootcache_contains_block)(dev_t device, u_int64_t blkno); 212 dev_t dl_dev; 234 typedef int l_open_t (dev_t dev, struct tty *tp); 273 dev_t sw_de [all...] |
H A D | vstat.h | 57 dev_t vst_dev; /* inode's device */ 58 dev_t vst_rdev; /* device type */
|
H A D | imgsrc.h | 76 dev_t ii_dev; /* dev_t for this volume */
|
H A D | acct.h | 90 dev_t ac_tty; /* controlling tty */
|
H A D | stat.h | 89 * [XSI] The blkcnt_t, blksize_t, dev_t, ino_t, mode_t, nlink_t, uid_t, 167 dev_t st_dev; /* [XSI] ID of device containing file */ \ 173 dev_t st_rdev; /* [XSI] Device ID */ \ 195 dev_t st_dev; /* [XSI] ID of device containing file */ 201 dev_t st_rdev; /* [XSI] Device ID */ 244 dev_t st_dev; /* [XSI] ID of device containing file */ 250 dev_t st_rdev; /* [XSI] Device ID */ 277 dev_t st_dev; /* [XSI] ID of device containing file */ 283 dev_t st_rdev; /* [XSI] Device ID */ 310 dev_t st_de [all...] |
H A D | fsevents.h | 85 #define FSE_ARG_DEV 0x0009 // next arg is the file's dev_t 129 dev_t *devices; 135 dev_t *devices; 158 dev_t dev;
|
H A D | types.h | 130 /* Major, minor numbers, dev_t's. */ 147 static inline dev_t makedev(__uint32_t _major, __uint32_t _minor) 149 return (dev_t)(((_major) << 24) | (_minor)); 156 #define makedev(x,y) ((dev_t)(((x) << 24) | (y)))
|
/xnu-2782.1.97/bsd/kern/ |
H A D | tty_tty.c | 78 int cttyopen(dev_t dev, int flag, int mode, proc_t p); 79 int cttyread(dev_t dev, struct uio *uio, int flag); 80 int cttywrite(dev_t dev, struct uio *uio, int flag); 81 int cttyioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, proc_t p); 82 int cttyselect(dev_t dev, int flag, void* wql, proc_t p); 86 cttyopen(dev_t dev, int flag, __unused int mode, proc_t p) 162 cttyread(__unused dev_t dev, struct uio *uio, int flag) 181 cttywrite(__unused dev_t dev, struct uio *uio, int flag) 200 cttyioctl(__unused dev_t dev, u_long cmd, caddr_t addr, int flag, proc_t p) 238 cttyselect(__unused dev_t de [all...] |
H A D | tty_ptmx.c | 170 static int ptmx_clone(dev_t dev, int minor); 466 ptmx_clone(__unused dev_t dev, int action) 505 int ptsd_kqfilter(dev_t, struct knote *); 532 dev_t dev, lockdev = (dev_t)kn->kn_hookid; 536 if ((dev = (dev_t)kn->kn_hookid) != 0) { 557 dev_t dev = (dev_t)kn->kn_hookid; 611 ptsd_kqfilter(dev_t dev, struct knote *kn)
|
/xnu-2782.1.97/SETUP/config/ |
H A D | config.h | 140 dev_t nametodev(char *name, int defunit, char defpartition); 141 char *devtoname(dev_t dev);
|