Home
last modified time | relevance | path

Searched refs:_buf (Results 1 – 25 of 29) sorted by relevance

12

/titanic_44/usr/src/uts/common/krtld/
H A Dkobj_stubs.c64 struct _buf *
71 struct _buf *
79 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
86 kobj_close_file(struct _buf *file) in kobj_close_file()
117 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
124 kobj_filbuf(struct _buf *f) in kobj_filbuf()
H A Dkobj.c97 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()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Dkobj.h120 struct _buf { struct
178 extern struct _buf *kobj_open_path(char *, int, int);
184 extern struct _buf *kobj_open_file(char *);
185 extern void kobj_close_file(struct _buf *);
186 extern int kobj_read_file(struct _buf *, char *, unsigned, unsigned);
187 extern int kobj_get_filesize(struct _buf *, uint64_t *size);
191 extern int kobj_filbuf(struct _buf *);
H A Dkobj_lex.h98 extern void kobj_file_err(int type, struct _buf *file, char *fmt, ...)
105 token_t kobj_lex(struct _buf *file, char *val, size_t size);
107 void kobj_find_eol(struct _buf *file);
H A Dmodel.h97 struct struct_type __##handle##_buf; \
106 STRUCT_SET_HANDLE(handle, umodel, &__##handle##_buf)
164 struct struct_type __##handle##_buf; \
177 STRUCT_SET_HANDLE(handle, umodel, &__##handle##_buf)
H A Dstat.h455 #define S_TYPEISMQ(_buf) (0) argument
456 #define S_TYPEISSEM(_buf) (0) argument
457 #define S_TYPEISSHM(_buf) (0) argument
/titanic_44/usr/src/lib/scsi/libses/common/
H A Dlibses_plugin.h105 #define SES_NV_ADD_FS(_e, _l, _name, _buf) \ argument
106 SES_NV_ADD(fixed_string, (_e), (_l), (_name), (_buf), sizeof (_buf))
108 #define SES_NV_ADD_FS_TRUNC(_e, _l, _name, _buf) \ argument
109 SES_NV_ADD(fixed_string_trunc, (_e), (_l), (_name), (_buf), \
110 sizeof (_buf))
/titanic_44/usr/src/uts/common/avs/ns/
H A Dmodel.h106 struct struct_type __##handle##_buf; \
115 STRUCT_SET_HANDLE(handle, umodel, &__##handle##_buf)
174 struct struct_type __##handle##_buf; \
187 STRUCT_SET_HANDLE(handle, umodel, &__##handle##_buf)
/titanic_44/usr/src/uts/intel/io/acpica/
H A Dmaster_ops.c160 mf_lex(struct _buf *file, char *val, size_t size) in mf_lex()
257 get_line(struct _buf *file) in get_line()
393 struct _buf *file; in process_master_file()
396 if ((file = kobj_open_file(masterfile)) == (struct _buf *)-1) { in process_master_file()
H A Dosl.c268 struct _buf *file; in AcpiOsTableOverride()
294 if (file == (struct _buf *)-1) { in AcpiOsTableOverride()
/titanic_44/usr/src/uts/common/os/
H A Dmodsysfile.c127 parse_debug(struct _buf *file, char *fmt, ...) in parse_debug()
146 kobj_file_err(int type, struct _buf *file, char *fmt, ...) in kobj_file_err()
205 kobj_lex(struct _buf *file, char *val, size_t size) in kobj_lex()
438 kobj_find_eol(struct _buf *file) in kobj_find_eol()
501 do_sysfile_cmd(struct _buf *file, const char *cmd) in do_sysfile_cmd()
758 register struct _buf *file; in mod_read_system_file()
771 (struct _buf *)-1) { in mod_read_system_file()
1640 make_prop(struct _buf *file, dev_info_t *devi, char *name, struct val_list *val) in make_prop()
1757 get_hwc_spec(struct _buf *file, char *tokbuf, size_t linesize) in get_hwc_spec()
2058 struct _buf *file; in hwc_parse_now()
[all …]
H A Ddevcache.c374 struct _buf *file; in fread_nvlist()
387 if (file == (struct _buf *)-1) { in fread_nvlist()
H A Dinstance.c282 struct _buf *file; in in_get_infile()
289 if ((file = kobj_open_file(filename)) == (struct _buf *)-1) { in in_get_infile()
/titanic_44/usr/src/uts/sun4/os/
H A Dforthdebug.c100 struct _buf *file; in forthdebug_init()
111 if (file == (struct _buf *)-1) { in forthdebug_init()
/titanic_44/usr/src/lib/libzpool/common/
H A Dkernel.c737 struct _buf *
740 struct _buf *file; in kobj_open_file()
748 file = umem_zalloc(sizeof (struct _buf), UMEM_NOFAIL); in kobj_open_file()
754 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
765 kobj_close_file(struct _buf *file) in kobj_close_file()
768 umem_free(file, sizeof (struct _buf)); in kobj_close_file()
772 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
/titanic_44/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h583 struct _buf { struct
606 extern struct _buf *kobj_open_file(char *name); argument
607 extern int kobj_read_file(struct _buf *file, char *buf, unsigned size,
609 extern void kobj_close_file(struct _buf *file);
610 extern int kobj_get_filesize(struct _buf *file, uint64_t *size);
/titanic_44/usr/src/uts/common/io/usb/usba/
H A Dusba_devdb.c138 usba_devdb_get_conf_rec(struct _buf *file, usba_configrec_t **rec) in usba_devdb_get_conf_rec()
480 struct _buf *file; in usba_devdb_build_device_database()
490 if (file != (struct _buf *)-1) { in usba_devdb_build_device_database()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dspa_config.c82 struct _buf *file; in spa_config_load()
97 if (file == (struct _buf *)-1) in spa_config_load()
/titanic_44/usr/src/test/test-runner/cmd/
H A Drun.py77 self._buf = ''
103 self._buf += buf
106 buf = self._buf + buf
108 self._buf = rest
/titanic_44/usr/src/cmd/sgs/elfdump/common/
H A Ddwarf.c216 #define REGNAME(_rnum, _buf) \ in dump_cfi() argument
217 dwarf_regname(state->e_machine, _rnum, _buf, sizeof (_buf)) in dump_cfi()
/titanic_44/usr/src/uts/common/sys/crypto/
H A Dops_impl.h507 #define KCF_WRAP_RANDOM_OPS_PARAMS(req, ftype, _sid, _buf, _buflen, \ argument
515 rops->rn_buf = _buf; \
/titanic_44/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c815 struct _buf *file = NULL; in init_xen_module()
850 if (file == (struct _buf *)-1) { in init_xen_module()
/titanic_44/usr/src/uts/i86pc/os/
H A Dmicrocode.c320 struct _buf *eq; in ucode_equiv_cpu_amd()
323 if ((eq = kobj_open_file(name)) == (struct _buf *)-1) in ucode_equiv_cpu_amd()
H A Dfastboot.c946 struct _buf *file; in fastboot_load_kernel()
959 (struct _buf *)-1) { in fastboot_load_kernel()
H A Dstartup.c2852 struct _buf *file; in set_soft_hostid()
2874 if ((file = kobj_open_file(hostid_file)) == (struct _buf *)-1) { in set_soft_hostid()

12