Home
last modified time | relevance | path

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

/fs/ceph/
Dutil.c86 int caps = CEPH_CAP_PIN; in ceph_caps_for_mode() local
89 caps |= CEPH_CAP_FILE_SHARED | in ceph_caps_for_mode()
92 caps |= CEPH_CAP_FILE_EXCL | in ceph_caps_for_mode()
97 caps |= CEPH_CAP_FILE_LAZYIO; in ceph_caps_for_mode()
99 return caps; in ceph_caps_for_mode()
Dcaps.c82 const char *ceph_cap_string(int caps) in ceph_cap_string() argument
96 if (caps & CEPH_CAP_PIN) in ceph_cap_string()
99 c = (caps >> CEPH_CAP_SAUTH) & 3; in ceph_cap_string()
105 c = (caps >> CEPH_CAP_SLINK) & 3; in ceph_cap_string()
111 c = (caps >> CEPH_CAP_SXATTR) & 3; in ceph_cap_string()
117 c = caps >> CEPH_CAP_SFILE; in ceph_cap_string()
1213 int op, caps, wanted, dirty; member
1235 ceph_cap_string(arg->caps), ceph_cap_string(arg->wanted), in encode_cap_msg()
1252 fc->caps = cpu_to_le32(arg->caps); in encode_cap_msg()
1434 arg->caps = cap->implemented; in __prep_cap()
[all …]
Dsuper.h208 int caps; member
472 int caps; member
858 int caps; member
864 .caps = _caps, \
1246 extern void ceph_take_cap_refs(struct ceph_inode_info *ci, int caps,
1248 extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps);
DMakefile9 export.o caps.o snap.o xattr.o quota.o io.o \
Ddebugfs.c367 DEFINE_SHOW_ATTRIBUTE(caps);
Daddr.c483 priv->caps = got; in ceph_init_request()
500 if (priv->caps) in ceph_netfs_free_request()
501 ceph_put_cap_refs(ceph_inode(rreq->inode), priv->caps); in ceph_netfs_free_request()
Dinode.c964 info_caps = le32_to_cpu(info->cap.caps); in ceph_fill_inode()
1650 (le32_to_cpu(rinfo->diri.in->cap.caps) & in ceph_fill_trace()
Dfile.c650 in.cap.caps = in.cap.wanted = cpu_to_le32(CEPH_CAP_ALL_FILE); in ceph_finish_async_create()
2204 rw_ctx.caps = got; in ceph_splice_read()
/fs/nfs/
Dnfs3client.c39 server->caps |= NFS_CAP_ACLS; in nfs_init_server_aclclient()
43 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
49 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
Dgetroot.c127 if (server->caps & NFS_CAP_SECURITY_LABEL) in nfs_get_root()
147 if (server->caps & NFS_CAP_SECURITY_LABEL && in nfs_get_root()
149 server->caps &= ~NFS_CAP_SECURITY_LABEL; in nfs_get_root()
Dnfs42proc.c147 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate()
170 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate()
378 dst_server->caps &= ~NFS_CAP_COPY; in _nfs42_proc_copy()
559 if (!(dst_server->caps & NFS_CAP_OFFLOAD_CANCEL)) in nfs42_do_offload_cancel_async()
580 dst_server->caps &= ~NFS_CAP_OFFLOAD_CANCEL; in nfs42_do_offload_cancel_async()
619 src_server->caps &= ~NFS_CAP_COPY_NOTIFY; in _nfs42_proc_copy_notify()
636 if (!(src_server->caps & NFS_CAP_COPY_NOTIFY)) in nfs42_proc_copy_notify()
701 server->caps &= ~NFS_CAP_SEEK; in _nfs42_proc_llseek()
818 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTSTATS; in nfs42_layoutstat_done()
986 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTERROR; in nfs42_layouterror_done()
[all …]
Dnfs3acl.c112 server->caps &= ~NFS_CAP_ACLS; in nfs3_get_acl()
233 server->caps &= ~NFS_CAP_ACLS; in __nfs3_proc_setacls()
Dclient.c712 server->caps |= NFS_CAP_HARDLINKS | NFS_CAP_SYMLINKS; in nfs_init_server()
836 server->caps |= NFS_CAP_XATTR; in nfs_server_set_fsinfo()
876 (server->caps & NFS_CAP_FS_LOCATIONS && in nfs_probe_fsinfo()
922 target->caps = source->caps; in nfs_server_copy_userdata()
1077 server->caps |= NFS_CAP_READDIRPLUS; in nfs_create_server()
Dnfs4client.c1085 server->caps |= server->nfs_client->cl_mvops->init_caps; in nfs4_server_set_init_caps()
1087 server->caps &= ~NFS_CAP_READDIRPLUS; in nfs4_server_set_init_caps()
1089 server->caps &= ~NFS_CAP_READ_PLUS; in nfs4_server_set_init_caps()
1097 server->caps |= NFS_CAP_UIDGID_NOMAP; in nfs4_server_set_init_caps()
Dnfs4idmap.c786 if (!(server->caps & NFS_CAP_UIDGID_NOMAP)) in nfs_map_uid_to_name()
800 if (!(server->caps & NFS_CAP_UIDGID_NOMAP)) in nfs_map_gid_to_group()
Dnfs4proc.c573 if (server->caps & NFS_CAP_UIDGID_NOMAP) { in nfs4_do_handle_exception()
574 server->caps &= ~NFS_CAP_UIDGID_NOMAP; in nfs4_do_handle_exception()
1172 if (server->caps & NFS_CAP_MOVEABLE) in nfs4_call_sync_sequence()
1278 if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1)) in nfs4_clear_cap_atomic_open_v1()
1280 server->caps &= ~NFS_CAP_ATOMIC_OPEN_V1; in nfs4_clear_cap_atomic_open_v1()
1313 if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1)) in nfs4_map_atomic_open_share()
1326 if (server->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs4_map_atomic_open_claim()
2701 server->caps &= ~NFS_CAP_POSIX_LOCK; in _nfs4_proc_open()
3062 if (server->caps & NFS_CAP_POSIX_LOCK) in _nfs4_open_and_get_state()
3878 server->caps &= ~(NFS_CAP_ACLS | NFS_CAP_HARDLINKS | in _nfs4_server_capabilities()
[all …]
Dsuper.c670 seq_printf(m, "caps=0x%x", nfss->caps); in nfs_show_stats()
1078 if (server->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs_fill_super()
Dinternal.h408 if (!(server->caps & NFS_CAP_XATTR)) in nfs_access_xattr_mask()
Ddir.c609 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler()
1557 if (server->caps & NFS_CAP_ATOMIC_OPEN) in nfs_lookup_verify_inode()
Dinode.c376 if (!(server->caps & NFS_CAP_SECURITY_LABEL)) in nfs4_label_alloc()
Dpnfs.c2367 srv->caps &= ~NFS_CAP_LGOPEN; in pnfs_parse_lgopen()
/fs/smb/client/
Dioctl.c345 __u64 caps; in cifs_ioctl() local
364 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl()
365 if (CIFS_UNIX_EXTATTR_CAP & caps) { in cifs_ioctl()
/fs/afs/
Dcmservice.c556 __be32 caps[1]; in SRXAFSCB_TellMeAboutYourself() member
573 reply.cap.caps[0] = htonl(AFS_CAP_ERROR_TRANSLATION); in SRXAFSCB_TellMeAboutYourself()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c2559 server->caps |= NFS_CAP_LAYOUTSTATS; in ff_layout_set_layoutdriver()