Home
last modified time | relevance | path

Searched refs:obj_offset (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/lib/
Dcpu_rmap.c32 size_t obj_offset; in alloc_cpu_rmap() local
39 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()
/Linux-v4.19/fs/exofs/
Dore_raid.c402 per_dev->offset = si->obj_offset; in _add_to_r4w()
404 } else if (si->obj_offset != (per_dev->offset + per_dev->length)) { in _add_to_r4w()
405 u64 gap = si->obj_offset - (per_dev->offset + per_dev->length); in _add_to_r4w()
411 si->obj_offset % PAGE_SIZE); in _add_to_r4w()
430 pg_len = si.obj_offset % PAGE_SIZE; in _add_to_r4w_first_page()
431 si.obj_offset -= pg_len; in _add_to_r4w_first_page()
434 _LLU(si.obj_offset), pg_len, page->index, si.dev); in _add_to_r4w_first_page()
522 read_si.obj_offset += min_p * PAGE_SIZE; in _read_4_write_first_stripe()
547 read_si.obj_offset += PAGE_SIZE; in _read_4_write_first_stripe()
615 read_si.obj_offset += PAGE_SIZE; in _read_4_write_last_stripe()
Dore.c571 si->obj_offset = si->unit_off + (N * stripe_unit) + in ore_calc_stripe_info()
693 per_dev->offset = si->obj_offset - si->unit_off; in _add_parity_units()
741 per_dev->offset = si->obj_offset; in _prepare_for_striping()
746 per_dev->offset = si->obj_offset - si->unit_off; in _prepare_for_striping()
790 si->obj_offset += cur_len; in _prepare_for_striping()
906 per_dev->offset = ios->si.obj_offset; in _write_mirror()
1149 obj_size = ti.si.obj_offset + in ore_truncate()
1152 obj_size = ti.si.obj_offset; in ore_truncate()
1154 obj_size = ti.si.obj_offset - ti.si.unit_off; in ore_truncate()
/Linux-v4.19/mm/
Dslab.c327 static int obj_offset(struct kmem_cache *cachep) in obj_offset() function
329 return cachep->obj_offset; in obj_offset()
335 return (unsigned long long*) (objp + obj_offset(cachep) - in dbg_redzone1()
358 #define obj_offset(x) 0 macro
1486 addr = (unsigned long *)&((char *)addr)[obj_offset(cachep)]; in store_stackinfo()
1534 addr = &((char *)addr)[obj_offset(cachep)]; in poison_obj()
1585 realobj = (char *)objp + obj_offset(cachep); in print_objinfo()
1605 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1645 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1651 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
[all …]
/Linux-v4.19/include/linux/
Dslab_def.h75 int obj_offset; member
/Linux-v4.19/include/scsi/
Dosd_ore.h95 u64 obj_offset; member