Home
last modified time | relevance | path

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

/mm/
Dslab.c330 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) in dbg_redzone1() argument
333 return (unsigned long long*) (objp + obj_offset(cachep) - in dbg_redzone1()
337 static unsigned long long *dbg_redzone2(struct kmem_cache *cachep, void *objp) in dbg_redzone2() argument
341 return (unsigned long long *)(objp + cachep->size - in dbg_redzone2()
344 return (unsigned long long *) (objp + cachep->size - in dbg_redzone2()
348 static void **dbg_userword(struct kmem_cache *cachep, void *objp) in dbg_userword() argument
351 return (void **)(objp + cachep->size - BYTES_PER_WORD); in dbg_userword()
357 #define dbg_redzone1(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
358 #define dbg_redzone2(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument
359 #define dbg_userword(cachep, objp) ({BUG(); (void **)NULL;}) argument
[all …]
Dnommu.c71 unsigned int kobjsize(const void *objp) in kobjsize() argument
79 if (!objp || !virt_addr_valid(objp)) in kobjsize()
82 page = virt_to_head_page(objp); in kobjsize()
89 return ksize(objp); in kobjsize()
100 vma = find_vma(current->mm, (unsigned long)objp); in kobjsize()