Home
last modified time | relevance | path

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

12

/titanic_50/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_50/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_50/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_50/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()
347 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
403 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
414 st->_buf[st->_bufcont++] = '$'; 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()
391 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
450 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
461 st->_buf[st->_bufcont++] = '$'; 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()
387 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
446 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
457 st->_buf[st->_bufcont++] = '$'; 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()
372 st->_buf[st->_bufcont++] = **inbuf; in _icv_iconv()
428 st->_buf[st->_bufcont++] = ESC; in _icv_iconv()
439 st->_buf[st->_bufcont++] = '$'; in _icv_iconv()
[all …]
/titanic_50/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_50/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()
/titanic_50/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()
/titanic_50/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_50/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_50/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h585 struct _buf { struct
608 extern struct _buf *kobj_open_file(char *name); argument
609 extern int kobj_read_file(struct _buf *file, char *buf, unsigned size,
611 extern void kobj_close_file(struct _buf *file);
612 extern int kobj_get_filesize(struct _buf *file, uint64_t *size);
/titanic_50/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_50/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_50/usr/src/test/test-runner/cmd/
H A Drun114 self._buf = ''
140 self._buf += buf
143 buf = self._buf + buf
145 self._buf = rest
/titanic_50/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_50/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_50/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_50/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()

12