Searched refs:tag (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | radix-tree.c | 91 static inline void tag_set(struct radix_tree_node *node, unsigned int tag, in tag_set() argument 94 __set_bit(offset, node->tags[tag]); in tag_set() 97 static inline void tag_clear(struct radix_tree_node *node, unsigned int tag, in tag_clear() argument 100 __clear_bit(offset, node->tags[tag]); in tag_clear() 103 static inline int tag_get(struct radix_tree_node *node, unsigned int tag, in tag_get() argument 106 return test_bit(offset, node->tags[tag]); in tag_get() 109 static inline void root_tag_set(struct radix_tree_root *root, unsigned int tag) in root_tag_set() argument 111 root->gfp_mask |= (__force gfp_t)(1 << (tag + __GFP_BITS_SHIFT)); in root_tag_set() 114 static inline void root_tag_clear(struct radix_tree_root *root, unsigned int tag) in root_tag_clear() argument 116 root->gfp_mask &= (__force gfp_t)~(1 << (tag + __GFP_BITS_SHIFT)); in root_tag_clear() [all …]
|