Searched refs:logsize (Results 1 – 7 of 7) sorted by relevance
97 #define LOGSYNC_DELTA(logsize) min((logsize)/8, 128*LOGPSIZE) argument98 #define LOGSYNC_BARRIER(logsize) ((logsize)/4) argument931 int logsize; in lmLogSync() local986 logsize = log->logsize; in lmLogSync()989 free = logsize - written; in lmLogSync()990 delta = LOGSYNC_DELTA(logsize); in lmLogSync()1025 (written > LOGSYNC_BARRIER(logsize)) && log->active) { in lmLogSync()1396 log->logsize = (log->size - 2) << L2LOGPSIZE; in lmLogInit()1400 log->nextsync = LOGSYNC_DELTA(log->logsize); in lmLogInit()
391 int logsize; /* 4: log data area size in byte */ member487 diff += (log)->logsize;\
1811 u32 logsize; in iwl_dump_nic_event_log() local1818 logsize = priv->fw->init_evtlog_size; in iwl_dump_nic_event_log()1822 logsize = priv->fw->inst_evtlog_size; in iwl_dump_nic_event_log()1842 if (capacity > logsize) { in iwl_dump_nic_event_log()1844 "entries\n", capacity, logsize); in iwl_dump_nic_event_log()1845 capacity = logsize; in iwl_dump_nic_event_log()1848 if (next_entry > logsize) { in iwl_dump_nic_event_log()1850 next_entry, logsize); in iwl_dump_nic_event_log()1851 next_entry = logsize; in iwl_dump_nic_event_log()
452 size_t logsize = arena->info2off - arena->logoff; in btt_log_init() local470 while (logsize) { in btt_log_init()471 size_t size = min(logsize, chunk_size); in btt_log_init()481 logsize -= size; in btt_log_init()749 u64 logsize, mapsize, datasize; in alloc_arena() local778 logsize = roundup(arena->nfree * LOG_GRP_SIZE, BTT_PG_SIZE); in alloc_arena()779 available -= logsize; in alloc_arena()794 arena->info2off = arena->logoff + logsize; in alloc_arena()
407 unsigned int logsize = ARRAY_SIZE(log->buffer); in logfc() local413 index = log->head & (logsize - 1); in logfc()416 if ((u8)(log->head - log->tail) == logsize) { in logfc()
29 unsigned int logsize = ARRAY_SIZE(log->buffer); in fscontext_read() local44 index = log->tail & (logsize - 1); in fscontext_read()
126 int logsize, max; in mthca_arbel_init_srq_context() local135 logsize = ilog2(max); in mthca_arbel_init_srq_context()136 context->state_logsize_srqn = cpu_to_be32(logsize << 24 | srq->srqn); in mthca_arbel_init_srq_context()