Home
last modified time | relevance | path

Searched refs:n_entries (Results 1 – 6 of 6) 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.c352 int *n_entries) in skl_get_buf_trans_dp() argument
358 *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() argument
379 *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 …]
Di915_debugfs.c3367 int n_entries; in i915_pipe_crc_read() local
3399 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()
/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/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()