/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() 1210 int op, caps, wanted, dirty; member 1236 ceph_cap_string(arg->caps), ceph_cap_string(arg->wanted), in encode_cap_msg() 1253 fc->caps = cpu_to_le32(arg->caps); in encode_cap_msg() 1407 arg->caps = cap->implemented; in __prep_cap() [all …]
|
D | super.h | 203 int caps; member 455 int caps; member 839 int caps; member 845 .caps = _caps, \ 1210 extern void ceph_take_cap_refs(struct ceph_inode_info *ci, int caps, 1212 extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps);
|
D | Makefile | 9 export.o caps.o snap.o xattr.o quota.o io.o \
|
D | debugfs.c | 367 DEFINE_SHOW_ATTRIBUTE(caps);
|
D | addr.c | 435 priv->caps = got; in ceph_init_request() 452 if (priv->caps) in ceph_netfs_free_request() 453 ceph_put_cap_refs(ceph_inode(rreq->inode), priv->caps); in ceph_netfs_free_request()
|
D | inode.c | 804 info_caps = le32_to_cpu(info->cap.caps); in ceph_fill_inode() 1411 (le32_to_cpu(rinfo->diri.in->cap.caps) & in ceph_fill_trace()
|
D | file.c | 644 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 | 127 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()
|
D | nfs42proc.c | 147 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() 558 if (!(dst_server->caps & NFS_CAP_OFFLOAD_CANCEL)) in nfs42_do_offload_cancel_async() 579 dst_server->caps &= ~NFS_CAP_OFFLOAD_CANCEL; in nfs42_do_offload_cancel_async() 618 src_server->caps &= ~NFS_CAP_COPY_NOTIFY; in _nfs42_proc_copy_notify() 635 if (!(src_server->caps & NFS_CAP_COPY_NOTIFY)) in nfs42_proc_copy_notify() 700 server->caps &= ~NFS_CAP_SEEK; in _nfs42_proc_llseek() 817 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTSTATS; in nfs42_layoutstat_done() 985 NFS_SERVER(inode)->caps &= ~NFS_CAP_LAYOUTERROR; in nfs42_layouterror_done() [all …]
|
D | client.c | 697 server->caps |= NFS_CAP_HARDLINKS | NFS_CAP_SYMLINKS; in nfs_init_server() 821 server->caps |= NFS_CAP_XATTR; in nfs_server_set_fsinfo() 861 (server->caps & NFS_CAP_FS_LOCATIONS && in nfs_probe_fsinfo() 907 target->caps = source->caps; in nfs_server_copy_userdata() 1048 server->caps |= NFS_CAP_READDIRPLUS; in nfs_create_server()
|
D | nfs3acl.c | 113 server->caps &= ~NFS_CAP_ACLS; in nfs3_get_acl() 234 server->caps &= ~NFS_CAP_ACLS; in __nfs3_proc_setacls()
|
D | nfs4client.c | 1073 server->caps |= server->nfs_client->cl_mvops->init_caps; in nfs4_server_set_init_caps() 1075 server->caps &= ~NFS_CAP_READDIRPLUS; in nfs4_server_set_init_caps() 1077 server->caps &= ~NFS_CAP_READ_PLUS; in nfs4_server_set_init_caps() 1085 server->caps |= NFS_CAP_UIDGID_NOMAP; in nfs4_server_set_init_caps()
|
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 | 656 seq_printf(m, "caps=0x%x", nfss->caps); in nfs_show_stats() 1075 if (server->caps & NFS_CAP_ATOMIC_OPEN_V1) in nfs_fill_super() 1277 if (server->caps & NFS_CAP_SECURITY_LABEL) in nfs_get_tree_common()
|
D | nfs4proc.c | 573 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() 2706 server->caps &= ~NFS_CAP_POSIX_LOCK; in _nfs4_proc_open() 3067 if (server->caps & NFS_CAP_POSIX_LOCK) in _nfs4_open_and_get_state() 3884 server->caps &= ~(NFS_CAP_ACLS | NFS_CAP_HARDLINKS | in _nfs4_server_capabilities() [all …]
|
D | internal.h | 404 if (!(server->caps & NFS_CAP_XATTR)) in nfs_access_xattr_mask()
|
D | dir.c | 612 NFS_SERVER(inode)->caps &= ~NFS_CAP_READDIRPLUS; in nfs_readdir_xdr_filler() 1547 if (server->caps & NFS_CAP_ATOMIC_OPEN) in nfs_lookup_verify_inode()
|
D | inode.c | 375 if (!(server->caps & NFS_CAP_SECURITY_LABEL)) in nfs4_label_alloc()
|
D | pnfs.c | 2359 srv->caps &= ~NFS_CAP_LGOPEN; in pnfs_parse_lgopen()
|
/fs/btrfs/ |
D | zoned.c | 1286 u64 *caps = NULL; in btrfs_load_block_group_zone_info() local 1325 caps = kcalloc(map->num_stripes, sizeof(*caps), GFP_NOFS); in btrfs_load_block_group_zone_info() 1326 if (!caps) { in btrfs_load_block_group_zone_info() 1412 caps[i] = (zone.capacity << SECTOR_SHIFT); in btrfs_load_block_group_zone_info() 1427 alloc_offsets[i] = caps[i]; in btrfs_load_block_group_zone_info() 1467 cache->zone_capacity = caps[0]; in btrfs_load_block_group_zone_info() 1508 cache->zone_capacity = min(caps[0], caps[1]); in btrfs_load_block_group_zone_info() 1562 kfree(caps); in btrfs_load_block_group_zone_info()
|
/fs/smb/client/ |
D | ioctl.c | 338 __u64 caps; in cifs_ioctl() local 348 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl() 351 if (CIFS_UNIX_EXTATTR_CAP & caps) { in cifs_ioctl()
|
/fs/afs/ |
D | cmservice.c | 554 __be32 caps[1]; in SRXAFSCB_TellMeAboutYourself() member 571 reply.cap.caps[0] = htonl(AFS_CAP_ERROR_TRANSLATION); in SRXAFSCB_TellMeAboutYourself()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 2559 server->caps |= NFS_CAP_LAYOUTSTATS; in ff_layout_set_layoutdriver()
|