Home
last modified time | relevance | path

Searched refs:logsize (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/jfs/
Djfs_logmgr.c97 #define LOGSYNC_DELTA(logsize) min((logsize)/8, 128*LOGPSIZE) argument
98 #define LOGSYNC_BARRIER(logsize) ((logsize)/4) argument
931 int logsize; in lmLogSync() local
986 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()
Djfs_logmgr.h391 int logsize; /* 4: log data area size in byte */ member
487 diff += (log)->logsize;\
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c1811 u32 logsize; in iwl_dump_nic_event_log() local
1818 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()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dbtt.c452 size_t logsize = arena->info2off - arena->logoff; in btt_log_init() local
470 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() local
778 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()
/kernel/linux/linux-5.10/fs/
Dfs_context.c407 unsigned int logsize = ARRAY_SIZE(log->buffer); in logfc() local
413 index = log->head & (logsize - 1); in logfc()
416 if ((u8)(log->head - log->tail) == logsize) { in logfc()
Dfsopen.c29 unsigned int logsize = ARRAY_SIZE(log->buffer); in fscontext_read() local
44 index = log->tail & (logsize - 1); in fscontext_read()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_srq.c126 int logsize, max; in mthca_arbel_init_srq_context() local
135 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()