Home
last modified time | relevance | path

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

/fs/
Dlocks.c727 static int flock_lock_file(struct file *filp, struct file_lock *request) in flock_lock_file() argument
735 if (!(request->fl_flags & FL_ACCESS) && (request->fl_type != F_UNLCK)) { in flock_lock_file()
742 if (request->fl_flags & FL_ACCESS) in flock_lock_file()
753 if (request->fl_type == fl->fl_type) in flock_lock_file()
760 if (request->fl_type == F_UNLCK) { in flock_lock_file()
761 if ((request->fl_flags & FL_EXISTS) && !found) in flock_lock_file()
783 if (!flock_locks_conflict(request, fl)) in flock_lock_file()
786 if (!(request->fl_flags & FL_SLEEP)) in flock_lock_file()
789 locks_insert_block(fl, request); in flock_lock_file()
792 if (request->fl_flags & FL_ACCESS) in flock_lock_file()
[all …]
/fs/afs/
Dcmservice.c155 afs_break_callbacks(call->server, call->count, call->request); in SRXAFSCB_CallBack()
211 call->request = kcalloc(call->count, in afs_deliver_cb_callback()
214 if (!call->request) in afs_deliver_cb_callback()
217 cb = call->request; in afs_deliver_cb_callback()
250 ret = afs_extract_data(call, skb, last, call->request, in afs_deliver_cb_callback()
259 cb = call->request; in afs_deliver_cb_callback()
413 struct afs_uuid *r = call->request; in SRXAFSCB_ProbeUuid()
468 call->request = kmalloc(sizeof(struct afs_uuid), GFP_KERNEL); in afs_deliver_cb_probe_uuid()
469 if (!call->request) in afs_deliver_cb_probe_uuid()
473 r = call->request; in afs_deliver_cb_probe_uuid()
Dfsclient.c294 bp = call->request; in afs_fs_fetch_file_status()
470 bp = call->request; in afs_fs_fetch_data64()
515 bp = call->request; in afs_fs_fetch_data()
582 bp = call->request; in afs_fs_give_up_callbacks()
688 bp = call->request; in afs_fs_create()
777 bp = call->request; in afs_fs_remove()
862 bp = call->request; in afs_fs_link()
959 bp = call->request; in afs_fs_symlink()
1067 bp = call->request; in afs_fs_rename()
1183 bp = call->request; in afs_fs_store_data64()
[all …]
Drxrpc.c182 kfree(call->request); in afs_free_call()
207 call->request = kmalloc(request_size, GFP_NOFS); in afs_alloc_flat_call()
208 if (!call->request) in afs_alloc_flat_call()
235 kfree(call->request); in afs_flat_call_destructor()
236 call->request = NULL; in afs_flat_call_destructor()
352 iov[0].iov_base = call->request; in afs_make_call()
Dvlclient.c176 bp = call->request; in afs_vl_get_entry_by_name()
212 bp = call->request; in afs_vl_get_entry_by_id()
Dinternal.h84 void *request; /* request data (first part) */ member
/fs/dlm/
Drequestqueue.c23 struct dlm_message request; member
45 memcpy(&e->request, ms, ms->m_header.h_length); in dlm_add_requestqueue()
79 dlm_receive_message_saved(ls, &e->request); in dlm_process_requestqueue()
179 ms = &e->request; in dlm_purge_requestqueue()
/fs/ncpfs/
Dioctl.c261 struct ncp_ioctl_request request; in __ncp_ioctl() local
275 request.function = request32.function; in __ncp_ioctl()
276 request.size = request32.size; in __ncp_ioctl()
277 request.data = compat_ptr(request32.data); in __ncp_ioctl()
280 if (copy_from_user(&request, argp, sizeof(request))) in __ncp_ioctl()
283 if ((request.function > 255) in __ncp_ioctl()
284 || (request.size > in __ncp_ioctl()
291 if (copy_from_user(bouncebuffer, request.data, request.size)) { in __ncp_ioctl()
301 server->current_size = request.size; in __ncp_ioctl()
302 memcpy(server->packet, bouncebuffer, request.size); in __ncp_ioctl()
[all …]
/fs/xfs/
Dxfs_fsops.c541 __uint64_t request; in xfs_reserve_blocks() local
552 request = *inval; in xfs_reserve_blocks()
578 if (mp->m_resblks > request) { in xfs_reserve_blocks()
579 lcounter = mp->m_resblks_avail - request; in xfs_reserve_blocks()
584 mp->m_resblks = request; in xfs_reserve_blocks()
592 delta = request - mp->m_resblks; in xfs_reserve_blocks()
601 mp->m_resblks = request; in xfs_reserve_blocks()
/fs/nfs/
Dnfs4proc.c4182 static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in _nfs4_proc_getlk() argument
4189 .fl = request, in _nfs4_proc_getlk()
4192 .denied = request, in _nfs4_proc_getlk()
4204 status = nfs4_set_lock_state(state, request); in _nfs4_proc_getlk()
4207 lsp = request->fl_u.nfs4_fl.owner; in _nfs4_proc_getlk()
4213 request->fl_type = F_UNLCK; in _nfs4_proc_getlk()
4218 request->fl_ops->fl_release_private(request); in _nfs4_proc_getlk()
4223 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_getlk() argument
4230 _nfs4_proc_getlk(state, cmd, request), in nfs4_proc_getlk()
4383 static int nfs4_proc_unlck(struct nfs4_state *state, int cmd, struct file_lock *request) in nfs4_proc_unlck() argument
[all …]
Dsuper.c1634 struct nfs_mount_request *request) in nfs_walk_authlist() argument
1636 unsigned int i, j, server_authlist_len = *(request->auth_flav_len); in nfs_walk_authlist()
1661 if (args->auth_flavors[i] == request->auth_flavs[j]) { in nfs_walk_authlist()
1663 request->auth_flavs[j]); in nfs_walk_authlist()
1664 args->auth_flavors[0] = request->auth_flavs[j]; in nfs_walk_authlist()
1669 nfs_umount(request); in nfs_walk_authlist()
1682 struct nfs_mount_request request = { in nfs_try_mount() local
1704 request.version = args->mount_server.version; in nfs_try_mount()
1707 request.hostname = args->mount_server.hostname; in nfs_try_mount()
1709 request.hostname = args->nfs_server.hostname; in nfs_try_mount()
[all …]
/fs/ocfs2/
Dstack_user.c788 struct ocfs2_protocol_version *request) in fs_protocol_compare() argument
790 if (existing->pv_major != request->pv_major) in fs_protocol_compare()
793 if (existing->pv_minor > request->pv_minor) in fs_protocol_compare()
796 if (existing->pv_minor < request->pv_minor) in fs_protocol_compare()
797 request->pv_minor = existing->pv_minor; in fs_protocol_compare()
/fs/ocfs2/dlm/
Ddlmdomain.c156 struct dlm_protocol_version *request);
772 struct dlm_protocol_version *request) in dlm_query_join_proto_check() argument
775 struct dlm_protocol_version proto = *request; in dlm_query_join_proto_check()
782 request->pv_major, in dlm_query_join_proto_check()
783 request->pv_minor, in dlm_query_join_proto_check()
785 request->pv_minor = proto.pv_minor; in dlm_query_join_proto_check()
792 request->pv_major, in dlm_query_join_proto_check()
793 request->pv_minor, in dlm_query_join_proto_check()
2106 struct dlm_protocol_version *request) in dlm_protocol_compare() argument
2108 if (existing->pv_major != request->pv_major) in dlm_protocol_compare()
[all …]
Ddlmmaster.c1296 struct dlm_master_request request; in dlm_do_master_request() local
1299 memset(&request, 0, sizeof(request)); in dlm_do_master_request()
1300 request.node_idx = dlm->node_num; in dlm_do_master_request()
1304 request.namelen = (u8)mle->mnamelen; in dlm_do_master_request()
1305 memcpy(request.name, mle->mname, request.namelen); in dlm_do_master_request()
1308 ret = o2net_send_message(DLM_MASTER_REQUEST_MSG, dlm->key, &request, in dlm_do_master_request()
1309 sizeof(request), to, &response); in dlm_do_master_request()
1392 struct dlm_master_request *request = (struct dlm_master_request *) msg->buf; in dlm_master_request_handler() local
1408 name = request->name; in dlm_master_request_handler()
1409 namelen = request->namelen; in dlm_master_request_handler()
[all …]
Ddlmcommon.h1061 static inline int dlm_lock_compatible(int existing, int request) in dlm_lock_compatible() argument
1064 if (request == LKM_NLMODE || in dlm_lock_compatible()
1069 if (request == LKM_EXMODE) in dlm_lock_compatible()
/fs/ufs/
Dballoc.c353 u64 tmp, request, result; in ufs_new_fragments() local
456 request = newcount; in ufs_new_fragments()
466 request = uspi->s_fpb; in ufs_new_fragments()
473 result = ufs_alloc_fragments (inode, cgno, goal, request, err); in ufs_new_fragments()
485 if (newcount < request) in ufs_new_fragments()
486 ufs_free_fragments (inode, result + newcount, request - newcount); in ufs_new_fragments()
/fs/jffs2/
Dxattr.c1085 uint32_t length, request; in do_jffs2_setxattr() local
1092 request = PAD(sizeof(struct jffs2_raw_xattr) + strlen(xname) + 1 + size); in do_jffs2_setxattr()
1093 rc = jffs2_reserve_space(c, request, &length, in do_jffs2_setxattr()
1096 JFFS2_WARNING("jffs2_reserve_space()=%d, request=%u\n", rc, request); in do_jffs2_setxattr()
1162 request = PAD(sizeof(struct jffs2_raw_xref)); in do_jffs2_setxattr()
1163 rc = jffs2_reserve_space(c, request, &length, in do_jffs2_setxattr()
1167 JFFS2_WARNING("jffs2_reserve_space()=%d, request=%u\n", rc, request); in do_jffs2_setxattr()
/fs/cifs/
DTODO70 and client. Add new protocol request to the CIFS protocol
124 and when signing is disabled to request larger read sizes (larger than
DREADME489 noposixpaths If CIFS Unix extensions are supported, do not request
524 send an SMB flush request (and wait for a response) on every
563 to explicitly request a lease, but can check whether a file
726 /etc/request-key.conf file. The cifs.upcall helper program is from the Samba
737 be configured in the file /etc/request-key.conf. Samba, Windows servers and
743 /etc/request-key.conf file:
DKconfig43 request timing to be displayed in /proc/fs/cifs/DebugData and also
DCHANGES175 reopening file after session crash). Byte range unlock request to
177 than intended if start of unlock request is well before start of
381 transact response for an SMB request and search entry split across two frames.
545 Change to mempools for alloc smb request buffers and multiplex structs
842 (which was causing the warning in kmem_cache_free of the request buffers