Lines Matching refs:ops
40 extern struct bootops *ops;
56 BRD_MOUNTROOT(struct boot_fs_ops *ops, char *str) in BRD_MOUNTROOT() argument
58 return (ops->fsw_mountroot(str)); in BRD_MOUNTROOT()
62 BRD_UNMOUNTROOT(struct boot_fs_ops *ops) in BRD_UNMOUNTROOT() argument
67 return (ops->fsw_unmountroot()); in BRD_UNMOUNTROOT()
71 BRD_OPEN(struct boot_fs_ops *ops, char *file, int flags) in BRD_OPEN() argument
90 return (ops->fsw_open(file, flags)); in BRD_OPEN()
94 BRD_CLOSE(struct boot_fs_ops *ops, int fd) in BRD_CLOSE() argument
99 return (ops->fsw_close(fd)); in BRD_CLOSE()
103 BRD_READ(struct boot_fs_ops *ops, int fd, caddr_t buf, size_t len) in BRD_READ() argument
110 return (ops->fsw_read(fd, buf, len)); in BRD_READ()
114 BRD_SEEK(struct boot_fs_ops *ops, int fd, off_t addr, int whence) in BRD_SEEK() argument
121 return (ops->fsw_lseek(fd, addr, whence)); in BRD_SEEK()
125 BRD_FSTAT(struct boot_fs_ops *ops, int fd, struct bootstat *bsp) in BRD_FSTAT() argument
130 return (ops->fsw_fstat(fd, bsp)); in BRD_FSTAT()
170 if (BOP_GETPROPLEN(ops, "ramdisk_start") != 8 || in kobj_boot_mountroot()
171 BOP_GETPROP(ops, "ramdisk_start", (void *)&rd_start) != 0 || in kobj_boot_mountroot()
172 BOP_GETPROPLEN(ops, "ramdisk_end") != 8 || in kobj_boot_mountroot()
173 BOP_GETPROP(ops, "ramdisk_end", (void *)&rd_end) != 0) { in kobj_boot_mountroot()
223 addr = BOP_ALLOC(ops, 0, size, 0); in bkmem_alloc()
245 _vkobj_printf(ops, fmt, adx); in kobj_printf()