Searched refs:pf_queue (Results 1 – 2 of 2) sorted by relevance
277 static bool get_pagefault(struct pf_queue *pf_queue, struct pagefault *pf) in get_pagefault() argument282 spin_lock_irq(&pf_queue->lock); in get_pagefault()283 if (pf_queue->tail != pf_queue->head) { in get_pagefault()285 (pf_queue->data + pf_queue->tail); in get_pagefault()303 pf_queue->tail = (pf_queue->tail + PF_MSG_LEN_DW) % in get_pagefault()304 pf_queue->num_dw; in get_pagefault()307 spin_unlock_irq(&pf_queue->lock); in get_pagefault()312 static bool pf_queue_full(struct pf_queue *pf_queue) in pf_queue_full() argument314 lockdep_assert_held(&pf_queue->lock); in pf_queue_full()316 return CIRC_SPACE(pf_queue->head, pf_queue->tail, in pf_queue_full()[all …]
247 struct pf_queue { struct273 } pf_queue[NUM_PF_QUEUE]; member