Searched refs:gap (Results 1 – 3 of 3) sorted by relevance
83 static void show_irq_gap(struct seq_file *p, unsigned int gap) in show_irq_gap() argument87 while (gap > 0) { in show_irq_gap()90 inc = min_t(unsigned int, gap, ARRAY_SIZE(zeros) / 2); in show_irq_gap()92 gap -= inc; in show_irq_gap()
274 int avail_lebs, avail, gap; in avail_orphs() local279 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() local350 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()
196 CLST gap; in run_lookup_entry() local211 gap = vcn - r->vcn; in run_lookup_entry()212 if (r->len <= gap) in run_lookup_entry()215 *lcn = r->lcn == SPARSE_LCN ? SPARSE_LCN : (r->lcn + gap); in run_lookup_entry()218 *len = r->len - gap; in run_lookup_entry()