/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_osd.c | 409 dapl_ia_unlink_rmr(rmr_ptr->header.owner_ia, 453 (void) dapls_hash_remove(lmr_ptr->header. 459 dapl_ia_unlink_lmr(lmr_ptr->header.owner_ia, 485 dapl_ia_unlink_pz(pz_ptr->header.owner_ia, 493 dapl_ia_unlink_evd(evd_ptr->header.owner_ia,
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | trees.c | 160 int header)); 332 FILE *header = fopen("trees.h", "w"); local 335 Assert (header != NULL, "Can't open trees.h"); 336 fprintf(header, 337 "/* header created automatically with -DGEN_TREES_H */\n\n"); 339 fprintf(header, "local const ct_data static_ltree[L_CODES+2] = {\n"); 341 fprintf(header, "{{%3u},{%3u}}%s", static_ltree[i].Code, 345 fprintf(header, "local const ct_data static_dtree[D_CODES] = {\n"); 347 fprintf(header, "{{%2u},{%2u}}%s", static_dtree[i].Code, 351 fprintf(header, "cons [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | trees.c | 156 int header)); 330 FILE *header = fopen("trees.h", "w"); local 333 Assert (header != NULL, "Can't open trees.h"); 334 fprintf(header, 335 "/* header created automatically with -DGEN_TREES_H */\n\n"); 337 fprintf(header, "local const ct_data static_ltree[L_CODES+2] = {\n"); 339 fprintf(header, "{{%3u},{%3u}}%s", static_ltree[i].Code, 343 fprintf(header, "local const ct_data static_dtree[D_CODES] = {\n"); 345 fprintf(header, "{{%2u},{%2u}}%s", static_dtree[i].Code, 349 fprintf(header, "cons [all...] |
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 751 * The first descriptor will immediately follow the header 896 /* Print descriptor sense header */ 909 * immediately follow the header 1192 * at a time. Return the mode header/block descriptor and the actual page data 1194 * block descriptors. Whatever a device gives us in the mode header/block 1199 int page_size, struct scsi_ms_header *header, void *rqbuf, int *rqblen) 1242 * block_descriptor into the header structure, which can then be used to 1246 (void) memset((caddr_t)header, 0, sizeof (struct scsi_ms_header)); 1254 (void) memcpy((caddr_t)header, mode_sense_buf, 1263 (hdr->length + sizeof (header 1198 uscsi_mode_sense(int fd, int page_code, int page_control, caddr_t page_data, int page_size, struct scsi_ms_header *header, void *rqbuf, int *rqblen) argument 1319 uscsi_mode_sense_10(int fd, int page_code, int page_control, caddr_t page_data, int page_size, struct scsi_ms_header_g1 *header, void *rqbuf, int *rqblen) argument 1444 uscsi_mode_select(int fd, int page_code, int options, caddr_t page_data, int page_size, struct scsi_ms_header *header, void *rqbuf, int *rqblen) argument 1512 uscsi_mode_select_10(int fd, int page_code, int options, caddr_t page_data, int page_size, struct scsi_ms_header_g1 *header, void *rqbuf, int *rqblen) argument [all...] |
/illumos-gate/usr/src/cmd/format/ |
H A D | ctlr_ata.c | 301 list->header.count = ap->ap_tblp->alts_ent_used; 302 list->header.magicno = (uint_t)DEFECT_MAGIC; 319 list->header.count = 0; 320 list->header.magicno = (uint_t)DEFECT_MAGIC; 452 if (list->header.magicno != (uint_t)DEFECT_MAGIC) 455 sec_count = list->header.count;
|
H A D | defect.h | 41 * This is the structure of the header of a defect list. It is always 53 * as an array of these structures following the defect header. 65 * the header statically, but dynamically allocate space for the 70 struct defectHeader header; member in struct:defect_list
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | res.c | 241 int header = 0; local 245 header = 1; 248 if (header == 1) 253 if (header == 1) 258 if (header == 1) 263 if (header == 1)
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | modinfo.c | 53 static const char header[] = variable 134 (void) printf("%s", count ? cheader : header);
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_comm.c | 400 * err (input) - error code to place in header. 408 * otherwise - error from reply header. 418 ndmp_header header; local 431 header.sequence = ++(connection->conn_my_sequence); 432 header.time_stamp = time.tv_sec; 433 header.message_type = NDMP_MESSAGE_REQUEST; 434 header.message = message; 435 header.reply_sequence = 0; 436 header.error = err; 439 if (!xdr_ndmp_header(&connection->conn_xdrs, &header)) { 560 ndmp_header header; local [all...] |
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl.h | 354 #define DAPL_SEND(x) (x->header.owner_ia->hca_ptr->post_send) 355 #define DAPL_RECV(x) (x->header.owner_ia->hca_ptr->post_recv) 356 #define DAPL_SRECV(x) (x->header.owner_ia->hca_ptr->post_srq) 357 #define DAPL_PEEK(x) (x->header.owner_ia->hca_ptr->cq_peek) 358 #define DAPL_POLL(x) (x->header.owner_ia->hca_ptr->cq_poll) 359 #define DAPL_POLL1(x) (x->header.owner_ia->hca_ptr->cq_poll_one) 360 #define DAPL_NOTIFY(x) (x->header.owner_ia->hca_ptr->cq_notify) 361 #define DAPL_FLUSH(x) (x->header.owner_ia->hca_ptr->srq_flush) 370 /* DAPL Objects always have the following header */ 378 DAPL_OS_LOCK lock; /* lock - in header fo 387 DAPL_HEADER header; member in struct:dapl_ia 408 DAPL_HEADER header; member in struct:dapl_cno 425 DAPL_HEADER header; member in struct:dapl_evd 478 DAPL_HEADER header; member in struct:dapl_ep 513 DAPL_HEADER header; member in struct:dapl_pz 520 DAPL_HEADER header; member in struct:dapl_lmr 528 DAPL_HEADER header; member in struct:dapl_rmr 547 DAPL_HEADER header; member in struct:dapl_sp 566 DAPL_HEADER header; member in struct:dapl_cr 593 DAPL_HEADER header; member in struct:dapl_srq [all...] |
/illumos-gate/usr/src/cmd/pbind/ |
H A D | pbind.c | 241 struct prheader header; local 259 if (pread(fd, &header, sizeof (header), 0) != sizeof (header)) { 264 nent = header.pr_nent; 265 size = header.pr_entsize * nent; 271 if (pread(fd, lpsinfo, size, sizeof (header)) != size) { 284 for (i = 0; i < nent; i++, ptr += header.pr_entsize) {
|
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | load_node.c | 158 uchar_t header[8]; local 169 if (fstat(fd, &statb) != 0 || read(fd, header, sizeof (header)) < 0) { 175 status = check_fcode_header(path, header, statb.st_size);
|
/illumos-gate/usr/src/lib/libidmap/ |
H A D | Makefile | 38 --omit-header --keyword=directoryError:2 \
|
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | report.h | 40 void header();
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iicpshd.c | 87 /* don't copy shadow, only update dscfg and ii header */ 126 char header[FBA_SIZE(1) * DSW_CBLK_FBA]; local 131 hp = (ii_header_t *)&header; 191 /* use block device /dsk/ to update bitmap header */ 200 /* Check old header looks like an II bitmap header */ 201 if (fread(&header, DSW_CBLK_FBA, FBA_SIZE(1), ifp) != FBA_SIZE(1)) { 225 if (fwrite(&header, DSW_CBLK_FBA, FBA_SIZE(1), ifp) != FBA_SIZE(1)) { 228 gettext("Can't write new bitmap header\n"));
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200_hw.c | 248 struct header { struct 261 sc->sc_fw.boot_base = ipw2200_boot_bin + sizeof (struct header); 263 sizeof (ipw2200_boot_bin) - sizeof (struct header); 265 sc->sc_fw.uc_base = ipw2200_ucode_bin + sizeof (struct header); 266 sc->sc_fw.uc_size = sizeof (ipw2200_ucode_bin) - sizeof (struct header); 268 sc->sc_fw.fw_base = ipw2200_fw_bin + sizeof (struct header); 269 sc->sc_fw.fw_size = sizeof (ipw2200_fw_bin) - sizeof (struct header);
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | send.c | 50 static FILE *infix(struct header *hp, FILE *fi); 52 static int savemail(char name[], struct header *hp, FILE *fi); 62 * if need be. If doign is set, suppress ignored header fields. 110 * and note that we are no longer in header 133 * of a previous header field, just echo it. 143 * header lines, force out status: 158 * Pick up the header field. 235 * Test if the passed line is a header line, RFC 822 style. 284 struct header head; 335 struct header hea [all...] |
/illumos-gate/usr/src/cmd/mail/ |
H A D | copylet.c | 92 int htype; /* header type */ 93 int sav_htype; /* Header type of last non-H_CONT header line */ 97 /* Clear out any saved header info from previous message */ 105 while (k>0) { /* process header */ 121 Dout(pn, 5, "loop 1: buf = %s, htype= %d/%s\n", buf, htype, header[htype].tag); 136 /* end of header. Print non-blank line and bail. */ 137 Dout(pn, 5, "ZAP end header; n=%d, buf[0] = %d\n", n, buf[0]); 188 if (fprintf(f, "%s %s\n", header[H_CTYPE].tag, 204 + strlen(header[H_AFWDCNT].tag) 233 if (fprintf(f, "%s %ld\n", header[H_CLE [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | mboxsc.c | 148 * Various tests that are performed on message header fields. 160 * header (or any other struct, for that matter). 278 * Set the os_mbox_version field in the IOSRAM header to indicate the 288 * Read the sms_mbox_version field in the IOSRAM header to determine 303 * changes to the IOSRAM header, in case the sms_mbox_version field 496 mboxsc_msghdr_t header; local 531 * Initialize the header structure with values provided by the caller. 533 header.msg_version = mboxsc_active_version; 534 header.msg_type = type; 535 header 808 mboxsc_msghdr_t header; local [all...] |
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | radeon_state.c | 2485 DRM_ERROR("no header 0x%x - 0x%x\n", elts.start, buf->used); 2820 drm_file_t *filp_priv, drm_radeon_cmd_header_t header, 2823 int id = (int)header.packet.packet_id; 2856 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) 2858 int sz = header.scalars.count; 2859 int start = header.scalars.offset; 2860 int stride = header.scalars.stride; 2879 drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) 2881 int sz = header.scalars.count; 2882 int start = ((unsigned int)header 2819 radeon_emit_packets(drm_radeon_private_t *dev_priv, drm_file_t *filp_priv, drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) argument 2855 radeon_emit_scalars(drm_radeon_private_t *dev_priv, drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) argument 2878 radeon_emit_scalars2(drm_radeon_private_t *dev_priv, drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) argument 2898 radeon_emit_vectors(drm_radeon_private_t *dev_priv, drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) argument 2920 radeon_emit_veclinear(drm_radeon_private_t *dev_priv, drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) argument 3071 drm_radeon_cmd_header_t header; local [all...] |
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | tape.c | 226 * Get the first header. If c_magic is NOT NFS_MAGIC or if 249 * this is a newer dump, get the real tp_bsize from the header, 282 * expects to find a header with the c_date field 319 panic(gettext("no header after volume mark!\n")); 1058 metacheck(&spcl); /* check for metadata in header */ 1132 gettext("Missing address (header) block for %s\n"), 1746 * or not it is a header block. 1891 * Check that a header is where it belongs and predict the next header 1894 accthdr(struct s_spcl *header) argument 1974 findinode(struct s_spcl *header) argument [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | fcode.c | 104 header(env, name, strlen(name), 0); 114 header(env, name, strlen(name), flag); 276 header(fcode_env_t *env, char *name, int len, flag_t flag) function 284 token_roundup(env, "header"); 303 set_here(env, (uchar_t *)dptr, "header"); 338 header(env, namebuff, len, 0); 434 check_fcode_header(char *fname, uchar_t *header, int len) argument 444 if (header[0] != 0xf1 && header[0] != 0xfd) { 445 log_message(MSG_ERROR, "%s: '%s' header[ [all...] |
/illumos-gate/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 108 * count for number of lines to be emitted before a header is 114 * If we're in raw format, have we printed a header? We only do it 116 * This applies only for the basic header. The extended header is 159 static uint_t dh_len; /* disk header length for centering */ 258 * in a new header being emitted. Used only if we're not 351 * Some magic numbers used in header formatting. 411 * Write out a two line header. What is written out depends on the flags 412 * selected but in the worst case consists of a tty header, a disk header 1274 char header[SMALL_SCRATCH_BUFLEN] = {0}; local [all...] |
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_util.c | 953 itm_tbl_hdr_t *header; local 1001 header = malloc_vital(table_size); 1002 sub_hdr = (itm_map_idx_fix_hdr_t *)(header + 1); 1007 header->type = ITM_TBL_MAP_INDEX_FIXED_1_1; 1009 header->type = ITM_TBL_MAP_INDEX_FIXED; 1011 header->name.itm_ptr = 0; 1012 header->size = table_size; 1013 header->number = entry_num; 1127 return (header); 1141 itm_tbl_hdr_t *header; local 1295 itm_tbl_hdr_t *header; local 1599 itm_tbl_hdr_t *header; local [all...] |
/illumos-gate/usr/src/cmd/psrset/ |
H A D | psrset.c | 571 struct prheader header; local 589 if (pread(fd, &header, sizeof (header), 0) != sizeof (header)) { 594 nent = header.pr_nent; 595 size = header.pr_entsize * nent; 601 if (pread(fd, lpsinfo, size, sizeof (header)) != size) { 614 for (i = 0; i < nent; i++, ptr += header.pr_entsize) {
|