Home
last modified time | relevance | path

Searched refs:cluster_index (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/clk/mvebu/
H A Dap-cpu-clk.c231 int ret, nclusters = 0, cluster_index = 0; in ap_cpu_clock_probe() local
299 cluster_index >>= APN806_CLUSTER_NUM_OFFSET; in ap_cpu_clock_probe()
302 if (ap_cpu_data->hws[cluster_index]) in ap_cpu_clock_probe()
305 parent = of_clk_get(np, cluster_index); in ap_cpu_clock_probe()
312 clk_name[12] += cluster_index; in ap_cpu_clock_probe()
313 ap_cpu_clk[cluster_index].clk_name = in ap_cpu_clock_probe()
315 ap_cpu_clk[cluster_index].cluster = cluster_index; in ap_cpu_clock_probe()
317 ap_cpu_clk[cluster_index].hw.init = &init; in ap_cpu_clock_probe()
318 ap_cpu_clk[cluster_index].dev = dev; in ap_cpu_clock_probe()
331 ap_cpu_data->hws[cluster_index] = &ap_cpu_clk[cluster_index].hw; in ap_cpu_clock_probe()
[all …]
/openbmc/linux/fs/xfs/scrub/
H A Dialloc.c373 unsigned int cluster_index; in xchk_iallocbt_check_cluster() local
385 for (cluster_index = 0; in xchk_iallocbt_check_cluster()
386 cluster_index < nr_inodes; in xchk_iallocbt_check_cluster()
387 cluster_index += XFS_INODES_PER_HOLEMASK_BIT) in xchk_iallocbt_check_cluster()
388 cluster_mask |= XFS_INOBT_MASK((cluster_base + cluster_index) / in xchk_iallocbt_check_cluster()
439 for (cluster_index = 0; cluster_index < nr_inodes; cluster_index++) { in xchk_iallocbt_check_cluster()
449 cluster_base + cluster_index, dip); in xchk_iallocbt_check_cluster()
/openbmc/qemu/block/
H A Dqcow2-refcount.c281 block_index = cluster_index & (s->refcount_block_size - 1); in qcow2_get_refcount()
306 alloc_refcount_block(BlockDriverState *bs, int64_t cluster_index, in alloc_refcount_block() argument
486 uint64_t blocks_used = DIV_ROUND_UP(MAX(cluster_index + 1, in alloc_refcount_block()
884 s->free_cluster_index = cluster_index; in update_refcount()
944 int64_t cluster_index, in qcow2_update_cluster_refcount() argument
1035 uint64_t cluster_index, refcount; in qcow2_alloc_clusters_at() local
1046 cluster_index = offset >> s->cluster_bits; in qcow2_alloc_clusters_at()
1313 uint64_t cluster_index; in qcow2_update_snapshot_refcount() local
1357 assert(cluster_index); in qcow2_update_snapshot_refcount()
3612 if (cluster_index < s->free_cluster_index) { in qcow2_discard_refcount_block()
[all …]
H A Dparallels.c185 uint32_t cluster_index = host_cluster_index(s, off); in mark_used() local
187 if (cluster_index + count > bitmap_size) { in mark_used()
190 next_used = find_next_bit(bitmap, bitmap_size, cluster_index); in mark_used()
191 if (next_used < cluster_index + count) { in mark_used()
194 bitmap_set(bitmap, cluster_index, count); in mark_used()
H A Dqcow2.h855 int GRAPH_RDLOCK qcow2_get_refcount(BlockDriverState *bs, int64_t cluster_index,
859 qcow2_update_cluster_refcount(BlockDriverState *bs, int64_t cluster_index,
/openbmc/qemu/hw/cpu/
H A Dcluster.c44 cpu->cluster_index = cbdata->cluster->cluster_id; in add_cpu_to_cluster()
/openbmc/qemu/accel/tcg/
H A Dtcg-accel-ops.c61 cflags = cpu->cluster_index << CF_CLUSTER_SHIFT; in tcg_cpu_init_cflags()
/openbmc/linux/drivers/interconnect/
H A Dcore.c103 int cluster_index = 0; in icc_graph_show() local
110 cluster_index = 0; in icc_graph_show()
112 seq_printf(s, "\tsubgraph cluster_%d {\n", ++cluster_index); in icc_graph_show()
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_main.c806 int cluster_index = file->index - HPRE_CLUSTER_CTRL; in hpre_cluster_inqry_read() local
808 cluster_index * HPRE_CLSTR_ADDR_INTRVL; in hpre_cluster_inqry_read()
816 int cluster_index = file->index - HPRE_CLUSTER_CTRL; in hpre_cluster_inqry_write() local
817 unsigned long offset = HPRE_CLSTR_BASE + cluster_index * in hpre_cluster_inqry_write()
/openbmc/qemu/hw/core/
H A Dcpu-common.c242 cpu->cluster_index = UNASSIGNED_CLUSTER_INDEX; in cpu_common_initfn()
/openbmc/qemu/include/hw/core/
H A Dcpu.h543 int cluster_index; member
/openbmc/qemu/gdbstub/
H A Dgdbstub.c207 if (cpu->cluster_index == UNASSIGNED_CLUSTER_INDEX) { in gdb_get_cpu_pid()
212 return cpu->cluster_index + 1; in gdb_get_cpu_pid()
/openbmc/linux/fs/f2fs/
H A Dfile.c606 int cluster_index = 0, valid_blocks = 0; in f2fs_truncate_data_blocks_range() local
613 for (; count > 0; count--, addr++, dn->ofs_in_node++, cluster_index++) { in f2fs_truncate_data_blocks_range()
617 !(cluster_index & (cluster_size - 1))) { in f2fs_truncate_data_blocks_range()