Home
last modified time | relevance | path

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

/linux-4.19.296/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.h1862 unsigned int wanted, int empty_root),
1863 TP_ARGS(r_start, r_end, goal, wanted, empty_root),
1868 __field(unsigned int, wanted)
1875 __entry->wanted = wanted;
1879 __entry->goal, __entry->wanted, __entry->empty_root)
Dsuballoc.c121 u32 wanted);
1480 u32 wanted) in ocfs2_block_group_reasonably_empty() argument
1482 return le16_to_cpu(bg->bg_free_bits_count) > wanted; in ocfs2_block_group_reasonably_empty()
Ddlmglue.c353 int wanted);
1370 int wanted) in ocfs2_may_continue_on_blocked_lock() argument
1374 return wanted <= ocfs2_highest_compat_lock_level(lockres->l_blocking); in ocfs2_may_continue_on_blocked_lock()
Dalloc.c1003 int wanted, in ocfs2_create_new_meta_bhs() argument
1016 while (count < wanted) { in ocfs2_create_new_meta_bhs()
1019 wanted - count, in ocfs2_create_new_meta_bhs()
1073 for(i = 0; i < wanted; i++) { in ocfs2_create_new_meta_bhs()
/linux-4.19.296/fs/ceph/
Dfile.c286 int err, flags, wanted; in ceph_renew_caps() local
289 wanted = __ceph_caps_file_wanted(ci); in ceph_renew_caps()
291 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
295 inode, ceph_cap_string(wanted), ceph_cap_string(issued)); in ceph_renew_caps()
302 if ((wanted & CEPH_CAP_FILE_RD) && (wanted & CEPH_CAP_FILE_WR)) in ceph_renew_caps()
304 else if (wanted & CEPH_CAP_FILE_RD) in ceph_renew_caps()
306 else if (wanted & CEPH_CAP_FILE_WR) in ceph_renew_caps()
309 if (wanted & CEPH_CAP_FILE_LAZYIO) in ceph_renew_caps()
345 int flags, fmode, wanted; in ceph_open() local
360 wanted = ceph_caps_for_mode(fmode); in ceph_open()
[all …]
Dcaps.c617 int fmode, unsigned issued, unsigned wanted, in ceph_add_cap() argument
635 wanted |= ceph_caps_for_mode(fmode); in ceph_add_cap()
718 if ((wanted & ~actual_wanted) || in ceph_add_cap()
721 ceph_cap_string(issued), ceph_cap_string(wanted), in ceph_add_cap()
730 cap->mds_wanted = wanted; in ceph_add_cap()
743 cap->mds_wanted = wanted; in ceph_add_cap()
745 cap->mds_wanted |= wanted; in ceph_add_cap()
1124 int op, caps, wanted, dirty; member
1151 ceph_cap_string(arg->wanted), ceph_cap_string(arg->dirty), in send_cap_msg()
1177 fc->wanted = cpu_to_le32(arg->wanted); in send_cap_msg()
[all …]
Dmds_client.c1552 int used, wanted, oissued, mine; in trim_caps_cb() local
1560 wanted = __ceph_caps_file_wanted(ci); in trim_caps_cb()
1565 ceph_cap_string(used), ceph_cap_string(wanted)); in trim_caps_cb()
1570 if ((used | wanted) & CEPH_CAP_ANY_WR) in trim_caps_cb()
1580 if (wanted == 0 && used == CEPH_CAP_FILE_CACHE && in trim_caps_cb()
1585 if ((used | wanted) & ~oissued & mine) in trim_caps_cb()
3032 rec.v2.wanted = cpu_to_le32(__ceph_caps_wanted(ci)); in encode_caps_cb()
3040 rec.v1.wanted = cpu_to_le32(__ceph_caps_wanted(ci)); in encode_caps_cb()
Dsuper.h977 int fmode, unsigned issued, unsigned wanted,
Dinode.c968 le32_to_cpu(info->cap.wanted), in fill_inode()
/linux-4.19.296/include/linux/ceph/
Dceph_fs.h460 __le32 caps, wanted; /* new issued, wanted */ member
489 __le32 caps, wanted; /* caps issued, wanted */ member
689 __le32 caps, wanted, dirty; /* latest issued/wanted/dirty */ member
752 __le32 wanted; member
762 __le32 wanted; member
/linux-4.19.296/lib/
Diov_iter.c14 size_t wanted = n; \
37 n = wanted - n; \
41 size_t wanted = n; \
60 n = wanted; \
154 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local
166 wanted = bytes; in copy_page_to_iter_iovec()
228 i->count -= wanted - bytes; in copy_page_to_iter_iovec()
232 return wanted - bytes; in copy_page_to_iter_iovec()
238 size_t skip, copy, left, wanted; in copy_page_from_iter_iovec() local
250 wanted = bytes; in copy_page_from_iter_iovec()
[all …]
/linux-4.19.296/drivers/memory/
Dti-aemif.c142 static int aemif_calc_rate(struct platform_device *pdev, int wanted, in aemif_calc_rate() argument
147 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate()
150 clk, wanted); in aemif_calc_rate()
/linux-4.19.296/drivers/xen/
Dpvcalls-back.c105 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read() local
133 wanted = array_size - size; in pvcalls_conn_back_read()
140 vec[0].iov_len = wanted; in pvcalls_conn_back_read()
141 iov_iter_kvec(&msg.msg_iter, ITER_KVEC|WRITE, vec, 1, wanted); in pvcalls_conn_back_read()
146 vec[1].iov_len = wanted - vec[0].iov_len; in pvcalls_conn_back_read()
147 iov_iter_kvec(&msg.msg_iter, ITER_KVEC|WRITE, vec, 2, wanted); in pvcalls_conn_back_read()
151 ret = inet_recvmsg(map->sock, &msg, wanted, MSG_DONTWAIT); in pvcalls_conn_back_read()
152 WARN_ON(ret > wanted); in pvcalls_conn_back_read()
/linux-4.19.296/include/linux/
Dvirtio_vsock.h156 u32 virtio_transport_get_credit(struct virtio_vsock_sock *vvs, u32 wanted);
/linux-4.19.296/fs/gfs2/
Dlog.c360 unsigned wanted = blks + reserved_blks; in gfs2_log_reserve() local
371 if (unlikely(free_blocks <= wanted)) { in gfs2_log_reserve()
377 if (atomic_read(&sdp->sd_log_blks_free) <= wanted) in gfs2_log_reserve()
380 } while(free_blocks <= wanted); in gfs2_log_reserve()
/linux-4.19.296/fs/ocfs2/dlmfs/
Duserdlm.c419 int wanted) in user_may_continue_on_blocked_lock() argument
423 return wanted <= user_highest_compat_lock_level(lockres->l_blocking); in user_may_continue_on_blocked_lock()
/linux-4.19.296/fs/jbd2/
Dtransaction.c570 int wanted; in jbd2_journal_extend() local
588 wanted = atomic_add_return(nblocks, in jbd2_journal_extend()
591 if (wanted > journal->j_max_transaction_buffers) { in jbd2_journal_extend()
598 if (wanted + (wanted >> JBD2_CONTROL_BLOCKS_SHIFT) > in jbd2_journal_extend()
/linux-4.19.296/fs/nfsd/
Dnfsproc.c264 dev_t rdev = 0, wanted = new_decode_dev(attr->ia_size); in nfsd_proc_create() local
369 rdev = wanted; in nfsd_proc_create()
/linux-4.19.296/drivers/i2c/busses/
Di2c-s3c2410.c813 static int s3c24xx_i2c_calcdivisor(unsigned long clkin, unsigned int wanted, in s3c24xx_i2c_calcdivisor() argument
816 unsigned int calc_divs = clkin / wanted; in s3c24xx_i2c_calcdivisor()
/linux-4.19.296/fs/affs/
DChanges247 routines desperately wanted their own file.