Searched refs:fpq (Results 1 – 3 of 3) sorted by relevance
1224 struct fuse_pqueue *fpq = &fud->pq; in fuse_dev_do_read() local1299 spin_lock(&fpq->lock); in fuse_dev_do_read()1304 if (!fpq->connected) { in fuse_dev_do_read()1309 list_add(&req->list, &fpq->io); in fuse_dev_do_read()1310 spin_unlock(&fpq->lock); in fuse_dev_do_read()1317 spin_lock(&fpq->lock); in fuse_dev_do_read()1319 if (!fpq->connected) { in fuse_dev_do_read()1332 list_move_tail(&req->list, &fpq->processing[hash]); in fuse_dev_do_read()1335 spin_unlock(&fpq->lock); in fuse_dev_do_read()1347 spin_unlock(&fpq->lock); in fuse_dev_do_read()[all …]
571 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_request_complete() local600 spin_lock(&fpq->lock); in virtio_fs_request_complete()602 spin_unlock(&fpq->lock); in virtio_fs_request_complete()623 struct fuse_pqueue *fpq = &fsvq->fud->pq; in virtio_fs_requests_done_work() local636 spin_lock(&fpq->lock); in virtio_fs_requests_done_work()638 spin_unlock(&fpq->lock); in virtio_fs_requests_done_work()1149 struct fuse_pqueue *fpq; in virtio_fs_enqueue_req() local1205 fpq = &fsvq->fud->pq; in virtio_fs_enqueue_req()1206 spin_lock(&fpq->lock); in virtio_fs_enqueue_req()1207 list_add_tail(&req->list, fpq->processing); in virtio_fs_enqueue_req()[all …]
1060 static void fuse_pqueue_init(struct fuse_pqueue *fpq) in fuse_pqueue_init() argument1064 spin_lock_init(&fpq->lock); in fuse_pqueue_init()1066 INIT_LIST_HEAD(&fpq->processing[i]); in fuse_pqueue_init()1067 INIT_LIST_HEAD(&fpq->io); in fuse_pqueue_init()1068 fpq->connected = 1; in fuse_pqueue_init()