Home
last modified time | relevance | path

Searched refs:q (Results 1 – 4 of 4) sorted by relevance

/mm/kasan/
Dquarantine.c42 static bool qlist_empty(struct qlist_head *q) in qlist_empty() argument
44 return !q->head; in qlist_empty()
47 static void qlist_init(struct qlist_head *q) in qlist_init() argument
49 q->head = q->tail = NULL; in qlist_init()
50 q->bytes = 0; in qlist_init()
53 static void qlist_put(struct qlist_head *q, struct qlist_node *qlink, in qlist_put() argument
56 if (unlikely(qlist_empty(q))) in qlist_put()
57 q->head = qlink; in qlist_put()
59 q->tail->next = qlink; in qlist_put()
60 q->tail = qlink; in qlist_put()
[all …]
/mm/
Dfilemap.c1184 wait_queue_head_t *q = page_waitqueue(page); in wake_up_page_bit() local
1198 spin_lock_irqsave(&q->lock, flags); in wake_up_page_bit()
1199 __wake_up_locked_key_bookmark(q, TASK_NORMAL, &key, &bookmark); in wake_up_page_bit()
1208 spin_unlock_irqrestore(&q->lock, flags); in wake_up_page_bit()
1210 spin_lock_irqsave(&q->lock, flags); in wake_up_page_bit()
1211 __wake_up_locked_key_bookmark(q, TASK_NORMAL, &key, &bookmark); in wake_up_page_bit()
1223 if (!waitqueue_active(q) || !key.page_match) { in wake_up_page_bit()
1233 spin_unlock_irqrestore(&q->lock, flags); in wake_up_page_bit()
1278 static inline __sched int wait_on_page_bit_common(wait_queue_head_t *q, in wait_on_page_bit_common() argument
1325 spin_lock_irq(&q->lock); in wait_on_page_bit_common()
[all …]
Dz3fold.c694 void *q; in compact_single_buddy() local
704 q = new_zhdr; in compact_single_buddy()
708 q += ZHDR_SIZE_ALIGNED; in compact_single_buddy()
714 q += new_zhdr->start_middle << CHUNK_SHIFT; in compact_single_buddy()
718 q += PAGE_SIZE - (new_zhdr->last_chunks << CHUNK_SHIFT); in compact_single_buddy()
724 memcpy(q, p, sz); in compact_single_buddy()
Dswapfile.c1183 struct swap_info_struct *q) in swap_info_get_cont() argument
1189 if (p != q) { in swap_info_get_cont()
1190 if (q != NULL) in swap_info_get_cont()
1191 spin_unlock(&q->lock); in swap_info_get_cont()
3121 struct request_queue *q = bdev_get_queue(si->bdev); in swap_discardable() local
3123 if (!q || !blk_queue_discard(q)) in swap_discardable()