Home
last modified time | relevance | path

Searched refs:issued (Results 1 – 10 of 10) sorted by relevance

/fs/ceph/
Dcaps.c350 if (cap->issued & (CEPH_CAP_FILE_WR | in __ceph_get_cap_mds()
474 unsigned issued) in __check_cap_issue() argument
482 if ((issued & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) && in __check_cap_issue()
492 if ((issued & CEPH_CAP_FILE_SHARED) && in __check_cap_issue()
513 int fmode, unsigned issued, unsigned wanted, in ceph_add_cap() argument
524 session->s_mds, cap_id, ceph_cap_string(issued), seq); in ceph_add_cap()
538 cap->issued = 0; in ceph_add_cap()
568 issued |= cap->issued; in ceph_add_cap()
592 __check_cap_issue(ci, cap, issued); in ceph_add_cap()
601 (issued & ~actual_wanted & CEPH_CAP_ANY_WR)) { in ceph_add_cap()
[all …]
Dinode.c542 int ceph_fill_file_size(struct inode *inode, int issued, in ceph_fill_file_size() argument
560 WARN_ON_ONCE(issued & (CEPH_CAP_FILE_EXCL | in ceph_fill_file_size()
570 if ((issued & (CEPH_CAP_FILE_CACHE| in ceph_fill_file_size()
592 void ceph_fill_file_time(struct inode *inode, int issued, in ceph_fill_file_time() argument
599 if (issued & (CEPH_CAP_FILE_EXCL| in ceph_fill_file_time()
637 } else if (issued & CEPH_CAP_FILE_EXCL) { in ceph_fill_file_time()
672 int issued = 0, implemented, new_issued; in fill_inode() local
720 issued = __ceph_caps_issued(ci, &implemented); in fill_inode()
721 issued |= implemented | __ceph_caps_dirty(ci); in fill_inode()
722 new_issued = ~issued & le32_to_cpu(info->cap.caps); in fill_inode()
[all …]
Dsuper.h129 int issued; /* latest, from the mds */ member
161 int issued, dirty; member
565 int issued; in ceph_caps_issued() local
567 issued = __ceph_caps_issued(ci, NULL); in ceph_caps_issued()
569 return issued; in ceph_caps_issued()
769 extern int ceph_fill_file_size(struct inode *inode, int issued,
771 extern void ceph_fill_file_time(struct inode *inode, int issued,
873 int fmode, unsigned issued, unsigned wanted,
Dcache.c340 int issued; in ceph_revalidate_work() local
347 issued = __ceph_caps_issued(ci, NULL); in ceph_revalidate_work()
351 if (!(issued & CEPH_CAP_FILE_CACHE)) { in ceph_revalidate_work()
Dxattr.c920 int issued; in __ceph_setxattr() local
964 issued = __ceph_caps_issued(ci, NULL); in __ceph_setxattr()
965 if (ci->i_xattrs.version == 0 || !(issued & CEPH_CAP_XATTR_EXCL)) in __ceph_setxattr()
978 dout("setxattr %p issued %s\n", inode, ceph_cap_string(issued)); in __ceph_setxattr()
1081 int issued; in __ceph_removexattr() local
1105 issued = __ceph_caps_issued(ci, NULL); in __ceph_removexattr()
1106 if (ci->i_xattrs.version == 0 || !(issued & CEPH_CAP_XATTR_EXCL)) in __ceph_removexattr()
1119 dout("removexattr %p issued %s\n", inode, ceph_cap_string(issued)); in __ceph_removexattr()
Dfile.c246 int issued = __ceph_caps_issued(ci, NULL); in ceph_open() local
250 ceph_cap_string(issued)); in ceph_open()
255 if ((issued & wanted) != wanted && in ceph_open()
Dmds_client.c1455 mine = cap->issued | cap->implemented; in trim_caps_cb()
2853 ceph_cap_string(cap->issued)); in encode_caps_cb()
2882 rec.v2.issued = cpu_to_le32(cap->issued); in encode_caps_cb()
2890 rec.v1.issued = cpu_to_le32(cap->issued); in encode_caps_cb()
Daddr.c614 unsigned issued = ceph_caps_issued(ci); in writepages_finish() local
660 if ((issued & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)) == 0) in writepages_finish()
Dsnap.c530 capsnap->issued = __ceph_caps_issued(ci, NULL); in ceph_queue_cap_snap()
/fs/f2fs/
Dsegment.c1256 int i, iter = 0, issued = 0; in __issue_discard_cmd() local
1279 issued++; in __issue_discard_cmd()
1292 if (!issued && io_interrupted) in __issue_discard_cmd()
1293 issued = -1; in __issue_discard_cmd()
1295 return issued; in __issue_discard_cmd()
1462 int issued; in issue_discard_thread() local
1489 issued = __issue_discard_cmd(sbi, &dpolicy); in issue_discard_thread()
1490 if (issued) { in issue_discard_thread()
2426 int issued; in __issue_discard_cmd_range() local
2429 issued = 0; in __issue_discard_cmd_range()
[all …]