Home
last modified time | relevance | path

Searched refs:request (Results 1 – 24 of 24) sorted by relevance

/fs/cifs/
Dsmbdirect.c255 static inline void *smbd_request_payload(struct smbd_request *request) in smbd_request_payload() argument
257 return (void *)request->packet; in smbd_request_payload()
269 struct smbd_request *request = in send_done() local
273 request, wc->status); in send_done()
278 smbd_disconnect_rdma_connection(request->info); in send_done()
281 for (i = 0; i < request->num_sge; i++) in send_done()
282 ib_dma_unmap_single(request->info->id->device, in send_done()
283 request->sge[i].addr, in send_done()
284 request->sge[i].length, in send_done()
287 if (atomic_dec_and_test(&request->info->send_pending)) in send_done()
[all …]
DKconfig61 request timing to be displayed in /proc/fs/cifs/DebugData and also
/fs/
Dlocks.c1059 static int flock_lock_inode(struct inode *inode, struct file_lock *request) in flock_lock_inode() argument
1068 ctx = locks_get_lock_context(inode, request->fl_type); in flock_lock_inode()
1070 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1072 return (request->fl_flags & FL_EXISTS) ? -ENOENT : 0; in flock_lock_inode()
1075 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1083 if (request->fl_flags & FL_ACCESS) in flock_lock_inode()
1087 if (request->fl_file != fl->fl_file) in flock_lock_inode()
1089 if (request->fl_type == fl->fl_type) in flock_lock_inode()
1096 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1097 if ((request->fl_flags & FL_EXISTS) && !found) in flock_lock_inode()
[all …]
/fs/afs/
Dcmservice.c170 server = afs_find_server_by_uuid(call->net, call->request); in afs_find_cm_server_by_uuid()
173 trace_afs_cm_no_server_u(call, call->request); in afs_find_cm_server_by_uuid()
219 afs_break_callbacks(call->server, call->count, call->request); in SRXAFSCB_CallBack()
271 call->request = kcalloc(call->count, in afs_deliver_cb_callback()
274 if (!call->request) in afs_deliver_cb_callback()
277 cb = call->request; in afs_deliver_cb_callback()
394 call->request = kmalloc(sizeof(struct afs_uuid), GFP_KERNEL); in afs_deliver_cb_init_call_back_state3()
395 if (!call->request) in afs_deliver_cb_init_call_back_state3()
399 r = call->request; in afs_deliver_cb_init_call_back_state3()
420 return afs_find_cm_server_by_uuid(call, call->request); in afs_deliver_cb_init_call_back_state3()
[all …]
Dfsclient.c286 bp = call->request; in afs_fs_fetch_status()
462 bp = call->request; in afs_fs_fetch_data64()
498 bp = call->request; in afs_fs_fetch_data()
570 bp = call->request; in afs_fs_create_file()
623 bp = call->request; in afs_fs_make_dir()
702 bp = call->request; in afs_fs_remove_file()
749 bp = call->request; in afs_fs_remove_dir()
826 bp = call->request; in afs_fs_link()
911 bp = call->request; in afs_fs_symlink()
1009 bp = call->request; in afs_fs_rename()
[all …]
Dyfsclient.c147 size_t len = (void *)bp - call->request; in yfs_check_req()
519 bp = call->request; in yfs_fs_fetch_data()
600 bp = call->request; in yfs_fs_create_file()
649 bp = call->request; in yfs_fs_make_dir()
734 bp = call->request; in yfs_fs_remove_file2()
803 bp = call->request; in yfs_fs_remove_file()
844 bp = call->request; in yfs_fs_remove_dir()
916 bp = call->request; in yfs_fs_link()
995 bp = call->request; in yfs_fs_symlink()
1074 bp = call->request; in yfs_fs_rename()
[all …]
Dvlclient.c160 bp = call->request; in afs_vl_get_entry_by_name_u()
291 bp = call->request; in afs_vl_get_addrs_u()
403 bp = call->request; in afs_vl_get_capabilities()
639 bp = call->request; in afs_yfsvl_get_endpoints()
751 bp = call->request; in afs_yfsvl_get_cell_name()
Drxrpc.c186 kfree(call->request); in afs_put_call()
238 call->request = kmalloc(request_size, GFP_NOFS); in afs_alloc_flat_call()
239 if (!call->request) in afs_alloc_flat_call()
268 kfree(call->request); in afs_flat_call_destructor()
269 call->request = NULL; in afs_flat_call_destructor()
435 iov[0].iov_base = call->request; in afs_make_call()
Dinternal.h106 void *request; /* request data (first part) */ member
/fs/ocfs2/
Dlocks.c41 struct file_lock request; in ocfs2_do_flock() local
56 locks_init_lock(&request); in ocfs2_do_flock()
57 request.fl_type = F_UNLCK; in ocfs2_do_flock()
58 request.fl_flags = FL_FLOCK; in ocfs2_do_flock()
59 locks_lock_file_wait(file, &request); in ocfs2_do_flock()
Dstack_user.c776 struct ocfs2_protocol_version *request) in fs_protocol_compare() argument
778 if (existing->pv_major != request->pv_major) in fs_protocol_compare()
781 if (existing->pv_minor > request->pv_minor) in fs_protocol_compare()
784 if (existing->pv_minor < request->pv_minor) in fs_protocol_compare()
785 request->pv_minor = existing->pv_minor; in fs_protocol_compare()
/fs/dlm/
Drequestqueue.c22 struct dlm_message request; member
45 memcpy(&e->request, ms, ms->m_header.h_length); in dlm_add_requestqueue()
80 ms = &e->request; in dlm_process_requestqueue()
88 dlm_receive_message_saved(ls, &e->request, e->recover_seq); in dlm_process_requestqueue()
160 ms = &e->request; in dlm_purge_requestqueue()
/fs/xfs/
Dxfs_fsops.c326 uint64_t request; in xfs_reserve_blocks() local
339 request = *inval; in xfs_reserve_blocks()
359 if (mp->m_resblks > request) { in xfs_reserve_blocks()
360 lcounter = mp->m_resblks_avail - request; in xfs_reserve_blocks()
365 mp->m_resblks = request; in xfs_reserve_blocks()
389 delta = request - mp->m_resblks; in xfs_reserve_blocks()
390 mp->m_resblks = request; in xfs_reserve_blocks()
/fs/nfs/
Dsuper.c807 struct nfs_mount_request request = { in nfs_request_mount() local
829 request.version = ctx->mount_server.version; in nfs_request_mount()
832 request.hostname = ctx->mount_server.hostname; in nfs_request_mount()
834 request.hostname = ctx->nfs_server.hostname; in nfs_request_mount()
840 memcpy(request.sap, &ctx->nfs_server.address, in nfs_request_mount()
844 request.salen = ctx->mount_server.addrlen; in nfs_request_mount()
845 nfs_set_port(request.sap, &ctx->mount_server.port, 0); in nfs_request_mount()
851 status = nfs_mount(&request); in nfs_request_mount()
854 request.hostname, status); in nfs_request_mount()
Dnfs4proc.c6620 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk() argument
6627 .fl = request, in _nfs4_proc_getlk()
6630 .denied = request, in _nfs4_proc_getlk()
6642 status = nfs4_set_lock_state(state, request); in _nfs4_proc_getlk()
6645 lsp = request->fl_u.nfs4_fl.owner; in _nfs4_proc_getlk()
6651 request->fl_type = F_UNLCK; in _nfs4_proc_getlk()
6656 request->fl_ops->fl_release_private(request); in _nfs4_proc_getlk()
6657 request->fl_ops = NULL; in _nfs4_proc_getlk()
6662 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk() argument
6670 err = _nfs4_proc_getlk(state, cmd, request); in nfs4_proc_getlk()
[all …]
Dnfs4trace.h941 const struct file_lock *request,
947 TP_ARGS(request, state, cmd, error),
967 __entry->type = request->fl_type;
968 __entry->start = request->fl_start;
969 __entry->end = request->fl_end;
999 const struct file_lock *request, \
1004 TP_ARGS(request, state, cmd, error))
1010 const struct file_lock *request,
1017 TP_ARGS(request, state, lockstateid, cmd, error),
1039 __entry->type = request->fl_type;
[all …]
/fs/ocfs2/dlm/
Ddlmdomain.c143 struct dlm_protocol_version *request);
730 struct dlm_protocol_version *request) in dlm_query_join_proto_check() argument
733 struct dlm_protocol_version proto = *request; in dlm_query_join_proto_check()
740 request->pv_major, in dlm_query_join_proto_check()
741 request->pv_minor, in dlm_query_join_proto_check()
743 request->pv_minor = proto.pv_minor; in dlm_query_join_proto_check()
750 request->pv_major, in dlm_query_join_proto_check()
751 request->pv_minor, in dlm_query_join_proto_check()
2082 struct dlm_protocol_version *request) in dlm_protocol_compare() argument
2084 if (existing->pv_major != request->pv_major) in dlm_protocol_compare()
[all …]
Ddlmmaster.c1312 struct dlm_master_request request; in dlm_do_master_request() local
1315 memset(&request, 0, sizeof(request)); in dlm_do_master_request()
1316 request.node_idx = dlm->node_num; in dlm_do_master_request()
1320 request.namelen = (u8)mle->mnamelen; in dlm_do_master_request()
1321 memcpy(request.name, mle->mname, request.namelen); in dlm_do_master_request()
1324 ret = o2net_send_message(DLM_MASTER_REQUEST_MSG, dlm->key, &request, in dlm_do_master_request()
1325 sizeof(request), to, &response); in dlm_do_master_request()
1408 struct dlm_master_request *request = (struct dlm_master_request *) msg->buf; in dlm_master_request_handler() local
1425 name = request->name; in dlm_master_request_handler()
1426 namelen = request->namelen; in dlm_master_request_handler()
[all …]
Ddlmcommon.h1052 static inline int dlm_lock_compatible(int existing, int request) in dlm_lock_compatible() argument
1055 if (request == LKM_NLMODE || in dlm_lock_compatible()
1060 if (request == LKM_EXMODE) in dlm_lock_compatible()
/fs/ufs/
Dballoc.c352 u64 tmp, request, result; in ufs_new_fragments() local
460 request = newcount; in ufs_new_fragments()
464 request = uspi->s_fpb; in ufs_new_fragments()
468 result = ufs_alloc_fragments (inode, cgno, goal, request, err); in ufs_new_fragments()
482 if (newcount < request) in ufs_new_fragments()
483 ufs_free_fragments (inode, result + newcount, request - newcount); in ufs_new_fragments()
/fs/jffs2/
Dxattr.c1106 uint32_t length, request; in do_jffs2_setxattr() local
1113 request = PAD(sizeof(struct jffs2_raw_xattr) + strlen(xname) + 1 + size); in do_jffs2_setxattr()
1114 rc = jffs2_reserve_space(c, request, &length, in do_jffs2_setxattr()
1117 JFFS2_WARNING("jffs2_reserve_space()=%d, request=%u\n", rc, request); in do_jffs2_setxattr()
1183 request = PAD(sizeof(struct jffs2_raw_xref)); in do_jffs2_setxattr()
1184 rc = jffs2_reserve_space(c, request, &length, in do_jffs2_setxattr()
1188 JFFS2_WARNING("jffs2_reserve_space()=%d, request=%u\n", rc, request); in do_jffs2_setxattr()
/fs/gfs2/
Dfile.c1290 struct file_lock request; in do_flock() local
1293 locks_init_lock(&request); in do_flock()
1294 request.fl_type = F_UNLCK; in do_flock()
1295 request.fl_flags = FL_FLOCK; in do_flock()
1296 locks_lock_file_wait(file, &request); in do_flock()
/fs/nfsd/
Dblocklayout.c218 struct request *rq; in nfsd4_scsi_identify_device()
/fs/ceph/
Dmds_client.c885 DEFINE_RB_FUNCS(request, struct ceph_mds_request, r_tid, r_node) in DEFINE_RB_FUNCS() argument