Lines Matching refs:_buf
97 static int get_progbits(struct module *, struct _buf *);
98 static int get_syms(struct module *, struct _buf *);
99 static int get_ctf(struct module *, struct _buf *);
100 static void get_signature(struct module *, struct _buf *);
114 static int kobj_comp_setup(struct _buf *, struct compinfo *);
115 static int kobj_uncomp_blk(struct _buf *, caddr_t, uint_t);
116 static int kobj_read_blks(struct _buf *, caddr_t, uint_t, uint_t);
584 struct _buf *file; in synthetic_bootaux()
593 if (file == (struct _buf *)-1) { in synthetic_bootaux()
1234 struct _buf *file; in bind_primary()
1238 if (file == (struct _buf *)-1) in bind_primary()
1256 struct _buf *file; in bind_primary()
1264 if (file == (struct _buf *)-1) in bind_primary()
1751 do_dynamic(struct module *mp, struct _buf *file) in do_dynamic()
1860 struct _buf *file; in kobj_load_module()
1878 if (file == (struct _buf *)-1) { in kobj_load_module()
1882 if (file == (struct _buf *)-1) { in kobj_load_module()
2086 if (file != (struct _buf *)-1) in kobj_load_module()
2092 return ((file == (struct _buf *)-1) ? ENOENT : EINVAL); in kobj_load_module()
2274 get_progbits(struct module *mp, struct _buf *file) in get_progbits()
2473 get_syms(struct module *mp, struct _buf *file) in get_syms()
2626 get_ctf(struct module *mp, struct _buf *file) in get_ctf()
2733 get_signature(struct module *mp, struct _buf *file) in get_signature()
3420 struct _buf *file; in kobj_path_exists()
3424 if (file == (struct _buf *)-1) in kobj_path_exists()
3427 if (file == (struct _buf *)-1) in kobj_path_exists()
3438 struct _buf *
3446 struct _buf *file; in kobj_open_path()
3502 if ((file = kobj_open_file(fullname)) != (struct _buf *)-1) { in kobj_open_path()
3517 return ((struct _buf *)-1); in kobj_open_path()
3722 struct _buf *
3725 struct _buf *file; in kobj_open_file()
3730 return ((struct _buf *)-1); in kobj_open_file()
3733 file = kobj_zalloc(sizeof (struct _buf), KM_WAIT|KM_TMP); in kobj_open_file()
3755 return ((struct _buf *)-1); in kobj_open_file()
3761 return ((struct _buf *)-1); in kobj_open_file()
3772 kobj_comp_setup(struct _buf *file, struct compinfo *cip) in kobj_comp_setup()
3800 kobj_close_file(struct _buf *file) in kobj_close_file()
3808 kobj_free(file, sizeof (struct _buf)); in kobj_close_file()
3812 kobj_read_file(struct _buf *file, char *buf, uint_t size, uint_t off) in kobj_read_file()
3956 kobj_read_blks(struct _buf *file, char *buf, uint_t size, uint_t off) in kobj_read_blks()
3982 kobj_uncomp_blk(struct _buf *file, char *buf, uint_t off) in kobj_uncomp_blk()
4002 kobj_filbuf(struct _buf *f) in kobj_filbuf()
4177 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
4349 struct _buf *file; in expand_libmacro()
4388 (struct _buf *)-1) { in expand_libmacro()
4438 if (file != (struct _buf *)-1) { in expand_libmacro()