Home
last modified time | relevance | path

Searched refs:rq (Results 1 – 6 of 6) sorted by relevance

/fs/erofs/
Ddecompressor.c20 struct z_erofs_decompress_req *rq; member
68 struct z_erofs_decompress_req *rq = ctx->rq; in z_erofs_lz4_prepare_dstpages() local
73 EROFS_SB(rq->sb)->lz4.max_distance_pages; in z_erofs_lz4_prepare_dstpages()
79 struct page *const page = rq->out[i]; in z_erofs_lz4_prepare_dstpages()
86 if (!rq->fillgaps && test_bit(j, bounced)) { in z_erofs_lz4_prepare_dstpages()
89 availables[top++] = rq->out[i - lz4_max_distance_pages]; in z_erofs_lz4_prepare_dstpages()
119 rq->out[i] = victim; in z_erofs_lz4_prepare_dstpages()
128 struct z_erofs_decompress_req *rq = ctx->rq; in z_erofs_lz4_handle_overlap() local
133 if (rq->inplace_io) { in z_erofs_lz4_handle_overlap()
135 if (rq->partial_decoding || !may_inplace || in z_erofs_lz4_handle_overlap()
[all …]
Ddecompressor_lzma.c153 int z_erofs_lzma_decompress(struct z_erofs_decompress_req *rq, in z_erofs_lzma_decompress() argument
157 PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; in z_erofs_lzma_decompress()
159 PAGE_ALIGN(rq->inputsize) >> PAGE_SHIFT; in z_erofs_lzma_decompress()
167 kin = kmap(*rq->in); in z_erofs_lzma_decompress()
168 err = z_erofs_fixup_insize(rq, kin + rq->pageofs_in, in z_erofs_lzma_decompress()
169 min_t(unsigned int, rq->inputsize, in z_erofs_lzma_decompress()
170 rq->sb->s_blocksize - rq->pageofs_in)); in z_erofs_lzma_decompress()
172 kunmap(*rq->in); in z_erofs_lzma_decompress()
189 inlen = rq->inputsize; in z_erofs_lzma_decompress()
190 outlen = rq->outputsize; in z_erofs_lzma_decompress()
[all …]
Dcompress.h26 int (*decompress)(struct z_erofs_decompress_req *rq,
92 int z_erofs_fixup_insize(struct z_erofs_decompress_req *rq, const char *padbuf,
99 int z_erofs_lzma_decompress(struct z_erofs_decompress_req *rq,
/fs/nfsd/
Dnfsd.h140 static inline int nfsd_v4client(struct svc_rqst *rq) in nfsd_v4client() argument
142 return rq->rq_prog == NFS_PROGRAM && rq->rq_vers == 4; in nfsd_v4client()
/fs/dlm/
Dlock.c136 #define modes_compat(gr, rq) \ argument
137 __dlm_compat_matrix[(gr)->lkb_grmode + 1][(rq)->lkb_rqmode + 1]
2617 static int modes_require_bast(struct dlm_lkb *gr, struct dlm_lkb *rq) in modes_require_bast() argument
2619 if ((gr->lkb_grmode == DLM_LOCK_PR && rq->lkb_rqmode == DLM_LOCK_CW) || in modes_require_bast()
2620 (gr->lkb_grmode == DLM_LOCK_CW && rq->lkb_rqmode == DLM_LOCK_PR)) { in modes_require_bast()
2626 if (gr->lkb_highbast < rq->lkb_rqmode && !modes_compat(gr, rq)) in modes_require_bast()
/fs/smb/server/
Dsmb2pdu.c52 #define WORK_BUFFERS(w, rq, rs) __wbuf((w), (void **)&(rq), (void **)&(rs)) argument