Searched refs:obj_offset (Results 1 – 6 of 6) sorted by relevance
32 size_t obj_offset; in alloc_cpu_rmap() local39 obj_offset = ALIGN(offsetof(struct cpu_rmap, near[nr_cpu_ids]), in alloc_cpu_rmap()42 rmap = kzalloc(obj_offset + size * sizeof(rmap->obj[0]), flags); in alloc_cpu_rmap()47 rmap->obj = (void **)((char *)rmap + obj_offset); in alloc_cpu_rmap()
367 per_dev->offset = si->obj_offset; in _add_to_r4w()369 } else if (si->obj_offset != (per_dev->offset + per_dev->length)) { in _add_to_r4w()370 u64 gap = si->obj_offset - (per_dev->offset + per_dev->length); in _add_to_r4w()376 si->obj_offset % PAGE_SIZE); in _add_to_r4w()395 pg_len = si.obj_offset % PAGE_SIZE; in _add_to_r4w_first_page()396 si.obj_offset -= pg_len; in _add_to_r4w_first_page()399 _LLU(si.obj_offset), pg_len, page->index, si.dev); in _add_to_r4w_first_page()487 read_si.obj_offset += min_p * PAGE_SIZE; in _read_4_write_first_stripe()512 read_si.obj_offset += PAGE_SIZE; in _read_4_write_first_stripe()580 read_si.obj_offset += PAGE_SIZE; in _read_4_write_last_stripe()
557 si->obj_offset = si->unit_off + (N * stripe_unit) + in ore_calc_stripe_info()679 per_dev->offset = si->obj_offset - si->unit_off; in _add_parity_units()727 per_dev->offset = si->obj_offset; in _prepare_for_striping()732 per_dev->offset = si->obj_offset - si->unit_off; in _prepare_for_striping()776 si->obj_offset += cur_len; in _prepare_for_striping()892 per_dev->offset = ios->si.obj_offset; in _write_mirror()1135 obj_size = ti.si.obj_offset + in ore_truncate()1138 obj_size = ti.si.obj_offset; in ore_truncate()1140 obj_size = ti.si.obj_offset - ti.si.unit_off; in ore_truncate()
70 int obj_offset; member
355 static int obj_offset(struct kmem_cache *cachep) in obj_offset() function357 return cachep->obj_offset; in obj_offset()363 return (unsigned long long*) (objp + obj_offset(cachep) - in dbg_redzone1()386 #define obj_offset(x) 0 macro1680 addr = (unsigned long *)&((char *)addr)[obj_offset(cachep)]; in store_stackinfo()1711 addr = &((char *)addr)[obj_offset(cachep)]; in poison_obj()1767 realobj = (char *)objp + obj_offset(cachep); in print_objinfo()1784 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()1824 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()1831 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()[all …]
95 u64 obj_offset; member