Searched defs:record (Results 1 - 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/cmd/tnf/tnfdump/
H A Dstate.h39 * data structures for table of record pointers:
40 * time: timestamp of record
41 * record: handle on record
45 tnf_datum_t record; member in struct:entry
H A Dmain.c134 tnf_datum_t record; local
198 record = tnf_get_file_header(tnf);
200 describe_record(record);
205 while ((record = tnf_get_next_record(record)) != TNF_DATUM_NULL)
206 desc_func(record);
232 fail(0, gettext("illegal record at %x (%d)"),
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevattr.c73 * specified by <device>. If it finds a record corresponding to that
75 * extracts the value of the field <attr> from that record, if any.
80 * device whose record is to be looked for
104 struct devtabent *record; /* Retrieved record */ local
111 /* Get the record for the specified device */
112 if (!(record = _getdevrec(device))) {
117 /* Search the record for the specified attribute */
122 val = (record->alias != NULL) ? record
[all...]
H A Ddgrpent.c46 * _getdgrprec() Gets a specific record from the device table
85 * recnum Record number of next record to read
99 * _getdgrptabent() returns the first record in the device table.
192 * This function gets the next record from the input stream "oam_dgroup"
193 * and puts it in the device-group table record buffer (whose address is
195 * accommodate the record, the function allocates more space to the
201 * The address of the buffer containing the record.
206 * recbufsz Current size of the record buffer
207 * xtndcnt Number of times the record buffer has been extended
223 int reclen; /* Number of chars in record */
431 char *record; /* Record just read */ local
[all...]
H A Ddevtab.c45 * _getdevrec() Gets a specific record from the device table
83 * dtabrecnum Record number of the current record (0 to n-1)
88 * xtndcnt Number of malloc()/realloc() calls on record buffer
149 * _getdevtabent() returns the first record in the device table.
385 * This function gets the next record from the input stream "oam_devtab"
386 * and puts it in the device-table record buffer (whose address is in
388 * accommodate the record, the function allocates more space to the
394 * The address of the buffer containing the record.
399 * recbufsz Current size of the record buffer
400 * xtndcnt Number of times the record buffe
683 char *record; /* Ptr to the record just read */ local
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dbsm.c42 audit(char *record, int length) argument
44 return (syscall(SYS_auditsys, BSM_AUDIT, record, length));
H A Dau_open.c38 * Open an audit record = find a free descriptor and pass it back.
148 token_t *record; /* mbuf chain which is the record */ local
151 char *buffer; /* to build record into */
152 int byte_count; /* bytes in the record */
169 * If not to be written toss the record
173 record = dchain;
175 free(record->tt_data);
176 free(record);
183 * Count up the bytes used in the record
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/
H A DSysloglikeFormatter.java82 * the class generating the record, if possible. (default
88 * Flag to set whether log records should indicate the record's
96 * component of the record's logger name, if useLoggerName isn't
108 * Flag to set whether each record should be split into two
116 * @param record the log record to be formatted.
117 * @return a formatted log record.
119 public synchronized String format(LogRecord record) argument
123 date.setTime(record.getMillis());
129 if (record
[all...]
H A DSyslogHandler.java65 * Flag whether stack traces should be output when a record's
81 * Flag to set whether log records should indicate the record's
88 * component of the record's logger name, if useLoggerName isn't
164 * Publishes the given record with its associated Severity (or
168 public void publish(LogRecord record) argument
172 if (record.getLevel() instanceof Severity)
173 severity = (Severity)record.getLevel();
175 severity = Severity.severityForLevel(record
189 String loggerName = record.getLoggerName();
193 message.append(record
[all...]
/illumos-gate/usr/src/lib/libtnf/
H A Dinfo.c129 * Get info for supplied record
134 _tnf_record_info(TNF *tnf, tnf_ref32_t *record) argument
141 ref32 = _GET_INT32(tnf, record);
154 info = _tnf_get_info(tnf, _tnf_get_tag(tnf, record));
161 return (_tnf_get_info(tnf, _tnf_get_tag(tnf, record)));
H A Dabi.c68 * retrieve tag slot from a record
72 _tnf_get_tag(TNF *tnf, tnf_ref32_t *record) argument
74 return (_GET_TAG(tnf, record));
78 * Retrieve tag_arg from tag slot of a record
82 _tnf_get_tag_arg(TNF *tnf, tnf_ref32_t *record) argument
84 return (_GET_TAG_ARG(tnf, record));
88 * Retrieve the self_size slot of an ABI array record
98 * Calculate the number of elements in ABI array record
120 * Retrieve the base pointer of an ABI array record
140 * Retrieve the chars in an ABI string record
205 _tnf_get_root_tag(TNF *tnf, tnf_ref32_t *record) argument
430 _tnf_get_slot_typed(TNF *tnf, tnf_ref32_t *record, char *name) argument
495 _tnf_get_slot_named(TNF *tnf, tnf_ref32_t *record, char *name) argument
[all...]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DAggregation.java55 * results in an {@code Aggregation} named "a" with only a single record
127 * @throws IllegalArgumentException if any record has an empty
128 * tuple, unless it is the only record in the given collection (only
150 for (AggregationRecord record : records) {
151 map.put(record.getTuple(), record);
218 * contains a record with the same tuple key as the given record
221 addRecord(AggregationRecord record) argument
223 Tuple key = record
[all...]
H A DPrintaRecord.java35 * A record generated by the DTrace {@code printa()} action. Lists the
39 * record, then the DTrace library tabulates the output, using a default
61 * aggregation data available in this record. For example, if the
139 * Creates a record with the given snaptime, aggregations, and
143 * to create this {@code printa()} record
145 * that generated this record
148 * to this record, one formatted string per {@code Tuple}, or an
151 * record
215 * create this {@code printa()} record.
248 * rely on a non-null return value to indicate a non-zero record
367 addRecord(String aggregationName, long aggid, AggregationRecord record) argument
[all...]
H A DProbeData.java35 * Data generated when a DTrace probe fires, contains one record for
36 * every record-generating action in the probe. (Some D actions, such
37 * as {@code clear()}, do not generate a {@code ProbeData} record.) A
61 * Currently the {@code ProbeData} instance does not record a timestamp.
165 * probe that fired, one record per action, may be empty
190 throw new NullPointerException("record list is null");
207 addRecord(Record record) argument
209 records.add(record);
221 // record with no data).
243 throw new IllegalStateException("no symbol record a
[all...]
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_syscalls.c65 #define AUDIT_REC_SIZE 0x8000 /* maximum user audit record size */
109 * away in the audit file. User passes a complete audit record and its
120 audit(caddr_t record, int length) argument
134 /* if auditing not enabled, then don't generate an audit record */
144 /* Max user record size is 32K */
161 /* Read in user's audit record */
173 if (copyin(record, memtod(m, caddr_t), (size_t)l)) {
178 record += l;
284 /* link to audit record (i.e. don't pack the data) */
298 /* append to audit record */
[all...]
/illumos-gate/usr/src/lib/libast/common/regex/
H A Dregrexec.c25 * posix regex record executor
26 * multiple record sized-buffer interface
36 regrexec(const regex_t* p, const char* s, size_t len, size_t nmatch, regmatch_t* match, regflags_t flags, int sep, void* handle, regrecord_t record) argument
119 if (n = (*record)(handle, (char*)beg, x - beg))
124 else if (n = (*record)(handle, (char*)l, r - l))
128 n = (inv && (++r - buf) < len) ? (*record)(handle, (char*)r, (buf + len) - r): 0;
/illumos-gate/usr/src/cmd/oawk/
H A Dlib.c43 wchar_t record[RECSIZE]; variable
50 int donerec; /* 1 = record is valid (no flds have changed) */
52 static wchar_t L_record[] = L"$record";
57 { OCELL, CFLD, L_record, record, 0.0, STR|FLD},
90 record[0] = 0;
91 er = record + RECSIZE;
120 for (rr = record; /* dummy */; /* dummy */) {
125 error(FATAL, "record `%.20ws...' too long",
126 record);
136 error(FATAL, "record `
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dusbser_keyspan.c587 usbser_keyspan_fw_record_t *record = NULL; local
592 record = keyspan_usa49wlc_fw();
595 if (!record) {
612 /* Write until the last record of the firmware */
613 while (record->address != 0xffff) {
615 record->address, (uchar_t *)record->data,
616 record->data_len, KEYSPAN_REQ_SET) != USB_SUCCESS) {
622 record++;
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c167 zinject_record_t *record)
185 record->zi_objset = dmu_objset_id(os);
186 record->zi_object = statbuf->st_ino;
198 zinject_record_t *record)
214 record->zi_start = 0;
215 record->zi_end = -1ULL;
220 record->zi_start = strtoull(range, &end, 10);
224 record->zi_end = record->zi_start + 1;
226 record
166 object_from_path(const char *dataset, const char *path, struct stat64 *statbuf, zinject_record_t *record) argument
197 calculate_range(const char *dataset, err_type_t type, int level, char *range, zinject_record_t *record) argument
332 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument
427 translate_raw(const char *str, zinject_record_t *record) argument
447 translate_device(const char *pool, const char *device, err_type_t label_type, zinject_record_t *record) argument
[all...]
H A Dzinject.c224 "\t\tClear the particular record (if given a numeric ID), or\n"
356 print_data_handler(int id, const char *pool, zinject_record_t *record, argument
361 if (record->zi_guid != 0 || record->zi_func[0] != '\0')
375 id, pool, (u_longlong_t)record->zi_objset,
376 (u_longlong_t)record->zi_object, type_to_name(record->zi_type),
377 record->zi_level, record->zi_dvas);
379 if (record
390 print_device_handler(int id, const char *pool, zinject_record_t *record, void *data) argument
415 print_delay_handler(int id, const char *pool, zinject_record_t *record, void *data) argument
444 print_panic_handler(int id, const char *pool, zinject_record_t *record, void *data) argument
501 cancel_one_handler(int id, const char *pool, zinject_record_t *record, void *data) argument
556 register_handler(const char *pool, int flags, zinject_record_t *record, int quiet) argument
615 perform_action(const char *pool, zinject_record_t *record, int cmd) argument
729 zinject_record_t record = { 0 }; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c31 * fault. These are kept in a global list. Each record corresponds to a given
33 * or exported while the injection record exists.
102 * Returns true if the given record matches the I/O in progress.
106 zinject_record_t *record, int error)
112 record->zi_objset == DMU_META_OBJSET &&
113 record->zi_object == DMU_META_DNODE_OBJECT) {
114 if (record->zi_type == DMU_OT_NONE ||
115 type == record->zi_type)
116 return (record->zi_freq == 0 ||
117 spa_get_random(100) < record
105 zio_match_handler(zbookmark_phys_t *zb, uint64_t type, int dva, zinject_record_t *record, int error) argument
632 zio_inject_fault(char *name, int flags, int *id, zinject_record_t *record) argument
731 zio_inject_list_next(int *id, char *name, size_t buflen, zinject_record_t *record) argument
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dgrep.c322 record(void* handle, const char* s, size_t len) function
497 if ((result = regrexec(&x->re, span, t - span, state->posnum, state->pos, state->options, '\n', (void*)&r_x, record)) < 0)
525 if ((result = regrexec(&x->re, s, t - s, state->posnum, state->pos, state->options, '\n', (void*)&r_x, record)) < 0)
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c116 static char *record; variable
366 cc = read(0, &record[i], n - i);
375 rval = (offset_t)write(tape, record, n);
389 rval = (offset_t)read(tape, record, n);
394 (void) write(1, record, (size_t)rval);
500 if (record != 0)
501 free(record);
502 if ((record = malloc(size)) == NULL) {
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslogd.h100 * of rewriting the buffer header of that last record processed.
103 * and where. This record keeping is then used to decide when to rewrite
122 u_offset_t next_rec; /* address of next record */
123 unsigned int last_rec_id; /* last record id processed */
138 intptr_t record; /* mmap address of record */ member in struct:nfslog_lr
139 unsigned int recsize; /* size of this record */
142 nfslog_request_record log_record; /* decoded record */
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Desclex.c86 static int record(int tok, const char *s);
266 /* record start time */
306 return (record(EOF, NULL));
349 return (record(c, NULL));
417 return (record(c, NULL));
462 return (record(c, NULL));
491 return (record(QUOTE, stable(Tok)));
497 return (record(AND, NULL));
500 return (record(c, NULL));
509 return (record(O
685 record(int tok, const char *s) function
[all...]

Completed in 217 milliseconds

12