Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/vhost/
Dvringh.c415 unsigned int num_used, in __vringh_complete() argument
433 if (num_used > 1 && unlikely(off + num_used >= vrh->vring.num)) { in __vringh_complete()
438 num_used - part); in __vringh_complete()
440 err = putused(vrh, &used_ring->ring[off], used, num_used); in __vringh_complete()
444 num_used, off, &used_ring->ring[off]); in __vringh_complete()
451 err = putu16(vrh, &vrh->vring.used->idx, used_idx + num_used); in __vringh_complete()
458 vrh->completed += num_used; in __vringh_complete()
792 unsigned num_used) in vringh_complete_multi_user() argument
794 return __vringh_complete(vrh, used, num_used, in vringh_complete_multi_user()
/kernel/linux/linux-5.10/fs/ocfs2/
Ddir.c1216 int num_used = le16_to_cpu(entry_list->de_num_used); in ocfs2_dx_list_remove_entry() local
1218 if (num_used == 1 || index == (num_used - 1)) in ocfs2_dx_list_remove_entry()
1223 (num_used - index - 1)*sizeof(struct ocfs2_dx_entry)); in ocfs2_dx_list_remove_entry()
1225 num_used--; in ocfs2_dx_list_remove_entry()
1226 memset(&entry_list->de_entries[num_used], 0, in ocfs2_dx_list_remove_entry()
1228 entry_list->de_num_used = cpu_to_le16(num_used); in ocfs2_dx_list_remove_entry()
3545 int i, num_used = le16_to_cpu(dl_list->de_num_used); in ocfs2_dx_dir_find_leaf_split() local
3610 for (i = (num_used / 2); i < num_used; i++) in ocfs2_dx_dir_find_leaf_split()
3615 BUG_ON(i == num_used); /* Should be impossible */ in ocfs2_dx_dir_find_leaf_split()
3636 int i, j, num_used; in ocfs2_dx_dir_transfer_leaf() local
[all …]
Dlocalalloc.c275 u32 num_used; in ocfs2_load_local_alloc() local
327 num_used = ocfs2_local_alloc_count_bits(alloc); in ocfs2_load_local_alloc()
331 if (num_used in ocfs2_load_local_alloc()
338 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
Docfs2_trace.h2124 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)
Drefcounttree.c1416 int num_used = le16_to_cpu(rl->rl_used); in ocfs2_find_refcount_split_pos() local
1417 int delta, middle = num_used / 2; in ocfs2_find_refcount_split_pos()
1429 if ((middle + delta + 1) == num_used) in ocfs2_find_refcount_split_pos()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dce.c643 int num_used; in ath11k_ce_send() local
656 num_used = write_index - sw_index; in ath11k_ce_send()
658 num_used = pipe->src_ring->nentries - sw_index + in ath11k_ce_send()
663 if (num_used > ATH11K_CE_USAGE_THRESHOLD) in ath11k_ce_send()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dstv090x_priv.h230 int num_used; member
Dstv090x.c4144 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()
/kernel/linux/linux-5.10/include/linux/
Dvringh.h156 unsigned num_used);