Home
last modified time | relevance | path

Searched refs:CEPH_CAP_FILE_WR (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/fs/ceph/
H A Dutil.c93 CEPH_CAP_FILE_WR | CEPH_CAP_FILE_BUFFER | in ceph_caps_for_mode()
H A Dsnap.c552 if (used & CEPH_CAP_FILE_WR) in ceph_queue_cap_snap()
553 dirty |= CEPH_CAP_FILE_WR; in ceph_queue_cap_snap()
565 !(dirty & (CEPH_CAP_ANY_EXCL|CEPH_CAP_FILE_WR))) { in ceph_queue_cap_snap()
582 if (dirty & (CEPH_CAP_ANY_EXCL|CEPH_CAP_FILE_WR)) in ceph_queue_cap_snap()
585 if (!(used & CEPH_CAP_FILE_WR) && in ceph_queue_cap_snap()
626 if (used & CEPH_CAP_FILE_WR) { in ceph_queue_cap_snap()
H A Dfile.c324 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
328 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
1314 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_aio_complete()
1322 ceph_put_cap_refs(ci, (aio_req->write ? CEPH_CAP_FILE_WR : in ceph_aio_complete()
1675 ceph_get_cap_refs(ci, write ? CEPH_CAP_FILE_WR : in ceph_direct_read_write()
2415 err = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, pos + count, &got); in ceph_write_iter()
2477 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_write_iter()
2708 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate()
2723 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_fallocate()
2752 ret = ceph_get_caps(dst_filp, CEPH_CAP_FILE_WR, CEPH_CAP_FILE_BUFFER, in get_rd_wr_caps()
[all …]
H A Dinode.c839 CEPH_CAP_FILE_WR| in ceph_fill_file_time()
2535 (issued & (CEPH_CAP_ANY_EXCL | CEPH_CAP_FILE_WR))) { in __ceph_setattr()
2647 } else if (!do_sync && (issued & CEPH_CAP_FILE_WR) && in __ceph_setattr()
2651 dirtied |= CEPH_CAP_FILE_WR; in __ceph_setattr()
2658 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
2672 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
2695 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
2724 } else if (!do_sync && (issued & CEPH_CAP_FILE_WR) && in __ceph_setattr()
2727 dirtied |= CEPH_CAP_FILE_WR; in __ceph_setattr()
2734 CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR; in __ceph_setattr()
H A Dcaps.c993 used |= CEPH_CAP_FILE_WR; in __ceph_caps_used()
1987 if (ci->i_flushing_caps & CEPH_CAP_FILE_WR) in __ceph_should_report_size()
2179 (cap->issued & CEPH_CAP_FILE_WR)) { in ceph_check_caps()
2777 if (got & CEPH_CAP_FILE_WR) { in ceph_take_cap_refs()
2851 if (have & need & CEPH_CAP_FILE_WR) { in try_get_cap_refs()
2889 (need & CEPH_CAP_FILE_WR)) { in try_get_cap_refs()
2918 (need & (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_EXCL))) { in try_get_cap_refs()
2989 (ci->i_auth_cap->issued & CEPH_CAP_FILE_WR) && in check_max_size()
3003 if (caps & CEPH_CAP_FILE_WR) in get_used_fmode()
3262 if (had & CEPH_CAP_FILE_WR) { in __ceph_put_cap_refs()
H A Daddr.c2071 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_WR, want, off + len, &got); in ceph_page_mkwrite()
2117 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, in ceph_page_mkwrite()
2295 dirty = __ceph_mark_dirty_caps(ci, CEPH_CAP_FILE_WR, &prealloc_cf); in ceph_uninline_data()
2547 if ((need & CEPH_CAP_FILE_WR) && !(flags & CEPH_I_POOL_WR)) { in ceph_pool_perm_check()
/linux-6.15/include/linux/ceph/
H A Dceph_fs.h677 #define CEPH_CAP_FILE_WR (CEPH_CAP_GWR << CEPH_CAP_SFILE) macro
720 #define CEPH_CAP_ANY_FILE_WR (CEPH_CAP_FILE_WR | CEPH_CAP_FILE_BUFFER | \