Home
last modified time | relevance | path

Searched refs:req_len (Results 1 – 2 of 2) sorted by relevance

/fs/smb/server/
Dsmb2misc.c292 unsigned int req_len = 0, expect_resp_len = 0, calc_credit_num, max_len; in smb2_validate_credit_charge() local
299 req_len = smb2_query_info_req_len(__hdr); in smb2_validate_credit_charge()
302 req_len = smb2_set_info_req_len(__hdr); in smb2_validate_credit_charge()
305 req_len = smb2_read_req_len(__hdr); in smb2_validate_credit_charge()
308 req_len = smb2_write_req_len(__hdr); in smb2_validate_credit_charge()
311 req_len = smb2_query_dir_req_len(__hdr); in smb2_validate_credit_charge()
314 req_len = smb2_ioctl_req_len(__hdr); in smb2_validate_credit_charge()
320 req_len = 1; in smb2_validate_credit_charge()
325 max_len = max_t(unsigned int, req_len, expect_resp_len); in smb2_validate_credit_charge()
/fs/nfs/
Ddirect.c345 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_read_schedule_iovec() local
348 pgbase, req_len); in nfs_direct_read_schedule_iovec()
361 bytes -= req_len; in nfs_direct_read_schedule_iovec()
362 requested_bytes += req_len; in nfs_direct_read_schedule_iovec()
363 pos += req_len; in nfs_direct_read_schedule_iovec()
364 dreq->bytes_left -= req_len; in nfs_direct_read_schedule_iovec()
828 unsigned int req_len = min_t(size_t, bytes, PAGE_SIZE - pgbase); in nfs_direct_write_schedule_iovec() local
831 pgbase, req_len); in nfs_direct_write_schedule_iovec()
852 bytes -= req_len; in nfs_direct_write_schedule_iovec()
853 requested_bytes += req_len; in nfs_direct_write_schedule_iovec()
[all …]