Home
last modified time | relevance | path

Searched refs:wanted (Results 1 – 15 of 15) sorted by relevance

/fs/ocfs2/
Dreservations.c415 unsigned int wanted, in ocfs2_resmap_find_free_bits() argument
426 wanted, resmap->m_bitmap_len); in ocfs2_resmap_find_free_bits()
452 if (found >= wanted) in ocfs2_resmap_find_free_bits()
459 if (best_len >= wanted) in ocfs2_resmap_find_free_bits()
460 best_len = wanted; in ocfs2_resmap_find_free_bits()
472 unsigned int goal, unsigned int wanted) in __ocfs2_resv_find_window() argument
490 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()
499 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
552 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
558 if (best_len == wanted) in __ocfs2_resv_find_window()
[all …]
Docfs2_trace.h1867 unsigned int wanted, int empty_root),
1868 TP_ARGS(r_start, r_end, goal, wanted, empty_root),
1873 __field(unsigned int, wanted)
1880 __entry->wanted = wanted;
1884 __entry->goal, __entry->wanted, __entry->empty_root)
Dsuballoc.c123 u32 wanted);
1457 u32 wanted) in ocfs2_block_group_reasonably_empty() argument
1459 return le16_to_cpu(bg->bg_free_bits_count) > wanted; in ocfs2_block_group_reasonably_empty()
Ddlmglue.c345 int wanted);
1339 int wanted) in ocfs2_may_continue_on_blocked_lock() argument
1343 return wanted <= ocfs2_highest_compat_lock_level(lockres->l_blocking); in ocfs2_may_continue_on_blocked_lock()
Dalloc.c997 int wanted, in ocfs2_create_new_meta_bhs() argument
1010 while (count < wanted) { in ocfs2_create_new_meta_bhs()
1013 wanted - count, in ocfs2_create_new_meta_bhs()
1067 for(i = 0; i < wanted; i++) { in ocfs2_create_new_meta_bhs()
/fs/ceph/
Dcaps.c513 int fmode, unsigned issued, unsigned wanted, in ceph_add_cap() argument
531 wanted |= ceph_caps_for_mode(fmode); in ceph_add_cap()
600 if ((wanted & ~actual_wanted) || in ceph_add_cap()
603 ceph_cap_string(issued), ceph_cap_string(wanted), in ceph_add_cap()
612 cap->mds_wanted = wanted; in ceph_add_cap()
625 cap->mds_wanted = wanted; in ceph_add_cap()
627 cap->mds_wanted |= wanted; in ceph_add_cap()
997 int caps, int wanted, int dirty, in send_cap_msg() argument
1015 cid, ino, ceph_cap_string(caps), ceph_cap_string(wanted), in send_cap_msg()
1041 fc->wanted = cpu_to_le32(wanted); in send_cap_msg()
[all …]
Dfile.c208 int flags, fmode, wanted; in ceph_open() local
223 wanted = ceph_caps_for_mode(fmode); in ceph_open()
249 inode, fmode, ceph_cap_string(wanted), in ceph_open()
255 if ((issued & wanted) != wanted && in ceph_open()
256 (mds_wanted & wanted) != wanted && in ceph_open()
262 (ci->i_snap_caps & wanted) == wanted) { in ceph_open()
270 dout("open fmode %d wants %s\n", fmode, ceph_cap_string(wanted)); in ceph_open()
Dmds_client.c1449 int used, wanted, oissued, mine; in trim_caps_cb() local
1457 wanted = __ceph_caps_file_wanted(ci); in trim_caps_cb()
1462 ceph_cap_string(used), ceph_cap_string(wanted)); in trim_caps_cb()
1467 if ((used | wanted) & CEPH_CAP_ANY_WR) in trim_caps_cb()
1472 if (wanted == 0 && used == CEPH_CAP_FILE_CACHE && in trim_caps_cb()
1477 if ((used | wanted) & ~oissued & mine) in trim_caps_cb()
2881 rec.v2.wanted = cpu_to_le32(__ceph_caps_wanted(ci)); in encode_caps_cb()
2889 rec.v1.wanted = cpu_to_le32(__ceph_caps_wanted(ci)); in encode_caps_cb()
Dsuper.h873 int fmode, unsigned issued, unsigned wanted,
Dinode.c857 le32_to_cpu(info->cap.wanted), in fill_inode()
/fs/gfs2/
Dlog.c344 unsigned wanted = blks + reserved_blks; in gfs2_log_reserve() local
354 if (unlikely(free_blocks <= wanted)) { in gfs2_log_reserve()
360 if (atomic_read(&sdp->sd_log_blks_free) <= wanted) in gfs2_log_reserve()
363 } while(free_blocks <= wanted); in gfs2_log_reserve()
/fs/ocfs2/dlmfs/
Duserdlm.c418 int wanted) in user_may_continue_on_blocked_lock() argument
422 return wanted <= user_highest_compat_lock_level(lockres->l_blocking); in user_may_continue_on_blocked_lock()
/fs/jbd2/
Dtransaction.c565 int wanted; in jbd2_journal_extend() local
583 wanted = atomic_add_return(nblocks, in jbd2_journal_extend()
586 if (wanted > journal->j_max_transaction_buffers) { in jbd2_journal_extend()
593 if (wanted + (wanted >> JBD2_CONTROL_BLOCKS_SHIFT) > in jbd2_journal_extend()
/fs/nfsd/
Dnfsproc.c242 dev_t rdev = 0, wanted = new_decode_dev(attr->ia_size); in nfsd_proc_create() local
350 rdev = wanted; in nfsd_proc_create()
/fs/affs/
DChanges247 routines desperately wanted their own file.