Searched refs:n_entries (Results 1 – 6 of 6) 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 …]
352 int *n_entries) in skl_get_buf_trans_dp() argument358 *n_entries = ARRAY_SIZE(skl_y_ddi_translations_dp); in skl_get_buf_trans_dp()361 *n_entries = ARRAY_SIZE(skl_u_ddi_translations_dp); in skl_get_buf_trans_dp()364 *n_entries = ARRAY_SIZE(skl_ddi_translations_dp); in skl_get_buf_trans_dp()371 int *n_entries) in skl_get_buf_trans_edp() argument379 *n_entries = ARRAY_SIZE(skl_y_ddi_translations_edp); in skl_get_buf_trans_edp()382 *n_entries = ARRAY_SIZE(skl_y_ddi_translations_dp); in skl_get_buf_trans_edp()387 *n_entries = ARRAY_SIZE(skl_u_ddi_translations_edp); in skl_get_buf_trans_edp()390 *n_entries = ARRAY_SIZE(skl_u_ddi_translations_dp); in skl_get_buf_trans_edp()395 *n_entries = ARRAY_SIZE(skl_ddi_translations_edp); in skl_get_buf_trans_edp()[all …]
3367 int n_entries; in i915_pipe_crc_read() local3399 n_entries = count / PIPE_CRC_LINE_LEN; in i915_pipe_crc_read()3402 while (n_entries > 0) { in i915_pipe_crc_read()3427 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
1594 int n_entries, in htc_proc_cred_rpt() argument1603 for (i = 0; i < n_entries; i++, rpt++) { in htc_proc_cred_rpt()