Lines Matching refs:idx
397 static void set_obj_status(struct page *page, int idx, int val) in set_obj_status() argument
405 status[idx] = val; in set_obj_status()
408 static inline unsigned int get_obj_status(struct page *page, int idx) in get_obj_status() argument
417 return status[idx]; in get_obj_status()
421 static inline void set_obj_status(struct page *page, int idx, int val) {} in set_obj_status() argument
441 unsigned int idx) in index_to_obj() argument
443 return page->s_mem + cache->size * idx; in index_to_obj()
2467 static inline freelist_idx_t get_free_obj(struct page *page, unsigned int idx) in get_free_obj() argument
2469 return ((freelist_idx_t *)page->freelist)[idx]; in get_free_obj()
2473 unsigned int idx, freelist_idx_t val) in set_free_obj() argument
2475 ((freelist_idx_t *)(page->freelist))[idx] = val; in set_free_obj()