Home
last modified time | relevance | path

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

/linux/fs/jfs/
A 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()
A Djfs_logmgr.h391 int logsize; /* 4: log data area size in byte */ member
487 diff += (log)->logsize;\
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Dmain.c1802 u32 logsize; in iwl_dump_nic_event_log() local
1809 logsize = priv->fw->init_evtlog_size; in iwl_dump_nic_event_log()
1813 logsize = priv->fw->inst_evtlog_size; in iwl_dump_nic_event_log()
1833 if (capacity > logsize) { in iwl_dump_nic_event_log()
1835 "entries\n", capacity, logsize); in iwl_dump_nic_event_log()
1836 capacity = logsize; in iwl_dump_nic_event_log()
1839 if (next_entry > logsize) { in iwl_dump_nic_event_log()
1841 next_entry, logsize); in iwl_dump_nic_event_log()
1842 next_entry = logsize; in iwl_dump_nic_event_log()
/linux/drivers/nvdimm/
A Dbtt.c453 size_t logsize = arena->info2off - arena->logoff; in btt_log_init() local
471 while (logsize) { in btt_log_init()
472 size_t size = min(logsize, chunk_size); in btt_log_init()
482 logsize -= size; in btt_log_init()
750 u64 logsize, mapsize, datasize; in alloc_arena() local
779 logsize = roundup(arena->nfree * LOG_GRP_SIZE, BTT_PG_SIZE); in alloc_arena()
780 available -= logsize; in alloc_arena()
795 arena->info2off = arena->logoff + logsize; in alloc_arena()
/linux/fs/
A 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()
A Dfsopen.c29 unsigned int logsize = ARRAY_SIZE(log->buffer); in fscontext_read() local
44 index = log->tail & (logsize - 1); in fscontext_read()
/linux/drivers/infiniband/hw/mthca/
A 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()

Completed in 21 milliseconds