/fs/ceph/ |
D | util.c | 86 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()
|
D | caps.c | 80 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() 1221 int op, caps, wanted, dirty; member 1247 ceph_cap_string(arg->caps), ceph_cap_string(arg->wanted), in encode_cap_msg() 1264 fc->caps = cpu_to_le32(arg->caps); in encode_cap_msg() 1418 arg->caps = cap->implemented; in __prep_cap() [all …]
|
D | Makefile | 9 export.o caps.o snap.o xattr.o quota.o io.o \
|
D | super.h | 184 int caps; member 799 int caps; member 805 .caps = _caps, \ 1125 extern void ceph_take_cap_refs(struct ceph_inode_info *ci, int caps, 1127 extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps);
|
D | debugfs.c | 309 DEFINE_SHOW_ATTRIBUTE(caps);
|
D | inode.c | 767 info_caps = le32_to_cpu(info->cap.caps); in ceph_fill_inode() 1378 (le32_to_cpu(rinfo->diri.in->cap.caps) & in ceph_fill_trace()
|
D | file.c | 608 in.cap.caps = in.cap.wanted = cpu_to_le32(CEPH_CAP_ALL_FILE); in ceph_finish_async_create()
|
/fs/nfs/ |
D | nfs3client.c | 35 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()
|
D | getroot.c | 130 if (NFS_SB(s)->caps & NFS_CAP_SECURITY_LABEL) in nfs_get_root() 146 if (NFS_SB(s)->caps & NFS_CAP_SECURITY_LABEL && in nfs_get_root() 148 NFS_SB(s)->caps &= ~NFS_CAP_SECURITY_LABEL; in nfs_get_root()
|
D | nfs42proc.c | 138 NFS_SERVER(inode)->caps &= ~NFS_CAP_ALLOCATE; in nfs42_proc_allocate() 161 NFS_SERVER(inode)->caps &= ~NFS_CAP_DEALLOCATE; in nfs42_proc_deallocate() 340 dst_server->caps &= ~NFS_CAP_COPY; in _nfs42_proc_copy() 529 if (!(dst_server->caps & NFS_CAP_OFFLOAD_CANCEL)) in nfs42_do_offload_cancel_async() 550 dst_server->caps &= ~NFS_CAP_OFFLOAD_CANCEL; in nfs42_do_offload_cancel_async() 588 src_server->caps &= ~NFS_CAP_COPY_NOTIFY; in _nfs42_proc_copy_notify() 605 if (!(src_server->caps & NFS_CAP_COPY_NOTIFY)) in nfs42_proc_copy_notify() 669 server->caps &= ~NFS_CAP_SEEK; in _nfs42_proc_llseek() 786 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTSTATS; in nfs42_layoutstat_done() 954 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTERROR; in nfs42_layouterror_done() [all …]
|
D | nfs3acl.c | 110 server->caps &= ~NFS_CAP_ACLS; in nfs3_get_acl() 230 server->caps &= ~NFS_CAP_ACLS; in __nfs3_proc_setacls()
|
D | inode.c | 397 if (!(server->caps & NFS_CAP_SECURITY_LABEL)) in nfs4_label_alloc() 1951 } else if (server->caps & NFS_CAP_MTIME) { in nfs_update_inode() 1960 } else if (server->caps & NFS_CAP_CTIME) { in nfs_update_inode() 1998 else if (server->caps & NFS_CAP_ATIME) { in nfs_update_inode() 2014 } else if (server->caps & NFS_CAP_MODE) { in nfs_update_inode() 2028 } else if (server->caps & NFS_CAP_OWNER) { in nfs_update_inode() 2042 } else if (server->caps & NFS_CAP_OWNER_GROUP) { in nfs_update_inode() 2056 } else if (server->caps & NFS_CAP_NLINK) { in nfs_update_inode()
|
D | client.c | 701 server->caps |= NFS_CAP_HARDLINKS|NFS_CAP_SYMLINKS|NFS_CAP_FILEID| in nfs_init_server() 814 server->caps |= NFS_CAP_XATTR; in nfs_server_set_fsinfo() 869 target->caps = source->caps; in nfs_server_copy_userdata() 1008 server->caps |= NFS_CAP_READDIRPLUS; in nfs_create_server()
|
D | nfs4client.c | 1048 server->caps |= server->nfs_client->cl_mvops->init_caps; in nfs4_server_common_setup() 1050 server->caps &= ~NFS_CAP_READDIRPLUS; in nfs4_server_common_setup() 1052 server->caps &= ~NFS_CAP_READ_PLUS; in nfs4_server_common_setup() 1059 server->caps |= NFS_CAP_UIDGID_NOMAP; in nfs4_server_common_setup()
|
D | nfs4proc.c | 578 if (server->caps & NFS_CAP_UIDGID_NOMAP) { in nfs4_do_handle_exception() 579 server->caps &= ~NFS_CAP_UIDGID_NOMAP; in nfs4_do_handle_exception() 1262 if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1)) in nfs4_clear_cap_atomic_open_v1() 1264 server->caps &= ~NFS_CAP_ATOMIC_OPEN_V1; in nfs4_clear_cap_atomic_open_v1() 1297 if (!(server->caps & NFS_CAP_ATOMIC_OPEN_V1)) in nfs4_map_atomic_open_share() 1310 if (server->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs4_map_atomic_open_claim() 1401 if (server->caps & NFS_CAP_XATTR) in nfs4_opendata_alloc() 2694 server->caps &= ~NFS_CAP_POSIX_LOCK; in _nfs4_proc_open() 3052 if (server->caps & NFS_CAP_POSIX_LOCK) in _nfs4_open_and_get_state() 3875 server->caps &= ~(NFS_CAP_ACLS|NFS_CAP_HARDLINKS| in _nfs4_server_capabilities() [all …]
|
D | nfs4idmap.c | 786 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()
|
D | super.c | 639 seq_printf(m, "caps=0x%x", nfss->caps); in nfs_show_stats() 1054 if (server->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs_fill_super() 1252 if (server->caps & NFS_CAP_SECURITY_LABEL) in nfs_get_tree_common()
|
D | dir.c | 385 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler() 1179 if (server->caps & NFS_CAP_ATOMIC_OPEN) in nfs_lookup_verify_inode()
|
D | pnfs.c | 2355 srv->caps &= ~NFS_CAP_LGOPEN; in pnfs_parse_lgopen()
|
/fs/cifs/ |
D | ioctl.c | 175 __u64 caps; in cifs_ioctl() local 185 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl() 187 if (CIFS_UNIX_EXTATTR_CAP & caps) { in cifs_ioctl() 212 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl()
|
/fs/afs/ |
D | cmservice.c | 550 __be32 caps[1]; in SRXAFSCB_TellMeAboutYourself() member 567 reply.cap.caps[0] = htonl(AFS_CAP_ERROR_TRANSLATION); in SRXAFSCB_TellMeAboutYourself()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 2482 server->caps |= NFS_CAP_LAYOUTSTATS; in ff_layout_set_layoutdriver()
|