Home
last modified time | relevance | path

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

/external/libfuse/lib/
Dfuse.c108 struct node_slab { struct
412 static struct node_slab *list_to_slab(struct list_head *head) in list_to_slab()
414 return (struct node_slab *) head; in list_to_slab()
417 static struct node_slab *node_to_slab(struct fuse *f, struct node *node) in node_to_slab()
419 return (struct node_slab *) (((uintptr_t) node) & ~((uintptr_t) f->pagesize - 1)); in node_to_slab()
425 struct node_slab *slab; in alloc_slab()
440 num = (f->pagesize - sizeof(struct node_slab)) / node_size; in alloc_slab()
456 struct node_slab *slab; in alloc_node()
477 static void free_slab(struct fuse *f, struct node_slab *slab) in free_slab()
490 struct node_slab *slab = node_to_slab(f, node); in free_node_mem()