Home
last modified time | relevance | path

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

/fs/ceph/
A Dcaps.c839 have &= ~cap->implemented | cap->issued; in __ceph_caps_issued()
1401 held = cap->issued | cap->implemented; in __prep_cap()
1420 cap->implemented &= cap->issued | used; in __prep_cap()
1675 if (!(cap && cap->session == session)) { in __ceph_flush_snaps()
2315 (cap->issued | cap->implemented), in try_flush_caps()
2593 if (!(cap && cap->session == session)) { in __kick_flushing_caps()
2612 (cap->issued | cap->implemented), in __kick_flushing_caps()
2662 if (!(cap && cap->session == session)) { in ceph_early_kick_flushing_caps()
3740 BUG_ON(cap->issued & ~cap->implemented); in handle_cap_grant()
4113 cap->seq, cap->mseq, in handle_cap_export()
[all …]
A Dmetric.c21 struct ceph_metric_cap *cap; in ceph_mdsc_send_metrics() local
48 len = sizeof(*head) + sizeof(*cap) + sizeof(*read) + sizeof(*write) in ceph_mdsc_send_metrics()
63 cap = (struct ceph_metric_cap *)(head + 1); in ceph_mdsc_send_metrics()
64 cap->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_CAP_INFO); in ceph_mdsc_send_metrics()
65 cap->header.ver = 1; in ceph_mdsc_send_metrics()
66 cap->header.compat = 1; in ceph_mdsc_send_metrics()
67 cap->header.data_len = cpu_to_le32(sizeof(*cap) - header_len); in ceph_mdsc_send_metrics()
68 cap->hit = cpu_to_le64(percpu_counter_sum(&m->i_caps_hit)); in ceph_mdsc_send_metrics()
69 cap->mis = cpu_to_le64(percpu_counter_sum(&m->i_caps_mis)); in ceph_mdsc_send_metrics()
70 cap->total = cpu_to_le64(nr_caps); in ceph_mdsc_send_metrics()
[all …]
A Dmds_client.c1409 cap = NULL; in __choose_mds()
1414 if (!cap) { in __choose_mds()
1422 cap == ci->i_auth_cap ? "auth " : "", cap); in __choose_mds()
1894 if (cap) { in remove_session_caps_cb()
1902 if (cap) in remove_session_caps_cb()
1990 if (cap && cap->cap_gen < atomic_read(&cap->session->s_cap_gen)) in wake_up_session_cb()
1991 cap->issued = cap->implemented = CEPH_CAP_PIN; in wake_up_session_cb()
2175 if (!cap) { in trim_caps_cb()
2179 mine = cap->issued | cap->implemented; in trim_caps_cb()
3287 if (cap) in __prepare_send_request()
[all …]
A Ddebugfs.c255 struct ceph_cap *cap; in caps_show_cb() local
258 cap = __get_cap_for_mds(ci, mds); in caps_show_cb()
259 if (cap) in caps_show_cb()
261 cap->session->s_mds, in caps_show_cb()
262 ceph_cap_string(cap->issued), in caps_show_cb()
263 ceph_cap_string(cap->implemented)); in caps_show_cb()
A Dsuper.h767 struct ceph_cap *cap);
1223 unsigned cap, unsigned seq, u64 realmino, int flags,
1225 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1226 extern void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap,
1230 struct ceph_cap *cap);
1293 int ceph_purge_inode_cap(struct inode *inode, struct ceph_cap *cap, bool *invalidate);
A Dinode.c989 info_caps = le32_to_cpu(info->cap.caps); in ceph_fill_inode()
1031 ((info->cap.flags & CEPH_CAP_FLAG_AUTH) && in ceph_fill_inode()
1131 if ((info->cap.flags & CEPH_CAP_FLAG_AUTH) && in ceph_fill_inode()
1260 le64_to_cpu(info->cap.cap_id), in ceph_fill_inode()
1262 le32_to_cpu(info->cap.wanted), in ceph_fill_inode()
1263 le32_to_cpu(info->cap.seq), in ceph_fill_inode()
1264 le32_to_cpu(info->cap.mseq), in ceph_fill_inode()
1265 le64_to_cpu(info->cap.realm), in ceph_fill_inode()
1266 info->cap.flags, &new_cap); in ceph_fill_inode()
1681 (le32_to_cpu(rinfo->diri.in->cap.caps) & in ceph_fill_trace()
[all …]
A Dmds_client.h606 struct ceph_cap *cap);
A Dfile.c695 in.cap.caps = in.cap.wanted = cpu_to_le32(CEPH_CAP_ALL_FILE); in ceph_finish_async_create()
696 in.cap.cap_id = cpu_to_le64(1); in ceph_finish_async_create()
697 in.cap.realm = cpu_to_le64(ci->i_snap_realm->ino); in ceph_finish_async_create()
698 in.cap.flags = CEPH_CAP_FLAG_AUTH; in ceph_finish_async_create()
/fs/smb/client/
A Dconnect.c3519 cap &= ~CIFS_UNIX_POSIX_ACL_CAP; in reset_cifs_unix_caps()
3523 cap &= ~CIFS_UNIX_POSIX_PATHNAMES_CAP; in reset_cifs_unix_caps()
3533 cap &= CIFS_UNIX_CAP_MASK; in reset_cifs_unix_caps()
3535 cap &= ~CIFS_UNIX_POSIX_ACL_CAP; in reset_cifs_unix_caps()
3544 cap &= ~CIFS_UNIX_POSIX_PATHNAMES_CAP; in reset_cifs_unix_caps()
3554 if (cap & CIFS_UNIX_FCNTL_CAP) in reset_cifs_unix_caps()
3556 if (cap & CIFS_UNIX_EXTATTR_CAP) in reset_cifs_unix_caps()
3560 if (cap & CIFS_UNIX_XATTR_CAP) in reset_cifs_unix_caps()
3562 if (cap & CIFS_UNIX_POSIX_ACL_CAP) in reset_cifs_unix_caps()
3564 if (cap & CIFS_UNIX_LARGE_READ_CAP) in reset_cifs_unix_caps()
[all …]
A Dsmbdirect.c1601 qp_attr.cap.max_send_wr = sp->send_credit_target; in _smbd_get_connection()
1602 qp_attr.cap.max_recv_wr = sp->recv_credit_max; in _smbd_get_connection()
1603 qp_attr.cap.max_send_sge = SMBDIRECT_SEND_IO_MAX_SGE; in _smbd_get_connection()
1604 qp_attr.cap.max_recv_sge = SMBDIRECT_RECV_IO_MAX_SGE; in _smbd_get_connection()
1605 qp_attr.cap.max_inline_data = 0; in _smbd_get_connection()
A Dcifsproto.h404 __u64 cap);
A Dcifssmb.c5011 CIFSSMBSetFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon, __u64 cap) in CIFSSMBSetFSUnixInfo() argument
5060 pSMB->ClientUnixCap = cpu_to_le64(cap); in CIFSSMBSetFSUnixInfo()
/fs/smb/server/
A Dtransport_rdma.c1690 struct ib_qp_cap *cap) in smb_direct_init_params() argument
1768 cap->max_send_wr = max_send_wrs; in smb_direct_init_params()
1769 cap->max_recv_wr = t->recv_credit_max; in smb_direct_init_params()
1770 cap->max_send_sge = max_sge_per_wr; in smb_direct_init_params()
1771 cap->max_recv_sge = SMB_DIRECT_MAX_RECV_SGES; in smb_direct_init_params()
1772 cap->max_inline_data = 0; in smb_direct_init_params()
1773 cap->max_rdma_ctxs = t->max_rw_credits; in smb_direct_init_params()
1850 struct ib_qp_cap *cap) in smb_direct_create_qpair() argument
1865 smb_direct_send_credit_target + cap->max_rdma_ctxs, in smb_direct_create_qpair()
1886 qp_attr.cap = *cap; in smb_direct_create_qpair()
/fs/afs/
A Dcmservice.c506 } cap; in SRXAFSCB_TellMeAboutYourself() member
521 reply.cap.capcount = htonl(1); in SRXAFSCB_TellMeAboutYourself()
522 reply.cap.caps[0] = htonl(AFS_CAP_ERROR_TRANSLATION); in SRXAFSCB_TellMeAboutYourself()
/fs/bcachefs/
A Dsuper-io.c1128 darray_for_each(online_devices, cap) { in bch2_write_super()
1129 struct bch_dev *ca = *cap; in bch2_write_super()
1173 darray_for_each(online_devices, cap) { in bch2_write_super()
1174 struct bch_dev *ca = *cap; in bch2_write_super()
1185 darray_for_each(online_devices, cap) { in bch2_write_super()
1186 struct bch_dev *ca = *cap; in bch2_write_super()
/fs/f2fs/
A Df2fs.h2360 struct inode *inode, bool cap) in __allow_reserved_blocks() argument
2373 if (cap && capable(CAP_SYS_RESOURCE)) in __allow_reserved_blocks()
2379 struct inode *inode, bool cap) in get_available_block_count() argument
2386 if (!__allow_reserved_blocks(sbi, inode, cap)) in get_available_block_count()

Completed in 707 milliseconds