Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_db.c38 static char *rec_buf = NULL; variable
299 if (rec_buf == NULL) { in alloc_rec_buf()
300 if ((rec_buf = Malloc(rec_size)) == NULL) in alloc_rec_buf()
305 (void) memset(rec_buf, '\0', rec_size); in alloc_rec_buf()
312 if (rec_buf == NULL) in free_rec_buf()
315 Free(rec_buf); in free_rec_buf()
316 rec_buf = NULL; in free_rec_buf()
345 (void) memmove(rec_buf, &dbh, sizeof (med_db_hdr_t)); in write_hdr()
348 if (write(dbfd, rec_buf, rec_size) == -1) in write_hdr()
380 (void) memmove(rec_buf, medrp, sizeof (med_rec_t)); in write_rec()
[all …]
/titanic_41/usr/src/cmd/make/bin/
H A Drep.cc172 wchar_t rec_buf[STRING_BUFFER_LENGTH]; in report_recursive_dep() local
175 INIT_STRING_FROM_STACK(string, rec_buf); in report_recursive_dep()
187 rp->cond_macrostring = (wchar_t *) wcsdup(rec_buf); in report_recursive_dep()
221 wchar_t rec_buf[STRING_BUFFER_LENGTH]; in find_recursive_target() local
223 INIT_STRING_FROM_STACK(string, rec_buf); in find_recursive_target()
325 wchar_t rec_buf[STRING_BUFFER_LENGTH]; in gather_recursive_deps() local
339 INIT_STRING_FROM_STACK(rec, rec_buf); in gather_recursive_deps()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_med.c983 med_rec_t *rec_buf = NULL; in meta_mediator_info_from_file() local
1018 if ((rec_buf = malloc(rec_size)) == NULL) { in meta_mediator_info_from_file()
1026 if ((read(fd, rec_buf, rec_size)) != rec_size) { in meta_mediator_info_from_file()
1033 dbhbr = (med_db_hdr_t *)rec_buf; in meta_mediator_info_from_file()
1039 (void) memset(rec_buf, 0, rec_size); in meta_mediator_info_from_file()
1041 if (read(fd, rec_buf, rec_size) == -1) { in meta_mediator_info_from_file()
1048 medrecp = (med_rec_t *)rec_buf; in meta_mediator_info_from_file()
1211 if (rec_buf != NULL) in meta_mediator_info_from_file()
1212 Free(rec_buf); in meta_mediator_info_from_file()
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c1469 dyndns_udp_send_recv(int s, char *buf, int buf_sz, char *rec_buf) in dyndns_udp_send_recv() argument
1496 bzero(rec_buf, NS_PACKETSZ); in dyndns_udp_send_recv()
1498 if (recvfrom(s, rec_buf, NS_PACKETSZ, 0, in dyndns_udp_send_recv()