Searched refs:n_entries (Results 1 – 7 of 7) sorted by relevance
45 size_t n_entries; member219 for (ni = 0; ni < s->n_entries; ni++) { in dm_stats_cleanup()248 sector_t n_entries; in dm_stats_create() local261 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 …]
323 bdw_get_buf_trans_edp(struct drm_i915_private *dev_priv, int *n_entries) in bdw_get_buf_trans_edp() argument326 *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() argument338 *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() argument354 *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 …]
3485 int n_entries; in i915_pipe_crc_read() local3517 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()
960 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()
340 int n_entries; member
235 u16 n_entries; in qedr_alloc_resources() local263 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()
1594 int n_entries, in htc_proc_cred_rpt() argument1603 for (i = 0; i < n_entries; i++, rpt++) { in htc_proc_cred_rpt()