Home
last modified time | relevance | path

Searched refs:bufhdr (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/tnf/
H A Dtnf_trace.c194 tnf_array_header_t *bufhdr; in tnf_opaque_array_1() local
202 record_size = sizeof (*bufhdr); in tnf_opaque_array_1()
207 ALLOC2(ops, record_size, bufhdr, ops->mode); in tnf_opaque_array_1()
209 ASSIGN(bufhdr, tag, tag_index); in tnf_opaque_array_1()
211 ASSIGN(bufhdr, self_size, record_size); in tnf_opaque_array_1()
215 ref_p = (tnf_opaque_t *)((char *)bufhdr + sizeof (*bufhdr)); in tnf_opaque_array_1()
222 return (tnf_ref32(ops, (tnf_record_p) bufhdr, reference)); in tnf_opaque_array_1()
235 tnf_array_header_t *bufhdr; in tnf_opaque32_array_1() local
243 record_size = sizeof (*bufhdr); in tnf_opaque32_array_1()
248 ALLOC2(ops, record_size, bufhdr, ops->mode); in tnf_opaque32_array_1()
[all …]
H A Dtnf_writer.c731 tnf_array_header_t *bufhdr; in tnf_string_1() local
743 record_size = sizeof (*bufhdr) + TNF_STRING_ROUNDUP(string_size + 1); in tnf_string_1()
745 ALLOC2(ops, record_size, bufhdr, ops->mode); in tnf_string_1()
747 ASSIGN(bufhdr, tag, tag_index); in tnf_string_1()
749 ASSIGN(bufhdr, self_size, record_size); in tnf_string_1()
752 (void) bcopy((caddr_t)string, (char *)bufhdr + sizeof (*bufhdr), in tnf_string_1()
755 (void) memcpy((char *)bufhdr + sizeof (*bufhdr), string, string_size); in tnf_string_1()
758 ((char *)bufhdr + sizeof (*bufhdr))[string_size] = '\0'; in tnf_string_1()
760 return (tnf_ref32(ops, (tnf_record_p)bufhdr, reference)); in tnf_string_1()
775 tnf_array_header_t *bufhdr; in tnf_string_array_1() local
[all …]
/titanic_44/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c366 typedef struct bufhdr { struct
367 struct bufhdr *head; argument
368 struct bufhdr *next; argument
369 } bufhdr; typedef
373 bufhdr inodebuf = { NULL, NULL };
374 bufhdr cgsumbuf = { NULL, NULL };
390 static char *getbuf(bufhdr *bufhead, int size);
2936 getbuf(bufhdr *bufhead, int size) in getbuf()
2938 bufhdr *pbuf; in getbuf()
2939 bufhdr *prev; in getbuf()
[all …]
/titanic_44/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_elf.c1349 nfslog_buffer_header *bufhdr) in nfsl_elf_buffer_header_print() argument
1359 bufhdr->bh_version, ((rc >= 0) ? name.sysname : empty_name)); in nfsl_elf_buffer_header_print()
1361 nfsl_get_date((time_t)bufhdr->bh_timestamp.tv_sec)); in nfsl_elf_buffer_header_print()
1560 nfslog_open_elf_file(char *elfpath, nfslog_buffer_header *bufhdr, int *error) in nfslog_open_elf_file() argument
1624 nfsl_elf_buffer_header_print(elfrec, bufhdr); in nfslog_open_elf_file()