/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xge-debug.h | 143 #define xge_debug(module, level, fmt) { \ argument 144 if (((level >= XGE_TRACE && ((module & XGE_DEBUG_TRACE_MASK) == module)) || \ 145 (level >= XGE_ERR && ((module & XGE_DEBUG_ERR_MASK) == module))) && \ 146 level >= *g_level && module & *(unsigned int *)g_module_mask) { \ 158 #define xge_debug(module, level, fmt...) { \ argument 159 if (((level >= XGE_TRACE && ((module & XGE_DEBUG_TRACE_MASK) == module)) || \ 160 (level >= XGE_ERR && ((module & XGE_DEBUG_ERR_MASK) == module))) && \ 161 level >= *g_level && module & *(unsigned int *)g_module_mask) { \ 169 static inline void xge_debug_stats(xge_debug_level_e level, char *fmt, ...) { in xge_debug_stats() argument 171 xge_debug(module, level, fmt); in xge_debug_stats() [all …]
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext_util.c | 379 gprintf(int level, const char *format, ...) in gprintf() argument 385 while (level-- > 0) { in gprintf() 416 printmp(struct msg_pack *mp, int level) in printmp() argument 418 gprintf(level, "=== mp ===\n"); in printmp() 419 gprintf(level, " msgid1: \"%s\"\n", in printmp() 421 gprintf(level, " msgid2: \"%s\"\n", in printmp() 423 gprintf(level, " msgfile: \"%s\"\n", in printmp() 425 gprintf(level, " domain: \"%s\"\n", in printmp() 427 gprintf(level, " binding: \"%s\"\n", in printmp() 429 gprintf(level, " locale: \"%s\"\n", in printmp() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | error.c | 33 errorv(const char* id, int level, va_list ap) in errorv() argument 39 if (level < 0) in errorv() 43 flags = level & ~ERROR_LEVEL; in errorv() 44 level &= ERROR_LEVEL; in errorv() 47 if (level && ((s = error_info.id) || (s = (char*)id))) in errorv() 56 else if (level < 0) in errorv() 57 sfprintf(sfstderr, "debug%d: ", level); in errorv() 58 else if (level) in errorv() 60 if (level == ERROR_WARNING) in errorv() 68 if (level == ERROR_PANIC) in errorv() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | ppm_plat.c | 46 ppm_cpu_next(ppm_domain_t *domp, int level) in ppm_cpu_next() argument 52 int index = level - 1; in ppm_cpu_next() 124 ppm_cpu_go(ppm_domain_t *domp, int level) in ppm_cpu_go() argument 211 int level, oldlevel; in ppm_change_cpu_power() local 226 oldlevel = (cpup->level == PM_LEVEL_UNKNOWN) ? highest : cpup->level; in ppm_change_cpu_power() 248 for (level = oldlevel+incr; level != newlevel+incr; level += incr) { in ppm_change_cpu_power() 251 if (cpup->level == level) in ppm_change_cpu_power() 254 ret = pm_power(cpup->dip, 0, level); in ppm_change_cpu_power() 256 str, cpup->path, chstr, level, ret)) in ppm_change_cpu_power() 258 cpup->level = level; in ppm_change_cpu_power() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 375 put_ddlevel(FILE *fp, int level) in put_ddlevel() argument 380 (void) fprintf(fp, IS_LBR_BKTYPE(level) ? "%c" : "%d", level); in put_ddlevel() 641 putdumptime(char *path, int level, time_t ddate) in putdumptime() argument 653 if (IS_LBR_BKTYPE(level)) { in putdumptime() 654 NDMP_LOG(LOG_DEBUG, "Lbr: [%s][%c][%u]", path, level, ddate); in putdumptime() 656 NDMP_LOG(LOG_DEBUG, "[%s][%d][%u]", path, level, ddate); in putdumptime() 699 if (ddp->dd_level != level) in putdumptime() 725 tmpdd.dd_level = level; in putdumptime() 743 append_dumptime(char *fname, char *path, int level, time_t ddate) in append_dumptime() argument 752 if (IS_LBR_BKTYPE(level & 0xff)) { in append_dumptime() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | debug.c | 254 sm_debug_addsetting_x(pattern, level) in sm_debug_addsetting_x() argument 256 int level; 261 SM_REQUIRE(level >= 0); 264 s->ds_level = (unsigned int) level; 292 int level; local 301 level = 0; 304 level = level * 10 + (*s - '0'); 307 if (level < 0) 308 level = 0; 311 level = 1; [all …]
|
/illumos-gate/usr/src/lib/fm/topo/maps/i86pc/ |
H A D | fan-hc-topology.xmlgen | 273 my $level = shift @topo; 277 $indent, "", $type, 0, $level->{count} - 1); 280 for (my $i = 0; $i < $level->{count}; $i++) { 296 if ($level->{fac_enum}) { 299 printf($level->{provider}); 304 if ($level->{fm_service_indctr}) { 318 my @refs = split(/\,/, $level->{fm_service_indctr}); 330 $level->{entity_ref_nparams}); 339 if ($level->{fm_ok2rm_indctr}) { 353 my @refs = split(/\,/, $level->{fm_ok2rm_indctr}); [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | ufs.c | 181 int level; in read_inode() local 183 for (level = 0; level < NIADDR; level++) in read_inode() 184 fp->f_blkno[level] = -1; in read_inode() 203 int level; in block_map() local 245 for (level = 0; level < NIADDR; level++) { in block_map() 246 if (file_block < fp->f_nindir[level]) in block_map() 248 file_block -= fp->f_nindir[level]; in block_map() 250 if (level == NIADDR) { in block_map() 255 ind_block_num = DIP(fp, di_ib[level]); in block_map() 257 for (; level >= 0; level--) { in block_map() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/tzmon/ |
H A D | tzmon.c | 376 int level; in tzmon_discard_buffers() local 378 for (level = 0; level < TZ_NUM_LEVELS; level++) { in tzmon_discard_buffers() 379 if (tzp->al[level].Pointer != NULL) in tzmon_discard_buffers() 380 AcpiOsFree(tzp->al[level].Pointer); in tzmon_discard_buffers() 399 int level; in tzmon_enumerate_zone() local 454 for (level = 0; level < TZ_NUM_LEVELS; level++) { in tzmon_enumerate_zone() 455 (void) snprintf(abuf, 5, "_AC%d", level); in tzmon_enumerate_zone() 456 tzmon_eval_int(obj, abuf, &tzp->ac[level]); in tzmon_enumerate_zone() 466 for (level = 0; level < TZ_NUM_LEVELS; level++) { in tzmon_enumerate_zone() 467 if (tzp->ac[level] == -1) { in tzmon_enumerate_zone() [all …]
|
/illumos-gate/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_subr.c | 124 dcd_log(dev_info_t *dev, char *label, uint_t level, const char *fmt, ...) in dcd_log() argument 139 if (level == CE_PANIC || level == CE_WARN) { in dcd_log() 143 } else if (level == CE_NOTE || in dcd_log() 144 level >= (uint_t)DCD_DEBUG) { in dcd_log() 147 } else if (level == CE_CONT) { in dcd_log() 172 switch (level) { in dcd_log() 175 level = CE_CONT; in dcd_log() 181 cmn_err(level, "?%s\t%s", name, in dcd_log() 184 cmn_err(level, "^%s\t%s", name, in dcd_log() 187 cmn_err(level, "!%s\t%s", name, in dcd_log() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | error.c | 345 error(int level, ...) in error() argument 349 va_start(ap, level); in error() 350 errorv(NiL, level, ap); in error() 355 errorv(const char* id, int level, va_list ap) in errorv() argument 379 if (level > 0) in errorv() 381 flags = level & ~ERROR_LEVEL; in errorv() 382 level &= ERROR_LEVEL; in errorv() 416 …level < error_info.trace || (flags & ERROR_LIBRARY) && !(((error_info.set | error_info.flags) ^ er… in errorv() 418 if (level >= ERROR_FATAL) in errorv() 419 (*error_info.exit)(level - 1); in errorv() [all …]
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | i86mmu.c | 397 pte2mfn(x86pte_t pte, uint_t level) in pte2mfn() argument 400 if (level > 0 && (pte & PT_PAGESIZE)) in pte2mfn() 408 do_pte_dcmd(int level, uint64_t pte) in do_pte_dcmd() argument 418 mfn = pte2mfn(pte, level); in do_pte_dcmd() 433 if (level > 0 && PTE_GET(pte, PT_PAGESIZE)) in do_pte_dcmd() 436 if (level > 0 && PTE_GET(pte, PT_MOD)) in do_pte_dcmd() 439 if (level > 0 && PTE_GET(pte, PT_REF)) in do_pte_dcmd() 452 if (level > 0) { in do_pte_dcmd() 484 uint64_t level = 0; in pte_dcmd() local 495 'l', MDB_OPT_UINT64, &level, NULL) != argc) in pte_dcmd() [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_log.c | 238 int level) in debug_to_log_level() argument 240 if (level >= 0 && level <= 10) { in debug_to_log_level() 241 if (level >= DBG_ALL) in debug_to_log_level() 243 else if (level >= DBG_NETLOOKUPS) in debug_to_log_level() 245 else if (level >= DBG_CANT_FIND) in debug_to_log_level() 247 else if (level >= DBG_OFF) in debug_to_log_level() 250 return (level); in debug_to_log_level() 434 int level) in _nscd_set_debug_level() argument 442 if (level >= 0 && level <= 10) { in _nscd_set_debug_level() 443 l = debug_to_log_level(level); in _nscd_set_debug_level() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_msg.c | 192 switch (entry->msg->level) { in emlxs_msg_log() 275 switch (msg->level) { in emlxs_msg_log_check() 318 switch (msg->level) { in emlxs_msg_print_check() 382 char *level; in emlxs_msg_printf() local 417 switch (msg->level) { in emlxs_msg_printf() 419 level = " DEBUG"; in emlxs_msg_printf() 423 level = " NOTICE"; in emlxs_msg_printf() 427 level = "WARNING"; in emlxs_msg_printf() 431 level = " ERROR"; in emlxs_msg_printf() 436 level = " PANIC"; in emlxs_msg_printf() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandoc_msg.c | 325 mandoc_msg_setrc(enum mandoclevel level) in mandoc_msg_setrc() argument 327 if (rc < level) in mandoc_msg_setrc() 328 rc = level; in mandoc_msg_setrc() 335 enum mandoclevel level; in mandoc_msg() local 340 level = MANDOCLEVEL_SYSERR; in mandoc_msg() 341 while (t < lowest_type[level]) in mandoc_msg() 342 level--; in mandoc_msg() 343 mandoc_msg_setrc(level); in mandoc_msg() 355 fprintf(fileptr, " %s", level_name[level]); in mandoc_msg()
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | ifbrack.fr | 24 1 \ ( level ) 27 parse-word dup while \ ( level addr len ) 28 ?[if] if \ ( level addr len ) 29 2drop 1+ \ ( level ) 30 else \ ( level addr len ) 31 ?[else] if \ ( level addr len ) 36 endif ?dup 0= if exit endif \ level 37 repeat 2drop \ level 38 refill 0= until \ level
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | logging.c | 203 log_check_channel(log_context lc, int level, log_channel chan) { in log_check_channel() argument 213 if (level > 0 && !debugging) in log_check_channel() 225 chan_level = lc->level; in log_check_channel() 227 chan_level = chan->level; in log_check_channel() 229 if (level > chan_level) in log_check_channel() 236 log_check(log_context lc, int category, int level) { in log_check() argument 247 if (level > 0 && !debugging) in log_check() 259 if (log_check_channel(lc, level, lcl->channel)) in log_check() 266 log_vwrite(log_context lc, int category, int level, const char *format, in log_vwrite() argument 291 if (level > 0 && !debugging) in log_vwrite() [all …]
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | kboot_mmu.c | 156 kbm_map(uintptr_t va, paddr_t pa, uint_t level, uint_t is_kernel) in kbm_map() argument 166 if (level >= 1) in kbm_map() 184 ptep = find_pte(va, &pte_physaddr, level, 0); in kbm_map() 206 kbm_map_ma(maddr_t ma, uintptr_t va, uint_t level) in kbm_map_ma() argument 212 if (level == 1) in kbm_map_ma() 226 (void) find_pte(va, &pte_physaddr, level, 0); in kbm_map_ma() 339 level_t level = 0; in kbm_unmap() 342 ptep = find_pte(va, NULL, level, probe_only); in kbm_unmap() 364 level_t level = 0; in kbm_remap() local 372 ptep = find_pte(va, NULL, level, probe_only); in kbm_remap() [all …]
|
/illumos-gate/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalppm.c | 534 if (ppmd->dip == dip && ppmd->level) in xcppm_resume_ctlop() 549 ppmd->level = ppmd->rplvl = PM_LEVEL_UNKNOWN; in xcppm_resume_ctlop() 561 xcppm_set_level(ppm_dev_t *ppmd, int cmpt, int level, boolean_t change) in xcppm_set_level() argument 570 ret = pm_power(ppmd->dip, cmpt, level); in xcppm_set_level() 573 str, ppmd->path, change, ppmd->level, level, ret)); in xcppm_set_level() 576 ppmd->level = level; in xcppm_set_level() 585 xcppm_change_power_level(ppm_dev_t *ppmd, int cmpt, int level) in xcppm_change_power_level() argument 587 return (xcppm_set_level(ppmd, cmpt, level, B_TRUE)); in xcppm_change_power_level() 592 xcppm_record_level_change(ppm_dev_t *ppmd, int cmpt, int level) in xcppm_record_level_change() argument 594 return (xcppm_set_level(ppmd, cmpt, level, B_FALSE)); in xcppm_record_level_change() [all …]
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | fth_struct.c | 234 int level) in fth_print_integer() argument 243 if (level != 0) in fth_print_integer() 272 int level) in fth_print_pointer() argument 276 if (level != 0) in fth_print_pointer() 287 int level) in fth_print_struct() argument 291 if (level != 0) in fth_print_struct() 303 int level) in fth_print_enum() argument 307 if (level != 0) in fth_print_enum() 319 char *format, int level) in fth_print_array() argument 321 if (level != 0) in fth_print_array() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | state017.cfg | 33 # Verify that executing 'zfs inherit' at the top level in the hierarchy 34 # when the top level and middle level datasets properties are set locally, 35 # and the bottom level has inherited its properties from the middle 36 # level, results in the top level properties reverting back to their 39 # Executing 'zfs inherit' at the middle level results in the middle level 40 # inheriting its value from the top level (which is now default), and passing 41 # the values down to the bottom level. 43 # Executing 'zfs inherit' at the bottom level is somewhat redundant but
|
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | gda.c | 177 gda_log(dev_info_t *dev, char *label, uint_t level, const char *fmt, ...) in gda_log() argument 203 if (level == CE_PANIC || level == CE_WARN) { in gda_log() 207 } else if (level == CE_NOTE || in gda_log() 208 level >= (uint_t)SCSI_DEBUG) { in gda_log() 211 } else if (level == CE_CONT) { in gda_log() 222 switch (level) { in gda_log() 224 level = CE_CONT; in gda_log() 230 cmn_err(level, "?%s\t%s", name, buf); in gda_log() 232 cmn_err(level, "^%s\t%s", name, buf); in gda_log() 234 cmn_err(level, "!%s\t%s", name, buf); in gda_log() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | srvsvc1_clnt.c | 80 int level, union mslm_NetServerGetInfo_ru *resp) in srvsvc_net_server_getinfo() argument 94 arg.level = level; in srvsvc_net_server_getinfo() 109 int level, union mslm_NetShareEnum_ru *resp) in srvsvc_net_share_enum() argument 126 arg.level = level; in srvsvc_net_share_enum() 127 arg.result.level = level; in srvsvc_net_share_enum()
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | ldaplog.h | 50 #define LDAPDebug( level, fmt, arg1, arg2, arg3 ) argument 59 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \ argument 61 if ( *module_ldap_debug & level ) { \ 67 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \ 69 if ( ldap_debug & level ) { \ 77 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \ 78 if ( ldap_debug & level ) { \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppincref.c | 35 int level; in ppincref() local 41 level = 0; in ppincref() 44 level++; in ppincref() 45 if (level > 0) in ppincref() 46 level--; in ppincref() 47 error(0, "%-*s%s", level * 4, "", file); in ppincref()
|