/titanic_41/usr/src/cmd/zinject/ |
H A D | translate.c | 167 zinject_record_t *record) in object_from_path() argument 185 record->zi_objset = dmu_objset_id(os); in object_from_path() 186 record->zi_object = statbuf->st_ino; in object_from_path() 198 zinject_record_t *record) in calculate_range() argument 214 record->zi_start = 0; in calculate_range() 215 record->zi_end = -1ULL; in calculate_range() 220 record->zi_start = strtoull(range, &end, 10); in calculate_range() 224 record->zi_end = record->zi_start + 1; in calculate_range() 226 record->zi_end = strtoull(end + 1, &end, 10); in calculate_range() 253 record->zi_start = record->zi_object * sizeof (dnode_phys_t); in calculate_range() [all …]
|
H A D | zinject.c | 316 print_data_handler(int id, const char *pool, zinject_record_t *record, in print_data_handler() argument 321 if (record->zi_guid != 0 || record->zi_func[0] != '\0') in print_data_handler() 334 (u_longlong_t)record->zi_objset, (u_longlong_t)record->zi_object, in print_data_handler() 335 type_to_name(record->zi_type), record->zi_level); in print_data_handler() 337 if (record->zi_start == 0 && in print_data_handler() 338 record->zi_end == -1ULL) in print_data_handler() 341 (void) printf("[%llu, %llu]\n", (u_longlong_t)record->zi_start, in print_data_handler() 342 (u_longlong_t)record->zi_end); in print_data_handler() 348 print_device_handler(int id, const char *pool, zinject_record_t *record, in print_device_handler() argument 353 if (record->zi_guid == 0 || record->zi_func[0] != '\0') in print_device_handler() [all …]
|
/titanic_41/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_log.c | 526 cachefs_log_enqueue(cachefscache_t *cachep, void *record, int size, in cachefs_log_enqueue() argument 537 cachefs_kmem_free(record, size); in cachefs_log_enqueue() 548 cachefs_kmem_free(record, size); in cachefs_log_enqueue() 553 newnode->data = record; in cachefs_log_enqueue() 711 struct cachefs_log_mount_record *record; in cachefs_log_mount() local 736 size = (int)sizeof (*record) + len1 + len2 - in cachefs_log_mount() 738 record = cachefs_kmem_zalloc(size, KM_NOSLEEP); in cachefs_log_mount() 739 if (record == NULL) { in cachefs_log_mount() 744 record->type = CACHEFS_LOG_MOUNT; in cachefs_log_mount() 745 record->time = time; in cachefs_log_mount() [all …]
|
/titanic_41/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_saa_utils.c | 80 static void ibmf_saa_classportinfo_parse_buffer(uchar_t *buffer, void *record); 81 static void ibmf_saa_notice_parse_buffer(uchar_t *buffer, void *record); 82 static void ibmf_saa_informinfo_parse_buffer(uchar_t *buffer, void *record); 83 static void ibmf_saa_node_record_parse_buffer(uchar_t *buffer, void *record); 85 void *record); 87 void *record); 89 void *record); 91 void *record); 93 void *record); 95 void *record); [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | exacct.c | 499 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 …]
|
/titanic_41/usr/src/lib/libadm/common/ |
H A D | devattr.c | 104 struct devtabent *record; /* Retrieved record */ in devattr() local 112 if (!(record = _getdevrec(device))) { in devattr() 122 val = (record->alias != NULL) ? record->alias : ""; in devattr() 128 val = (record->cdevice != NULL) ? record->cdevice : ""; in devattr() 134 val = (record->bdevice != NULL) ? record->bdevice : ""; in devattr() 140 val = (record->pathname != NULL) ? record->pathname : ""; in devattr() 151 p = record->attrlist; in devattr() 175 _freedevtabent(record); in devattr()
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | md_crc.h | 49 uchar_t *record, 65 #define crcgen(record, result, size, skip) \ argument 66 (void) crcfunc(0, (uchar_t *)(record), (uint_t *)(result), \ 72 #define crcgen(record, result, size, skip) {\ argument 73 uint_t b = crcfunc(0, (uchar_t *)(record), (uint_t *)(result), \ 75 (void) crcfunc(0, (uchar_t *)(record), (uint_t *)(result), \ 80 #define crcgen(record, result, size, skip) {\ argument 81 uint_t b = crcfunc(0, (uchar_t *)(record), (uint_t *)(result), \ 83 (void) crcfunc(0, (uchar_t *)(record), (uint_t *)(result), \ 90 #define crcchk(record, result, size, skip) crcfunc(1, (uchar_t *)(record), \ argument
|
/titanic_41/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/ |
H A D | SysloglikeFormatter.java | 119 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 D | SyslogHandler.java | 168 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()
|
/titanic_41/usr/src/lib/libbsm/common/ |
H A D | au_open.c | 148 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 …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/offsetof/ |
H A D | tst.OffsetofUnion.d | 40 union record { union 48 printf("offsetof(record, x) = %d\n", offsetof(union D`record, x)); 49 printf("offsetof(record, y) = %d\n", offsetof(union D`record, y)); 50 printf("offsetof(record, c) = %d\n", offsetof(union D`record, c)); 55 /(0 != offsetof(union D`record, y)) && (0 != offsetof(union D`record, x)) && 56 (0 != offsetof(union D`record, c))/
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zio_inject.c | 68 zinject_record_t *record, int error) in zio_match_handler() argument 74 record->zi_objset == DMU_META_OBJSET && in zio_match_handler() 75 record->zi_object == DMU_META_DNODE_OBJECT) { in zio_match_handler() 76 if (record->zi_type == DMU_OT_NONE || in zio_match_handler() 77 type == record->zi_type) in zio_match_handler() 78 return (record->zi_freq == 0 || in zio_match_handler() 79 spa_get_random(100) < record->zi_freq); in zio_match_handler() 87 if (zb->zb_objset == record->zi_objset && in zio_match_handler() 88 zb->zb_object == record->zi_object && in zio_match_handler() 89 zb->zb_level == record->zi_level && in zio_match_handler() [all …]
|
/titanic_41/usr/src/cmd/fm/eversholt/common/ |
H A D | esclex.c | 86 static int record(int tok, const char *s); 306 return (record(EOF, NULL)); in yylex() 349 return (record(c, NULL)); in yylex() 417 return (record(c, NULL)); in yylex() 462 return (record(c, NULL)); in yylex() 491 return (record(QUOTE, stable(Tok))); in yylex() 497 return (record(AND, NULL)); in yylex() 500 return (record(c, NULL)); in yylex() 509 return (record(OR, NULL)); in yylex() 512 return (record(c, NULL)); in yylex() [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestMultiAggPrinta.java | 75 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()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_statconcise.c | 145 void *record; member 243 Free((*mdrec)->record); in free_mdrec_list_entry() 508 mt = (mt_unit_t *)mdrec->record; in process_trans() 574 hs = (hot_spare_t *)mdrec->record; in process_hotspare() 617 hsp = (hot_spare_pool_ond_t *)mdrec->record; in process_hotspare_pool() 675 mr = (mr_unit_t *)mdrec->record; in process_raid() 805 mm = (mm_unit_t *)mdrec->record; in process_mirror() 883 ms = (ms_unit_t *)mdrec->record; in process_stripe() 999 mp = (mp_unit_t *)mdrec->record; in process_softpart() 1074 mp = (mp_unit_t *)mdrec->record; in process_toplevel_softparts() [all …]
|
/titanic_41/usr/src/common/lvm/ |
H A D | md_crc.c | 85 uchar_t *record, /* record to be check-summed */ in crcfunc() argument 141 recaddr = record; in crcfunc() 145 if (record == (uchar_t *)result) { in crcfunc() 146 record += sizeof (uint_t); in crcfunc() 154 if ((s) && (record == (recaddr + (s->skip_offset)))) { in crcfunc() 155 record += s->skip_size; in crcfunc() 161 newcrc = (newcrc << 8) ^ crctab[(newcrc >> 24) ^ *record++]; in crcfunc()
|
/titanic_41/usr/src/cmd/oawk/ |
H A D | lib.c | 43 wchar_t record[RECSIZE]; variable 57 { OCELL, CFLD, L_record, record, 0.0, STR|FLD}, 90 record[0] = 0; in getrec() 91 er = record + RECSIZE; in getrec() 120 for (rr = record; /* dummy */; /* dummy */) { in getrec() 126 record); in getrec() 136 error(FATAL, "record `%.20ws...' too long", record); in getrec() 140 if (c != EOF || rr > record) { /* normal record */ in getrec() 222 r = record; in fldbld() 235 "record `%.20ws...' has too many fields", record); in fldbld() [all …]
|
/titanic_41/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Poold.java | 997 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 …]
|
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Aggregation.java | 150 for (AggregationRecord record : records) { in mapRecords() 151 map.put(record.getTuple(), record); in mapRecords() local 221 addRecord(AggregationRecord record) in addRecord() argument 223 Tuple key = record.getTuple(); in addRecord() 224 if (map.put(key, record) != null) { in addRecord() 366 for (AggregationRecord record : recordList) { in toString() 372 buf.append(record); in toString()
|
H A D | ProbeData.java | 207 addRecord(Record record) in addRecord() argument 209 records.add(record); in addRecord() 292 Record record; in getLastPrinta() local 294 record = itr.previous(); in getLastPrinta() 295 if (record instanceof PrintaRecord) { in getLastPrinta() 296 printa = PrintaRecord.class.cast(record); in getLastPrinta() 367 Record record = records.get(records.size() - 1); in attachRecordElements() local 368 if (record instanceof PrintfRecord) { in attachRecordElements() 369 PrintfRecord printf = PrintfRecord.class.cast(record); in attachRecordElements() 401 Record record = records.get(records.size() - 1); in setFormattedString() local [all …]
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/struct/ |
H A D | err.D_DECL_INCOMPLETE.recursive.d | 38 struct record { struct 39 struct record rec; argument 44 struct record r1; argument 45 struct record r2;
|
H A D | err.D_ADDROF_VAR.StructPointer.d | 39 struct record { struct 45 struct record var; argument 46 struct record *ptr;
|
/titanic_41/usr/src/cmd/dtrace/test/tst/common/union/ |
H A D | err.D_DECL_INCOMPLETE.recursive.d | 38 union record { union 39 union record rec; 44 union record r1; 45 union record r2;
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_names.c | 828 void *record = this_nh->nmn_record; in update_entry() local 842 &((struct devid_min_rec *)record)->min_rec_hdr : in update_entry() 843 &((struct nm_rec *)record)->r_rec_hdr); in update_entry() 846 ((caddr_t)&((struct devid_min_rec *)record)->minor_name[0]) : in update_entry() 847 ((caddr_t)&((struct nm_rec *)record)->r_name[0])); in update_entry() 877 record = this_nh->nmn_record; in update_entry() 880 &((struct devid_min_rec *)record)->min_rec_hdr in update_entry() 882 &((struct nm_rec *)record)->r_rec_hdr); in update_entry() 885 record)->minor_name[0]) : in update_entry() 887 record)->r_name[0])); in update_entry() [all …]
|
/titanic_41/usr/src/lib/libtnf/ |
H A D | abi.c | 72 _tnf_get_tag(TNF *tnf, tnf_ref32_t *record) in _tnf_get_tag() argument 74 return (_GET_TAG(tnf, record)); in _tnf_get_tag() 82 _tnf_get_tag_arg(TNF *tnf, tnf_ref32_t *record) in _tnf_get_tag_arg() argument 84 return (_GET_TAG_ARG(tnf, record)); in _tnf_get_tag_arg() 205 _tnf_get_root_tag(TNF *tnf, tnf_ref32_t *record) in _tnf_get_root_tag() argument 211 p1 = record; in _tnf_get_root_tag() 430 _tnf_get_slot_typed(TNF *tnf, tnf_ref32_t *record, char *name) in _tnf_get_slot_typed() argument 437 tag = _tnf_get_tag(tnf, record); in _tnf_get_slot_typed() 480 return (fetch_slot(tnf, (caddr_t)record + offset, in _tnf_get_slot_typed() 495 _tnf_get_slot_named(TNF *tnf, tnf_ref32_t *record, char *name) in _tnf_get_slot_named() argument [all …]
|