Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 13 of 13) sorted by relevance

/fs/ceph/
Dcaps.c135 struct ceph_cap *cap; in ceph_caps_finalize() local
139 cap = list_first_entry(&mdsc->caps_list, in ceph_caps_finalize()
141 list_del(&cap->caps_item); in ceph_caps_finalize()
142 kmem_cache_free(ceph_cap_cachep, cap); in ceph_caps_finalize()
168 struct ceph_cap *cap; in __ceph_unreserve_caps() local
178 cap = list_first_entry(&mdsc->caps_list, in __ceph_unreserve_caps()
180 list_del(&cap->caps_item); in __ceph_unreserve_caps()
181 kmem_cache_free(ceph_cap_cachep, cap); in __ceph_unreserve_caps()
204 struct ceph_cap *cap; in ceph_reserve_caps() local
229 cap = kmem_cache_alloc(ceph_cap_cachep, GFP_NOFS); in ceph_reserve_caps()
[all …]
Dmds_client.c885 struct ceph_cap *cap; in __choose_mds() local
999 cap = NULL; in __choose_mds()
1001 cap = ci->i_auth_cap; in __choose_mds()
1002 if (!cap && !RB_EMPTY_ROOT(&ci->i_caps)) in __choose_mds()
1003 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1004 if (!cap) { in __choose_mds()
1009 mds = cap->session->s_mds; in __choose_mds()
1012 cap == ci->i_auth_cap ? "auth " : "", cap); in __choose_mds()
1262 struct ceph_cap *cap; in dispose_cap_releases() local
1264 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
[all …]
Ddebugfs.c127 static int caps_show_cb(struct inode *inode, struct ceph_cap *cap, void *p) in caps_show_cb() argument
132 ceph_cap_string(cap->issued), in caps_show_cb()
133 ceph_cap_string(cap->implemented)); in caps_show_cb()
Dinode.c754 info_caps = le32_to_cpu(info->cap.caps); in fill_inode()
793 ((info->cap.flags & CEPH_CAP_FLAG_AUTH) && in fill_inode()
866 if ((info->cap.flags & CEPH_CAP_FLAG_AUTH) && in fill_inode()
876 if (new_version || (info->cap.flags & CEPH_CAP_FLAG_AUTH)) { in fill_inode()
964 le64_to_cpu(info->cap.cap_id), in fill_inode()
966 le32_to_cpu(info->cap.wanted), in fill_inode()
967 le32_to_cpu(info->cap.seq), in fill_inode()
968 le32_to_cpu(info->cap.mseq), in fill_inode()
969 le64_to_cpu(info->cap.realm), in fill_inode()
970 info->cap.flags, &new_cap); in fill_inode()
[all …]
Dsuper.h637 struct ceph_cap *cap);
1041 unsigned cap, unsigned seq, u64 realmino, int flags,
1043 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1046 struct ceph_cap *cap);
Dmds_client.h488 struct ceph_cap *cap);
/fs/cifs/
Dconnect.c4003 __u64 cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in reset_cifs_unix_caps() local
4004 cifs_dbg(FYI, "unix caps which server supports %lld\n", cap); in reset_cifs_unix_caps()
4011 cap &= ~CIFS_UNIX_POSIX_ACL_CAP; in reset_cifs_unix_caps()
4013 if (cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) in reset_cifs_unix_caps()
4015 cap &= ~CIFS_UNIX_POSIX_PATHNAMES_CAP; in reset_cifs_unix_caps()
4016 } else if ((cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) == 0) { in reset_cifs_unix_caps()
4022 if (cap & CIFS_UNIX_TRANSPORT_ENCRYPTION_MANDATORY_CAP) in reset_cifs_unix_caps()
4025 cap &= CIFS_UNIX_CAP_MASK; in reset_cifs_unix_caps()
4027 cap &= ~CIFS_UNIX_POSIX_ACL_CAP; in reset_cifs_unix_caps()
4028 else if (CIFS_UNIX_POSIX_ACL_CAP & cap) { in reset_cifs_unix_caps()
[all …]
Dsmbdirect.c1678 qp_attr.cap.max_send_wr = info->send_credit_target; in _smbd_get_connection()
1679 qp_attr.cap.max_recv_wr = info->receive_credit_max; in _smbd_get_connection()
1680 qp_attr.cap.max_send_sge = SMBDIRECT_MAX_SGE; in _smbd_get_connection()
1681 qp_attr.cap.max_recv_sge = SMBDIRECT_MAX_SGE; in _smbd_get_connection()
1682 qp_attr.cap.max_inline_data = 0; in _smbd_get_connection()
Dcifsproto.h323 __u64 cap);
Dcifssmb.c5411 CIFSSMBSetFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon, __u64 cap) in CIFSSMBSetFSUnixInfo() argument
5460 pSMB->ClientUnixCap = cpu_to_le64(cap); in CIFSSMBSetFSUnixInfo()
/fs/afs/
Dcmservice.c596 } cap; in SRXAFSCB_TellMeAboutYourself() member
611 reply.cap.capcount = htonl(1); in SRXAFSCB_TellMeAboutYourself()
612 reply.cap.caps[0] = htonl(AFS_CAP_ERROR_TRANSLATION); in SRXAFSCB_TellMeAboutYourself()
/fs/proc/
Darray.c313 a->cap[CAP_LAST_U32 - __capi], 8); in render_cap_t()
/fs/f2fs/
Df2fs.h1758 struct inode *inode, bool cap) in __allow_reserved_blocks() argument
1771 if (cap && capable(CAP_SYS_RESOURCE)) in __allow_reserved_blocks()