Home
last modified time | relevance | path

Searched refs:num_used (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/vhost/
H A Dvringh.c449 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 Ddir.c1220 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 Dlocalalloc.c274 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 Docfs2_trace.h2123 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 Drefcounttree.c1408 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 Dce.c648 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 Dce.c721 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 Dstv090x_priv.h230 int num_used; member
H A Dstv090x.c4149 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 Dvringh.h176 unsigned num_used);
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c444 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()