Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 2 of 2) sorted by relevance

/fs/proc/
Dstat.c82 static void show_irq_gap(struct seq_file *p, unsigned int gap) in show_irq_gap() argument
86 while (gap > 0) { in show_irq_gap()
89 inc = min_t(unsigned int, gap, ARRAY_SIZE(zeros) / 2); in show_irq_gap()
91 gap -= inc; in show_irq_gap()
/fs/ubifs/
Dorphan.c274 int avail_lebs, avail, gap; in avail_orphs() local
279 gap = c->leb_size - c->ohead_offs; in avail_orphs()
280 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs()
281 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs()
347 int gap, err, len, cnt, i; in write_orph_node() local
350 gap = c->leb_size - c->ohead_offs; in write_orph_node()
351 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node()
354 gap = c->leb_size; in write_orph_node()
364 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()