Searched refs:objp (Results 1 – 2 of 2) sorted by relevance
330 static unsigned long long *dbg_redzone1(struct kmem_cache *cachep, void *objp) in dbg_redzone1() argument333 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() argument341 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() argument351 return (void **)(objp + cachep->size - BYTES_PER_WORD); in dbg_userword()357 #define dbg_redzone1(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument358 #define dbg_redzone2(cachep, objp) ({BUG(); (unsigned long long *)NULL;}) argument359 #define dbg_userword(cachep, objp) ({BUG(); (void **)NULL;}) argument[all …]
71 unsigned int kobjsize(const void *objp) in kobjsize() argument79 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()