Lines Matching refs:_buf
99 static int get_progbits(struct module *, struct _buf *);
100 static int get_syms(struct module *, struct _buf *);
101 static int get_ctf(struct module *, struct _buf *);
102 static void get_signature(struct module *, struct _buf *);
116 static int kobj_comp_setup(struct _buf *, struct compinfo *);
117 static int kobj_uncomp_blk(struct _buf *, caddr_t, uint_t);
118 static int kobj_read_blks(struct _buf *, caddr_t, uint_t, uint_t);
575 struct _buf *file; in synthetic_bootaux()
584 if (file == (struct _buf *)-1) { in synthetic_bootaux()
1153 kobj_load_elfhdr(struct _buf *file, struct module *mp) in kobj_load_elfhdr()
1290 struct _buf *file; in bind_primary()
1294 if (file == (struct _buf *)-1) in bind_primary()
1311 struct _buf *file; in bind_primary()
1319 if (file == (struct _buf *)-1) in bind_primary()
1806 do_dynamic(struct module *mp, struct _buf *file) in do_dynamic()
1915 struct _buf *file; in kobj_load_module()
1933 if (file == (struct _buf *)-1) { in kobj_load_module()
1937 if (file == (struct _buf *)-1) { in kobj_load_module()
2140 if (file != (struct _buf *)-1) in kobj_load_module()
2146 return ((file == (struct _buf *)-1) ? ENOENT : EINVAL); in kobj_load_module()
2339 get_progbits(struct module *mp, struct _buf *file) in get_progbits()
2538 get_syms(struct module *mp, struct _buf *file) in get_syms()
2740 get_ctf(struct module *mp, struct _buf *file) in get_ctf()
2847 get_signature(struct module *mp, struct _buf *file) in get_signature()
3550 struct _buf *file; in kobj_path_exists()
3554 if (file == (struct _buf *)-1) in kobj_path_exists()
3557 if (file == (struct _buf *)-1) in kobj_path_exists()
3568 struct _buf *
3576 struct _buf *file; in kobj_open_path()
3632 if ((file = kobj_open_file(fullname)) != (struct _buf *)-1) { in kobj_open_path()
3647 return ((struct _buf *)-1); in kobj_open_path()
3852 struct _buf *
3855 struct _buf *file; in kobj_open_file()
3860 return ((struct _buf *)-1); in kobj_open_file()
3863 file = kobj_zalloc(sizeof (struct _buf), KM_WAIT|KM_TMP); in kobj_open_file()
3885 return ((struct _buf *)-1); in kobj_open_file()
3891 return ((struct _buf *)-1); in kobj_open_file()
3902 kobj_comp_setup(struct _buf *file, struct compinfo *cip) in kobj_comp_setup()
3930 kobj_close_file(struct _buf *file) in kobj_close_file()
3938 kobj_free(file, sizeof (struct _buf)); in kobj_close_file()
3942 kobj_read_file(struct _buf *file, char *buf, uint_t size, uint_t off) in kobj_read_file()
4086 kobj_read_blks(struct _buf *file, char *buf, uint_t size, uint_t off) in kobj_read_blks()
4112 kobj_uncomp_blk(struct _buf *file, char *buf, uint_t off) in kobj_uncomp_blk()
4132 kobj_filbuf(struct _buf *f) in kobj_filbuf()
4307 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
4479 struct _buf *file; in expand_libmacro()
4518 (struct _buf *)-1) { in expand_libmacro()
4568 if (file != (struct _buf *)-1) { in expand_libmacro()