Searched refs:bdevsw (Results 1 - 10 of 10) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | bsd_stubs.c | 116 struct bdevsw nobdev = NO_BDEVICE; 130 struct bdevsw *devsw; 137 devsw = &bdevsw[index]; 141 sizeof(struct bdevsw)) == 0) 145 devsw = &bdevsw[index]; 149 sizeof(struct bdevsw)) != 0)) { 165 bdevsw_add(int index, struct bdevsw * bsw) 171 bdevsw[index] = *bsw; 179 bdevsw_remove(int index, struct bdevsw * bsw) 181 struct bdevsw *devs [all...] |
H A D | kern_symfile.c | 90 return ((*bdevsw[major(device)].d_ioctl)
|
/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | conf.c | 52 struct bdevsw bdevsw[] = { variable in typeref:struct:bdevsw 100 int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]); 313 if ((D_TYPEMASK & bdevsw[maj].d_type) == D_DISK) {
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | conf.c | 52 struct bdevsw bdevsw[] = variable in typeref:struct:bdevsw 95 int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]); 311 if ((D_TYPEMASK & bdevsw[maj].d_type) == D_DISK) {
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | conf.h | 159 struct bdevsw { struct 174 extern struct bdevsw bdevsw[]; 179 * Contents of empty bdevsw slot. 313 int bdevsw_add(int, struct bdevsw *); 314 int bdevsw_remove(int, struct bdevsw *);
|
/darwin-on-arm/xnu/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 212 if ((major(dev) < nblkdev) && (size = bdevsw[major(dev)].d_psize)) { 348 error = (*bdevsw[maj].d_open)(dev, ap->a_mode, S_IFBLK, p); 650 retval = (*bdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data, ap->a_fflag, p); 1729 strategy_ret = (*(strategy_fcn_ret_t*)bdevsw[major(bdev)].d_strategy)(bp); 1856 error = bdevsw[major(dev)].d_close(dev, flags, S_IFBLK, p);
|
/darwin-on-arm/xnu/bsd/dev/ |
H A D | memdev.c | 131 static struct bdevsw mdevbdevsw = {
|
/darwin-on-arm/xnu/bsd/dev/vn/ |
H A D | vn.c | 144 static struct bdevsw vn_bdevsw = {
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_vnops.c | 1331 *(int *)data = D_TYPEMASK & bdevsw[major(vp->v_rdev)].d_type;
|
H A D | vfs_syscalls.c | 763 error = bdevsw[maj].d_open(dev, FREAD | FWRITE, S_IFBLK, p);
|
Completed in 103 milliseconds