Home
last modified time | relevance | path

Searched refs:n_entries (Results 1 – 7 of 7) sorted by relevance

/drivers/md/
Ddm-stats.c45 size_t n_entries; member
219 for (ni = 0; ni < s->n_entries; ni++) { in dm_stats_cleanup()
248 sector_t n_entries; in dm_stats_create() local
261 n_entries = end - start; in dm_stats_create()
262 if (dm_sector_div64(n_entries, step)) in dm_stats_create()
263 n_entries++; in dm_stats_create()
265 if (n_entries != (size_t)n_entries || !(size_t)(n_entries + 1)) in dm_stats_create()
268 shared_alloc_size = sizeof(struct dm_stat) + (size_t)n_entries * sizeof(struct dm_stat_shared); in dm_stats_create()
269 if ((shared_alloc_size - sizeof(struct dm_stat)) / sizeof(struct dm_stat_shared) != n_entries) in dm_stats_create()
272 percpu_alloc_size = (size_t)n_entries * sizeof(struct dm_stat_percpu); in dm_stats_create()
[all …]
/drivers/gpu/drm/i915/
Dintel_ddi.c323 bdw_get_buf_trans_edp(struct drm_i915_private *dev_priv, int *n_entries) in bdw_get_buf_trans_edp() argument
326 *n_entries = ARRAY_SIZE(bdw_ddi_translations_edp); in bdw_get_buf_trans_edp()
329 *n_entries = ARRAY_SIZE(bdw_ddi_translations_dp); in bdw_get_buf_trans_edp()
335 skl_get_buf_trans_dp(struct drm_i915_private *dev_priv, int *n_entries) in skl_get_buf_trans_dp() argument
338 *n_entries = ARRAY_SIZE(skl_y_ddi_translations_dp); in skl_get_buf_trans_dp()
341 *n_entries = ARRAY_SIZE(skl_u_ddi_translations_dp); in skl_get_buf_trans_dp()
344 *n_entries = ARRAY_SIZE(skl_ddi_translations_dp); in skl_get_buf_trans_dp()
350 skl_get_buf_trans_edp(struct drm_i915_private *dev_priv, int *n_entries) in skl_get_buf_trans_edp() argument
354 *n_entries = ARRAY_SIZE(skl_y_ddi_translations_edp); in skl_get_buf_trans_edp()
357 *n_entries = ARRAY_SIZE(skl_u_ddi_translations_edp); in skl_get_buf_trans_edp()
[all …]
Di915_debugfs.c3485 int n_entries; in i915_pipe_crc_read() local
3517 n_entries = count / PIPE_CRC_LINE_LEN; in i915_pipe_crc_read()
3520 while (n_entries > 0) { in i915_pipe_crc_read()
3543 n_entries--; in i915_pipe_crc_read()
/drivers/misc/sgi-xp/
Dxpc_uv.c960 head->n_entries = 0; in xpc_init_fifo_uv()
976 head->n_entries--; in xpc_get_fifo_entry_uv()
977 BUG_ON(head->n_entries < 0); in xpc_get_fifo_entry_uv()
998 head->n_entries++; in xpc_put_fifo_entry_uv()
1005 return head->n_entries; in xpc_n_of_fifo_entries_uv()
Dxpc.h340 int n_entries; member
/drivers/infiniband/hw/qedr/
Dmain.c235 u16 n_entries; in qedr_alloc_resources() local
263 n_entries = min_t(u32, QED_RDMA_MAX_CNQ_SIZE, QEDR_ROCE_MAX_CNQ_SIZE); in qedr_alloc_resources()
276 n_entries, in qedr_alloc_resources()
/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c1594 int n_entries, in htc_proc_cred_rpt() argument
1603 for (i = 0; i < n_entries; i++, rpt++) { in htc_proc_cred_rpt()