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 (request->has_payload) { in send_done()
[all …]
DKconfig61 request timing to be displayed in /proc/fs/cifs/DebugData and also
/fs/
Dlocks.c1036 static int flock_lock_inode(struct inode *inode, struct file_lock *request) in flock_lock_inode() argument
1045 ctx = locks_get_lock_context(inode, request->fl_type); in flock_lock_inode()
1047 if (request->fl_type != F_UNLCK) in flock_lock_inode()
1049 return (request->fl_flags & FL_EXISTS) ? -ENOENT : 0; in flock_lock_inode()
1052 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_inode()
1060 if (request->fl_flags & FL_ACCESS) in flock_lock_inode()
1064 if (request->fl_file != fl->fl_file) in flock_lock_inode()
1066 if (request->fl_type == fl->fl_type) in flock_lock_inode()
1073 if (request->fl_type == F_UNLCK) { in flock_lock_inode()
1074 if ((request->fl_flags & FL_EXISTS) && !found) in flock_lock_inode()
[all …]
/fs/afs/
Dcmservice.c226 server = afs_find_server_by_uuid(call->net, call->request); in afs_find_cm_server_by_uuid()
229 trace_afs_cm_no_server_u(call, call->request); in afs_find_cm_server_by_uuid()
262 afs_break_callbacks(call->server, call->count, call->request); in SRXAFSCB_CallBack()
315 call->request = kcalloc(call->count, in afs_deliver_cb_callback()
318 if (!call->request) in afs_deliver_cb_callback()
321 cb = call->request; in afs_deliver_cb_callback()
439 call->request = kmalloc(sizeof(struct afs_uuid), GFP_KERNEL); in afs_deliver_cb_init_call_back_state3()
440 if (!call->request) in afs_deliver_cb_init_call_back_state3()
444 r = call->request; in afs_deliver_cb_init_call_back_state3()
465 return afs_find_cm_server_by_uuid(call, call->request); in afs_deliver_cb_init_call_back_state3()
[all …]
Dfsclient.c301 bp = call->request; in afs_fs_fetch_file_status()
496 bp = call->request; in afs_fs_fetch_data64()
546 bp = call->request; in afs_fs_fetch_data()
650 bp = call->request; in afs_fs_create()
748 bp = call->request; in afs_fs_remove()
838 bp = call->request; in afs_fs_link()
941 bp = call->request; in afs_fs_symlink()
1056 bp = call->request; in afs_fs_rename()
1163 bp = call->request; in afs_fs_store_data64()
1243 bp = call->request; in afs_fs_store_data()
[all …]
Dyfsclient.c149 size_t len = (void *)bp - call->request; in yfs_check_req()
420 bp = call->request; in yfs_fs_fetch_file_status()
611 bp = call->request; in yfs_fs_fetch_data()
708 bp = call->request; in yfs_fs_create_file()
771 bp = call->request; in yfs_fs_make_dir()
860 bp = call->request; in yfs_fs_remove_file2()
945 bp = call->request; in yfs_fs_remove()
1029 bp = call->request; in yfs_fs_link()
1123 bp = call->request; in yfs_fs_symlink()
1216 bp = call->request; in yfs_fs_rename()
[all …]
Drxrpc.c190 kfree(call->request); in afs_put_call()
242 call->request = kmalloc(request_size, GFP_NOFS); in afs_alloc_flat_call()
243 if (!call->request) in afs_alloc_flat_call()
272 kfree(call->request); in afs_flat_call_destructor()
273 call->request = NULL; in afs_flat_call_destructor()
431 iov[0].iov_base = call->request; in afs_make_call()
Dvlclient.c159 bp = call->request; in afs_vl_get_entry_by_name_u()
290 bp = call->request; in afs_vl_get_addrs_u()
402 bp = call->request; in afs_vl_get_capabilities()
644 bp = call->request; in afs_yfsvl_get_endpoints()
Dinternal.h116 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()
387 delta = request - mp->m_resblks; in xfs_reserve_blocks()
/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.h1056 static inline int dlm_lock_compatible(int existing, int request) in dlm_lock_compatible() argument
1059 if (request == LKM_NLMODE || in dlm_lock_compatible()
1064 if (request == LKM_EXMODE) in dlm_lock_compatible()
/fs/nfs/
Dnfs4proc.c6364 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk() argument
6371 .fl = request, in _nfs4_proc_getlk()
6374 .denied = request, in _nfs4_proc_getlk()
6386 status = nfs4_set_lock_state(state, request); in _nfs4_proc_getlk()
6389 lsp = request->fl_u.nfs4_fl.owner; in _nfs4_proc_getlk()
6395 request->fl_type = F_UNLCK; in _nfs4_proc_getlk()
6400 request->fl_ops->fl_release_private(request); in _nfs4_proc_getlk()
6401 request->fl_ops = NULL; in _nfs4_proc_getlk()
6406 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk() argument
6414 err = _nfs4_proc_getlk(state, cmd, request); in nfs4_proc_getlk()
[all …]
Dnfs4trace.h800 const struct file_lock *request,
806 TP_ARGS(request, state, cmd, error),
826 __entry->type = request->fl_type;
827 __entry->start = request->fl_start;
828 __entry->end = request->fl_end;
858 const struct file_lock *request, \
863 TP_ARGS(request, state, cmd, error))
869 const struct file_lock *request,
876 TP_ARGS(request, state, lockstateid, cmd, error),
898 __entry->type = request->fl_type;
[all …]
Dsuper.c1768 struct nfs_mount_request request = { in nfs_request_mount() local
1790 request.version = args->mount_server.version; in nfs_request_mount()
1793 request.hostname = args->mount_server.hostname; in nfs_request_mount()
1795 request.hostname = args->nfs_server.hostname; in nfs_request_mount()
1801 memcpy(request.sap, &args->nfs_server.address, in nfs_request_mount()
1805 request.salen = args->mount_server.addrlen; in nfs_request_mount()
1806 nfs_set_port(request.sap, &args->mount_server.port, 0); in nfs_request_mount()
1812 status = nfs_mount(&request); in nfs_request_mount()
1815 request.hostname, status); in nfs_request_mount()
/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.c1101 uint32_t length, request; in do_jffs2_setxattr() local
1108 request = PAD(sizeof(struct jffs2_raw_xattr) + strlen(xname) + 1 + size); in do_jffs2_setxattr()
1109 rc = jffs2_reserve_space(c, request, &length, in do_jffs2_setxattr()
1112 JFFS2_WARNING("jffs2_reserve_space()=%d, request=%u\n", rc, request); in do_jffs2_setxattr()
1178 request = PAD(sizeof(struct jffs2_raw_xref)); in do_jffs2_setxattr()
1179 rc = jffs2_reserve_space(c, request, &length, in do_jffs2_setxattr()
1183 JFFS2_WARNING("jffs2_reserve_space()=%d, request=%u\n", rc, request); in do_jffs2_setxattr()
/fs/gfs2/
Dfile.c1240 struct file_lock request; in do_flock() local
1243 locks_init_lock(&request); in do_flock()
1244 request.fl_type = F_UNLCK; in do_flock()
1245 request.fl_flags = FL_FLOCK; in do_flock()
1246 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.c741 DEFINE_RB_FUNCS(request, struct ceph_mds_request, r_tid, r_node) in DEFINE_RB_FUNCS() argument