Home
last modified time | relevance | path

Searched refs:s_type (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/cmd/sort/common/
H A Dstreams_array.c41 str->s_type.LA.s_cur_index = MIN(0, str->s_type.LA.s_array_size - 1); in stream_array_prime()
42 if (str->s_type.LA.s_cur_index >= 0) in stream_array_prime()
44 str->s_type.LA.s_array[str->s_type.LA.s_cur_index], in stream_array_prime()
61 ASSERT(str->s_type.LA.s_cur_index < str->s_type.LA.s_array_size); in stream_array_fetch()
63 if (++str->s_type.LA.s_cur_index == str->s_type.LA.s_array_size - 1) in stream_array_fetch()
66 copy_line_rec(str->s_type.LA.s_array[str->s_type.LA.s_cur_index], in stream_array_fetch()
111 if (str->s_type.LA.s_cur_index + 1 >= str->s_type.LA.s_array_size) { in stream_array_eos()
H A Dstreams_stdio.c216 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch()
222 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch()
239 if (!feof(str->s_type.BF.s_fp)) { in stream_stdio_fetch()
287 str->s_type.BF.s_fp) == NULL) { in stream_stdio_fetch_overwrite()
288 if (feof(str->s_type.BF.s_fp)) in stream_stdio_fetch_overwrite()
294 trip_eof(str->s_type.BF.s_fp); in stream_stdio_fetch_overwrite()
301 if (!feof(str->s_type.BF.s_fp)) { in stream_stdio_fetch_overwrite()
337 free(str->s_type.BF.s_vbuf); in stream_stdio_close()
338 str->s_type.BF.s_vbuf = NULL; in stream_stdio_close()
464 trip_eof(str->s_type.BF.s_fp); in stream_stdio_eos()
[all …]
H A Dstreams.c207 str->s_type.BF.s_fp = stdin; in stream_open_for_read()
234 str->s_type.SF.s_fd = fd; in stream_open_for_read()
259 if (setvbuf(str->s_type.BF.s_fp, str->s_type.BF.s_vbuf, _IOFBF, in stream_open_for_read()
261 safe_free(str->s_type.BF.s_vbuf); in stream_open_for_read()
262 str->s_type.BF.s_vbuf = NULL; in stream_open_for_read()
312 str->s_type.SF.s_fd = -1; in stream_add_file_to_chain()
482 if (dest->s_type.LA.s_array_size) in stream_insert()
557 if (i > dest->s_type.LA.s_array_size) in stream_insert()
558 dest->s_type.LA.s_array = safe_realloc(dest->s_type.LA.s_array, in stream_insert()
560 dest->s_type.LA.s_array_size = i; in stream_insert()
[all …]
H A Dstreams_wide.c52 stream_buffered_file_t *BF = &(str->s_type.BF); in stream_wide_prime()
152 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch()
158 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch()
172 if (!feof(str->s_type.BF.s_fp)) { in stream_wide_fetch()
206 str->s_type.BF.s_fp) == NULL) { in stream_wide_fetch_overwrite()
207 if (feof(str->s_type.BF.s_fp)) in stream_wide_fetch_overwrite()
213 trip_eof(str->s_type.BF.s_fp); in stream_wide_fetch_overwrite()
220 if (!feof(str->s_type.BF.s_fp)) { in stream_wide_fetch_overwrite()
243 if (wxwrite(str->s_type.SF.s_fd, w_crlf) < 0) in stream_wide_send_eol()
302 trip_eof(str->s_type.BF.s_fp); in stream_wide_eos()
[all …]
H A Dstreams_mmap.c52 str->s_type.SF.s_release_origin = str->s_buffer; in stream_mmap_prime()
125 if (str->s_type.SF.s_fd > -1) { in stream_mmap_close()
126 (void) close(str->s_type.SF.s_fd); in stream_mmap_close()
193 caddr_t origin = str->s_type.SF.s_release_origin; in stream_mmap_release_line()
206 str->s_type.SF.s_release_origin += release; in stream_mmap_release_line()
H A Dinternal.c303 rqs_algorithm(C->s_type.LA.s_array, C->s_type.LA.s_array_size, in radix_quicksort()
306 rqs_algorithm(C->s_type.LA.s_array, C->s_type.LA.s_array_size, in radix_quicksort()
H A Dtypes.h212 stream_type_t s_type; /* type-specific attributes */ member
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_sn.c47 static int sfd = -1, s_type = -1; variable
72 s_type = (int)ntohl(sh.s_type);
75 s_type < 0 || s_type > SDL_MAX) {
82 printf("\tid: %8.8s version: %d type: %d\n", sh.s_id, s_v, s_type);
177 l = &llcs[s_type];
H A Dsnoop.h17 int s_type; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dlookup.c26 int s_type; member
124 if (action != INSERT || s->s_type != CONST) {
145 s->s_type = action == INSERT ? VAR : CONST;
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_register.c96 fnp->s_type = type;
186 0, LOG_CLOSE, &r_name, &fid_dbt, fid, fnp->s_type)) != 0)
H A Dlog_rec.c359 fname->ufid, name, fname->s_type, ndx)) != 0)
H A Dlog_put.c169 LOG_CHECKPOINT, &t, &fid_dbt, fnp->id, fnp->s_type))
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsbdp_mbox.h87 char s_type[12]; /* type of board */ member
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mbox.c90 (void) strcpy(stp->s_type, shbp->s_type); in sbdp_showbd_2_sbd_stat()
98 (void) strcpy(stp->s_type, UNKNOWN); in sbdp_showbd_2_sbd_stat()
227 shbp->s_ledstatus, shbp->s_type, shbp->s_info); in sbdp_get_board_status()
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dlog.h192 DBTYPE s_type; /* Saved DB type. */ member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c135 char s_type[16]; in emlxs_msi_init() local
213 (void) strlcpy(s_type, "TYPE_MSIX", sizeof (s_type)); in emlxs_msi_init()
228 (void) strlcpy(s_type, "TYPE_MSI", sizeof (s_type)); in emlxs_msi_init()
244 (void) strlcpy(s_type, "TYPE_FIXED", sizeof (s_type)); in emlxs_msi_init()
264 "MSI: %s: mode=%d types=0x%x nintrs=%d", s_type, in emlxs_msi_init()
292 "MSI: %s: count=%d actual=%d ret=%d", s_type, count, actual, ret); in emlxs_msi_init()
387 "MSI: %s: %d: cap=0x%x pri=0x%x hilevel=0x%x", s_type, i, in emlxs_msi_init()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dsbd_ioctl.h199 char s_type[SBD_TYPE_LEN]; member
360 char s_type[SBD_TYPE_LEN]; member
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsbd_ioctl.h196 char s_type[SBD_TYPE_LEN]; member
357 char s_type[SBD_TYPE_LEN]; member
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsm_in.h257 #define s_type s_hdr.rsmrc_type /* segment type */ macro
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c405 a->bnum, st->s_rstate, st->s_ostate, st->s_type); in ap_init()
407 parsable_strncpy(ap->ap_type, st->s_type, sizeof (ap->ap_type)); in ap_init()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_target.c1896 uchar_t s_type = GELF_ST_TYPE(sym->st_info); in mdb_tgt_sym_match() local
1905 if (s_bind < STB_NUM && s_type < STT_NUM) { in mdb_tgt_sym_match()
1906 uint_t type = (1 << (s_type + 8)) | (1 << s_bind); in mdb_tgt_sym_match()
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab.c3238 uint_t s_bind, s_type, type; in Psymbol_iter_com() local
3244 s_type = GELF_ST_TYPE(sym.st_info); in Psymbol_iter_com()
3254 if (s_bind < STB_NUM && s_type < STT_NUM) { in Psymbol_iter_com()
3255 type = (1 << (s_type + 8)) | (1 << s_bind); in Psymbol_iter_com()
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr.c2251 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
2324 bcopy(&dstatp->s_type[0], &dstat32p->s_type[0], in dr_dev_status()
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c2283 bcopy(&pstat.type[0], &dstatp->s_type[0], SBD_TYPE_LEN); in dr_dev_status()
2357 bcopy(&dstatp->s_type[0], &dstat32p->s_type[0], in dr_dev_status()

12