Searched refs:lachead (Results 1 – 2 of 2) sorted by relevance
75 struct lwsac_head *lachead; in lwsac_extend() local79 lachead = (struct lwsac_head *)&head[1]; in lwsac_extend()81 bf = lachead->curr; in lwsac_extend()98 struct lwsac_head *lachead = NULL; in _lwsac_use() local103 lachead = (struct lwsac_head *)&bf[1]; in _lwsac_use()123 if (lachead && lachead->curr) { in _lwsac_use()124 bf = lachead->curr; in _lwsac_use()171 bf->ofs += sizeof(*lachead); in _lwsac_use()172 lachead = (struct lwsac_head *)&bf[1]; in _lwsac_use()173 memset(lachead, 0, sizeof(*lachead)); in _lwsac_use()[all …]
81 struct lwsac_head *lachead = (struct lwsac_head *)&lac->head[1]; in lwsac_use_cached_file_start() local83 lachead->refcount++; in lwsac_use_cached_file_start()91 struct lwsac_head *lachead; in lwsac_use_cached_file_end() local97 lachead = (struct lwsac_head *)&lac->head[1]; in lwsac_use_cached_file_end()99 if (!lachead->refcount) in lwsac_use_cached_file_end()102 if (lachead->refcount && !--lachead->refcount && lachead->detached) { in lwsac_use_cached_file_end()112 struct lwsac_head *lachead = NULL; in lwsac_use_cached_file_detach() local115 lachead = (struct lwsac_head *)&lac->head[1]; in lwsac_use_cached_file_detach()117 lachead->detached = 1; in lwsac_use_cached_file_detach()118 if (lachead->refcount) in lwsac_use_cached_file_detach()