Searched refs:num_used (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/vhost/ |
D | vringh.c | 439 unsigned int num_used, in __vringh_complete() argument 457 if (num_used > 1 && unlikely(off + num_used >= vrh->vring.num)) { in __vringh_complete() 462 num_used - part); in __vringh_complete() 464 err = putused(vrh, &used_ring->ring[off], used, num_used); in __vringh_complete() 468 num_used, off, &used_ring->ring[off]); in __vringh_complete() 475 err = putu16(vrh, &vrh->vring.used->idx, used_idx + num_used); in __vringh_complete() 482 vrh->completed += num_used; in __vringh_complete() 819 unsigned num_used) in vringh_complete_multi_user() argument 821 return __vringh_complete(vrh, used, num_used, in vringh_complete_multi_user()
|
/linux-6.1.9/fs/ocfs2/ |
D | dir.c | 1214 int num_used = le16_to_cpu(entry_list->de_num_used); in ocfs2_dx_list_remove_entry() local 1216 if (num_used == 1 || index == (num_used - 1)) in ocfs2_dx_list_remove_entry() 1221 (num_used - index - 1)*sizeof(struct ocfs2_dx_entry)); in ocfs2_dx_list_remove_entry() 1223 num_used--; in ocfs2_dx_list_remove_entry() 1224 memset(&entry_list->de_entries[num_used], 0, in ocfs2_dx_list_remove_entry() 1226 entry_list->de_num_used = cpu_to_le16(num_used); in ocfs2_dx_list_remove_entry() 3543 int i, num_used = le16_to_cpu(dl_list->de_num_used); in ocfs2_dx_dir_find_leaf_split() local 3608 for (i = (num_used / 2); i < num_used; i++) in ocfs2_dx_dir_find_leaf_split() 3613 BUG_ON(i == num_used); /* Should be impossible */ in ocfs2_dx_dir_find_leaf_split() 3634 int i, j, num_used; in ocfs2_dx_dir_transfer_leaf() local [all …]
|
D | localalloc.c | 273 u32 num_used; in ocfs2_load_local_alloc() local 325 num_used = ocfs2_local_alloc_count_bits(alloc); in ocfs2_load_local_alloc() 329 if (num_used in ocfs2_load_local_alloc() 336 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
|
D | ocfs2_trace.h | 2124 int namelen, const char *name, unsigned int num_used), 2125 TP_ARGS(dir, major_hash, minor_hash, namelen, name, num_used), 2132 __field(unsigned int, num_used) 2140 __entry->num_used = num_used; 2144 __entry->namelen, __get_str(name), __entry->num_used)
|
D | refcounttree.c | 1414 int num_used = le16_to_cpu(rl->rl_used); in ocfs2_find_refcount_split_pos() local 1415 int delta, middle = num_used / 2; in ocfs2_find_refcount_split_pos() 1427 if ((middle + delta + 1) == num_used) in ocfs2_find_refcount_split_pos()
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
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-6.1.9/drivers/media/dvb-frontends/ |
D | stv090x_priv.h | 230 int num_used; member
|
D | stv090x.c | 4144 state->internal->num_used--; in stv090x_release() 4145 if (state->internal->num_used <= 0) { in stv090x_release() 4901 state->internal->num_used++; in stv090x_setup_compound() 4912 state->internal->num_used = 1; in stv090x_setup_compound()
|
/linux-6.1.9/include/linux/ |
D | vringh.h | 160 unsigned num_used);
|
/linux-6.1.9/drivers/net/ethernet/google/gve/ |
D | gve_tx_dqo.c | 264 u32 num_used = (tx->dqo_tx.tail - tx->dqo_tx.head) & tx->mask; in num_avail_tx_slots() local 266 return tx->mask - num_used; in num_avail_tx_slots()
|