Searched refs:CEPH_CAP_FILE_WR (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/fs/ceph/ |
D | util.c | 93 CEPH_CAP_FILE_WR | CEPH_CAP_FILE_BUFFER | in ceph_caps_for_mode()
|
D | snap.c | 543 if (used & CEPH_CAP_FILE_WR) in ceph_queue_cap_snap() 544 dirty |= CEPH_CAP_FILE_WR; in ceph_queue_cap_snap() 556 !(dirty & (CEPH_CAP_ANY_EXCL|CEPH_CAP_FILE_WR))) { in ceph_queue_cap_snap() 573 if (dirty & (CEPH_CAP_ANY_EXCL|CEPH_CAP_FILE_WR)) in ceph_queue_cap_snap() 576 if (!(used & CEPH_CAP_FILE_WR) && in ceph_queue_cap_snap() 617 if (used & CEPH_CAP_FILE_WR) { in ceph_queue_cap_snap()
|
D | file.c | 318 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps() 322 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps() 1218 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_aio_complete() 1226 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete() 1572 ceph_get_cap_refs(ci, write ? CEPH_CAP_FILE_WR : in ceph_direct_read_write() 2306 err = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, pos + count, &got); in ceph_write_iter() 2368 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_write_iter() 2598 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate() 2613 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_fallocate() 2642 ret = ceph_get_caps(dst_filp, CEPH_CAP_FILE_WR, CEPH_CAP_FILE_BUFFER, in get_rd_wr_caps() [all …]
|
D | inode.c | 822 CEPH_CAP_FILE_WR| in ceph_fill_file_time() 2459 (issued & (CEPH_CAP_ANY_EXCL | CEPH_CAP_FILE_WR))) { in __ceph_setattr() 2561 } else if ((issued & CEPH_CAP_FILE_WR) && in __ceph_setattr() 2565 dirtied |= CEPH_CAP_FILE_WR; in __ceph_setattr() 2572 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2585 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2608 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr() 2634 } else if ((issued & CEPH_CAP_FILE_WR) && in __ceph_setattr() 2638 dirtied |= CEPH_CAP_FILE_WR; in __ceph_setattr() 2645 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
|
D | caps.c | 979 used |= CEPH_CAP_FILE_WR; in __ceph_caps_used() 1949 if (ci->i_flushing_caps & CEPH_CAP_FILE_WR) in __ceph_should_report_size() 2108 (cap->issued & CEPH_CAP_FILE_WR)) { in ceph_check_caps() 2710 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs() 2781 if (have & need & CEPH_CAP_FILE_WR) { in try_get_cap_refs() 2818 (need & CEPH_CAP_FILE_WR)) { in try_get_cap_refs() 2847 (need & (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_EXCL))) { in try_get_cap_refs() 2914 (ci->i_auth_cap->issued & CEPH_CAP_FILE_WR) && in check_max_size() 2928 if (caps & CEPH_CAP_FILE_WR) in get_used_fmode() 3179 if (had & CEPH_CAP_FILE_WR) { in __ceph_put_cap_refs()
|
D | addr.c | 1713 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_WR, want, off + len, &got); in ceph_page_mkwrite() 1759 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_page_mkwrite() 1935 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, &prealloc_cf); in ceph_uninline_data() 2186 if ((need & CEPH_CAP_FILE_WR) && !(flags & CEPH_I_POOL_WR)) { in ceph_pool_perm_check()
|
/linux-6.6.21/include/linux/ceph/ |
D | ceph_fs.h | 683 #define CEPH_CAP_FILE_WR (CEPH_CAP_GWR << CEPH_CAP_SFILE) macro 726 #define CEPH_CAP_ANY_FILE_WR (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_BUFFER | \
|