/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | log.c | 28 static int logsize = 512000; variable 39 int logsize; member 50 logsize = size * 1024; in ldaplogconfig() 57 logsize = 0; in ldaplogconfigf() 128 if ((logsize > 0) && (stat(logfile, &statbuf) == 0 && in ldaplog() 129 statbuf.st_size > logsize)) { in ldaplog()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | htable.c | 538 uint16_t logsize; in enlarge_htab() local 547 logsize = tab->logsize + 1; in enlarge_htab() 548 newsz = (1 << logsize); in enlarge_htab() 554 oldsz = (1 << tab->logsize); in enlarge_htab() 580 tab->logsize = logsize; in enlarge_htab() 616 uint16_t logsize, in htab_create() argument 625 if (logsize <= MAX_LOGSIZE && in htab_create() 629 count = (1 << logsize); in htab_create() 635 tab->logsize = logsize; in htab_create() 748 chunksz = (1 << tab->logsize); in htab_add() [all …]
|
H A D | isns_htab.h | 64 uint16_t logsize; member
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 1247 errdef->log.logsize = errstate->log.logsize = in add_edef() 1249 if (errdef->log.logsize == -1U) { in add_edef() 1250 errdef->log.logsize = errstate->log.logsize = 0; in add_edef() 1284 size_t ls = errstate->log.logsize; in collect_state() 1293 errstate->log.logsize); in collect_state() 1335 errstate->log.logsize = ls; in collect_state() 1774 if (logsize == -1U) in test_driver() 1775 logsize = 0; in test_driver() 1842 " logging)\n", cnt, logsize); in test_driver() 1859 cdp->es.log.logsize, in test_driver() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | bofi.h | 76 uint32_t logsize; /* length of the logbase array */ member 91 uint32_t logsize; /* length of the logbase array */ member
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 969 errdef.log.logsize = errdef_32.log.logsize; in bofi_ioctl() 1059 errdef_32.log.logsize = errdef.log.logsize; in bofi_ioctl() 1245 errstate.log.logsize = errstate_32.log.logsize; in bofi_ioctl() 1272 uls = errstate.log.logsize; in bofi_ioctl() 1299 errstate_32.log.logsize = errstate.log.logsize; in bofi_ioctl() 1364 errstate.log.logsize = errstate_32.log.logsize; in bofi_ioctl() 1391 uls = errstate.log.logsize; in bofi_ioctl() 1392 uls = errstate.log.logsize; in bofi_ioctl() 1419 errstate_32.log.logsize = errstate.log.logsize; in bofi_ioctl() 2275 if (log->entries == log->logsize) { in log_acc_event() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_nvme.c | 1412 uint32_t logsize; in nvme_opc_get_log_page() local 1422 logsize = ((command->cdw11 << 16) | (command->cdw10 >> 16)) + 1; in nvme_opc_get_log_page() 1423 logsize *= sizeof(uint32_t); in nvme_opc_get_log_page() 1426 DPRINTF("%s log page %u len %u", __func__, logpage, logsize); in nvme_opc_get_log_page() 1438 MIN(logsize - logoff, sizeof(sc->err_log)), in nvme_opc_get_log_page() 1461 MIN(logsize - logoff, sizeof(sc->health_log)), in nvme_opc_get_log_page() 1473 MIN(logsize - logoff, sizeof(sc->fw_log)), in nvme_opc_get_log_page() 1485 MIN(logsize - logoff, sizeof(sc->ns_log)), in nvme_opc_get_log_page()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem.c | 1271 umem_log_init(size_t logsize) in umem_log_init() argument 1278 if (logsize == 0) in umem_log_init() 1295 lhp->lh_chunksize = P2ROUNDUP(logsize / nchunks, PAGESIZE); in umem_log_init()
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 2253 size_t logsize = 0; in nvme_async_event_task() local 2304 (void **)&error_log, &logsize, in nvme_async_event_task() 2358 (void **)&health_log, &logsize, in nvme_async_event_task() 2412 (void **)&nslist, &logsize, in nvme_async_event_task() 2514 kmem_free(error_log, logsize); in nvme_async_event_task() 2517 kmem_free(health_log, logsize); in nvme_async_event_task() 2520 kmem_free(nslist, logsize); in nvme_async_event_task()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | devcfg.c | 3351 int logsize = devinfo_log_size; in da_log_init() local 3353 if (logsize == 0) in da_log_init() 3354 logsize = MIN_DEVINFO_LOG_SIZE; in da_log_init() 3355 else if (logsize > MAX_DEVINFO_LOG_SIZE) in da_log_init() 3356 logsize = MAX_DEVINFO_LOG_SIZE; in da_log_init() 3358 dh = kmem_alloc(logsize * PAGESIZE, KM_SLEEP); in da_log_init() 3360 dh->dh_max = ((logsize * PAGESIZE) - sizeof (*dh)) / in da_log_init()
|
H A D | kmem.c | 1397 kmem_log_init(size_t logsize) in kmem_log_init() argument 1415 lhp->lh_chunksize = P2ROUNDUP(logsize / nchunks + 1, PAGESIZE); in kmem_log_init()
|