Lines Matching defs:owned_head

127 	z_erofs_next_pcluster_t owned_head;
145 .owned_head = Z_EROFS_PCLUSTER_TAIL, \
300 z_erofs_next_pcluster_t *owned_head)
307 *owned_head) != Z_EROFS_PCLUSTER_NIL)
310 *owned_head = &pcl->next;
320 *owned_head) != Z_EROFS_PCLUSTER_TAIL)
322 *owned_head = Z_EROFS_PCLUSTER_TAIL;
337 if (clt->owned_head == &pcl->next || pcl == clt->tailpcl) {
368 if (clt->owned_head == Z_EROFS_PCLUSTER_TAIL)
370 clt->mode = try_to_claim_pcluster(pcl, &clt->owned_head);
371 /* clean tailpcl if the current owned_head is Z_EROFS_PCLUSTER_TAIL */
372 if (clt->owned_head == Z_EROFS_PCLUSTER_TAIL)
408 pcl->next = clt->owned_head;
437 if (clt->owned_head == Z_EROFS_PCLUSTER_TAIL)
439 clt->owned_head = &pcl->next;
460 DBG_BUGON(clt->owned_head == Z_EROFS_PCLUSTER_NIL);
461 DBG_BUGON(clt->owned_head == Z_EROFS_PCLUSTER_TAIL_CLOSED);
1138 z_erofs_next_pcluster_t owned_head)
1143 DBG_BUGON(owned_head == Z_EROFS_PCLUSTER_TAIL_CLOSED);
1144 if (owned_head == Z_EROFS_PCLUSTER_TAIL)
1145 owned_head = Z_EROFS_PCLUSTER_TAIL_CLOSED;
1149 WRITE_ONCE(*submit_qtail, owned_head);
1165 z_erofs_next_pcluster_t owned_head = f->clt.owned_head;
1176 q[JQ_SUBMIT]->head = owned_head;
1184 /* no possible 'owned_head' equals the following */
1185 DBG_BUGON(owned_head == Z_EROFS_PCLUSTER_TAIL_CLOSED);
1186 DBG_BUGON(owned_head == Z_EROFS_PCLUSTER_NIL);
1188 pcl = container_of(owned_head, struct z_erofs_pcluster, next);
1194 owned_head = cmpxchg(&pcl->next, Z_EROFS_PCLUSTER_TAIL,
1236 move_to_bypass_jobqueue(pcl, qtail, owned_head);
1237 } while (owned_head != Z_EROFS_PCLUSTER_TAIL);
1259 if (f->clt.owned_head == Z_EROFS_PCLUSTER_TAIL)