Searched refs:num_used (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/vhost/ |
H A D | vringh.c | 449 unsigned int num_used, in __vringh_complete() argument 467 if (num_used > 1 && unlikely(off + num_used >= vrh->vring.num)) { in __vringh_complete() 472 num_used - part); in __vringh_complete() 474 err = putused(vrh, &used_ring->ring[off], used, num_used); in __vringh_complete() 478 num_used, off, &used_ring->ring[off]); in __vringh_complete() 485 err = putu16(vrh, &vrh->vring.used->idx, used_idx + num_used); in __vringh_complete() 492 vrh->completed += num_used; in __vringh_complete() 829 unsigned num_used) in vringh_complete_multi_user() argument 831 return __vringh_complete(vrh, used, num_used, in vringh_complete_multi_user()
|
/linux/fs/ocfs2/ |
H A D | dir.c | 1220 int num_used = le16_to_cpu(entry_list->de_num_used); in ocfs2_dx_list_remove_entry() local 1222 if (num_used == 1 || index == (num_used - 1)) in ocfs2_dx_list_remove_entry() 1227 (num_used - index - 1)*sizeof(struct ocfs2_dx_entry)); in ocfs2_dx_list_remove_entry() 1229 num_used--; in ocfs2_dx_list_remove_entry() 1230 memset(&entry_list->de_entries[num_used], 0, in ocfs2_dx_list_remove_entry() 1232 entry_list->de_num_used = cpu_to_le16(num_used); in ocfs2_dx_list_remove_entry() 3544 int i, num_used = le16_to_cpu(dl_list->de_num_used); in ocfs2_dx_dir_find_leaf_split() local 3609 for (i = (num_used / 2); i < num_used; i++) in ocfs2_dx_dir_find_leaf_split() 3614 BUG_ON(i == num_used); /* Should be impossible */ in ocfs2_dx_dir_find_leaf_split() 3635 int i, j, num_used; in ocfs2_dx_dir_transfer_leaf() local [all …]
|
H A D | localalloc.c | 274 u32 num_used; in ocfs2_load_local_alloc() local 326 num_used = ocfs2_local_alloc_count_bits(alloc); in ocfs2_load_local_alloc() 330 if (num_used in ocfs2_load_local_alloc() 337 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
|
H A D | ocfs2_trace.h | 2123 int namelen, const char *name, unsigned int num_used), 2124 TP_ARGS(dir, major_hash, minor_hash, namelen, name, num_used), 2131 __field(unsigned int, num_used) 2139 __entry->num_used = num_used; 2143 __entry->namelen, __get_str(name), __entry->num_used)
|
H A D | refcounttree.c | 1408 int num_used = le16_to_cpu(rl->rl_used); in ocfs2_find_refcount_split_pos() local 1409 int delta, middle = num_used / 2; in ocfs2_find_refcount_split_pos() 1421 if ((middle + delta + 1) == num_used) in ocfs2_find_refcount_split_pos()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | ce.c | 648 int num_used; in ath12k_ce_send() local 661 num_used = write_index - sw_index; in ath12k_ce_send() 663 num_used = pipe->src_ring->nentries - sw_index + in ath12k_ce_send() 668 if (num_used > ATH12K_CE_USAGE_THRESHOLD) in ath12k_ce_send()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | ce.c | 721 int num_used; in ath11k_ce_send() local 734 num_used = write_index - sw_index; in ath11k_ce_send() 736 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send() 741 if (num_used > ATH11K_CE_USAGE_THRESHOLD) in ath11k_ce_send()
|
/linux/drivers/media/dvb-frontends/ |
H A D | stv090x_priv.h | 230 int num_used; member
|
H A D | stv090x.c | 4149 state->internal->num_used--; in stv090x_release() 4150 if (state->internal->num_used <= 0) { in stv090x_release() 4906 state->internal->num_used++; in stv090x_setup_compound() 4917 state->internal->num_used = 1; in stv090x_setup_compound()
|
/linux/include/linux/ |
H A D | vringh.h | 176 unsigned num_used);
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_tx_dqo.c | 444 u32 num_used = (tx->dqo_tx.tail - tx->dqo_tx.head) & tx->mask; in num_avail_tx_slots() local 446 return tx->mask - num_used; in num_avail_tx_slots()
|