Lines Matching refs:fpq

1207 	struct fuse_pqueue *fpq = &fud->pq;  in fuse_dev_do_read()  local
1282 spin_lock(&fpq->lock); in fuse_dev_do_read()
1287 if (!fpq->connected) { in fuse_dev_do_read()
1292 list_add(&req->list, &fpq->io); in fuse_dev_do_read()
1293 spin_unlock(&fpq->lock); in fuse_dev_do_read()
1300 spin_lock(&fpq->lock); in fuse_dev_do_read()
1302 if (!fpq->connected) { in fuse_dev_do_read()
1315 list_move_tail(&req->list, &fpq->processing[hash]); in fuse_dev_do_read()
1318 spin_unlock(&fpq->lock); in fuse_dev_do_read()
1330 spin_unlock(&fpq->lock); in fuse_dev_do_read()
1807 static struct fuse_req *request_find(struct fuse_pqueue *fpq, u64 unique) in request_find() argument
1812 list_for_each_entry(req, &fpq->processing[hash], list) { in request_find()
1852 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_write() local
1881 spin_lock(&fpq->lock); in fuse_dev_do_write()
1883 if (fpq->connected) in fuse_dev_do_write()
1884 req = request_find(fpq, oh.unique & ~FUSE_INT_REQ_BIT); in fuse_dev_do_write()
1888 spin_unlock(&fpq->lock); in fuse_dev_do_write()
1895 spin_unlock(&fpq->lock); in fuse_dev_do_write()
1911 list_move(&req->list, &fpq->io); in fuse_dev_do_write()
1914 spin_unlock(&fpq->lock); in fuse_dev_do_write()
1925 spin_lock(&fpq->lock); in fuse_dev_do_write()
1927 if (!fpq->connected) in fuse_dev_do_write()
1933 spin_unlock(&fpq->lock); in fuse_dev_do_write()
2140 struct fuse_pqueue *fpq = &fud->pq; in fuse_abort_conn() local
2142 spin_lock(&fpq->lock); in fuse_abort_conn()
2143 fpq->connected = 0; in fuse_abort_conn()
2144 list_for_each_entry_safe(req, next, &fpq->io, list) { in fuse_abort_conn()
2156 list_splice_tail_init(&fpq->processing[i], in fuse_abort_conn()
2158 spin_unlock(&fpq->lock); in fuse_abort_conn()
2200 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_release() local
2204 spin_lock(&fpq->lock); in fuse_dev_release()
2205 WARN_ON(!list_empty(&fpq->io)); in fuse_dev_release()
2207 list_splice_init(&fpq->processing[i], &to_end); in fuse_dev_release()
2208 spin_unlock(&fpq->lock); in fuse_dev_release()