/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_evd_modify_cno.c | 103 dapl_os_lock(&evd_ptr->header.lock); in dapl_evd_modify_cno() 106 dapl_os_unlock(&evd_ptr->header.lock); in dapl_evd_modify_cno() 113 dapl_os_lock(&(old_cno_ptr->header.lock)); in dapl_evd_modify_cno() 117 dapl_os_unlock(&(old_cno_ptr->header.lock)); in dapl_evd_modify_cno() 122 dapl_os_lock(&(cno_ptr->header.lock)); in dapl_evd_modify_cno() 127 dapl_os_unlock(&cno_ptr->header.lock); in dapl_evd_modify_cno()
|
H A D | dapl_ep_disconnect.c | 93 dapl_os_lock(&ep_ptr->header.lock); in dapl_ep_disconnect() 107 dapl_os_unlock(&ep_ptr->header.lock); in dapl_ep_disconnect() 118 dapl_os_unlock(&ep_ptr->header.lock); in dapl_ep_disconnect() 129 dapl_os_unlock(&ep_ptr->header.lock); in dapl_ep_disconnect() 140 dapl_os_unlock(&ep_ptr->header.lock); in dapl_ep_disconnect() 165 dapl_os_unlock(&ep_ptr->header.lock); in dapl_ep_disconnect()
|
H A D | dapl_cno_wait.c | 92 dapl_os_lock(&cno_ptr->header.lock); in dapl_cno_wait() 94 dapl_os_unlock(&cno_ptr->header.lock); in dapl_cno_wait() 134 dapl_os_unlock(&cno_ptr->header.lock); in dapl_cno_wait() 139 dapl_os_unlock(&cno_ptr->header.lock); in dapl_cno_wait() 143 dapl_os_lock(&cno_ptr->header.lock); in dapl_cno_wait() 176 dapl_os_unlock(&cno_ptr->header.lock); in dapl_cno_wait()
|
H A D | dapl_evd_dequeue.c | 99 dapl_os_lock(&evd_ptr->header.lock); in dapl_evd_dequeue() 107 dapl_os_unlock(&evd_ptr->header.lock); in dapl_evd_dequeue() 140 dapl_os_unlock(&evd_ptr->header.lock); in dapl_evd_dequeue() 147 dapl_os_lock(&evd_ptr->header.lock); in dapl_evd_dequeue() 160 dapl_os_unlock(&evd_ptr->header.lock); in dapl_evd_dequeue()
|
H A D | dapl_cno_free.c | 87 dapl_os_lock(&cno_ptr->header.lock); in dapl_cno_free() 91 dapl_os_unlock(&cno_ptr->header.lock); in dapl_cno_free() 96 dapl_os_unlock(&cno_ptr->header.lock); in dapl_cno_free() 103 dapl_ia_unlink_cno(cno_ptr->header.owner_ia, cno_ptr); in dapl_cno_free()
|
H A D | dapl_cr_accept.c | 152 dapl_os_lock(&ep_ptr->header.lock); in dapl_cr_accept() 164 dapl_os_unlock(&ep_ptr->header.lock); in dapl_cr_accept() 176 dat_status = dapls_ib_qp_alloc(cr_ptr->header.owner_ia, ep_ptr, in dapl_cr_accept() 181 dapl_os_unlock(&ep_ptr->header.lock); in dapl_cr_accept() 205 dapl_os_unlock(&ep_ptr->header.lock); in dapl_cr_accept() 222 cr_ptr->header.magic = DAPL_MAGIC_CR_DESTROYED; in dapl_cr_accept()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_scsi.c | 318 struct scsi_ms_header header; in do_mode_sense() local 403 struct scsi_ms_header header; in do_mode_select() local 464 header.mode_header.length = 0; in do_mode_select() 465 header.mode_header.device_specific = 0; in do_mode_select() 467 saved, length, &header)) { in do_mode_select() 475 flags, saved, length, &header)) { in do_mode_select() 972 struct scsi_ms_header header; in default_page() local 1046 header.mode_header.length = 0; in default_page() 1047 header.mode_header.device_specific = 0; in default_page() 1049 current, length, &header)) { in default_page() [all …]
|
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/ |
H A D | fpu_getset.c | 38 struct xsave_header header; member 126 if (xs->header.xsh_xstate_bv != (XFEATURE_LEGACY_FP | XFEATURE_SSE)) { in check_sse() 128 xs->header.xsh_xstate_bv, in check_sse() 212 if (xs->header.xsh_xstate_bv != (XFEATURE_LEGACY_FP | XFEATURE_SSE)) { in check_avx() 214 xs->header.xsh_xstate_bv, in check_avx() 232 if (xs->header.xsh_xstate_bv != (XFEATURE_LEGACY_FP | XFEATURE_SSE)) { in check_avx() 234 xs->header.xsh_xstate_bv); in check_avx() 246 xs->header.xsh_xstate_bv |= XFEATURE_AVX; in check_avx() 256 if ((xs->header.xsh_xstate_bv & XFEATURE_AVX) == 0) { in check_avx() 258 xs->header.xsh_xstate_bv); in check_avx()
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_msg.c | 243 _sip_header_t *header; in sip_msg_to_msgbuf() local 286 while (header != NULL) { in sip_msg_to_msgbuf() 292 len = header->sip_hdr_end - in sip_msg_to_msgbuf() 293 header->sip_hdr_start; in sip_msg_to_msgbuf() 301 header = sip_search_for_header(msg, NULL, header); in sip_msg_to_msgbuf() 329 _sip_header_t *header; in sip_adjust_msgbuf() local 363 if (header != NULL) { in sip_adjust_msgbuf() 368 header->sip_hdr_sipmsg->sip_msg_len -= header->sip_hdr_end - in sip_adjust_msgbuf() 369 header->sip_hdr_start; in sip_adjust_msgbuf() 412 len = header->sip_hdr_current - header->sip_hdr_start; in sip_copy_values() [all …]
|
H A D | sip_hdrs_ui.c | 105 if (header == NULL) { in sip_get_val_from_msg() 227 if (header == NULL) { in sip_get_cftruri_from_msg() 264 if (header == NULL) { in sip_get_cftrname_from_msg() 319 if (header == NULL) { in sip_get_from_tag() 374 if (header == NULL) { in sip_get_to_tag() 428 if (header == NULL) { in sip_get_cseq_val() 588 _sip_header_t *header; in sip_get_branchid() local 608 if (header == NULL) { in sip_get_branchid() 977 if (header == NULL) { in sip_get_date_val() 1277 if (header == NULL) { in sip_get_rack_val() [all …]
|
/illumos-gate/usr/src/cmd/crypt/ |
H A D | crypt.c | 109 } header; in main() local 158 if ((nchar = read(0, (char *)&header, sizeof (header))) in main() 159 != sizeof (header)) in main() 161 n1 = (int)(header.offset&MASK); in main() 162 n2 = (int)((header.offset >> 8) &MASK); in main() 163 nchar = header.count; in main() 179 nchar = header.count; in main()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | multiboot.c | 103 struct multiboot_header *header; in multiboot_loadfile() local 131 header = NULL; in multiboot_loadfile() 134 header = (struct multiboot_header *)&magic[i]; in multiboot_loadfile() 139 if (header == NULL) { in multiboot_loadfile() 145 if (header->magic + header->flags + header->checksum != 0) { in multiboot_loadfile() 148 header->magic, header->flags, header->checksum); in multiboot_loadfile() 153 if ((header->flags & ~MULTIBOOT_SUPPORTED_FLAGS) != 0) { in multiboot_loadfile() 155 header->flags); in multiboot_loadfile() 160 if (header->flags & MULTIBOOT_AOUT_KLUDGE) { in multiboot_loadfile() 164 dest = header->load_addr; in multiboot_loadfile() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cat.c | 139 int header; in vcat() local 148 header = flags & (B_FLAG|N_FLAG); in vcat() 179 if (header) in vcat() 181 header = 0; in vcat() 216 if (header) in vcat() 218 header = 0; in vcat() 242 if (header) in vcat() 244 header = 0; in vcat() 337 if (header && !(flags & B_FLAG)) in vcat() 344 header = !(flags & S_FLAG); in vcat() [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_utils.c | 310 unsigned int slp_header_get_int24(const char *header, size_t off) { in slp_header_get_int24() argument 313 len = ((unsigned int)(header[off] & 0xff)) << 16; in slp_header_get_int24() 314 len += ((unsigned int)(header[off + 1] & 0xff)) << 8; in slp_header_get_int24() 315 len += ((unsigned int)(header[off + 2] & 0xff)); in slp_header_get_int24() 325 void slp_header_set_int24(char *header, unsigned int len, size_t off) { in slp_header_set_int24() argument 326 header[off] = (unsigned char) ((len & 0xff0000) >> 16); in slp_header_set_int24() 327 header[off + 1] = (unsigned char) ((len & 0xff00) >> 8); in slp_header_set_int24() 328 header[off + 2] = (unsigned char) (len & 0xff); in slp_header_set_int24() 335 unsigned short slp_header_get_sht(const char *header, size_t off) { in slp_header_get_sht() argument 337 (void) slp_get_sht(header, SLP_HDRLEN, &off, &answer); in slp_header_get_sht() [all …]
|
H A D | slp_net.c | 194 char header[SLP_DEFAULT_SENDMTU]; in slp_uc_udp_send() local 333 char header[SLP_DEFAULT_SENDMTU], *state; in slp_mc_send() local 500 slp_set_xid(header, xid); in tcp_thread() 648 hp->msg.iov[0].iov_base = header; in make_header() 715 slp_set_mcast(header); in make_mc_target() 1054 &responder, slp_get_xid(header)); in mc_recvmsg() 1067 &responder, slp_get_xid(header)); in mc_recvmsg() 1218 char **res, *cname, *p, *header; in add2pr_list() local 1243 header = msg->iov[0].iov_base; in add2pr_list() 1244 len = slp_get_length(header); in add2pr_list() [all …]
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 1266 (void) memcpy((caddr_t)header, mode_sense_buf, in uscsi_mode_sense() 1288 ddump("header:", (caddr_t)header, in uscsi_mode_sense() 1292 sizeof (header->ms_header.length)) - in uscsi_mode_sense() 1415 ddump("header:", (caddr_t)header, in uscsi_mode_sense_10() 1452 ddump("header:", (caddr_t)header, in uscsi_mode_sense_10() 1474 assert(header->ms_header.length == 0); in uscsi_mode_select() 1488 if (header->ms_header.bdesc_length == in uscsi_mode_select() 1497 ddump("header:", (caddr_t)header, nbytes); in uscsi_mode_select() 1543 assert(header->ms_header.length == 0); in uscsi_mode_select_10() 1557 if (BE_16(header->ms_header.bdesc_length) == in uscsi_mode_select_10() [all …]
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | log.c | 45 char header[MAX_LOG_LEN+1]; in log() local 52 (void) memset(&header, 0, MAX_LOG_LEN+1); in log() 56 (void) snprintf(header, MAX_LOG_LEN, "%s: %s: %s", in log() 60 (void) vsnprintf(message, MAX_LOG_LEN, header, ap); in log()
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | README | 22 We have organized the files by header file, that is the tests for symbols 23 declared in a header file (e.g. <unistd.h> appear in a file based on that 24 header file's name (e.g. unistd_h.cfg.) This is purely for convenience. 39 <header> This is a header file, for example, unistd.h. Conventionally, 40 the header files used should match the file where the test is 49 type | <name> | <header> | <envs> 52 this type can be declared when the <header> is included. 54 value | <name> | <type> | <header> | <envs> 60 define | <name> | <value> | <header> | <envs> 68 func | <name> | <type> | <type> [; <type> ]... | <header> | <envs>
|
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | debug_logging.c | 39 char header[MAX_LOG_LEN+1]; in log() local 47 (void) memset(&header, 0, MAX_LOG_LEN+1); in log() 52 (void) snprintf(header, MAX_LOG_LEN, "%s: %s: %s", in log() 58 (void) vsnprintf(message, MAX_LOG_LEN, header, ap); in log()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | log.c | 48 char header[MAX_LOG_LEN+1]; in isnslog() local 56 (void) memset(&header, 0, MAX_LOG_LEN+1); in isnslog() 60 (void) snprintf(header, MAX_LOG_LEN, "%s: %s: %s", in isnslog() 64 (void) vsnprintf(message, MAX_LOG_LEN, header, ap); in isnslog()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/ |
H A D | postreverse.c | 312 HEADER *h = d->header; in WriteDocumentHeader() 419 HEADER *header; in DocumentHeader() local 422 header = (HEADER *) nmalloc(sizeof (*header)); in DocumentHeader() 423 memset(header, 0, sizeof (*header)); in DocumentHeader() 426 header->label = "Document Header"; in DocumentHeader() 427 header->start = document->start; in DocumentHeader() 430 free(header); in DocumentHeader() 431 header = NULL; in DocumentHeader() 433 return (header); in DocumentHeader() 623 if (d->header) { in PrintDocumentInfo() [all …]
|
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_parse.c | 685 struct header header; in write_object() local 701 header.magic = swap(MAGIC); in write_object() 702 header.name_size = swap(namelen); in write_object() 704 header.num_count = swap(NumCount); in write_object() 708 header.magic = MAGIC; in write_object() 709 header.name_size = namelen; in write_object() 710 header.bool_count = BoolCount; in write_object() 711 header.num_count = NumCount; in write_object() 712 header.str_count = StrCount; in write_object() 713 header.str_size = l_next_free; in write_object() [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | pushlist.c | 44 (strlen(header[H_AFWDFROM].tag) + 2)) ); in pushlist() 52 (strlen(header[H_RECEIVED].tag) + 2)) ); in pushlist() 66 hdrtype, header[hdrtype].tag, contflg, s); in pushlist() 83 (strlen(header[H_AFWDFROM].tag) + 2)) ); in pushlist() 88 (strlen(header[H_RECEIVED].tag) + 2)) ); in pushlist()
|
H A D | gendeliv.c | 105 fprintf(outfile,"%s 2\n", header[H_RVERS].tag); 106 fprintf(outfile,"%s %s\n", header[H_TCOPY].tag, 108 fprintf(outfile,"%s %s\n", header[H_DATE].tag, buf); 111 fprintf(outfile,"Original-%s ", header[H_DATE].tag); 157 header[H_SUBJ].tag, hptr->value); 163 header[H_MSVC].tag, hptr->value); 168 header[H_MTSID].tag, hptr->value); 172 header[H_UAID].tag, hptr->value); 236 header[H_DAFWDFROM].tag, hptr->value); 240 fprintf(outfile,"%s\n", header[H_EOH].tag);
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | iffe.tst | 13 iffe: test: is stdio.h a header ... yes' 26 iffe: test: is stdio.h a header ... yes 27 iffe: test: is limits.h a header ... yes' 39 iffe: test: is stdio.h a header ... yes 76 iffe: test: is stdio.h a header ... yes 1443 _hdr = <header> 1459 #define _hdr <header> 1750 print /* test header */ 1751 header stdio.h 1758 OUTPUT - $'/* test header */ [all …]
|