Home
last modified time | relevance | path

Searched refs:record (Results 1 – 25 of 139) sorted by relevance

123456

/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c159 object_from_path(const char *dataset, uint64_t object, zinject_record_t *record) in object_from_path() argument
166 record->zi_objset = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in object_from_path()
167 record->zi_object = object; in object_from_path()
179 zinject_record_t *record) in initialize_range() argument
190 record->zi_start = 0; in initialize_range()
191 record->zi_end = -1ULL; in initialize_range()
196 record->zi_start = strtoull(range, &end, 10); in initialize_range()
200 record->zi_end = record->zi_start + 1; in initialize_range()
202 record->zi_end = strtoull(end + 1, &end, 10); in initialize_range()
229 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in initialize_range()
[all …]
H A Dzinject.c359 print_data_handler(int id, const char *pool, zinject_record_t *record, in print_data_handler() argument
364 if (record->zi_guid != 0 || record->zi_func[0] != '\0') in print_data_handler()
378 id, pool, (u_longlong_t)record->zi_objset, in print_data_handler()
379 (u_longlong_t)record->zi_object, type_to_name(record->zi_type), in print_data_handler()
380 record->zi_level, record->zi_dvas); in print_data_handler()
382 if (record->zi_start == 0 && in print_data_handler()
383 record->zi_end == -1ULL) in print_data_handler()
386 (void) printf("[%llu, %llu]\n", (u_longlong_t)record->zi_start, in print_data_handler()
387 (u_longlong_t)record->zi_end); in print_data_handler()
393 print_device_handler(int id, const char *pool, zinject_record_t *record, in print_device_handler() argument
[all …]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_utils.c78 static void ibmf_saa_classportinfo_parse_buffer(uchar_t *buffer, void *record);
79 static void ibmf_saa_notice_parse_buffer(uchar_t *buffer, void *record);
80 static void ibmf_saa_informinfo_parse_buffer(uchar_t *buffer, void *record);
81 static void ibmf_saa_node_record_parse_buffer(uchar_t *buffer, void *record);
83 void *record);
85 void *record);
87 void *record);
89 void *record);
91 void *record);
93 void *record);
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dexacct.c499 exacct_attach_task_item(task_t *tk, task_usage_t *tu, ea_object_t *record, in exacct_attach_task_item() argument
506 (void) ea_attach_item(record, &tk->tk_tkid, in exacct_attach_task_item()
510 (void) ea_attach_item(record, &tk->tk_proj->kpj_id, in exacct_attach_task_item()
519 (void) ea_attach_item(record, &ui, sizeof (uint64_t), in exacct_attach_task_item()
522 (void) ea_attach_item(record, &ui, sizeof (uint64_t), in exacct_attach_task_item()
527 (void) ea_attach_item(record, &ui, sizeof (uint64_t), in exacct_attach_task_item()
530 (void) ea_attach_item(record, &ui, sizeof (uint64_t), in exacct_attach_task_item()
535 (void) ea_attach_item(record, &tu->tu_startsec, in exacct_attach_task_item()
537 (void) ea_attach_item(record, &tu->tu_startnsec, in exacct_attach_task_item()
539 (void) ea_attach_item(record, &tu->tu_finishsec, in exacct_attach_task_item()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevattr.c102 struct devtabent *record; /* Retrieved record */ in devattr() local
110 if (!(record = _getdevrec(device))) { in devattr()
120 val = (record->alias != NULL) ? record->alias : ""; in devattr()
126 val = (record->cdevice != NULL) ? record->cdevice : ""; in devattr()
132 val = (record->bdevice != NULL) ? record->bdevice : ""; in devattr()
138 val = (record->pathname != NULL) ? record->pathname : ""; in devattr()
149 p = record->attrlist; in devattr()
173 _freedevtabent(record); in devattr()
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/
H A DSysloglikeFormatter.java119 public synchronized String format(LogRecord record) in format() argument
123 date.setTime(record.getMillis()); in format()
129 if (record.getSourceClassName() != null && useClassName) { in format()
131 sb.append(record.getSourceClassName()); in format()
133 if (record.getLoggerName() != null) { in format()
135 sb.append(record.getLoggerName()); in format()
138 String loggerName = record.getLoggerName(); in format()
150 if (record.getSourceMethodName() != null && useMethodName) { in format()
152 sb.append(record.getSourceMethodName()); in format()
159 String message = formatMessage(record); in format()
[all …]
H A DSyslogHandler.java168 public void publish(LogRecord record) in publish() argument
172 if (record.getLevel() instanceof Severity) in publish()
173 severity = (Severity)record.getLevel(); in publish()
175 severity = Severity.severityForLevel(record in publish()
189 String loggerName = record.getLoggerName(); in publish()
193 message.append(record.getLoggerName()); in publish()
208 message.append(record.getMessage()); in publish()
214 if (record.getThrown() != null && useStackTraces == true) { in publish()
221 .formatWithDescription(record.getThrown(), in publish()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c128 zinject_record_t *record, int error) in zio_match_handler() argument
134 record->zi_objset == DMU_META_OBJSET && in zio_match_handler()
135 record->zi_object == DMU_META_DNODE_OBJECT) { in zio_match_handler()
136 if (record->zi_type == DMU_OT_NONE || in zio_match_handler()
137 type == record->zi_type) in zio_match_handler()
138 return (freq_triggered(record->zi_freq)); in zio_match_handler()
146 if (zb->zb_objset == record->zi_objset && in zio_match_handler()
147 zb->zb_object == record->zi_object && in zio_match_handler()
148 zb->zb_level == record->zi_level && in zio_match_handler()
149 zb->zb_blkid >= record->zi_start && in zio_match_handler()
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_open.c148 token_t *record; /* mbuf chain which is the record */ in au_close() local
173 record = dchain; in au_close()
175 free(record->tt_data); in au_close()
176 free(record); in au_close()
188 for (record = dchain; record != (token_t *)0; in au_close()
189 record = record->tt_next) { in au_close()
190 byte_count += record->tt_size; in au_close()
227 record = dchain; in au_close()
229 free(record->tt_data); in au_close()
230 free(record); in au_close()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/offsetof/
H A Dtst.OffsetofUnion.d39 union record { union
47 printf("offsetof(record, x) = %d\n", offsetof(union D`record, x));
48 printf("offsetof(record, y) = %d\n", offsetof(union D`record, y));
49 printf("offsetof(record, c) = %d\n", offsetof(union D`record, c));
54 /(0 != offsetof(union D`record, y)) && (0 != offsetof(union D`record, x)) &&
55 (0 != offsetof(union D`record, c))/
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Desclex.c92 static int record(int tok, const char *s);
312 return (record(EOF, NULL)); in yylex()
355 return (record(c, NULL)); in yylex()
423 return (record(c, NULL)); in yylex()
468 return (record(c, NULL)); in yylex()
497 return (record(QUOTE, stable(Tok))); in yylex()
503 return (record(AND, NULL)); in yylex()
506 return (record(c, NULL)); in yylex()
515 return (record(OR, NULL)); in yylex()
518 return (record(c, NULL)); in yylex()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestMultiAggPrinta.java75 Record record; in probeDataString() local
82 record = records.get(i); in probeDataString()
83 if (record instanceof ValueRecord) { in probeDataString()
84 value = ((ValueRecord)record).getValue(); in probeDataString()
90 buf.append(record); in probeDataString()
92 } else if (record instanceof PrintaRecord) { in probeDataString()
93 PrintaRecord printa = (PrintaRecord)record; in probeDataString()
96 buf.append(record); in probeDataString()
/illumos-gate/usr/src/cmd/oawk/
H A Dlib.c42 wchar_t record[RECSIZE]; variable
56 { OCELL, CFLD, L_record, record, 0.0, STR|FLD},
89 record[0] = 0; in getrec()
90 er = record + RECSIZE; in getrec()
119 for (rr = record; /* dummy */; /* dummy */) { in getrec()
125 record); in getrec()
135 error(FATAL, "record `%.20ws...' too long", record); in getrec()
139 if (c != EOF || rr > record) { /* normal record */ in getrec()
221 r = record; in fldbld()
234 "record `%.20ws...' has too many fields", record); in fldbld()
[all …]
H A Doawk.xcl22 msgid "$record"
26 msgid "$record"
162 msgid "$record"
176 msgid "$record"
187 msgid "$record"
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DPoold.java997 LogRecord record; in die() local
999 record = new LogRecord( in die()
1003 record = new LogRecord(Severity.ERR, in die()
1005 if (record.getMessage() == null) in die()
1006 record.setMessage("exception " + in die()
1009 record.setThrown(t); in die()
1011 record.setLoggerName(logger.getName()); in die()
1012 logger.log(record); in die()
1044 LogRecord record; in warn() local
1046 record = new LogRecord( in warn()
[all …]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeData.java205 addRecord(Record record) in addRecord() argument
207 records.add(record); in addRecord()
290 Record record; in getLastPrinta() local
292 record = itr.previous(); in getLastPrinta()
293 if (record instanceof PrintaRecord) { in getLastPrinta()
294 printa = PrintaRecord.class.cast(record); in getLastPrinta()
365 Record record = records.get(records.size() - 1); in attachRecordElements() local
366 if (record instanceof PrintfRecord) { in attachRecordElements()
367 PrintfRecord printf = PrintfRecord.class.cast(record); in attachRecordElements()
399 Record record = records.get(records.size() - 1); in setFormattedString() local
[all …]
H A DAggregation.java148 for (AggregationRecord record : records) { in mapRecords()
149 map.put(record.getTuple(), record); in mapRecords() local
219 addRecord(AggregationRecord record) in addRecord() argument
221 Tuple key = record.getTuple(); in addRecord()
222 if (map.put(key, record) != null) { in addRecord()
364 for (AggregationRecord record : recordList) { in toString()
370 buf.append(record); in toString()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/struct/
H A Derr.D_DECL_INCOMPLETE.recursive.d36 struct record { struct
37 struct record rec; argument
42 struct record r1; argument
43 struct record r2;
H A Derr.D_ADDROF_VAR.StructPointer.d37 struct record { struct
43 struct record var; argument
44 struct record *ptr;
H A Derr.D_DECL_INCOMPLETE.circular.d39 struct record { struct
47 struct record r; argument
52 struct record rec;
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/union/
H A Derr.D_DECL_INCOMPLETE.recursive.d36 union record { union
37 union record rec;
42 union record r1;
43 union record r2;
H A Derr.D_ADDROF_VAR.UnionPointer.d37 union record { union
43 union record var;
44 union record *ptr;
H A Derr.D_DECL_INCOMPLETE.circular.d38 union record { union
46 union record r;
51 union record rec;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregrexec.c36 …len, size_t nmatch, regmatch_t* match, regflags_t flags, int sep, void* handle, regrecord_t record) in regrexec() argument
119 if (n = (*record)(handle, (char*)beg, x - beg)) in regrexec()
124 else if (n = (*record)(handle, (char*)l, r - l)) in regrexec()
128 n = (inv && (++r - buf) < len) ? (*record)(handle, (char*)r, (buf + len) - r): 0; in regrexec()
161 …ize_t nmatch, oldregmatch_t* oldmatch, regflags_t flags, int sep, void* handle, regrecord_t record) in regrexec() argument
171 if (!(r = regrexec_20120528(p, s, len, nmatch, match, flags, sep, handle, record))) in regrexec()
180 return regrexec_20120528(p, s, len, 0, NiL, flags, sep, handle, record); in regrexec()
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c279 prinfo = &info->record; in devaudio_proc_alloc()
379 proc->p_info.record.waiting++; in devaudio_proc_hold()
385 proc->p_info.record.waiting--; in devaudio_proc_hold()
392 proc->p_info.record.waiting--; in devaudio_proc_hold()
418 audio_prinfo_t *rec = &proc->p_info.record; in devaudio_proc_hold()
530 unsigned nbytes = dc->dc_proc->p_info.record.buffer_size; in devaudio_input()
604 info->record.sample_rate = auclnt_get_rate(sp); in devaudio_proc_update()
605 info->record.channels = auclnt_get_channels(sp); in devaudio_proc_update()
606 devaudio_decompose_format(&info->record, auclnt_get_format(sp)); in devaudio_proc_update()
608 info->record.gain = in devaudio_proc_update()
[all …]

123456