Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj_stubs.c62 struct _buf *
69 struct _buf *
77 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
84 kobj_close_file(struct _buf *file) in kobj_close_file()
115 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
122 kobj_filbuf(struct _buf *f) in kobj_filbuf()
H A Dkobj.c573 struct _buf *file; in synthetic_bootaux()
1218 struct _buf *file; in bind_primary()
1240 struct _buf *file; in bind_primary()
1844 struct _buf *file; in kobj_load_module()
3426 struct _buf *file; in kobj_path_exists()
3444 struct _buf *
3452 struct _buf *file; in kobj_open_path()
3728 struct _buf *
3731 struct _buf *file; in kobj_open_file()
4008 kobj_filbuf(struct _buf *f) in kobj_filbuf()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dkobj.h131 struct _buf { struct
189 extern struct _buf *kobj_open_path(char *, int, int);
195 extern struct _buf *kobj_open_file(char *);
196 extern void kobj_close_file(struct _buf *);
197 extern int kobj_read_file(struct _buf *, char *, unsigned, unsigned);
198 extern int kobj_get_filesize(struct _buf *, uint64_t *size);
203 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.h95 struct struct_type __##handle##_buf; \
104 STRUCT_SET_HANDLE(handle, umodel, &__##handle##_buf)
163 struct struct_type __##handle##_buf; \
172 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
/illumos-gate/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))
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_CN.iso2022-7%UTF-8.c54 char _buf[10]; member
83 strncpy(st->_buf, *outbuf, st->_bufcont); in flush_buf()
151 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
161 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
189 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
211 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
333 st->_buf[st->_bufcont++] = 'H'; in _icv_iconv()
403 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
414 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
469 st->_buf[st->_bufcont++] = c; in _icv_iconv()
[all …]
H A Dzh_CN.iso2022-CN%UTF-8.c56 char _buf[10]; member
90 strncpy(st->_buf, *outbuf, st->_bufcont); in flush_buf()
179 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
189 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
217 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
239 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
377 st->_buf[st->_bufcont++] = 'H'; in _icv_iconv()
450 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
461 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
516 st->_buf[st->_bufcont++] = c; in _icv_iconv()
[all …]
H A Dzh_CN.iso2022-CN%zh_CN.gbk.c52 char _buf[10]; member
86 strncpy(st->_buf, *outbuf, st->_bufcont); in flush_buf()
175 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
185 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
213 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
235 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
373 st->_buf[st->_bufcont++] = 'H'; in _icv_iconv()
446 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
457 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
512 st->_buf[st->_bufcont++] = c; in _icv_iconv()
[all …]
H A Dzh_CN.iso2022-CN%zh_CN.euc.c52 char _buf[10]; member
87 strncpy(st->_buf, *outbuf, st->_bufcont); in flush_buf()
176 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
186 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
214 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
236 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
358 st->_buf[st->_bufcont++] = 'H'; in _icv_iconv()
428 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
439 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
494 st->_buf[st->_bufcont++] = c; in _icv_iconv()
[all …]
/illumos-gate/usr/src/compat/bhyve/
H A Dlibutil.h19 int expand_number(const char *_buf, uint64_t *_num);
20 int humanize_number(char *_buf, size_t _len, int64_t _number,
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c376 struct _buf *
379 struct _buf *file; in kobj_open_file()
387 file = umem_zalloc(sizeof (struct _buf), UMEM_NOFAIL); in kobj_open_file()
393 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
404 kobj_close_file(struct _buf *file) in kobj_close_file()
407 umem_free(file, sizeof (struct _buf)); in kobj_close_file()
411 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c447 kobj_find_eol(struct _buf *file) in kobj_find_eol()
767 register struct _buf *file; in read_system_file()
772 (struct _buf *)-1) { in read_system_file()
822 struct _buf *file; in mod_read_system_file()
2094 struct _buf *file; in hwc_parse_now()
2279 struct _buf *file; in make_aliases()
2310 struct _buf *file; in read_binding_file()
2462 struct _buf *file; in read_dacf_binding_file()
2850 struct _buf *file; in read_class_file()
3000 struct _buf *file; in open_mach_list()
[all …]
H A Dfirmload.c55 struct _buf *fh_buf;
92 if (fh->fh_buf == (struct _buf *)-1) { in firmware_open()
H A Ddevcache.c374 struct _buf *file; in fread_nvlist()
387 if (file == (struct _buf *)-1) { in fread_nvlist()
/illumos-gate/usr/src/uts/sun4/os/
H A Dforthdebug.c100 struct _buf *file; in forthdebug_init()
111 if (file == (struct _buf *)-1) { in forthdebug_init()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba_devdb.c139 usba_devdb_get_conf_rec(struct _buf *file, usba_configrec_t **rec) in usba_devdb_get_conf_rec()
481 struct _buf *file; in usba_devdb_build_device_database()
491 if (file != (struct _buf *)-1) { in usba_devdb_build_device_database()
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode_amd.c148 struct _buf *eq; in ucode_equiv_cpu_amd()
154 if ((eq = kobj_open_file(name)) == (struct _buf *)-1) { in ucode_equiv_cpu_amd()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c83 struct _buf *file; in spa_config_load()
98 if (file == (struct _buf *)-1) in spa_config_load()
/illumos-gate/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()
/illumos-gate/usr/src/test/test-runner/cmd/
H A Drun131 self._buf = ''
157 self._buf += buf
160 buf = self._buf + buf
162 self._buf = rest
/illumos-gate/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; \
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c799 struct _buf *file = NULL; in init_xen_module()
830 if (file == (struct _buf *)-1) { in init_xen_module()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c934 struct _buf *file; in fastboot_load_kernel()
947 (struct _buf *)-1) { in fastboot_load_kernel()

12