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) argument923 int logsize; in lmLogSync() local978 logsize = log->logsize; in lmLogSync()981 free = logsize - written; in lmLogSync()982 delta = LOGSYNC_DELTA(logsize); in lmLogSync()1017 (written > LOGSYNC_BARRIER(logsize)) && log->active) { in lmLogSync()1388 log->logsize = (log->size - 2) << L2LOGPSIZE; in lmLogInit()1392 log->nextsync = LOGSYNC_DELTA(log->logsize); in lmLogInit()
391 int logsize; /* 4: log data area size in byte */ member487 diff += (log)->logsize;\
1803 u32 logsize; in iwl_dump_nic_event_log() local1810 logsize = priv->fw->init_evtlog_size; in iwl_dump_nic_event_log()1814 logsize = priv->fw->inst_evtlog_size; in iwl_dump_nic_event_log()1834 if (capacity > logsize) { in iwl_dump_nic_event_log()1836 "entries\n", capacity, logsize); in iwl_dump_nic_event_log()1837 capacity = logsize; in iwl_dump_nic_event_log()1840 if (next_entry > logsize) { in iwl_dump_nic_event_log()1842 next_entry, logsize); in iwl_dump_nic_event_log()1843 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()