Lines Matching refs:update

249 	struct ck_fifo_mpmc_pointer tail, next, update;  in ck_fifo_mpmc_enqueue()  local
278 update.pointer = next.pointer; in ck_fifo_mpmc_enqueue()
279 update.generation = tail.generation + 1; in ck_fifo_mpmc_enqueue()
280 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_enqueue()
286 update.pointer = entry; in ck_fifo_mpmc_enqueue()
287 update.generation = next.generation + 1; in ck_fifo_mpmc_enqueue()
288 if (ck_pr_cas_ptr_2(&tail.pointer->next, &next, &update) == true) in ck_fifo_mpmc_enqueue()
296 update.generation = tail.generation + 1; in ck_fifo_mpmc_enqueue()
297 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_enqueue()
306 struct ck_fifo_mpmc_pointer tail, next, update; in ck_fifo_mpmc_tryenqueue() local
331 update.pointer = next.pointer; in ck_fifo_mpmc_tryenqueue()
332 update.generation = tail.generation + 1; in ck_fifo_mpmc_tryenqueue()
333 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_tryenqueue()
340 update.pointer = entry; in ck_fifo_mpmc_tryenqueue()
341 update.generation = next.generation + 1; in ck_fifo_mpmc_tryenqueue()
342 if (ck_pr_cas_ptr_2(&tail.pointer->next, &next, &update) == false) in ck_fifo_mpmc_tryenqueue()
349 update.generation = tail.generation + 1; in ck_fifo_mpmc_tryenqueue()
350 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_tryenqueue()
359 struct ck_fifo_mpmc_pointer head, tail, next, update; in ck_fifo_mpmc_dequeue() local
373 update.pointer = next.pointer; in ck_fifo_mpmc_dequeue()
384 update.generation = tail.generation + 1; in ck_fifo_mpmc_dequeue()
385 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_dequeue()
399 update.generation = head.generation + 1; in ck_fifo_mpmc_dequeue()
400 if (ck_pr_cas_ptr_2(&fifo->head, &head, &update) == true) in ck_fifo_mpmc_dequeue()
414 struct ck_fifo_mpmc_pointer head, tail, next, update; in ck_fifo_mpmc_trydequeue() local
428 update.pointer = next.pointer; in ck_fifo_mpmc_trydequeue()
439 update.generation = tail.generation + 1; in ck_fifo_mpmc_trydequeue()
440 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_trydequeue()
454 update.generation = head.generation + 1; in ck_fifo_mpmc_trydequeue()
455 if (ck_pr_cas_ptr_2(&fifo->head, &head, &update) == false) in ck_fifo_mpmc_trydequeue()