Home
last modified time | relevance | path

Searched refs:server (Results 1 – 200 of 312) sorted by relevance

12

/linux-4.1.27/fs/ncpfs/
Dncplib_kernel.c16 static inline void assert_server_locked(struct ncp_server *server) in assert_server_locked() argument
18 if (server->lock == 0) { in assert_server_locked()
23 static void ncp_add_byte(struct ncp_server *server, __u8 x) in ncp_add_byte() argument
25 assert_server_locked(server); in ncp_add_byte()
26 *(__u8 *) (&(server->packet[server->current_size])) = x; in ncp_add_byte()
27 server->current_size += 1; in ncp_add_byte()
31 static void ncp_add_word(struct ncp_server *server, __le16 x) in ncp_add_word() argument
33 assert_server_locked(server); in ncp_add_word()
34 put_unaligned(x, (__le16 *) (&(server->packet[server->current_size]))); in ncp_add_word()
35 server->current_size += 2; in ncp_add_word()
[all …]
Dsock.c102 struct ncp_server *server = sk->sk_user_data; in ncp_tcp_data_ready() local
104 server->data_ready(sk); in ncp_tcp_data_ready()
105 schedule_work(&server->rcv.tq); in ncp_tcp_data_ready()
110 struct ncp_server *server = sk->sk_user_data; in ncp_tcp_error_report() local
112 server->error_report(sk); in ncp_tcp_error_report()
113 schedule_work(&server->rcv.tq); in ncp_tcp_error_report()
118 struct ncp_server *server = sk->sk_user_data; in ncp_tcp_write_space() local
122 server->write_space(sk); in ncp_tcp_write_space()
123 if (server->tx.creq) in ncp_tcp_write_space()
124 schedule_work(&server->tx.tq); in ncp_tcp_write_space()
[all …]
Dinode.c165 struct ncp_server *server = NCP_SERVER(inode); in ncp_update_attrs() local
168 inode->i_mode = server->m.dir_mode; in ncp_update_attrs()
175 inode->i_mode = server->m.file_mode; in ncp_update_attrs()
179 if ((server->m.flags & (NCP_MOUNT_EXTRAS|NCP_MOUNT_SYMLINKS)) in ncp_update_attrs()
183 if (server->m.flags & NCP_MOUNT_SYMLINKS) { in ncp_update_attrs()
193 if (server->m.flags & NCP_MOUNT_EXTRAS) in ncp_update_attrs()
197 if (server->m.flags & NCP_MOUNT_EXTRAS) in ncp_update_attrs()
228 struct ncp_server *server = NCP_SERVER(inode); in ncp_set_attr() local
237 inode->i_uid = server->m.uid; in ncp_set_attr()
238 inode->i_gid = server->m.gid; in ncp_set_attr()
[all …]
Dioctl.c35 ncp_get_fs_info(struct ncp_server * server, struct inode *inode, in ncp_get_fs_info() argument
48 SET_UID(info.mounted_uid, from_kuid_munged(current_user_ns(), server->m.mounted_uid)); in ncp_get_fs_info()
49 info.connection = server->connection; in ncp_get_fs_info()
50 info.buffer_size = server->buffer_size; in ncp_get_fs_info()
60 ncp_get_fs_info_v2(struct ncp_server * server, struct inode *inode, in ncp_get_fs_info_v2() argument
72 info2.mounted_uid = from_kuid_munged(current_user_ns(), server->m.mounted_uid); in ncp_get_fs_info_v2()
73 info2.connection = server->connection; in ncp_get_fs_info_v2()
74 info2.buffer_size = server->buffer_size; in ncp_get_fs_info_v2()
126 ncp_get_compat_fs_info_v2(struct ncp_server * server, struct inode *inode, in ncp_get_compat_fs_info_v2() argument
138 info2.mounted_uid = from_kuid_munged(current_user_ns(), server->m.mounted_uid); in ncp_get_compat_fs_info_v2()
[all …]
Dncplib_kernel.h42 int ncp_negotiate_size_and_options(struct ncp_server *server, int size,
45 int ncp_get_volume_info_with_number(struct ncp_server* server, int n,
48 int ncp_get_directory_info(struct ncp_server* server, __u8 dirhandle,
67 int ncp_obtain_info(struct ncp_server *server, struct inode *, const char *,
69 int ncp_obtain_nfs_info(struct ncp_server *server, struct nw_info_struct *target);
70 int ncp_update_known_namespace(struct ncp_server *server, __u8 volume, int *ret_ns);
71 int ncp_get_volume_root(struct ncp_server *server, const char *volname,
88 int ncp_search_for_fileset(struct ncp_server *server,
94 int ncp_ren_or_mov_file_or_subdir(struct ncp_server *server,
99 ncp_LogPhysicalRecord(struct ncp_server *server,
[all …]
Ddir.c196 ncp_single_volume(struct ncp_server *server) in ncp_single_volume() argument
198 return (server->m.mounted_vol[0] != '\0'); in ncp_single_volume()
313 struct ncp_server *server; in ncp_lookup_validate() local
332 server = NCP_SERVER(dir); in ncp_lookup_validate()
340 val = NCP_TEST_AGE(server, dentry); in ncp_lookup_validate()
349 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in ncp_lookup_validate()
352 res = ncp_lookup_volume(server, __name, &(finfo.i)); in ncp_lookup_validate()
354 ncp_update_known_namespace(server, finfo.i.volNumber, NULL); in ncp_lookup_validate()
357 res = ncp_io2vol(server, __name, &len, dentry->d_name.name, in ncp_lookup_validate()
360 res = ncp_obtain_info(server, dir, __name, &(finfo.i)); in ncp_lookup_validate()
[all …]
Dncp_fs_sb.h153 extern void ncpdgram_timeout_call(unsigned long server);
160 #define NCP_CLR_FLAG(server, flag) ((server)->flags &= ~(flag)) argument
161 #define NCP_SET_FLAG(server, flag) ((server)->flags |= (flag)) argument
162 #define NCP_IS_FLAG(server, flag) ((server)->flags & (flag)) argument
164 static inline int ncp_conn_valid(struct ncp_server *server) in ncp_conn_valid() argument
166 return ((server->conn_status & 0x11) == 0); in ncp_conn_valid()
169 static inline void ncp_invalidate_conn(struct ncp_server *server) in ncp_invalidate_conn() argument
171 server->conn_status |= 0x01; in ncp_invalidate_conn()
Dncp_fs.h73 int ncp_request2(struct ncp_server *server, int function,
75 static inline int ncp_request(struct ncp_server *server, int function) { in ncp_request() argument
76 return ncp_request2(server, function, server->packet, server->packet_size); in ncp_request()
78 int ncp_connect(struct ncp_server *server);
79 int ncp_disconnect(struct ncp_server *server);
80 void ncp_lock_server(struct ncp_server *server);
81 void ncp_unlock_server(struct ncp_server *server);
Dncpsign_kernel.h12 void __sign_packet(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, void …
13 int sign_verify_reply(struct ncp_server *server, const char *data, size_t size, __u32 totalsize, co…
16 static inline size_t sign_packet(struct ncp_server *server, const char *data, size_t size, __u32 to… in sign_packet() argument
18 if (server->sign_active) { in sign_packet()
19 __sign_packet(server, data, size, totalsize, sign_buff); in sign_packet()
Dncpsign_kernel.c95 void __sign_packet(struct ncp_server *server, const char *packet, size_t size, __u32 totalsize, voi… in __sign_packet() argument
98 memcpy(data, server->sign_root, 8); in __sign_packet()
106 nwsign(server->sign_last, data, server->sign_last); in __sign_packet()
107 memcpy(sign_buff, server->sign_last, 8); in __sign_packet()
110 int sign_verify_reply(struct ncp_server *server, const char *packet, size_t size, __u32 totalsize, … in sign_verify_reply() argument
114 memcpy(data, server->sign_root, 8); in sign_verify_reply()
122 nwsign(server->sign_last, data, hash); in sign_verify_reply()
DKconfig11 to mount NetWare file server volumes and to access them just like
17 file *server* for Novell NetWare clients.
70 If you say Y here, every filename on a NetWare server volume using
92 translation between the server file system and input/output. This
93 may be useful, if you want to access the server with other operating
103 bit on NCPFS. The file server need not have long name space or NFS
/linux-4.1.27/fs/afs/
Dserver.c32 static int afs_install_server(struct afs_server *server) in afs_install_server() argument
38 _enter("%p", server); in afs_install_server()
49 if (server->addr.s_addr < xserver->addr.s_addr) in afs_install_server()
51 else if (server->addr.s_addr > xserver->addr.s_addr) in afs_install_server()
57 rb_link_node(&server->master_rb, p, pp); in afs_install_server()
58 rb_insert_color(&server->master_rb, &afs_servers); in afs_install_server()
72 struct afs_server *server; in afs_alloc_server() local
76 server = kzalloc(sizeof(struct afs_server), GFP_KERNEL); in afs_alloc_server()
77 if (server) { in afs_alloc_server()
78 atomic_set(&server->usage, 1); in afs_alloc_server()
[all …]
Dcallback.c27 #define afs_breakring_space(server) \ argument
28 CIRC_SPACE((server)->cb_break_head, (server)->cb_break_tail, \
29 ARRAY_SIZE((server)->cb_break))
38 void afs_init_callback_state(struct afs_server *server) in afs_init_callback_state() argument
42 _enter("{%p}", server); in afs_init_callback_state()
44 spin_lock(&server->cb_lock); in afs_init_callback_state()
47 while (!RB_EMPTY_ROOT(&server->cb_promises)) { in afs_init_callback_state()
48 vnode = rb_entry(server->cb_promises.rb_node, in afs_init_callback_state()
52 rb_erase(&vnode->cb_promise, &server->cb_promises); in afs_init_callback_state()
56 spin_unlock(&server->cb_lock); in afs_init_callback_state()
[all …]
Dvnode.c48 static noinline void dump_tree(const char *name, struct afs_server *server)
51 if (dump_tree_aux(server->cb_promises.rb_node, NULL, 0, '-'))
60 struct afs_server *server) in afs_install_vnode() argument
62 struct afs_server *old_server = vnode->server; in afs_install_vnode()
66 _enter("%p,%p", vnode, server); in afs_install_vnode()
74 afs_get_server(server); in afs_install_vnode()
75 vnode->server = server; in afs_install_vnode()
79 spin_lock(&server->fs_lock); in afs_install_vnode()
82 p = &server->fs_vnodes.rb_node; in afs_install_vnode()
103 rb_insert_color(&vnode->server_rb, &server->fs_vnodes); in afs_install_vnode()
[all …]
Dvolume.c49 struct afs_server *server = NULL; in afs_volume_lookup() local
118 server = afs_lookup_server( in afs_volume_lookup()
120 if (IS_ERR(server)) { in afs_volume_lookup()
121 ret = PTR_ERR(server); in afs_volume_lookup()
125 volume->servers[volume->nservers] = server; in afs_volume_lookup()
222 struct afs_server *server; in afs_volume_pick_fileserver() local
228 if (vnode->server && vnode->server->fs_state == 0) { in afs_volume_pick_fileserver()
229 afs_get_server(vnode->server); in afs_volume_pick_fileserver()
230 _leave(" = %p [current]", vnode->server); in afs_volume_pick_fileserver()
231 return vnode->server; in afs_volume_pick_fileserver()
[all …]
Dcmservice.c138 ASSERT(call->server && call->count && call->request); in afs_cm_destructor()
139 afs_break_callbacks(call->server, call->count, call->request); in afs_cm_destructor()
142 afs_put_server(call->server); in afs_cm_destructor()
143 call->server = NULL; in afs_cm_destructor()
164 afs_break_callbacks(call->server, call->count, call->request); in SRXAFSCB_CallBack()
175 struct afs_server *server; in afs_deliver_cb_callback() local
305 server = afs_find_server(&addr); in afs_deliver_cb_callback()
306 if (!server) in afs_deliver_cb_callback()
308 call->server = server; in afs_deliver_cb_callback()
322 _enter("{%p}", call->server); in SRXAFSCB_InitCallBackState()
[all …]
Dfsclient.c277 int afs_fs_fetch_file_status(struct afs_server *server, in afs_fs_fetch_file_status() argument
306 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_fetch_file_status()
449 static int afs_fs_fetch_data64(struct afs_server *server, in afs_fs_fetch_data64() argument
486 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_fetch_data64()
492 int afs_fs_fetch_data(struct afs_server *server, in afs_fs_fetch_data() argument
503 return afs_fs_fetch_data64(server, key, vnode, offset, length, in afs_fs_fetch_data()
529 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_fetch_data()
559 int afs_fs_give_up_callbacks(struct afs_server *server, in afs_fs_give_up_callbacks() argument
567 ncallbacks = CIRC_CNT(server->cb_break_head, server->cb_break_tail, in afs_fs_give_up_callbacks()
568 ARRAY_SIZE(server->cb_break)); in afs_fs_give_up_callbacks()
[all …]
Ddir.c734 struct afs_server *server; in afs_mkdir() local
754 mode, &fid, &status, &cb, &server); in afs_mkdir()
771 afs_vnode_finalise_status_update(vnode, server); in afs_mkdir()
772 afs_put_server(server); in afs_mkdir()
784 afs_put_server(server); in afs_mkdir()
911 struct afs_server *server; in afs_create() local
931 mode, &fid, &status, &cb, &server); in afs_create()
948 afs_vnode_finalise_status_update(vnode, server); in afs_create()
949 afs_put_server(server); in afs_create()
961 afs_put_server(server); in afs_create()
[all …]
Dinode.c430 if (vnode->server) { in afs_evict_inode()
431 spin_lock(&vnode->server->fs_lock); in afs_evict_inode()
432 rb_erase(&vnode->server_rb, &vnode->server->fs_vnodes); in afs_evict_inode()
433 spin_unlock(&vnode->server->fs_lock); in afs_evict_inode()
434 afs_put_server(vnode->server); in afs_evict_inode()
435 vnode->server = NULL; in afs_evict_inode()
DMakefile23 server.o \
Dproc.c651 struct afs_server *server = list_entry(v, struct afs_server, link); in afs_proc_cell_servers_show() local
661 sprintf(ipaddr, "%pI4", &server->addr); in afs_proc_cell_servers_show()
663 atomic_read(&server->usage), ipaddr, server->fs_state); in afs_proc_cell_servers_show()
Dinternal.h84 struct afs_server *server; /* server affected by incoming CM call */ member
337 struct afs_server *server; /* server currently supplying this file */ member
/linux-4.1.27/fs/nfs/
Dclient.c217 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
219 rpc_init_wait_queue(&server->roc_rpcwaitq, "pNFS ROC"); in pnfs_init_server()
231 static void pnfs_init_server(struct nfs_server *server) in pnfs_init_server() argument
625 static void nfs_destroy_server(struct nfs_server *server) in nfs_destroy_server() argument
627 if (server->nlm_host) in nfs_destroy_server()
628 nlmclnt_done(server->nlm_host); in nfs_destroy_server()
634 static int nfs_start_lockd(struct nfs_server *server) in nfs_start_lockd() argument
637 struct nfs_client *clp = server->nfs_client; in nfs_start_lockd()
643 .noresvport = server->flags & NFS_MOUNT_NORESVPORT ? in nfs_start_lockd()
650 if ((server->flags & NFS_MOUNT_LOCAL_FLOCK) && in nfs_start_lockd()
[all …]
Dnfs3client.c24 static void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument
26 if (server->flags & NFS_MOUNT_NOACL) in nfs_init_server_aclclient()
29 server->client_acl = rpc_bind_new_program(server->client, &nfsacl_program, 3); in nfs_init_server_aclclient()
30 if (IS_ERR(server->client_acl)) in nfs_init_server_aclclient()
34 server->caps |= NFS_CAP_ACLS; in nfs_init_server_aclclient()
38 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
41 static inline void nfs_init_server_aclclient(struct nfs_server *server) in nfs_init_server_aclclient() argument
43 server->flags &= ~NFS_MOUNT_NOACL; in nfs_init_server_aclclient()
44 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
51 struct nfs_server *server = nfs_create_server(mount_info, nfs_mod); in nfs3_create_server() local
[all …]
Dnfs4client.c687 static void nfs4_destroy_server(struct nfs_server *server) in nfs4_destroy_server() argument
689 nfs_server_return_all_delegations(server); in nfs4_destroy_server()
690 unset_pnfs_layoutdriver(server); in nfs4_destroy_server()
691 nfs4_purge_state_owners(server); in nfs4_destroy_server()
787 static int nfs4_set_client(struct nfs_server *server, in nfs4_set_client() argument
810 if (server->flags & NFS_MOUNT_NORESVPORT) in nfs4_set_client()
812 if (server->options & NFS_OPTION_MIGRATION) in nfs4_set_client()
831 server->nfs_client = clp; in nfs4_set_client()
889 static void nfs4_session_set_rwsize(struct nfs_server *server) in nfs4_session_set_rwsize() argument
896 if (!nfs4_has_session(server->nfs_client)) in nfs4_session_set_rwsize()
[all …]
Ddelegation.c284 struct nfs_server *server) in nfs_detach_delegation() argument
286 struct nfs_client *clp = server->nfs_client; in nfs_detach_delegation()
298 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_detach_delegation() local
304 return nfs_detach_delegation(nfsi, delegation, server); in nfs_inode_detach_delegation()
328 struct nfs_server *server = NFS_SERVER(inode); in nfs_inode_set_delegation() local
329 struct nfs_client *clp = server->nfs_client; in nfs_inode_set_delegation()
381 list_add_tail_rcu(&delegation->super_list, &server->delegations); in nfs_inode_set_delegation()
469 struct nfs_server *server; in nfs_client_return_marked_delegations() local
475 list_for_each_entry_rcu(server, &clp->cl_superblocks, client_link) { in nfs_client_return_marked_delegations()
476 list_for_each_entry_rcu(delegation, &server->delegations, in nfs_client_return_marked_delegations()
[all …]
Dnfs4proc.c84 static int _nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *…
122 static inline u32 *nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() argument
125 return server->attr_bitmask; in nfs4_bitmask()
127 return server->attr_bitmask_nl; in nfs4_bitmask()
138 nfs4_bitmask(struct nfs_server *server, struct nfs4_label *label) in nfs4_bitmask() argument
139 { return server->attr_bitmask; } in nfs4_bitmask()
347 int nfs4_handle_exception(struct nfs_server *server, int errorcode, struct nfs4_exception *exceptio… in nfs4_handle_exception() argument
349 struct nfs_client *clp = server->nfs_client; in nfs4_handle_exception()
366 ret = nfs4_schedule_stateid_recovery(server, state); in nfs4_handle_exception()
375 ret = nfs4_schedule_stateid_recovery(server, state); in nfs4_handle_exception()
[all …]
Dpnfs_dev.c96 nfs4_get_device_info(struct nfs_server *server, in nfs4_get_device_info() argument
111 max_resp_sz = server->nfs_client->cl_session->fc_attrs.max_resp_sz; in nfs4_get_device_info()
112 if (server->pnfs_curr_ld->max_deviceinfo_size && in nfs4_get_device_info()
113 server->pnfs_curr_ld->max_deviceinfo_size < max_resp_sz) in nfs4_get_device_info()
114 max_resp_sz = server->pnfs_curr_ld->max_deviceinfo_size; in nfs4_get_device_info()
117 __func__, server, max_resp_sz, max_pages); in nfs4_get_device_info()
134 pdev->layout_type = server->pnfs_curr_ld->id; in nfs4_get_device_info()
141 rc = nfs4_proc_getdeviceinfo(server, pdev, cred); in nfs4_get_device_info()
150 d = server->pnfs_curr_ld->alloc_deviceid_node(server, pdev, in nfs4_get_device_info()
172 __nfs4_find_get_deviceid(struct nfs_server *server, in __nfs4_find_get_deviceid() argument
[all …]
Dnfs42proc.c39 struct nfs_server *server = NFS_SERVER(inode); in _nfs42_proc_fallocate() local
44 .falloc_bitmask = server->cache_consistency_bitmask, in _nfs42_proc_fallocate()
47 .falloc_server = server, in _nfs42_proc_fallocate()
62 status = nfs4_call_sync(server->client, server, msg, in _nfs42_proc_fallocate()
74 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_fallocate() local
82 err = nfs4_handle_exception(server, err, &exception); in nfs42_proc_fallocate()
148 struct nfs_server *server = NFS_SERVER(inode); in nfs42_proc_llseek() local
159 status = nfs4_call_sync(server->client, server, &msg, in nfs42_proc_llseek()
162 server->caps &= ~NFS_CAP_SEEK; in nfs42_proc_llseek()
Dnfs4state.c171 nfs4_get_renew_cred_server_locked(struct nfs_server *server) in nfs4_get_renew_cred_server_locked() argument
177 for (pos = rb_first(&server->state_owners); in nfs4_get_renew_cred_server_locked()
199 struct nfs_server *server; in nfs4_get_renew_cred_locked() local
207 list_for_each_entry_rcu(server, &clp->cl_superblocks, client_link) { in nfs4_get_renew_cred_locked()
208 cred = nfs4_get_renew_cred_server_locked(server); in nfs4_get_renew_cred_locked()
387 nfs4_find_state_owner_locked(struct nfs_server *server, struct rpc_cred *cred) in nfs4_find_state_owner_locked() argument
389 struct rb_node **p = &server->state_owners.rb_node, in nfs4_find_state_owner_locked()
414 struct nfs_server *server = new->so_server; in nfs4_insert_state_owner_locked() local
415 struct rb_node **p = &server->state_owners.rb_node, in nfs4_insert_state_owner_locked()
435 err = ida_get_new(&server->openowner_id, &new->so_seqid.owner_id); in nfs4_insert_state_owner_locked()
[all …]
Dsuper.c408 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active() local
412 if (atomic_inc_return(&server->active) != 1) in nfs_sb_active()
420 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive() local
422 if (atomic_dec_and_test(&server->active)) in nfs_sb_deactive()
432 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs() local
443 error = server->nfs_client->rpc_ops->statfs(server, fh, &res); in nfs_statfs()
483 buf->f_namelen = server->namelen; in nfs_statfs()
736 static void show_sessions(struct seq_file *m, struct nfs_server *server) in show_sessions() argument
738 if (nfs4_has_session(server->nfs_client)) in show_sessions()
742 static void show_sessions(struct seq_file *m, struct nfs_server *server) {} in show_sessions() argument
[all …]
Dnfs4getroot.c12 int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_probe) in nfs4_get_rootfh() argument
24 ret = nfs4_proc_get_rootfh(server, mntfh, &fsinfo, auth_probe); in nfs4_get_rootfh()
45 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
Dnfs4super.c111 struct nfs_server *server; in nfs4_remote_mount() local
117 server = nfs4_create_server(mount_info, &nfs_v4); in nfs4_remote_mount()
118 if (IS_ERR(server)) { in nfs4_remote_mount()
119 mntroot = ERR_CAST(server); in nfs4_remote_mount()
123 mntroot = nfs_fs_mount_common(server, flags, dev_name, mount_info, &nfs_v4); in nfs4_remote_mount()
271 struct nfs_server *server; in nfs4_remote_referral_mount() local
281 server = nfs4_create_referral_server(mount_info.cloned, mount_info.mntfh); in nfs4_remote_referral_mount()
282 if (IS_ERR(server)) { in nfs4_remote_referral_mount()
283 mntroot = ERR_CAST(server); in nfs4_remote_referral_mount()
287 mntroot = nfs_fs_mount_common(server, flags, dev_name, &mount_info, &nfs_v4); in nfs4_remote_referral_mount()
Diostat.h25 static inline void nfs_inc_server_stats(const struct nfs_server *server, in nfs_inc_server_stats() argument
28 this_cpu_inc(server->io_stats->events[stat]); in nfs_inc_server_stats()
37 static inline void nfs_add_server_stats(const struct nfs_server *server, in nfs_add_server_stats() argument
41 this_cpu_add(server->io_stats->bytes[stat], addend); in nfs_add_server_stats()
Dnfs3acl.c16 struct nfs_server *server = NFS_SERVER(inode); in nfs3_get_acl() local
35 status = nfs_revalidate_inode(server, inode); in nfs3_get_acl()
53 msg.rpc_proc = &server->client_acl->cl_procinfo[ACLPROC3_GETACL]; in nfs3_get_acl()
58 status = rpc_call_sync(server->client_acl, &msg, 0); in nfs3_get_acl()
72 server->caps &= ~NFS_CAP_ACLS; in nfs3_get_acl()
120 struct nfs_server *server = NFS_SERVER(inode); in __nfs3_proc_setacls() local
174 msg.rpc_proc = &server->client_acl->cl_procinfo[ACLPROC3_SETACL]; in __nfs3_proc_setacls()
176 status = rpc_call_sync(server->client_acl, &msg, 0); in __nfs3_proc_setacls()
191 server->caps &= ~NFS_CAP_ACLS; in __nfs3_proc_setacls()
Dnfs4idmap.c99 static bool nfs_fattr_map_owner_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_owner_name() argument
106 if (nfs_map_name_to_uid(server, owner->data, owner->len, &uid) == 0) { in nfs_fattr_map_owner_name()
113 static bool nfs_fattr_map_group_name(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_group_name() argument
120 if (nfs_map_group_to_gid(server, group->data, group->len, &gid) == 0) { in nfs_fattr_map_group_name()
147 void nfs_fattr_map_and_free_names(struct nfs_server *server, struct nfs_fattr *fattr) in nfs_fattr_map_and_free_names() argument
149 if (nfs_fattr_map_owner_name(server, fattr)) in nfs_fattr_map_and_free_names()
151 if (nfs_fattr_map_group_name(server, fattr)) in nfs_fattr_map_and_free_names()
731 int nfs_map_name_to_uid(const struct nfs_server *server, const char *name, size_t namelen, kuid_t *… in nfs_map_name_to_uid() argument
733 struct idmap *idmap = server->nfs_client->cl_idmap; in nfs_map_name_to_uid()
748 int nfs_map_group_to_gid(const struct nfs_server *server, const char *name, size_t namelen, kgid_t … in nfs_map_group_to_gid() argument
[all …]
Dnamespace.c142 struct nfs_server *server = NFS_SERVER(d_inode(path->dentry)); in nfs_d_automount() local
160 mnt = server->nfs_client->rpc_ops->submount(server, path->dentry, fh, fattr); in nfs_d_automount()
225 static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, in nfs_do_clone_mount() argument
275 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, in nfs_submount() argument
282 err = server->nfs_client->rpc_ops->lookup(d_inode(parent), &dentry->d_name, fh, fattr, NULL); in nfs_submount()
287 return nfs_do_submount(dentry, fh, fattr, server->client->cl_auth->au_flavor); in nfs_submount()
Dproc.c53 nfs_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_get_root() argument
67 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
69 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
70 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0); in nfs_proc_get_root()
77 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_get_root()
79 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs_proc_get_root()
80 status = rpc_call_sync(server->nfs_client->cl_rpcclient, &msg, 0); in nfs_proc_get_root()
100 nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_getattr() argument
112 status = rpc_call_sync(server->client, &msg, 0); in nfs_proc_getattr()
514 nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs_proc_statfs() argument
[all …]
Dnfs4namespace.c154 struct nfs_server *server, in nfs_find_best_sec() argument
172 nfs_auth_info_match(&server->auth_info, pflavor)) { in nfs_find_best_sec()
394 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount() argument
397 rpc_authflavor_t flavor = server->client->cl_auth->au_flavor; in nfs4_submount()
428 static int nfs4_try_replacing_one_location(struct nfs_server *server, in nfs4_try_replacing_one_location() argument
433 struct net *net = rpc_net_ns(server->client); in nfs4_try_replacing_one_location()
465 error = nfs4_update_server(server, hostname, sap, salen, net); in nfs4_try_replacing_one_location()
487 int nfs4_replace_transport(struct nfs_server *server, in nfs4_replace_transport() argument
513 error = nfs4_try_replacing_one_location(server, page, in nfs4_replace_transport()
Dfscache.h172 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state() argument
174 if (server->fscache && (server->options & NFS_OPTION_FSCACHE)) in nfs_server_fscache_state()
223 static inline const char *nfs_server_fscache_state(struct nfs_server *server) in nfs_server_fscache_state() argument
Dcallback_proc.c118 struct nfs_server *server; in get_layout_by_fh_locked() local
122 list_for_each_entry_rcu(server, &clp->cl_superblocks, client_link) { in get_layout_by_fh_locked()
123 list_for_each_entry(lo, &server->layouts, plh_layouts) { in get_layout_by_fh_locked()
264 struct nfs_server *server = NULL; in nfs4_callback_devicenotify() local
276 if (!server || in nfs4_callback_devicenotify()
277 server->pnfs_curr_ld->id != dev->cbd_layout_type) { in nfs4_callback_devicenotify()
279 list_for_each_entry_rcu(server, &clp->cl_superblocks, client_link) in nfs4_callback_devicenotify()
280 if (server->pnfs_curr_ld && in nfs4_callback_devicenotify()
281 server->pnfs_curr_ld->id == dev->cbd_layout_type) { in nfs4_callback_devicenotify()
292 nfs4_delete_deviceid(server->pnfs_curr_ld, clp, &dev->cbd_dev_id); in nfs4_callback_devicenotify()
Dgetroot.c74 struct nfs_server *server = NFS_SB(sb); in nfs_get_root() local
91 error = server->nfs_client->rpc_ops->getroot(server, mntfh, &fsinfo); in nfs_get_root()
Dnfs3proc.c87 nfs3_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_get_root() argument
92 status = do_proc_get_root(server->client, fhandle, info); in nfs3_proc_get_root()
93 if (status && server->nfs_client->cl_rpcclient != server->client) in nfs3_proc_get_root()
94 status = do_proc_get_root(server->nfs_client->cl_rpcclient, fhandle, info); in nfs3_proc_get_root()
102 nfs3_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_getattr() argument
114 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_getattr()
730 nfs3_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_statfs() argument
742 status = rpc_call_sync(server->client, &msg, 0); in nfs3_proc_statfs()
770 nfs3_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, in nfs3_proc_fsinfo() argument
775 status = do_proc_fsinfo(server->client, fhandle, info); in nfs3_proc_fsinfo()
[all …]
Dinode.c312 struct nfs4_label *nfs4_label_alloc(struct nfs_server *server, gfp_t flags) in nfs4_label_alloc() argument
315 int minor_version = server->nfs_client->cl_minorversion; in nfs4_label_alloc()
320 if (!(server->caps & NFS_CAP_SECURITY_LABEL)) in nfs4_label_alloc()
672 struct nfs_server *server = NFS_SERVER(inode); in nfs_getattr() local
674 if (server->caps & NFS_CAP_READDIRPLUS) in nfs_getattr()
676 err = __nfs_revalidate_inode(server, inode); in nfs_getattr()
765 struct nfs_server *server; in nfs_close_context() local
774 server = NFS_SERVER(inode); in nfs_close_context()
775 if (server->flags & NFS_MOUNT_NOCTO) in nfs_close_context()
777 nfs_revalidate_inode(server, inode); in nfs_close_context()
[all …]
Dpnfs.c109 set_pnfs_layoutdriver(struct nfs_server *server, const struct nfs_fh *mntfh, in set_pnfs_layoutdriver() argument
116 if (!(server->nfs_client->cl_exchange_flags & in set_pnfs_layoutdriver()
119 __func__, id, server->nfs_client->cl_exchange_flags); in set_pnfs_layoutdriver()
132 server->pnfs_curr_ld = ld_type; in set_pnfs_layoutdriver()
134 && ld_type->set_layoutdriver(server, mntfh)) { in set_pnfs_layoutdriver()
141 atomic_inc(&server->nfs_client->cl_mds_count); in set_pnfs_layoutdriver()
148 server->pnfs_curr_ld = NULL; in set_pnfs_layoutdriver()
215 struct nfs_server *server = NFS_SERVER(lo->plh_inode); in pnfs_free_layout_hdr() local
216 struct pnfs_layoutdriver_type *ld = server->pnfs_curr_ld; in pnfs_free_layout_hdr()
219 struct nfs_client *clp = server->nfs_client; in pnfs_free_layout_hdr()
[all …]
Dnfs4_fs.h228 int nfs4_replace_transport(struct nfs_server *server,
245 extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle);
261 static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) in nfs4_get_session() argument
263 return server->nfs_client->cl_session; in nfs4_get_session()
343 static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) in nfs4_get_session() argument
456 extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp);
Dinternal.h154 int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *);
177 extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
180 extern void nfs_free_server(struct nfs_server *server);
298 extern struct nfs4_label *nfs4_label_alloc(struct nfs_server *server, gfp_t flags);
314 static inline struct nfs4_label *nfs4_label_alloc(struct nfs_server *server, gfp_t flags) { return … in nfs4_label_alloc() argument
414 extern int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool);
Dread.c59 struct nfs_server *server = NFS_SERVER(inode); in nfs_pageio_init_read() local
63 if (server->pnfs_curr_ld && !force_mds) in nfs_pageio_init_read()
64 pg_ops = server->pnfs_curr_ld->pg_read_ops; in nfs_pageio_init_read()
67 server->rsize, 0); in nfs_pageio_init_read()
Dnfs4xdr.c1002 const struct nfs_server *server) in encode_attrs() argument
1030 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs()
1043 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs()
1169 encode_attrs(xdr, create->attrs, create->label, create->server); in encode_create()
1376 *p++ = cpu_to_be32(arg->server->s_dev); in encode_openhdr()
1390 encode_attrs(xdr, arg->u.attrs, arg->label, arg->server); in encode_createmode()
1394 encode_attrs(xdr, arg->u.attrs, arg->label, arg->server); in encode_createmode()
1404 encode_attrs(xdr, &dummy, arg->label, arg->server); in encode_createmode()
1656 …stream *xdr, const struct nfs_setattrargs *arg, const struct nfs_server *server, struct compound_h… in encode_setattr() argument
1660 encode_attrs(xdr, arg->iap, arg->label, server); in encode_setattr()
[all …]
Dnfs4trace.h627 __entry->dev = res->server->s_dev;
838 const struct nfs_server *server,
844 TP_ARGS(server, fhandle, fattr, error),
855 __entry->dev = server->s_dev;
877 const struct nfs_server *server, \
882 TP_ARGS(server, fhandle, fattr, error))
Dpnfs.h169 (struct nfs_server *server, struct pnfs_device *pdev,
223 extern int nfs4_proc_getdeviceinfo(struct nfs_server *server,
315 nfs4_find_get_deviceid(struct nfs_server *server,
DKconfig63 Choose Y here if your NFS server supports the Solaris NFSv3 ACL
65 applications to access and modify ACLs on files on the server.
Ddir.c638 entry.server = NFS_SERVER(inode); in nfs_readdir_xdr_to_array()
1056 struct nfs_server *server = NFS_SERVER(inode); in nfs_lookup_verify_inode() local
1065 if ((flags & LOOKUP_OPEN) && !(server->flags & NFS_MOUNT_NOCTO) && in nfs_lookup_verify_inode()
1073 ret = __nfs_revalidate_inode(server, inode); in nfs_lookup_verify_inode()
1665 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_instantiate() local
1666 error = server->nfs_client->rpc_ops->getattr(server, fhandle, fattr, NULL); in nfs_instantiate()
/linux-4.1.27/fs/cifs/
Dsmb2transport.c43 smb2_crypto_shash_allocate(struct TCP_Server_Info *server) in smb2_crypto_shash_allocate() argument
48 if (server->secmech.sdeschmacsha256 != NULL) in smb2_crypto_shash_allocate()
51 server->secmech.hmacsha256 = crypto_alloc_shash("hmac(sha256)", 0, 0); in smb2_crypto_shash_allocate()
52 if (IS_ERR(server->secmech.hmacsha256)) { in smb2_crypto_shash_allocate()
54 rc = PTR_ERR(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()
55 server->secmech.hmacsha256 = NULL; in smb2_crypto_shash_allocate()
60 crypto_shash_descsize(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()
61 server->secmech.sdeschmacsha256 = kmalloc(size, GFP_KERNEL); in smb2_crypto_shash_allocate()
62 if (!server->secmech.sdeschmacsha256) { in smb2_crypto_shash_allocate()
63 crypto_free_shash(server->secmech.hmacsha256); in smb2_crypto_shash_allocate()
[all …]
Dtransport.c47 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() argument
51 if (server == NULL) { in AllocMidQEntry()
68 temp->server = server; in AllocMidQEntry()
87 __le16 command = midEntry->server->vals->lock_cmd; in DeleteMidQEntry()
135 smb_send_kvec(struct TCP_Server_Info *server, struct kvec *iov, size_t n_vec, in smb_send_kvec() argument
143 struct socket *ssocket = server->ssocket; in smb_send_kvec()
147 smb_msg.msg_name = (struct sockaddr *) &server->dstaddr; in smb_send_kvec()
151 if (server->noblocksnd) in smb_send_kvec()
184 if (i >= 14 || (!server->noblocksnd && (i > 2))) { in smb_send_kvec()
294 smb_send_rqst(struct TCP_Server_Info *server, struct smb_rqst *rqst) in smb_send_rqst() argument
[all …]
Dcifsencrypt.c38 cifs_crypto_shash_md5_allocate(struct TCP_Server_Info *server) in cifs_crypto_shash_md5_allocate() argument
43 if (server->secmech.sdescmd5 != NULL) in cifs_crypto_shash_md5_allocate()
46 server->secmech.md5 = crypto_alloc_shash("md5", 0, 0); in cifs_crypto_shash_md5_allocate()
47 if (IS_ERR(server->secmech.md5)) { in cifs_crypto_shash_md5_allocate()
49 rc = PTR_ERR(server->secmech.md5); in cifs_crypto_shash_md5_allocate()
50 server->secmech.md5 = NULL; in cifs_crypto_shash_md5_allocate()
55 crypto_shash_descsize(server->secmech.md5); in cifs_crypto_shash_md5_allocate()
56 server->secmech.sdescmd5 = kmalloc(size, GFP_KERNEL); in cifs_crypto_shash_md5_allocate()
57 if (!server->secmech.sdescmd5) { in cifs_crypto_shash_md5_allocate()
58 crypto_free_shash(server->secmech.md5); in cifs_crypto_shash_md5_allocate()
[all …]
Dconnect.c285 static int ip_connect(struct TCP_Server_Info *server);
286 static int generic_ip_connect(struct TCP_Server_Info *server);
301 cifs_reconnect(struct TCP_Server_Info *server) in cifs_reconnect() argument
311 if (server->tcpStatus == CifsExiting) { in cifs_reconnect()
317 server->tcpStatus = CifsNeedReconnect; in cifs_reconnect()
319 server->maxBuf = 0; in cifs_reconnect()
321 server->max_read = 0; in cifs_reconnect()
331 list_for_each(tmp, &server->smb_ses_list) { in cifs_reconnect()
344 mutex_lock(&server->srv_mutex); in cifs_reconnect()
345 if (server->ssocket) { in cifs_reconnect()
[all …]
Dsmb2pdu.c114 if ((tcon->ses) && (tcon->ses->server) && in smb2_hdr_assemble()
115 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb2_hdr_assemble()
137 if (tcon->ses && tcon->ses->server && tcon->ses->server->sign) in smb2_hdr_assemble()
150 struct TCP_Server_Info *server; in smb2_reconnect() local
178 (!tcon->ses->server)) in smb2_reconnect()
182 server = ses->server; in smb2_reconnect()
188 while (server->tcpStatus == CifsNeedReconnect) { in smb2_reconnect()
204 wait_event_interruptible_timeout(server->response_q, in smb2_reconnect()
205 (server->tcpStatus != CifsNeedReconnect), 10 * HZ); in smb2_reconnect()
208 if (server->tcpStatus != CifsNeedReconnect) in smb2_reconnect()
[all …]
Dsmb2ops.c33 change_conf(struct TCP_Server_Info *server) in change_conf() argument
35 server->credits += server->echo_credits + server->oplock_credits; in change_conf()
36 server->oplock_credits = server->echo_credits = 0; in change_conf()
37 switch (server->credits) { in change_conf()
41 server->echoes = false; in change_conf()
42 server->oplocks = false; in change_conf()
46 server->echoes = true; in change_conf()
47 server->oplocks = false; in change_conf()
48 server->echo_credits = 1; in change_conf()
52 server->echoes = true; in change_conf()
[all …]
Dfile.c184 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open() local
187 if (!server->ops->open) in cifs_nt_open()
236 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
280 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo() local
315 if (server->ops->is_read_op(oplock) && cifs_has_mand_locks(cinode)) { in cifs_new_fileinfo()
326 server->ops->set_fid(cfile, fid, oplock); in cifs_new_fileinfo()
361 struct TCP_Server_Info *server = tcon->ses->server; in cifsFileInfo_put() local
376 if (server->ops->get_lease_key) in cifsFileInfo_put()
377 server->ops->get_lease_key(inode, &fid); in cifsFileInfo_put()
403 struct TCP_Server_Info *server = tcon->ses->server; in cifsFileInfo_put() local
[all …]
Dfscache.c26 void cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) in cifs_fscache_get_client_cookie() argument
28 server->fscache = in cifs_fscache_get_client_cookie()
30 &cifs_fscache_server_index_def, server, true); in cifs_fscache_get_client_cookie()
32 __func__, server, server->fscache); in cifs_fscache_get_client_cookie()
35 void cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) in cifs_fscache_release_client_cookie() argument
38 __func__, server, server->fscache); in cifs_fscache_release_client_cookie()
39 fscache_relinquish_cookie(server->fscache, 0); in cifs_fscache_release_client_cookie()
40 server->fscache = NULL; in cifs_fscache_release_client_cookie()
45 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie() local
48 fscache_acquire_cookie(server->fscache, in cifs_fscache_get_super_cookie()
[all …]
Dcifsglob.h433 #define HEADER_SIZE(server) (server->vals->header_size) argument
434 #define MAX_HEADER_SIZE(server) (server->vals->max_header_size) argument
622 in_flight(struct TCP_Server_Info *server) in in_flight() argument
625 spin_lock(&server->req_lock); in in_flight()
626 num = server->in_flight; in in_flight()
627 spin_unlock(&server->req_lock); in in_flight()
632 has_credits(struct TCP_Server_Info *server, int *credits) in has_credits() argument
635 spin_lock(&server->req_lock); in has_credits()
637 spin_unlock(&server->req_lock); in has_credits()
642 add_credits(struct TCP_Server_Info *server, const unsigned int add, in add_credits() argument
[all …]
Dsmb1ops.c39 send_nt_cancel(struct TCP_Server_Info *server, void *buf, in send_nt_cancel() argument
51 mutex_lock(&server->srv_mutex); in send_nt_cancel()
52 rc = cifs_sign_smb(in_buf, server, &mid->sequence_number); in send_nt_cancel()
54 mutex_unlock(&server->srv_mutex); in send_nt_cancel()
63 --server->sequence_number; in send_nt_cancel()
64 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel()
66 server->sequence_number--; in send_nt_cancel()
68 mutex_unlock(&server->srv_mutex); in send_nt_cancel()
98 cifs_find_mid(struct TCP_Server_Info *server, char *buffer) in cifs_find_mid() argument
104 list_for_each_entry(mid, &server->pending_mid_q, qhead) { in cifs_find_mid()
[all …]
Dcifs_debug.c71 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() argument
77 if (server == NULL) in cifs_dump_mids()
82 list_for_each(tmp, &server->pending_mid_q) { in cifs_dump_mids()
114 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() local
153 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show()
156 list_for_each(tmp2, &server->smb_ses_list) { in cifs_debug_data_proc_show()
175 server->tcpStatus, server->srv_count, in cifs_debug_data_proc_show()
176 server->sec_mode, in_flight(server)); in cifs_debug_data_proc_show()
180 atomic_read(&server->in_send), in cifs_debug_data_proc_show()
181 atomic_read(&server->num_waiters)); in cifs_debug_data_proc_show()
[all …]
Ddir.c207 struct TCP_Server_Info *server = tcon->ses->server; in cifs_do_create() local
211 if (tcon->ses->server->oplocks) in cifs_do_create()
303 if (!server->ops->open) { in cifs_do_create()
333 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create()
383 if (server->ops->set_lease_key) in cifs_do_create()
384 server->ops->set_lease_key(newinode, fid); in cifs_do_create()
402 if (server->ops->close) in cifs_do_create()
403 server->ops->close(xid, tcon, fid); in cifs_do_create()
424 struct TCP_Server_Info *server; in cifs_atomic_open() local
474 server = tcon->ses->server; in cifs_atomic_open()
[all …]
Dcifs_spnego.c101 struct TCP_Server_Info *server = sesInfo->server; in cifs_get_spnego_key() local
102 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_get_spnego_key()
103 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) &server->dstaddr; in cifs_get_spnego_key()
107 const char *hostname = server->hostname; in cifs_get_spnego_key()
136 if (server->dstaddr.ss_family == AF_INET) in cifs_get_spnego_key()
138 else if (server->dstaddr.ss_family == AF_INET6) in cifs_get_spnego_key()
146 if (server->sec_kerberos) in cifs_get_spnego_key()
148 else if (server->sec_mskerberos) in cifs_get_spnego_key()
Dxattr.c87 if (pTcon->ses->server->ops->set_EA) in cifs_removexattr()
88 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_removexattr()
155 if (pTcon->ses->server->ops->set_EA) in cifs_setxattr()
156 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_setxattr()
165 if (pTcon->ses->server->ops->set_EA) in cifs_setxattr()
166 rc = pTcon->ses->server->ops->set_EA(xid, pTcon, in cifs_setxattr()
178 if (pTcon->ses->server->ops->set_acl) in cifs_setxattr()
179 rc = pTcon->ses->server->ops->set_acl(pacl, in cifs_setxattr()
282 if (pTcon->ses->server->ops->query_all_EAs) in cifs_getxattr()
283 rc = pTcon->ses->server->ops->query_all_EAs(xid, pTcon, in cifs_getxattr()
[all …]
Dinode.c61 if (cifs_sb_master_tcon(cifs_sb)->ses->server->maxBuf <
470 if (tcon->ses->server->oplocks)
474 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
488 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
530 tcon->ses->server->ops->close(xid, tcon, &fid);
557 if (tcon->ses->server->ops->query_all_EAs == NULL) {
562 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
606 fattr->cf_ctime.tv_sec += tcon->ses->server->timeAdj;
607 fattr->cf_mtime.tv_sec += tcon->ses->server->timeAdj;
663 struct TCP_Server_Info *server = tcon->ses->server; local
[all …]
Dlink.c220 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink()
221 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
250 if (tcon->ses->server->ops->query_mf_symlink) in query_mf_symlink()
251 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink()
288 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink()
289 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
550 struct TCP_Server_Info *server; in cifs_hardlink() local
572 server = tcon->ses->server; in cifs_hardlink()
573 if (!server->ops->create_hardlink) { in cifs_hardlink()
577 rc = server->ops->create_hardlink(xid, tcon, from_name, to_name, in cifs_hardlink()
[all …]
Dcifsfs.c99 struct cifs_sb_info *server = CIFS_SB(sb); in cifs_sb_active() local
101 if (atomic_inc_return(&server->active) == 1) in cifs_sb_active()
108 struct cifs_sb_info *server = CIFS_SB(sb); in cifs_sb_deactive() local
110 if (atomic_dec_and_test(&server->active)) in cifs_sb_deactive()
128 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
186 struct TCP_Server_Info *server = tcon->ses->server; in cifs_statfs() local
203 if (server->ops->queryfs) in cifs_statfs()
204 rc = server->ops->queryfs(xid, tcon, buf); in cifs_statfs()
214 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fallocate() local
216 if (server->ops->fallocate) in cifs_fallocate()
[all …]
Dcifssmb.c120 struct TCP_Server_Info *server; in cifs_reconnect_tcon() local
132 server = ses->server; in cifs_reconnect_tcon()
152 while (server->tcpStatus == CifsNeedReconnect) { in cifs_reconnect_tcon()
153 wait_event_interruptible_timeout(server->response_q, in cifs_reconnect_tcon()
154 (server->tcpStatus != CifsNeedReconnect), 10 * HZ); in cifs_reconnect_tcon()
157 if (server->tcpStatus != CifsNeedReconnect) in cifs_reconnect_tcon()
270 buffer->Mid = get_next_mid(ses->server); in small_smb_init_no_tc()
372 struct TCP_Server_Info *server = ses->server; in decode_ext_sec_blob() local
379 if (server->srv_count > 1) { in decode_ext_sec_blob()
381 if (memcmp(server->server_GUID, guid, SMB1_CLIENT_GUID_SIZE) != 0) { in decode_ext_sec_blob()
[all …]
Dreaddir.c214 int offset = cifs_sb_master_tcon(cifs_sb)->ses->server->timeAdj; in cifs_std_info_to_fattr()
273 struct TCP_Server_Info *server; in initiate_cifs_search() local
293 server = tcon->ses->server; in initiate_cifs_search()
295 if (!server->ops->query_dir_first) { in initiate_cifs_search()
318 tcon->ses->server->vals->cap_nt_find) == 0) { in initiate_cifs_search()
330 rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb, in initiate_cifs_search()
571 struct TCP_Server_Info *server = tcon->ses->server; in find_cifs_entry() local
574 if (!server->ops->query_dir_first || !server->ops->query_dir_next) in find_cifs_entry()
598 if (server->ops->dir_needs_close(cfile)) { in find_cifs_entry()
601 if (server->ops->close_dir) in find_cifs_entry()
[all …]
Dcifsproto.h75 struct TCP_Server_Info *server);
79 extern int cifs_call_async(struct TCP_Server_Info *server,
94 struct TCP_Server_Info *server, bool log_error);
95 extern int cifs_wait_mtu_credits(struct TCP_Server_Info *server,
106 extern int cifs_reconnect(struct TCP_Server_Info *server);
117 struct TCP_Server_Info *server);
127 extern enum securityEnum select_sectype(struct TCP_Server_Info *server,
185 extern int cifs_read_from_socket(struct TCP_Server_Info *server, char *buf,
187 extern int cifs_readv_from_socket(struct TCP_Server_Info *server,
228 extern int cifs_enable_signing(struct TCP_Server_Info *server, bool mnt_sign_required);
[all …]
Dsess.c48 pSMB->req.MaxMpxCount = cpu_to_le16(ses->server->maxReq); in cifs_ssetup_hdr()
59 if (ses->server->sign) in cifs_ssetup_hdr()
348 if (ses->server->sign) { in build_ntlmssp_negotiate_blob()
350 if (!ses->server->session_estab || in build_ntlmssp_negotiate_blob()
387 if (ses->server->sign) { in build_ntlmssp_auth_blob()
389 if (!ses->server->session_estab || in build_ntlmssp_auth_blob()
483 select_sectype(struct TCP_Server_Info *server, enum securityEnum requested) in select_sectype() argument
485 switch (server->negflavor) { in select_sectype()
492 if (server->sec_ntlmssp && in select_sectype()
495 if ((server->sec_kerberos || server->sec_mskerberos) && in select_sectype()
[all …]
Dioctl.c118 if (target_tcon->ses->server->ops->clone_range) in cifs_ioctl_clone()
119 rc = target_tcon->ses->server->ops->clone_range(xid, in cifs_ioctl_clone()
207 if (tcon->ses->server->ops->set_compression) { in cifs_ioctl()
208 rc = tcon->ses->server->ops->set_compression( in cifs_ioctl()
Dsmb2proto.h45 struct TCP_Server_Info *server, bool log_error);
49 struct TCP_Server_Info *server, struct smb_rqst *rqst);
51 struct TCP_Server_Info *server);
53 struct TCP_Server_Info *server);
136 extern int SMB2_echo(struct TCP_Server_Info *server);
Dsmb2misc.c446 struct TCP_Server_Info *server = tcon->ses->server; in smb2_tcon_has_lease() local
466 server->ops->set_oplock_level(cinode, lease_state, 0, NULL); in smb2_tcon_has_lease()
506 struct TCP_Server_Info *server; in smb2_is_valid_lease_break() local
523 server = list_entry(tmp, struct TCP_Server_Info, tcp_ses_list); in smb2_is_valid_lease_break()
525 list_for_each(tmp1, &server->smb_ses_list) { in smb2_is_valid_lease_break()
550 smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) in smb2_is_valid_oplock_break() argument
576 list_for_each(tmp, &server->smb_ses_list) { in smb2_is_valid_oplock_break()
Dasn1.c495 struct TCP_Server_Info *server) in decode_negTokenInit() argument
599 server->sec_mskerberos = true; in decode_negTokenInit()
602 server->sec_kerberosu2u = true; in decode_negTokenInit()
605 server->sec_kerberos = true; in decode_negTokenInit()
608 server->sec_ntlmssp = true; in decode_negTokenInit()
Dfscache.h107 cifs_fscache_get_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_get_client_cookie() argument
109 cifs_fscache_release_client_cookie(struct TCP_Server_Info *server) {} in cifs_fscache_release_client_cookie() argument
DKconfig21 server support for Linux and many other operating systems). Limited
42 Enabling this option will cause statistics for each server share
128 Allows fetching CIFS/NTFS ACL from the server. The DACL blob
158 moves to a different server. This feature also enables
160 utilities to provide server name resolution (host names to
168 Allows NFS server to export a CIFS mounted share (nfsd over cifs)
186 later) and Samba server and many others support SMB3 well.
Dsmb2file.c63 if (oparms->tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) in smb2_open_file()
109 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range()
243 max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf; in smb2_push_mandatory_locks()
Dcifsacl.c1024 if (pfid && (tcon->ses->server->ops->get_acl_by_fid)) in cifs_acl_to_fattr()
1025 pntsd = tcon->ses->server->ops->get_acl_by_fid(cifs_sb, pfid, in cifs_acl_to_fattr()
1027 else if (tcon->ses->server->ops->get_acl) in cifs_acl_to_fattr()
1028 pntsd = tcon->ses->server->ops->get_acl(cifs_sb, inode, path, in cifs_acl_to_fattr()
1072 if (tcon->ses->server->ops->get_acl == NULL) { in id_mode_to_cifs_acl()
1077 pntsd = tcon->ses->server->ops->get_acl(cifs_sb, inode, path, in id_mode_to_cifs_acl()
1105 if (tcon->ses->server->ops->set_acl == NULL) in id_mode_to_cifs_acl()
1110 rc = tcon->ses->server->ops->set_acl(pnntsd, secdesclen, inode, in id_mode_to_cifs_acl()
Dcache.c66 const struct TCP_Server_Info *server = cookie_netfs_data; in cifs_server_get_key() local
67 const struct sockaddr *sa = (struct sockaddr *) &server->dstaddr; in cifs_server_get_key()
Dmisc.c273 buffer->Mid = get_next_mid(treeCon->ses->server); in header_assemble()
279 if ((treeCon->ses) && (treeCon->ses->server)) in header_assemble()
280 if (treeCon->ses->server->sign) in header_assemble()
/linux-4.1.27/arch/powerpc/sysdev/xics/
Dics-opal.c34 static int ics_opal_mangle_server(int server) in ics_opal_mangle_server() argument
37 return server << 2; in ics_opal_mangle_server()
40 static int ics_opal_unmangle_server(int server) in ics_opal_unmangle_server() argument
43 return server >> 2; in ics_opal_unmangle_server()
50 int server; in ics_opal_unmask_irq() local
57 server = xics_get_irq_server(d->irq, d->affinity, 0); in ics_opal_unmask_irq()
58 server = ics_opal_mangle_server(server); in ics_opal_unmask_irq()
60 rc = opal_set_xive(hw_irq, server, DEFAULT_PRIORITY); in ics_opal_unmask_irq()
64 __func__, d->irq, hw_irq, server, rc); in ics_opal_unmask_irq()
86 int server = ics_opal_mangle_server(xics_default_server); in ics_opal_mask_real_irq() local
[all …]
Dxics-common.c206 long server; in xics_migrate_irqs_away() local
229 server = -1; in xics_migrate_irqs_away()
232 server = ics->get_server(ics, irq); in xics_migrate_irqs_away()
233 if (server < 0) { in xics_migrate_irqs_away()
243 if (server != hw_cpu) in xics_migrate_irqs_away()
280 int server = cpumask_first_and(cpu_online_mask, cpumask); in xics_get_irq_server() local
282 if (server < nr_cpu_ids) in xics_get_irq_server()
283 return get_hard_smp_processor_id(server); in xics_get_irq_server()
Dics-rtas.c43 int server; in ics_rtas_unmask_irq() local
50 server = xics_get_irq_server(d->irq, d->affinity, 0); in ics_rtas_unmask_irq()
52 call_status = rtas_call(ibm_set_xive, 3, 1, NULL, hw_irq, server, in ics_rtas_unmask_irq()
57 __func__, hw_irq, server, call_status); in ics_rtas_unmask_irq()
/linux-4.1.27/fs/nfsd/
DKconfig2 tristate "NFS server support"
13 protocol. To compile the NFS server support as a module,
16 You may choose to use a user-space NFS server instead, in which
22 the Linux NFS server implementation is available via the
26 available to clients mounting the NFS server on this system.
37 bool "NFS server support for NFS version 3"
40 This option enables support in your system's NFS server for
46 bool "NFS server support for the NFSv3 ACL protocol extension"
57 This option enables support in your system's NFS server for the
59 POSIX ACLs on files exported by your system's NFS server. NFS
[all …]
/linux-4.1.27/Documentation/filesystems/nfs/
Dfault_injection.txt7 production system. Injecting an error on the Linux NFS server will allow us to
16 On the client, mount the fault injection server through NFS v4.0+ and do some
19 On the server, mount the debugfs filesystem to <debug_dir> and ls
21 injecting faults on the NFS server. As root, write a number n to the file
22 corresponding to the action you want the server to take. The server will then
24 to <debug_dir>/nfsd/forget_locks. A value of 0 will tell the server to forget
35 The NFS server keeps a list of clients that have placed a mount call. If
36 this list is cleared, the server will have no knowledge of who the client
37 is, forcing the client to reauthenticate with the server.
40 The NFS server keeps a list of what files are currently opened and who
[all …]
D00-INDEX6 - information for using fault injection on the server
8 - statistics which the NFS server makes available to user space.
11 nfs41-server.txt
12 - info on the Linux server implementation of NFSv4 minor version 1.
14 - how to install and setup the Linux NFS/RDMA client and server software
25 rpc-server-gss.txt
Dnfs-rdma.txt22 and server software.
24 The NFS/RDMA client was first included in Linux 2.6.24. The NFS/RDMA server
56 The first kernel release to contain both the NFS/RDMA client and server was
107 nfs-utils on the server. Furthermore, only the mount.nfs command from
112 The NFS/RDMA client and server are both included in the mainline Linux
132 - Configure the NFS client and server
135 NFS server support enabled. These and other NFS related configuration
141 are turned on. The NFS/RDMA client and server are configured via the
146 and server will not be built
148 in this case the NFS/RDMA client and server will be built as modules
[all …]
Dpnfs-block-server.txt1 pNFS block layout server user guide
3 The Linux NFS server now supports the pNFS block layout extension. In this
4 case the NFS server acts as Metadata Server (MDS) for pNFS, which in addition
9 To use pNFS block layouts with with the Linux NFS server the exported file
16 On the server, pNFS block volume support is automatically if the file system
21 If the nfsd server needs to fence a non-responding client it calls
Dnfsroot.txt11 In order to use a diskless system, such as an X-terminal or printer server
17 diskless system, and 'server' means the NFS server.
41 both the server and the name of the directory on the server to mount as root.
52 nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
57 <server-ip> Specifies the IP address of the NFS server.
62 <root-dir> Name of the directory on the server to mount as root.
69 port = as given by server portmap daemon
81 ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>:
105 <server-ip> IP address of the NFS server. If RARP is used to determine
107 replies from the specified server are accepted.
[all …]
Dnfsd-admin-interfaces.txt10 The server is always started by the first write of a nonzero value to
39 Note that the rpc server requires the caller to serialize addition and
40 removal of listening sockets, and startup and shutdown of the server.
Dknfsd-stats.txt6 which the kernel NFS server makes available to userspace. These
49 sunrpc server layer that new data may be available on a transport
57 of how much CPU load is being placed on the sunrpc server layer
76 of the NFS workload. In the latter case, the sunrpc server layer is
92 Counts how many times the sunrpc server layer chose not to wake an
109 - %us ~= 0 (as you're *NOT* running applications on your NFS server)
Dnfs.txt23 string. File open and lock state shared between one client and one server
37 a server. Thus, if the system's node name is not unique, or it changes, its
60 NFSv4 allows for one server to refer the NFS client to data that has been
61 migrated onto another server by means of the special "fs_locations"
Dnfs41-server.txt8 Currently, server support for minorversion 1 is enabled by default.
31 are not supported yet by the linux server implementation.
38 The following abbreviations indicate the linux server implementation status.
144 implementations, so we're ignoring it for now. The server returns
Drpc-server-gss.txt7 server and the NFS client's NFSv4.0 callback server. (But note that
8 NFSv4.1 and higher don't require the client to act as a server for the
Dpnfs.txt6 Each data server can be referenced by multiple devices. Each device
44 data server cache
/linux-4.1.27/net/netfilter/ipvs/
DKconfig5 tristate "IP virtual server support"
10 virtual server based on cluster of two or more real servers. This
16 virtual server via NAT, virtual server via tunneling and virtual
17 server via direct routing. The several scheduling algorithms can
18 be used to choose which server the connection is directed to,
38 bool "IP virtual server debugging"
41 debugging the IP virtual server code. You can change the debug
59 to your virtual server application. It is good to set the table size
62 virtual server gets 200 connections per second, the connection lasts
126 connections to different real servers based on server weights
[all …]
/linux-4.1.27/fs/nfs/blocklayout/
Ddev.c183 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d,
188 bl_parse_simple(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_simple() argument
194 dev = bl_resolve_deviceid(server, v, gfp_mask); in bl_parse_simple()
215 bl_parse_slice(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_slice() argument
221 ret = bl_parse_deviceid(server, d, volumes, v->slice.volume, gfp_mask); in bl_parse_slice()
231 bl_parse_concat(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_concat() argument
244 ret = bl_parse_deviceid(server, &d->children[i], in bl_parse_concat()
260 bl_parse_stripe(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_stripe() argument
273 ret = bl_parse_deviceid(server, &d->children[i], in bl_parse_stripe()
289 bl_parse_deviceid(struct nfs_server *server, struct pnfs_block_dev *d, in bl_parse_deviceid() argument
[all …]
Dblocklayout.h182 struct nfs4_deviceid_node *bl_alloc_deviceid_node(struct nfs_server *server,
199 dev_t bl_resolve_deviceid(struct nfs_server *server,
Drpc_pipefs.c53 bl_resolve_deviceid(struct nfs_server *server, struct pnfs_block_volume *b, in bl_resolve_deviceid() argument
56 struct net *net = server->nfs_client->cl_net; in bl_resolve_deviceid()
Dblocklayout.c732 bl_set_layoutdriver(struct nfs_server *server, const struct nfs_fh *fh) in bl_set_layoutdriver() argument
736 if (server->pnfs_blksize == 0) { in bl_set_layoutdriver()
740 if (server->pnfs_blksize > PAGE_SIZE) { in bl_set_layoutdriver()
742 __func__, server->pnfs_blksize); in bl_set_layoutdriver()
/linux-4.1.27/drivers/s390/block/
Ddasd_alias.c55 list_for_each_entry(pos, &aliastree.serverlist, server) { in _find_server()
65 static struct alias_lcu *_find_lcu(struct alias_server *server, in _find_lcu() argument
69 list_for_each_entry(pos, &server->lculist, lcu) { in _find_lcu()
106 struct alias_server *server; in _allocate_server() local
108 server = kzalloc(sizeof(*server), GFP_KERNEL); in _allocate_server()
109 if (!server) in _allocate_server()
111 memcpy(server->uid.vendor, uid->vendor, sizeof(uid->vendor)); in _allocate_server()
112 memcpy(server->uid.serial, uid->serial, sizeof(uid->serial)); in _allocate_server()
113 INIT_LIST_HEAD(&server->server); in _allocate_server()
114 INIT_LIST_HEAD(&server->lculist); in _allocate_server()
[all …]
/linux-4.1.27/Documentation/filesystems/cifs/
DREADME76 and maximum number of simultaneous requests to one server can be configured.
91 //server/usersharename /mnt/username cifs user 0 0
124 to the file /etc/fstab for each //server/share you wish to mount, but
130 To get the maximum benefit from the CIFS VFS, we recommend using a server that
134 not have a server that supports the Unix extensions for CIFS (such as Samba
135 2.2.5 or later). To enable the Unix CIFS Extensions in the Samba server, add
140 to your smb.conf file on the server. Note that the following smb.conf settings
141 are also useful (on the Samba server) when the majority of clients are Unix or
148 Note that server ea support is required for supporting xattrs from the Linux
166 enabled on the server and client, subsequent setattr calls (e.g. chmod) can
[all …]
DCHANGES11 Disable use of server inode numbers when server only
12 partially supports them (e.g. for one server querying inode numbers on
23 ntlmv2. Fix 2nd mount to same server but with different port to
29 Client uses server inode numbers (which are persistent) rather than
31 on by default if server supports it). Add forceuid and forcegid
33 which uid mounted does not immediately force the server's reported
49 session setup to distinguish multiple mounts to same server from different
57 Improve support for multiple security contexts to the same server. We
59 the server to treat subsequent connections, especially those that
62 same server with different userids without risking invalidating earlier
[all …]
DTODO34 than resending (helps reduce server resource utilization and avoid
52 m) Create UID mapping facility so server UIDs can be mapped on a per
53 mount or a per server basis to client UIDs or nobody if no mapping
55 allow better permission checking when UIDs differ on the server
57 standard for asking the server for the corresponding name of a
67 such as "CopyChunk" (fast server side file copy)
93 1) check out max path names and max path name components against various server
Dcifs.txt9 server support for Linux and many other operating systems), so
18 improvements. Since both Samba server and this filesystem client support
DAUTHORS10 Jeremy Allison of the Samba team has done invaluable work in adding the server
12 portions of the newer CIFS POSIX extensions into the Samba 3 file server. Thank
/linux-4.1.27/Documentation/blockdev/
Dnbd.txt8 can use a remote server as one of its block devices. So every time
10 request over TCP to the server, which will reply with the data read.
15 For more information, or to download the nbd-client and nbd-server
19 system, as the nbd-server is completely in userspace. In fact,
20 the nbd-server has been successfully ported to other operating
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_xics.c140 u32 server, u32 priority, u32 saved_priority) in write_xive() argument
148 state->server = server; in write_xive()
163 int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server, u32 priority) in kvmppc_xics_set_xive() argument
179 icp = kvmppc_xics_find_server(kvm, server); in kvmppc_xics_set_xive()
184 irq, server, priority, in kvmppc_xics_set_xive()
187 if (write_xive(xics, ics, state, server, priority, priority)) in kvmppc_xics_set_xive()
193 int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server, u32 *priority) in kvmppc_xics_get_xive() argument
211 *server = state->server; in kvmppc_xics_get_xive()
235 icp = kvmppc_xics_find_server(kvm, state->server); in kvmppc_xics_int_on()
239 if (write_xive(xics, ics, state, state->server, state->saved_priority, in kvmppc_xics_int_on()
[all …]
Dbook3s_rtas.c23 u32 irq, server, priority; in kvm_rtas_set_xive() local
32 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive()
35 rc = kvmppc_xics_set_xive(vcpu->kvm, irq, server, priority); in kvm_rtas_set_xive()
44 u32 irq, server, priority; in kvm_rtas_get_xive() local
54 server = priority = 0; in kvm_rtas_get_xive()
55 rc = kvmppc_xics_get_xive(vcpu->kvm, irq, &server, &priority); in kvm_rtas_get_xive()
61 args->rets[1] = cpu_to_be32(server); in kvm_rtas_get_xive()
Dbook3s_hv_rm_xics.c231 if (!icp || state->server != icp->server_num) { in icp_rm_deliver_irq()
232 icp = kvmppc_xics_find_server(xics->kvm, state->server); in icp_rm_deliver_irq()
424 int kvmppc_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server, in kvmppc_rm_h_ipi() argument
437 local = this_icp->server_num == server; in kvmppc_rm_h_ipi()
441 icp = kvmppc_xics_find_server(vcpu->kvm, server); in kvmppc_rm_h_ipi()
Dbook3s_xics.h37 u32 server; member
/linux-4.1.27/Documentation/powerpc/
Dhvcs.txt52 major and minor numbers are associated with each vty-server. Directions
111 We think that 1024 is currently a decent maximum number of server adapters
203 is a vty-server device configured for that node.
246 Hotplug add and remove of vty-server adapters affects which /dev/hvcs* node
247 is used to connect to each vty-server adapter. In order to determine which
248 vty-server adapter is associated with which /dev/hvcs* node a special sysfs
249 attribute has been added to each vty-server sysfs entry. This entry is
252 index attribute of vty-server adapter 30000004 shows the following.
257 This index of '2' means that in order to connect to vty-server adapter
261 system the /dev/hvcs* entry that interacts with a particular vty-server
[all …]
Dptrace.txt10 that's extendable and that covers both BookE and server processors, so
18 BookE processors don't have restrictions here, but server processors have
81 that the BookE supports. COMEFROM breakpoints available in server processors
131 - set a watchpoint in server processors (BookS)
/linux-4.1.27/Documentation/filesystems/pohmelfs/
Dinfo.txt25 Number of milliseconds to wait for reply from remote server for data reading command.
30 This is the number of times that a transaction will be resent to a server that did
46 If specified, mount will fail if the server does not support requested crypto operations.
51 Mcache includes locks (given lock should be granted by server), attributes (they should be
57 Add server server1.net:1025 into the working set with index $idx
81 Creating a server, which listens at port 1025 and 0.0.0.0 address.
82 Working root directory (note, that server chroots there, so you have to have appropriate permission…
83 is set to /mnt, server will negotiate hash/cipher with client, in case client requested it, there
Dnetwork_protocol.txt29 NETFS_READ_PAGE, /* Read data page from the server */
30 NETFS_WRITE_PAGE, /* Write data page to the server */
71 This command is used to read data from remote server.
103 Lookup information about object on server.
200 Used to exchange crypto capabilities with server.
201 If crypto capabilities are not supported by server, then client will disable it
Ddesign_notes.txt23 * Fast and scalable multithreaded userspace server. Being in userspace it works
52 the server during system writeback. Only one writer at a time is allowed for any
68 is checked during mount time and, if the server does not support it, appropriate capabilities
71 crypto operations and send the resulting data to server or submit it up the stack. This number
/linux-4.1.27/Documentation/networking/
Drxrpc.txt26 (*) Example server usage.
60 receives a blob (the reply), and the server receives the request and then
67 manage security on the client end. The server end must of necessity be
107 shared between client and server connections (connections have a
139 requested, the server then issues a "challenge" and then the client
142 upon it use that same security. In the event that the server lets a
160 reached the server.
176 make multiple simultaneous calls to the same service. One server socket
195 (*) A server-side connection is shared if the client says it is.
209 (*) A socket is made into a server socket by binding an address with a
[all …]
Dipvs-sysctl.txt22 If set, disable the director function while the server is
32 connection will be delivered to the same real server that was
68 directly when no cache server is available and destination
131 packets when its destination server is not available. It may
133 destination server (because of server overload or wrong
134 detection) and add back the server later, and the connections
135 to the server can continue.
139 destination server is not available, then the client program
149 persistent templates when the destination server is quiescent.
150 This may be useful, when a user makes a destination server
[all …]
Ddccp.txt101 DCCP_SOCKOPT_SERVER_TIMEWAIT enables the server (listening socket) to hold
103 that the closing server sends a CloseReq, whereupon the client holds timewait
104 state. When this boolean socket option is on, the server sends a Close instead
/linux-4.1.27/net/tipc/
Dserver.c70 struct tipc_server *server; member
93 struct sockaddr_tipc *saddr = con->server->saddr; in tipc_conn_kref_release()
143 if (!queue_work(con->server->rcv_wq, &con->rwork)) in sock_data_ready()
157 if (!queue_work(con->server->send_wq, &con->swork)) in sock_write_space()
189 struct tipc_server *s = con->server; in tipc_close_conn()
241 con->server = s; in tipc_alloc_conn()
249 struct tipc_server *s = con->server; in tipc_receive_from_sock()
290 struct tipc_server *s = con->server; in tipc_accept_from_sock()
300 newcon = tipc_alloc_conn(con->server); in tipc_accept_from_sock()
320 struct tipc_server *s = con->server; in tipc_create_listen_sock()
[all …]
DMakefile11 server.o socket.o
/linux-4.1.27/drivers/char/tpm/
Dtpm_acpi.c43 } server; member
74 len = buff->server.log_max_len; in read_log()
75 start = buff->server.log_start_addr; in read_log()
/linux-4.1.27/include/linux/
Dnfs_xdr.h281 const struct nfs_server *server; member
346 const struct nfs_server *server; /* Needed for ID mapping */ member
363 const struct nfs_server *server; member
410 const struct nfs_server *server; member
488 const struct nfs_server *server; member
527 const struct nfs_server *server; /* used by write */ member
547 const struct nfs_server *server; member
561 const struct nfs_server *server; member
579 const struct nfs_server *server; member
607 struct nfs_server * server; member
[all …]
Dnfs_fs.h355 extern int nfs_revalidate_inode(struct nfs_server *server, struct inode *inode);
356 extern int nfs_revalidate_inode_rcu(struct nfs_server *server, struct inode *inode);
/linux-4.1.27/drivers/usb/usbip/
Dusbip_protocol.txt4 The USB/IP protocol follows a server/client architecture. The server exports the
9 client opens a TCP/IP connection towards the server, and sends an OP_REQ_DEVLIST
11 in one or more pieces at the low level transport layer). The server sends back
16 "client" "server"
27 of them. First the client opens a TCP/IP connection towards the server and
28 sends an OP_REQ_IMPORT packet. The server replies with OP_REP_IMPORT. If the
30 to transfer the URB traffic between the client and the server. The client may
33 server may be USBIP_RET_SUBMIT and USBIP_RET_UNLINK respectively.
36 "client" "server"
263 | | | server-side host controller
/linux-4.1.27/fs/coda/
DKconfig6 enables you to mount file systems of a remote server and access them
9 disconnected operation (e.g. for laptops), read/write server
15 client and server. Servers are currently user level, i.e. they need
/linux-4.1.27/Documentation/filesystems/
D9p.txt34 For remote file server:
42 For server running on QEMU host with virtio transport:
46 where mount_tag is the tag associated by the server to each of the exported
64 uname=name user name to attempt mount as on the remote server. The
65 server may override or ignore this value. Certain user
68 aname=name aname specifies the file tree to access when the server is
101 port=n port to connect to on the remote server
142 9p client and server implementations are listed on
145 A 9p2000.L server is being developed by LLNL and can be found
Dncpfs.txt10 NetWare server functionality.
Ddnotify.txt42 actual file system is on a remote server. This implies that remote
44 Also, remote accesses to files served by a local kernel NFS server should
Dceph.txt23 separates data and metadata management into independent server
38 metadata server takes a somewhat unconventional approach to metadata
Dlocks.txt60 freeze an NFS server by asking it to read a file for which a mandatory lock
/linux-4.1.27/drivers/gpu/drm/ast/
DKconfig2 tristate "AST server chips"
16 in server chipsets.
/linux-4.1.27/tools/usb/usbip/
DREADME39 server:# (Physically attach your USB device.)
41 server:# insmod usbip-core.ko
42 server:# insmod usbip-host.ko
44 server:# usbipd -D
47 server:# usbip list -l
50 server:# usbip bind --busid 1-2
/linux-4.1.27/drivers/gpu/drm/mgag200/
DKconfig2 tristate "Kernel modesetting driver for MGA G200 server engines"
11 This is a KMS driver for the MGA G200 server chips, it
/linux-4.1.27/Documentation/fb/
Dtgafb.txt56 The XFree86 FBDev server has been reported not to work, since tgafb doesn't do
57 mmap(). Running the standard XF86_TGA server from XFree86 3.3.x works fine for
58 me, however this server does not do acceleration, which make certain operations
64 refreshed. This is an X server problem, not a tgafb problem, and is fixed in
Dframebuffer.txt53 Application software that uses the frame buffer device (e.g. the X server) will
65 After this the X server will use the second frame buffer.
99 easier and more portable. E.g. the X server works completely on /dev/fb* and
101 hardware are organized. XF68_FBDev is a general X server for bitmapped,
128 The X server (XF68_FBDev) is the most notable application program for the frame
129 buffer device. Starting with XFree86 release 3.2, the X server is part of
137 line, the X server will use the scheme discussed above, i.e. it will start
Dudlfb.txt75 xf86-video-fbdev X server. These servers have no real DisplayLink specific
107 Disable when running with X server that supports reporting
/linux-4.1.27/drivers/staging/lustre/
DTODO3 * Seperate client/server functionality. Functions only used by server can be
DREADME.txt62 Allow lock LRU to be controlled by memory pressure on the server
64 per CPU per server on this client).
83 Out of tree Lustre client and server code is available at:
/linux-4.1.27/net/irda/irnet/
Dirnet_irda.c832 irnet_connect_socket(irnet_socket * server, in irnet_connect_socket() argument
839 server, new); in irnet_connect_socket()
842 new->tsap = irttp_dup(server->tsap, new); in irnet_connect_socket()
861 irttp_listen(server->tsap); in irnet_connect_socket()
893 new->saddr, new->daddr, server->rname, 0); in irnet_connect_socket()
1340 irnet_socket * server = &irnet_server.s; in irnet_connect_indication() local
1343 DENTER(IRDA_TCB_TRACE, "(server=0x%p)\n", server); in irnet_connect_indication()
1349 new = irnet_find_socket(server); in irnet_connect_indication()
1355 irnet_disconnect_server(server, skb); in irnet_connect_indication()
1363 irnet_disconnect_server(server, skb); in irnet_connect_indication()
[all …]
/linux-4.1.27/Documentation/frv/
Dbooting.txt14 A filesystem should be constructed in a directory on an NFS server that
47 default server (as negotiated by BOOTP) and store it into RAM:
137 discovered by consulting a BOOTP or DHCP server.
146 (*) nfsroot=<server>:<dir>[,v<vers>]
149 kernel the IP address of the NFS server providing its root filesystem,
150 and the pathname on that server of the filesystem.
/linux-4.1.27/Documentation/virtual/kvm/devices/
Dxics.txt17 the interrupt server number (i.e. the vcpu number from the XICS's
45 * Destination (server number), 32 bits
47 interrupt server number specified for the destination vcpu.
/linux-4.1.27/Documentation/
Dvgaarbiter.txt12 The Resource Access Control (RAC) module inside the X server [0] existed for
16 (e.g. two server in parallel). Their address assignments conflict. Moreover,
17 ideally, being a userspace application, it is not the role of the X server to
18 control bus resources. Therefore an arbitration scheme outside of the X server
27 I.3 xf86VGAArbiter (X server implementation)
167 I.3 xf86VGAArbiter (X server implementation)
172 X server basically wraps all the functions that touch VGA registers somehow.
DSAK.txt20 once defined, SAK will kill a running X server. If the system is in
21 run level 5, the X server will restart. This is what you want to
25 the machine. CTRL-ALT-BACKSPACE is magical to the X server. We'll
Dunshare.txt78 Consider a client/server application where the server is processing
80 virtual memory and open files. Without unshare, the server has to
82 which services the request. unshare allows the server an ability to
Dhighuid.txt66 - The ioctl()s used to control the in-kernel NFS server only support
/linux-4.1.27/fs/nfs/filelayout/
Dfilelayoutdev.c63 nfs4_fl_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in nfs4_fl_alloc_deviceid_node() argument
149 nfs4_init_deviceid_node(&dsaddr->id_node, server, &pdev->dev_id); in nfs4_fl_alloc_deviceid_node()
163 da = nfs4_decode_mp_ds_addr(server->nfs_client->cl_net, in nfs4_fl_alloc_deviceid_node()
Dfilelayout.h112 nfs4_fl_alloc_deviceid_node(struct nfs_server *server,
/linux-4.1.27/drivers/dca/
DKconfig2 # DCA server configuration
/linux-4.1.27/net/dccp/
Dfeat.c1098 u8 feat, u8 *val, u8 len, const bool server) in dccp_feat_change_recv() argument
1144 if (len > 1 && server) { in dccp_feat_change_recv()
1165 if (dccp_feat_reconcile(&entry->val, val, len, server, true)) { in dccp_feat_change_recv()
1178 WARN_ON(!server); in dccp_feat_change_recv()
1180 if (!dccp_feat_reconcile(&entry->val, &defval, 1, server, true)) in dccp_feat_change_recv()
1209 u8 feat, u8 *val, u8 len, const bool server) in dccp_feat_confirm_recv() argument
1271 if (dccp_feat_reconcile(&entry->val, plist, plen, server, 0) != *val) { in dccp_feat_confirm_recv()
1399 bool server = false; in dccp_feat_parse_options() local
1406 server = true; /* fall through */ in dccp_feat_parse_options()
1412 val, len, server); in dccp_feat_parse_options()
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-bus-rpmsg48 remote processor. This make it a local rpmsg server,
66 called an rpmsg server).
74 server channel that is announced (values are either
Dsysfs-class-net-mesh48 node if gw_mode was set to 'server'.
55 either 'off', 'client' or 'server'.
/linux-4.1.27/Documentation/x86/
Dmtrr.txt28 to manipulate your MTRRs. Typically the X server should use
37 ioctl() interface is meant for C programs (i.e. the X server). The
60 server, which tells you where the linear framebuffer address is. A
65 Note that you should only use the value from the X server, as it may
67 that reported by the X server.
76 in other words the X server will manipulate /proc/mtrr using the
78 commercial X server, lobby your vendor to add support for MTRRs.
/linux-4.1.27/kernel/
DKconfig.hz29 250 Hz is a good compromise choice allowing server performance
37 300 Hz is a good compromise choice allowing server performance
DKconfig.preempt14 Select this option if you are building a kernel for a server or
/linux-4.1.27/arch/powerpc/boot/dts/
Dps3.dts50 * threads is with an ibm,ppc-interrupt-server#s entry. We'll put one
61 ibm,ppc-interrupt-server#s = <0x0 0x1>;
/linux-4.1.27/net/sunrpc/
DKconfig69 This option allows the NFS server to support an RDMA-enabled
72 To compile RPC server RDMA transport support as a module,
/linux-4.1.27/net/ax25/
DKconfig56 networking. A DAMA server (called "master") accepts incoming traffic
60 configuration. Linux cannot yet act as a DAMA server. This option
71 networking. A DAMA server (called "master") accepts incoming traffic
75 configuration. Linux cannot yet act as a DAMA server. This option
/linux-4.1.27/drivers/edac/
DKconfig145 E7205, E7500, E7501 and E7505 server chipsets.
152 E7520, E7525, E7320 server chipsets.
167 DP82785P and E7210 server chipsets.
174 DP82975x server chipsets.
181 3000 and 3010 server chipsets.
188 3200 and 3210 server chipsets.
202 X38 server chipsets.
/linux-4.1.27/Documentation/arm/sti/
Dstih407-overview.txt8 and server/connected client application for satellite, cable, terrestrial
Dstih418-overview.txt8 and server/connected client application for satellite, cable, terrestrial
/linux-4.1.27/drivers/scsi/
Discsi_boot_sysfs.c249 iscsi_boot_rd_attr(ini_isns, isns-server, ISCSI_BOOT_INI_ISNS_SERVER);
250 iscsi_boot_rd_attr(ini_slp, slp-server, ISCSI_BOOT_INI_SLP_SERVER);
251 iscsi_boot_rd_attr(ini_primary_radius, pri-radius-server,
253 iscsi_boot_rd_attr(ini_secondary_radius, sec-radius-server,
/linux-4.1.27/fs/lockd/
Dhost.c53 const int server; /* search for server|client */ member
145 host->h_server = ni->server; in nlm_alloc_host()
218 .server = 0, in nlmclnt_lookup_host()
331 .server = 1, in nlmsvc_lookup_host()
/linux-4.1.27/include/keys/
Drxrpc-type.h73 struct krb5_principal server; /* server principal name */ member
/linux-4.1.27/drivers/idle/
DKconfig22 Enable memory power savings when idle with certain Intel server
/linux-4.1.27/fs/nfs/objlayout/
Dobjio_osd.c88 objio_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in objio_alloc_deviceid_node() argument
149 nfs4_init_deviceid_node(&ode->id_node, server, &pdev->dev_id); in objio_alloc_deviceid_node()
216 struct nfs_server *server = NFS_SERVER(pnfslay->plh_inode); in objio_alloc_lseg() local
251 d = nfs4_find_get_deviceid(server, in objio_alloc_lseg()
/linux-4.1.27/net/ipx/
DKconfig21 To turn your Linux box into a fully featured NetWare file server and
39 (for example if your box is acting as a file server for different
/linux-4.1.27/net/dns_resolver/
DKconfig12 DNS Resolver is used to query DNS server for information. Examples
/linux-4.1.27/arch/powerpc/include/asm/
Dkvm_ppc.h206 extern int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server,
208 extern int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server,
439 extern int kvmppc_xics_create_icp(struct kvm_vcpu *vcpu, unsigned long server);
451 unsigned long server) in kvmppc_xics_create_icp() argument
Dopal.h67 int64_t opal_set_xive(uint32_t isn, uint16_t server, uint8_t priority);
68 int64_t opal_get_xive(uint32_t isn, __be16 *server, uint8_t *priority);
/linux-4.1.27/Documentation/arm/SA1100/
DCERF19 In order to get this kernel onto your Cerf, you need a server that runs
/linux-4.1.27/net/irda/
Diriap.c99 struct iriap_cb *server; in iriap_init() local
144 server = iriap_open(LSAP_IAS, IAS_SERVER, NULL, NULL); in iriap_init()
145 if (!server) { in iriap_init()
149 iriap_register_lsap(server, LSAP_IAS, IAS_SERVER); in iriap_init()
/linux-4.1.27/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c38 nfs4_ff_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev, in nfs4_ff_alloc_deviceid_node() argument
63 server, in nfs4_ff_alloc_deviceid_node()
79 da = nfs4_decode_mp_ds_addr(server->nfs_client->cl_net, in nfs4_ff_alloc_deviceid_node()
Dflexfilelayout.h129 nfs4_ff_alloc_deviceid_node(struct nfs_server *server, struct pnfs_device *pdev,
/linux-4.1.27/Documentation/hwmon/
Dibmaem8 * Any recent IBM System X server with AEM support.
Duserspace-tools40 If you are server administrator you can try snmpd or mrtgutils.
/linux-4.1.27/drivers/staging/sm750fb/
Dreadme37 and this driver will use fb1, fb2. In that case, you need to configure your X-server
/linux-4.1.27/arch/arm/boot/dts/
Dkirkwood-guruplug-server-plus.dts8 …compatible = "globalscale,guruplug-server-plus", "globalscale,guruplug", "marvell,kirkwood-88f6281…
/linux-4.1.27/arch/unicore32/
DKconfig.debug27 with klogd/syslogd or the X server. You should normally N here,
/linux-4.1.27/block/
DKconfig.iosched31 and server systems.
/linux-4.1.27/Documentation/development-process/
D7.AdvancedTopics49 will, of course, need a server that can be pulled from. Setting up such a
50 server with git-daemon is relatively straightforward if you have a system
86 So, once you push a set of changes to your publicly-available server, those
141 sure that you have remembered to push those changes to the public server.
/linux-4.1.27/Documentation/video4linux/bttv/
DREADME.WINVIEW24 on their server are the full data-sheets, but don't ask how I found it.
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dmarvell,kirkwood.txt33 "globalscale,guruplug-server-plus"
/linux-4.1.27/Documentation/power/
Dapm-acpi.txt3 If you have a relatively recent x86 mobile, desktop, or server system,
/linux-4.1.27/Documentation/isdn/
DREADME.hysdn93 4 -> Ergo card (server card with 2 b-chans)
94 5 -> Metro card (server card with 4 or 8 b-chans)
119 and hyserver.pof for server cards.
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dvisorchipset.h137 u32 server:1; member
/linux-4.1.27/net/openvswitch/
DKconfig17 particularly important in multi-server virtualization deployments,
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dconsole.h224 int server, int testidx, int *index_p,
/linux-4.1.27/drivers/staging/unisys/uislib/
Duislib.c127 msg->hdr.flags.server = svr; in init_msg_header()
217 if (!msg->hdr.flags.server) { in create_bus()
291 if (msg->hdr.flags.server) in destroy_bus()
407 if (msg->hdr.flags.server) { in create_device()
/linux-4.1.27/arch/powerpc/platforms/
DKconfig.cputype16 The most common ones are the desktop and server CPUs (601, 603,
64 The most common ones are the desktop and server CPUs
299 The PID register in server is used explicitly for ICSWX. In
/linux-4.1.27/net/rxrpc/
Dar-key.c191 rxrpc_free_krb5_principal(&rxk5->server); in rxrpc_rxk5_free()
457 ret = rxrpc_krb5_decode_principal(&rxk5->server, &xdr, &toklen); in rxrpc_preparse_xdr_rxk5()
1090 princ = &token->k5->server; in rxrpc_read()
1190 princ = &token->k5->server; in rxrpc_read()
Dar-output.c37 bool server) in rxrpc_sendmsg_cmsg() argument
91 if (!server) in rxrpc_sendmsg_cmsg()
/linux-4.1.27/net/ipv4/netfilter/
DKconfig246 server. This allows to avoid conntrack and server resource usage
321 router/server/switch.
/linux-4.1.27/arch/powerpc/platforms/40x/
DKconfig85 This option enables support for PlatHome OpenBlockS 600 server
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
Dcontrolvmchannel.h189 u32 server:1; /**< =1 in all bus & device-related member
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlayout.c1174 #define DEFINE_REQ_FMT(name, client, client_nr, server, server_nr) { \ argument
1183 .d = server \
1188 #define DEFINE_REQ_FMT0(name, client, server) \ argument
1189 DEFINE_REQ_FMT(name, client, ARRAY_SIZE(client), server, ARRAY_SIZE(server))

12