Home
last modified time | relevance | path

Searched refs:caps (Results 1 – 22 of 22) 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.c80 const char *ceph_cap_string(int caps) in ceph_cap_string() argument
94 if (caps & CEPH_CAP_PIN) in ceph_cap_string()
97 c = (caps >> CEPH_CAP_SAUTH) & 3; in ceph_cap_string()
103 c = (caps >> CEPH_CAP_SLINK) & 3; in ceph_cap_string()
109 c = (caps >> CEPH_CAP_SXATTR) & 3; in ceph_cap_string()
115 c = caps >> CEPH_CAP_SFILE; in ceph_cap_string()
1209 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()
1406 arg->caps = cap->implemented; in __prep_cap()
[all …]
DMakefile9 export.o caps.o snap.o xattr.o quota.o io.o \
Dsuper.h185 int caps; member
800 int caps; member
806 .caps = _caps, \
1154 extern void ceph_take_cap_refs(struct ceph_inode_info *ci, int caps,
1156 extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps);
Ddebugfs.c351 DEFINE_SHOW_ATTRIBUTE(caps);
Dinode.c800 info_caps = le32_to_cpu(info->cap.caps); in ceph_fill_inode()
1405 (le32_to_cpu(rinfo->diri.in->cap.caps) & in ceph_fill_trace()
Dfile.c608 in.cap.caps = in.cap.wanted = cpu_to_le32(CEPH_CAP_ALL_FILE); in ceph_finish_async_create()
/fs/nfs/
Dnfs3client.c35 server->caps |= NFS_CAP_ACLS; in nfs_init_server_aclclient()
39 server->caps &= ~NFS_CAP_ACLS; in nfs_init_server_aclclient()
45 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.c138 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate()
161 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate()
369 dst_server->caps &= ~NFS_CAP_COPY; in _nfs42_proc_copy()
548 if (!(dst_server->caps & NFS_CAP_OFFLOAD_CANCEL)) in nfs42_do_offload_cancel_async()
569 dst_server->caps &= ~NFS_CAP_OFFLOAD_CANCEL; in nfs42_do_offload_cancel_async()
607 src_server->caps &= ~NFS_CAP_COPY_NOTIFY; in _nfs42_proc_copy_notify()
624 if (!(src_server->caps & NFS_CAP_COPY_NOTIFY)) in nfs42_proc_copy_notify()
688 server->caps &= ~NFS_CAP_SEEK; in _nfs42_proc_llseek()
805 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTSTATS; in nfs42_layoutstat_done()
973 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTERROR; in nfs42_layouterror_done()
[all …]
Dclient.c701 server->caps |= NFS_CAP_HARDLINKS | NFS_CAP_SYMLINKS; in nfs_init_server()
824 server->caps |= NFS_CAP_XATTR; in nfs_server_set_fsinfo()
864 (server->caps & NFS_CAP_FS_LOCATIONS)) { in nfs_probe_fsinfo()
886 target->caps = source->caps; in nfs_server_copy_userdata()
1027 server->caps |= NFS_CAP_READDIRPLUS; in nfs_create_server()
Dnfs3acl.c113 server->caps &= ~NFS_CAP_ACLS; in nfs3_get_acl()
234 server->caps &= ~NFS_CAP_ACLS; in __nfs3_proc_setacls()
Dnfs4client.c1090 server->caps |= server->nfs_client->cl_mvops->init_caps; in nfs4_server_common_setup()
1092 server->caps &= ~NFS_CAP_READDIRPLUS; in nfs4_server_common_setup()
1094 server->caps &= ~NFS_CAP_READ_PLUS; in nfs4_server_common_setup()
1101 server->caps |= NFS_CAP_UIDGID_NOMAP; in nfs4_server_common_setup()
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()
Dsuper.c656 seq_printf(m, "caps=0x%x", nfss->caps); in nfs_show_stats()
1071 if (server->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs_fill_super()
1273 if (server->caps & NFS_CAP_SECURITY_LABEL) in nfs_get_tree_common()
Dnfs4proc.c575 if (server->caps & NFS_CAP_UIDGID_NOMAP) { in nfs4_do_handle_exception()
576 server->caps &= ~NFS_CAP_UIDGID_NOMAP; in nfs4_do_handle_exception()
1174 if (server->caps & NFS_CAP_MOVEABLE) in nfs4_call_sync_sequence()
1280 if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1)) in nfs4_clear_cap_atomic_open_v1()
1282 server->caps &= ~NFS_CAP_ATOMIC_OPEN_V1; in nfs4_clear_cap_atomic_open_v1()
1315 if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1)) in nfs4_map_atomic_open_share()
1328 if (server->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs4_map_atomic_open_claim()
1419 if (server->caps & NFS_CAP_XATTR) in nfs4_opendata_alloc()
2716 server->caps &= ~NFS_CAP_POSIX_LOCK; in _nfs4_proc_open()
3074 if (server->caps & NFS_CAP_POSIX_LOCK) in _nfs4_open_and_get_state()
[all …]
Ddir.c539 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler()
1395 if (server->caps & NFS_CAP_ATOMIC_OPEN) in nfs_lookup_verify_inode()
Dinode.c387 if (!(server->caps & NFS_CAP_SECURITY_LABEL)) in nfs4_label_alloc()
Dpnfs.c2356 srv->caps &= ~NFS_CAP_LGOPEN; in pnfs_parse_lgopen()
/fs/cifs/
Dioctl.c324 __u64 caps; in cifs_ioctl() local
334 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl()
336 if (CIFS_UNIX_EXTATTR_CAP & caps) { in cifs_ioctl()
/fs/afs/
Dcmservice.c554 __be32 caps[1]; in SRXAFSCB_TellMeAboutYourself() member
571 reply.cap.caps[0] = htonl(AFS_CAP_ERROR_TRANSLATION); in SRXAFSCB_TellMeAboutYourself()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c2477 server->caps |= NFS_CAP_LAYOUTSTATS; in ff_layout_set_layoutdriver()