Home
last modified time | relevance | path

Searched refs:cluster (Results 1 – 129 of 129) sorted by relevance

/linux-4.1.27/arch/arm/common/
Dmcpm_entry.c25 void mcpm_set_entry_vector(unsigned cpu, unsigned cluster, void *ptr) in mcpm_set_entry_vector() argument
28 mcpm_entry_vectors[cluster][cpu] = val; in mcpm_set_entry_vector()
29 sync_cache_w(&mcpm_entry_vectors[cluster][cpu]); in mcpm_set_entry_vector()
34 void mcpm_set_early_poke(unsigned cpu, unsigned cluster, in mcpm_set_early_poke() argument
37 unsigned long *poke = &mcpm_entry_early_pokes[cluster][cpu][0]; in mcpm_set_early_poke()
68 static inline bool mcpm_cluster_unused(unsigned int cluster) in mcpm_cluster_unused() argument
72 cnt |= mcpm_cpu_use_count[cluster][i]; in mcpm_cluster_unused()
76 int mcpm_cpu_power_up(unsigned int cpu, unsigned int cluster) in mcpm_cpu_power_up() argument
87 return platform_ops->power_up(cpu, cluster); in mcpm_cpu_power_up()
89 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in mcpm_cpu_power_up()
[all …]
DbL_switcher.c276 int cluster; in bL_switcher_thread() local
291 cluster = t->wanted_cluster; in bL_switcher_thread()
298 if (cluster != -1) { in bL_switcher_thread()
299 bL_switch_to(cluster); in bL_switcher_thread()
425 unsigned int cpu, cluster, mask; in bL_switcher_halve_cpus() local
432 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1); in bL_switcher_halve_cpus()
433 if (cluster >= 2) { in bL_switcher_halve_cpus()
439 mask |= (1 << cluster); in bL_switcher_halve_cpus()
457 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1); in bL_switcher_halve_cpus()
459 cluster_0 = cluster; in bL_switcher_halve_cpus()
[all …]
Dmcpm_head.S58 ubfx r10, r0, #8, #8 @ r10 = cluster
90 mla r8, r0, r10, r8 @ r8 = sync cluster base
98 @ At this point, the cluster cannot unexpectedly enter the GOING_DOWN
102 mla r11, r0, r10, r11 @ r11 = cluster first man lock
108 bne mcpm_setup_wait @ wait for cluster setup if so
111 cmp r0, #CLUSTER_UP @ cluster already up?
112 bne mcpm_setup @ if not, set up the cluster
122 @ Signal that the cluster is being brought up:
127 @ Any CPU trying to take the cluster into CLUSTER_GOING_DOWN from this
130 @ Wait for any previously-pending cluster teardown operations to abort
[all …]
DbL_switcher_dummy_if.c25 unsigned int cpu, cluster; in bL_switcher_write() local
43 cluster = val[2] - '0'; in bL_switcher_write()
44 ret = bL_switch_request(cpu, cluster); in bL_switcher_write()
Dvlock.S58 @ r1: CPU ID (0-based index within cluster)
/linux-4.1.27/arch/arm/mach-vexpress/
Dtc2_pm.c51 static int tc2_pm_cpu_powerup(unsigned int cpu, unsigned int cluster) in tc2_pm_cpu_powerup() argument
53 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in tc2_pm_cpu_powerup()
54 if (cluster >= TC2_CLUSTERS || cpu >= tc2_nr_cpus[cluster]) in tc2_pm_cpu_powerup()
56 ve_spc_set_resume_addr(cluster, cpu, in tc2_pm_cpu_powerup()
58 ve_spc_cpu_wakeup_irq(cluster, cpu, true); in tc2_pm_cpu_powerup()
62 static int tc2_pm_cluster_powerup(unsigned int cluster) in tc2_pm_cluster_powerup() argument
64 pr_debug("%s: cluster %u\n", __func__, cluster); in tc2_pm_cluster_powerup()
65 if (cluster >= TC2_CLUSTERS) in tc2_pm_cluster_powerup()
67 ve_spc_powerdown(cluster, false); in tc2_pm_cluster_powerup()
71 static void tc2_pm_cpu_powerdown_prepare(unsigned int cpu, unsigned int cluster) in tc2_pm_cpu_powerdown_prepare() argument
[all …]
Ddcscb.c41 static int dcscb_cpu_powerup(unsigned int cpu, unsigned int cluster) in dcscb_cpu_powerup() argument
45 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in dcscb_cpu_powerup()
46 if (cluster >= 2 || !(cpumask & dcscb_allcpus_mask[cluster])) in dcscb_cpu_powerup()
49 rst_hold = readl_relaxed(dcscb_base + RST_HOLD0 + cluster * 4); in dcscb_cpu_powerup()
51 writel_relaxed(rst_hold, dcscb_base + RST_HOLD0 + cluster * 4); in dcscb_cpu_powerup()
55 static int dcscb_cluster_powerup(unsigned int cluster) in dcscb_cluster_powerup() argument
59 pr_debug("%s: cluster %u\n", __func__, cluster); in dcscb_cluster_powerup()
60 if (cluster >= 2) in dcscb_cluster_powerup()
64 rst_hold = readl_relaxed(dcscb_base + RST_HOLD0 + cluster * 4); in dcscb_cluster_powerup()
66 rst_hold |= dcscb_allcpus_mask[cluster]; in dcscb_cluster_powerup()
[all …]
Dspc.c117 static inline bool cluster_is_a15(u32 cluster) in cluster_is_a15() argument
119 return cluster == info->a15_clusid; in cluster_is_a15()
156 void ve_spc_cpu_wakeup_irq(u32 cluster, u32 cpu, bool set) in ve_spc_cpu_wakeup_irq() argument
160 if (cluster >= MAX_CLUSTERS) in ve_spc_cpu_wakeup_irq()
165 if (!cluster_is_a15(cluster)) in ve_spc_cpu_wakeup_irq()
185 void ve_spc_set_resume_addr(u32 cluster, u32 cpu, u32 addr) in ve_spc_set_resume_addr() argument
189 if (cluster >= MAX_CLUSTERS) in ve_spc_set_resume_addr()
192 if (cluster_is_a15(cluster)) in ve_spc_set_resume_addr()
210 void ve_spc_powerdown(u32 cluster, bool enable) in ve_spc_powerdown() argument
214 if (cluster >= MAX_CLUSTERS) in ve_spc_powerdown()
[all …]
Dspc.h20 void ve_spc_cpu_wakeup_irq(u32 cluster, u32 cpu, bool set);
21 void ve_spc_set_resume_addr(u32 cluster, u32 cpu, u32 addr);
22 void ve_spc_powerdown(u32 cluster, bool enable);
23 int ve_spc_cpu_in_wfi(u32 cpu, u32 cluster);
DKconfig60 This is needed to provide CPU and cluster power management
69 between the dual cluster test-chip and the M3 microcontroller that
79 Support for CPU and cluster power management on Versatile Express
/linux-4.1.27/arch/arm/mach-hisi/
Dplatmcpm.c70 static bool hip04_cluster_is_down(unsigned int cluster) in hip04_cluster_is_down() argument
75 if (hip04_cpu_table[cluster][i]) in hip04_cluster_is_down()
80 static void hip04_set_snoop_filter(unsigned int cluster, unsigned int on) in hip04_set_snoop_filter() argument
88 data |= 1 << cluster; in hip04_set_snoop_filter()
90 data &= ~(1 << cluster); in hip04_set_snoop_filter()
97 static int hip04_mcpm_power_up(unsigned int cpu, unsigned int cluster) in hip04_mcpm_power_up() argument
104 if (cluster >= HIP04_MAX_CLUSTERS || cpu >= HIP04_MAX_CPUS_PER_CLUSTER) in hip04_mcpm_power_up()
109 if (hip04_cpu_table[cluster][cpu]) in hip04_mcpm_power_up()
112 sys_dreq = sysctrl + SC_CPU_RESET_DREQ(cluster); in hip04_mcpm_power_up()
113 sys_status = sysctrl + SC_CPU_RESET_STATUS(cluster); in hip04_mcpm_power_up()
[all …]
/linux-4.1.27/fs/ocfs2/cluster/
Dnodemanager.c62 struct o2nm_cluster *cluster = o2nm_single_cluster; in o2nm_configured_node_map() local
64 BUG_ON(bytes < (sizeof(cluster->cl_nodes_bitmap))); in o2nm_configured_node_map()
66 if (cluster == NULL) in o2nm_configured_node_map()
69 read_lock(&cluster->cl_nodes_lock); in o2nm_configured_node_map()
70 memcpy(map, cluster->cl_nodes_bitmap, sizeof(cluster->cl_nodes_bitmap)); in o2nm_configured_node_map()
71 read_unlock(&cluster->cl_nodes_lock); in o2nm_configured_node_map()
77 static struct o2nm_node *o2nm_node_ip_tree_lookup(struct o2nm_cluster *cluster, in o2nm_node_ip_tree_lookup() argument
82 struct rb_node **p = &cluster->cl_node_ip_tree.rb_node; in o2nm_node_ip_tree_lookup()
115 struct o2nm_cluster *cluster = o2nm_single_cluster; in o2nm_get_node_by_ip() local
117 if (cluster == NULL) in o2nm_get_node_by_ip()
[all …]
/linux-4.1.27/arch/arm/include/asm/
Dmcpm.h47 void mcpm_set_entry_vector(unsigned cpu, unsigned cluster, void *ptr);
54 void mcpm_set_early_poke(unsigned cpu, unsigned cluster,
87 int mcpm_cpu_power_up(unsigned int cpu, unsigned int cluster);
135 int mcpm_wait_for_cpu_powerdown(unsigned int cpu, unsigned int cluster);
227 int (*cpu_powerup)(unsigned int cpu, unsigned int cluster);
228 int (*cluster_powerup)(unsigned int cluster);
229 void (*cpu_suspend_prepare)(unsigned int cpu, unsigned int cluster);
230 void (*cpu_powerdown_prepare)(unsigned int cpu, unsigned int cluster);
231 void (*cluster_powerdown_prepare)(unsigned int cluster);
234 void (*cpu_is_up)(unsigned int cpu, unsigned int cluster);
[all …]
/linux-4.1.27/arch/arm/mach-exynos/
Dmcpm-exynos.c65 static int exynos_cpu_powerup(unsigned int cpu, unsigned int cluster) in exynos_cpu_powerup() argument
67 unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); in exynos_cpu_powerup()
69 pr_debug("%s: cpu %u cluster %u\n", __func__, cpu, cluster); in exynos_cpu_powerup()
71 cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cpu_powerup()
83 if (cluster && in exynos_cpu_powerup()
84 cluster == MPIDR_AFFINITY_LEVEL(cpu_logical_map(0), 1)) { in exynos_cpu_powerup()
102 static int exynos_cluster_powerup(unsigned int cluster) in exynos_cluster_powerup() argument
104 pr_debug("%s: cluster %u\n", __func__, cluster); in exynos_cluster_powerup()
105 if (cluster >= EXYNOS5420_NR_CLUSTERS) in exynos_cluster_powerup()
108 exynos_cluster_power_up(cluster); in exynos_cluster_powerup()
[all …]
Dplatsmp.c146 void exynos_cluster_power_down(int cluster) in exynos_cluster_power_down() argument
148 pmu_raw_writel(0, EXYNOS_COMMON_CONFIGURATION(cluster)); in exynos_cluster_power_down()
155 void exynos_cluster_power_up(int cluster) in exynos_cluster_power_up() argument
158 EXYNOS_COMMON_CONFIGURATION(cluster)); in exynos_cluster_power_up()
166 int exynos_cluster_power_state(int cluster) in exynos_cluster_power_state() argument
168 return (pmu_raw_readl(EXYNOS_COMMON_STATUS(cluster)) & in exynos_cluster_power_state()
Dcommon.h151 extern void exynos_cluster_power_down(int cluster);
152 extern void exynos_cluster_power_up(int cluster);
153 extern int exynos_cluster_power_state(int cluster);
Dsuspend.c307 unsigned int cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in exynos5420_cpu_suspend() local
313 mcpm_set_entry_vector(cpu, cluster, exynos_cpu_resume); in exynos5420_cpu_suspend()
DKconfig129 This is needed to provide CPU and cluster power management
/linux-4.1.27/arch/alpha/mm/
Dnuma.c33 for ((_cluster) = (memdesc)->cluster, (i) = 0; \
38 struct memclust_struct * cluster; in show_mem_layout() local
47 for_each_mem_cluster(memdesc, cluster, i) { in show_mem_layout()
49 i, cluster->usage, cluster->start_pfn, in show_mem_layout()
50 cluster->start_pfn + cluster->numpages); in show_mem_layout()
58 struct memclust_struct * cluster; in setup_memory_node() local
80 for_each_mem_cluster(memdesc, cluster, i) { in setup_memory_node()
84 if (cluster->usage & 3) in setup_memory_node()
87 start = cluster->start_pfn; in setup_memory_node()
88 end = start + cluster->numpages; in setup_memory_node()
[all …]
/linux-4.1.27/drivers/cpufreq/
Darm_big_little.c52 #define ACTUAL_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq << 1 : freq) argument
53 #define VIRT_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq >> 1 : freq) argument
79 static unsigned int find_cluster_maxfreq(int cluster) in find_cluster_maxfreq() argument
87 if ((cluster == per_cpu(physical_cluster, j)) && in find_cluster_maxfreq()
92 pr_debug("%s: cluster: %d, max freq: %d\n", __func__, cluster, in find_cluster_maxfreq()
285 u32 cluster = raw_cpu_to_cluster(cpu_dev->id); in _put_cluster_clk_and_freq_table() local
287 if (!freq_table[cluster]) in _put_cluster_clk_and_freq_table()
290 clk_put(clk[cluster]); in _put_cluster_clk_and_freq_table()
291 dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table[cluster]); in _put_cluster_clk_and_freq_table()
294 dev_dbg(cpu_dev, "%s: cluster: %d\n", __func__, cluster); in _put_cluster_clk_and_freq_table()
[all …]
/linux-4.1.27/drivers/s390/block/
Dscm_blk_cluster.c28 if (!scmrq->cluster.buf) in __scm_free_rq_cluster()
32 free_page((unsigned long) scmrq->cluster.buf[i]); in __scm_free_rq_cluster()
34 kfree(scmrq->cluster.buf); in __scm_free_rq_cluster()
41 scmrq->cluster.buf = kzalloc(sizeof(void *) * 2 * write_cluster_size, in __scm_alloc_rq_cluster()
43 if (!scmrq->cluster.buf) in __scm_alloc_rq_cluster()
47 scmrq->cluster.buf[i] = (void *) get_zeroed_page(GFP_DMA); in __scm_alloc_rq_cluster()
48 if (!scmrq->cluster.buf[i]) in __scm_alloc_rq_cluster()
51 INIT_LIST_HEAD(&scmrq->cluster.list); in __scm_alloc_rq_cluster()
57 scmrq->cluster.state = CLUSTER_NONE; in scm_request_cluster_init()
86 list_for_each_entry(iter, &bdev->cluster_list, cluster.list) { in scm_reserve_cluster()
[all …]
Dscm_blk.h44 } cluster; member
DKconfig87 prompt "SCM force cluster writes"
/linux-4.1.27/Documentation/arm/
Dcluster-pm-race-avoidance.txt5 cluster setup and teardown operations and to manage hardware coherency
28 cluster-level operations are only performed when it is truly safe to do
33 are not immediately enabled when a cluster powers up. Since enabling or
37 power-down and power-up at the cluster level.
47 Each cluster and CPU is assigned a state, as follows:
63 DOWN: The CPU or cluster is not coherent, and is either powered off or
66 COMING_UP: The CPU or cluster has committed to moving to the UP state.
70 UP: The CPU or cluster is active and coherent at the hardware
74 GOING_DOWN: The CPU or cluster has committed to moving to the DOWN
82 Each cluster is also assigned a state, but it is necessary to split the
[all …]
D00-INDEX29 cluster-pm-race-avoidance.txt
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-ocfs214 covers how ocfs2 uses distributed locking between cluster
18 cluster nodes can interoperate if they have an identical
34 the available plugins to support ocfs2 cluster operation.
35 A cluster plugin is required to use ocfs2 in a cluster.
38 * 'o2cb' - The classic o2cb cluster stack that ocfs2 has
40 * 'user' - A plugin supporting userspace cluster software
54 cluster plugin is currently in use by the filesystem.
62 the cluster stack in use. The contents may change
63 when all filesystems are unmounted and the cluster stack
71 of current ocfs2 cluster stack. This value is set by
[all …]
/linux-4.1.27/fs/fat/
Dcache.c224 int fat_get_cluster(struct inode *inode, int cluster, int *fclus, int *dclus) in fat_get_cluster() argument
236 if (cluster == 0) in fat_get_cluster()
239 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclus) < 0) { in fat_get_cluster()
248 while (*fclus < cluster) { in fat_get_cluster()
285 static int fat_bmap_cluster(struct inode *inode, int cluster) in fat_bmap_cluster() argument
293 ret = fat_get_cluster(inode, cluster, &fclus, &dclus); in fat_bmap_cluster()
312 int cluster, offset; in fat_bmap() local
339 cluster = sector >> (sbi->cluster_bits - sb->s_blocksize_bits); in fat_bmap()
341 cluster = fat_bmap_cluster(inode, cluster); in fat_bmap()
342 if (cluster < 0) in fat_bmap()
[all …]
Dfat.h258 int cluster = le16_to_cpu(de->start); in fat_get_start() local
260 cluster |= (le16_to_cpu(de->starthi) << 16); in fat_get_start()
261 return cluster; in fat_get_start()
264 static inline void fat_set_start(struct msdos_dir_entry *de, int cluster) in fat_set_start() argument
266 de->start = cpu_to_le16(cluster); in fat_set_start()
267 de->starthi = cpu_to_le16(cluster >> 16); in fat_set_start()
286 extern int fat_get_cluster(struct inode *inode, int cluster,
352 extern int fat_alloc_clusters(struct inode *inode, int *cluster,
354 extern int fat_free_clusters(struct inode *inode, int cluster);
Dfatent.c462 int fat_alloc_clusters(struct inode *inode, int *cluster, int nr_cluster) in fat_alloc_clusters() argument
509 cluster[idx_clus] = entry; in fat_alloc_clusters()
545 fat_free_clusters(inode, cluster[0]); in fat_alloc_clusters()
550 int fat_free_clusters(struct inode *inode, int cluster) in fat_free_clusters() argument
558 int first_cl = cluster, dirty_fsinfo = 0; in fat_free_clusters()
564 cluster = fat_ent_read(inode, &fatent, cluster); in fat_free_clusters()
565 if (cluster < 0) { in fat_free_clusters()
566 err = cluster; in fat_free_clusters()
568 } else if (cluster == FAT_ENT_FREE) { in fat_free_clusters()
581 if (cluster != fatent.entry + 1) { in fat_free_clusters()
[all …]
Ddir.c1136 int err, cluster; in fat_alloc_new_dir() local
1138 err = fat_alloc_clusters(dir, &cluster, 1); in fat_alloc_new_dir()
1142 blknr = fat_clus_to_blknr(sbi, cluster); in fat_alloc_new_dir()
1169 fat_set_start(&de[0], cluster); in fat_alloc_new_dir()
1180 return cluster; in fat_alloc_new_dir()
1183 fat_free_clusters(dir, cluster); in fat_alloc_new_dir()
1198 int err, i, n, offset, cluster[2]; in fat_add_new_entries() local
1209 err = fat_alloc_clusters(dir, cluster, *nr_cluster); in fat_add_new_entries()
1220 start_blknr = blknr = fat_clus_to_blknr(sbi, cluster[i]); in fat_add_new_entries()
1255 return cluster[0]; in fat_add_new_entries()
[all …]
Dnamei_msdos.c226 int is_dir, int is_hid, int cluster, in msdos_add_entry() argument
245 fat_set_start(&de, cluster); in msdos_add_entry()
351 int err, is_hid, cluster; in msdos_mkdir() local
368 cluster = fat_alloc_new_dir(dir, &ts); in msdos_mkdir()
369 if (cluster < 0) { in msdos_mkdir()
370 err = cluster; in msdos_mkdir()
373 err = msdos_add_entry(dir, msdos_name, 1, is_hid, cluster, &ts, &sinfo); in msdos_mkdir()
396 fat_free_clusters(dir, cluster); in msdos_mkdir()
Dnamei_vfat.c579 int len, int is_dir, int cluster, in vfat_build_slots() argument
648 fat_set_start(de, cluster); in vfat_build_slots()
656 int cluster, struct timespec *ts, in vfat_add_entry() argument
671 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, in vfat_add_entry()
865 int err, cluster; in vfat_mkdir() local
870 cluster = fat_alloc_new_dir(dir, &ts); in vfat_mkdir()
871 if (cluster < 0) { in vfat_mkdir()
872 err = cluster; in vfat_mkdir()
875 err = vfat_add_entry(dir, &dentry->d_name, 1, cluster, &ts, &sinfo); in vfat_mkdir()
899 fat_free_clusters(dir, cluster); in vfat_mkdir()
Dinode.c97 int err, cluster; in fat_add_cluster() local
99 err = fat_alloc_clusters(inode, &cluster, 1); in fat_add_cluster()
104 err = fat_chain_add(inode, cluster, 1); in fat_add_cluster()
106 fat_free_clusters(inode, cluster); in fat_add_cluster()
/linux-4.1.27/Documentation/devicetree/bindings/phy/
Dphy-mvebu.txt24 Armada 375 USB cluster
28 controller. The USB cluster control register allows to manage common
33 - compatible: "marvell,armada-375-usb-cluster"
34 - reg: Should contain usb cluster register location and length.
39 usbcluster: usb-cluster@18400 {
40 compatible = "marvell,armada-375-usb-cluster";
/linux-4.1.27/fs/gfs2/
DKconfig8 A cluster filesystem.
10 Allows a cluster of computers to simultaneously use a block device
16 machine show up immediately on all other machines in the cluster.
18 To use the GFS2 filesystem in a cluster, you will need to enable
20 be found here: http://sources.redhat.com/cluster
34 in a cluster environment.
Dlock_dlm.c1186 char cluster[GFS2_LOCKNAME_LEN]; in gdlm_mount() local
1220 memset(cluster, 0, sizeof(cluster)); in gdlm_mount()
1221 memcpy(cluster, table, strlen(table) - strlen(fsname)); in gdlm_mount()
1230 error = dlm_new_lockspace(fsname, cluster, flags, GDLM_LVB_SIZE, in gdlm_mount()
/linux-4.1.27/arch/alpha/kernel/
Dsetup.c263 for ((_cluster) = (memdesc)->cluster, (i) = 0; \
311 struct memclust_struct * cluster; in setup_memory() local
322 for_each_mem_cluster(memdesc, cluster, i) { in setup_memory()
324 i, cluster->usage, cluster->start_pfn, in setup_memory()
325 cluster->start_pfn + cluster->numpages); in setup_memory()
330 if (cluster->usage & 3) in setup_memory()
333 end = cluster->start_pfn + cluster->numpages; in setup_memory()
378 for_each_mem_cluster(memdesc, cluster, i) { in setup_memory()
379 if (cluster->usage & 3) in setup_memory()
382 start = cluster->start_pfn; in setup_memory()
[all …]
/linux-4.1.27/fs/btrfs/
Dfree-space-cache.c912 struct btrfs_free_cluster *cluster = NULL; in write_cache_extent_entries() local
919 cluster = list_entry(block_group->cluster_list.next, in write_cache_extent_entries()
924 if (!node && cluster) { in write_cache_extent_entries()
925 cluster_locked = cluster; in write_cache_extent_entries()
927 node = rb_first(&cluster->root); in write_cache_extent_entries()
928 cluster = NULL; in write_cache_extent_entries()
948 if (!node && cluster) { in write_cache_extent_entries()
949 node = rb_first(&cluster->root); in write_cache_extent_entries()
950 cluster_locked = cluster; in write_cache_extent_entries()
952 cluster = NULL; in write_cache_extent_entries()
[all …]
Dfree-space-cache.h113 struct btrfs_free_cluster *cluster,
115 void btrfs_init_free_cluster(struct btrfs_free_cluster *cluster);
117 struct btrfs_free_cluster *cluster, u64 bytes,
121 struct btrfs_free_cluster *cluster);
Drelocation.c169 struct file_extent_cluster cluster; member
3016 struct file_extent_cluster *cluster) argument
3026 BUG_ON(cluster->start != cluster->boundary[0]);
3029 ret = btrfs_check_data_free_space(inode, cluster->end +
3030 1 - cluster->start, 0);
3034 while (nr < cluster->nr) {
3035 start = cluster->boundary[nr] - offset;
3036 if (nr + 1 < cluster->nr)
3037 end = cluster->boundary[nr + 1] - 1 - offset;
3039 end = cluster->end - offset;
[all …]
Dioctl.c1261 unsigned long cluster = max_cluster; in btrfs_defrag_file() local
1364 cluster = (PAGE_CACHE_ALIGN(defrag_end) >> in btrfs_defrag_file()
1366 cluster = min(cluster, max_cluster); in btrfs_defrag_file()
1368 cluster = max_cluster; in btrfs_defrag_file()
1371 if (i + cluster > ra_index) { in btrfs_defrag_file()
1374 cluster); in btrfs_defrag_file()
1381 ret = cluster_pages_for_defrag(inode, pages, i, cluster); in btrfs_defrag_file()
Dextent-tree.c6663 struct btrfs_free_cluster *cluster, in btrfs_lock_cluster() argument
6669 spin_lock(&cluster->refill_lock); in btrfs_lock_cluster()
6671 if (used_bg == cluster->block_group) in btrfs_lock_cluster()
6678 used_bg = cluster->block_group; in btrfs_lock_cluster()
6693 spin_unlock(&cluster->refill_lock); in btrfs_lock_cluster()
9626 struct btrfs_free_cluster *cluster; in btrfs_remove_block_group() local
9659 cluster = &root->fs_info->data_alloc_cluster; in btrfs_remove_block_group()
9660 spin_lock(&cluster->refill_lock); in btrfs_remove_block_group()
9661 btrfs_return_cluster_to_free_space(block_group, cluster); in btrfs_remove_block_group()
9662 spin_unlock(&cluster->refill_lock); in btrfs_remove_block_group()
[all …]
/linux-4.1.27/Documentation/filesystems/
Dgfs2.txt4 https://fedorahosted.org/cluster/wiki/HomePage
6 GFS is a cluster file system. It allows a cluster of computers to
12 on one machine show up immediately on all other machines in the cluster.
22 Lock_dlm depends on user space cluster management systems found
33 and write a cluster.conf as per the documentation. For F17 and above
Docfs2.txt3 OCFS2 is a general purpose extent based shared disk cluster file
46 intr (*) Allow signals to interrupt cluster operations.
47 nointr Do not allow signals to interrupt cluster
80 localflocks This disables cluster aware flock.
96 coherency=full (*) Disallow concurrent O_DIRECT writes, cluster inode
98 therefore full cluster coherency is guaranteed even
Dgfs2-uevents.txt36 nodes in the cluster to mount the filesystem.
51 cluster. For this reason the ONLINE uevent was used when adding a new
78 able to join the cluster.
Dceph.txt21 In contrast to cluster filesystems like GFS, OCFS2, and GPFS that rely
31 (with some minimal coordination from a cluster monitor), making the
47 from a small cluster of just a few nodes to many hundreds, without
Ddlmfs.txt42 dlmfs requires that the OCFS2 cluster infrastructure be in
44 cluster.
Dgfs2-glocks.txt70 prevent a situation where locks are being bounced around the cluster
117 In general we prefer to lock local locks prior to cluster locks.
188 cluster has its share. That will be very useful when setting
Dvfat.txt246 unsigned char start[2]; // starting cluster number
281 unsigned char start[2]; // starting cluster number
297 2) The starting cluster is always set to 0, an impossible
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dtopology.txt12 - cluster
66 - one or more cluster nodes
72 - cluster node
78 The nodes describing the CPU topology (cluster/core/thread) can only
89 cluster/core/thread) (where N = {0, 1, ...} is the node number; nodes which
97 3 - cluster/core/thread node bindings
100 Bindings for cluster/cpu/thread nodes are defined as follows:
102 - cluster node
105 per cluster. A system can contain several layers of
106 clustering and cluster nodes can be contained in parent
[all …]
Didle-states.txt510 CLUSTER_RETENTION_0: cluster-retention-0 {
529 CLUSTER_SLEEP_0: cluster-sleep-0 {
547 CLUSTER_RETENTION_1: cluster-retention-1 {
567 CLUSTER_SLEEP_1: cluster-sleep-1 {
652 CLUSTER_SLEEP_0: cluster-sleep-0 {
670 CLUSTER_SLEEP_1: cluster-sleep-1 {
Dcci.txt5 ARM multi-cluster systems maintain intra-cluster coherency through a
Dcpus.txt241 Example 1 (dual-cluster big.LITTLE system 32-bit):
/linux-4.1.27/fs/ocfs2/
Dresize.c61 u32 cluster; in ocfs2_calc_new_backup_super() local
66 cluster = ocfs2_blocks_to_clusters(inode->i_sb, blkno); in ocfs2_calc_new_backup_super()
68 gd_blkno = ocfs2_which_cluster_group(inode, cluster); in ocfs2_calc_new_backup_super()
75 ocfs2_set_bit(cluster % cl_cpg, in ocfs2_calc_new_backup_super()
78 ocfs2_clear_bit(cluster % cl_cpg, in ocfs2_calc_new_backup_super()
180 u32 cluster; in update_backups() local
189 cluster = ocfs2_blocks_to_clusters(inode->i_sb, blkno); in update_backups()
190 if (cluster > clusters) in update_backups()
422 u32 cluster = ocfs2_blocks_to_clusters(inode->i_sb, input->group); in ocfs2_verify_group_and_input() local
426 if (cluster < total_clusters) in ocfs2_verify_group_and_input()
[all …]
DKconfig10 OCFS2 is a general purpose extent based shared disk cluster file
33 O2CB is limited to maintaining a cluster for OCFS2 file systems.
34 It cannot manage any other cluster applications.
46 userspace cluster manager, say Y here.
DMakefile52 obj-$(CONFIG_OCFS2_FS) += cluster/
Dextent_map.h44 void ocfs2_extent_map_trunc(struct inode *inode, unsigned int cluster);
Dioctl.c448 unsigned int offset = 0, cluster, chunk; in ocfs2_info_freefrag_scan_chain() local
497 for (cluster = 0; cluster < num_clusters; cluster++) { in ocfs2_info_freefrag_scan_chain()
Dsuballoc.h193 u64 ocfs2_which_cluster_group(struct inode *inode, u32 cluster);
Dsuballoc.c2248 u32 cluster = 0; in ocfs2_desc_bitmap_to_cluster_off() local
2253 cluster = ocfs2_blocks_to_clusters(inode->i_sb, bg_blkno); in ocfs2_desc_bitmap_to_cluster_off()
2254 cluster += (u32) bg_bit_off; in ocfs2_desc_bitmap_to_cluster_off()
2255 return cluster; in ocfs2_desc_bitmap_to_cluster_off()
2260 u64 ocfs2_which_cluster_group(struct inode *inode, u32 cluster) in ocfs2_which_cluster_group() argument
2267 group_no = cluster / osb->bitmap_cpg; in ocfs2_which_cluster_group()
/linux-4.1.27/arch/arm64/kernel/
Dtopology.c96 static int __init parse_cluster(struct device_node *cluster, int depth) in parse_cluster() argument
114 c = of_get_child_by_name(cluster, name); in parse_cluster()
129 c = of_get_child_by_name(cluster, name); in parse_cluster()
144 cluster->full_name, name); in parse_cluster()
156 pr_warn("%s: empty cluster\n", cluster->full_name); in parse_cluster()
/linux-4.1.27/Documentation/
Dmd-cluster.txt1 The cluster MD is a shared-device RAID for a cluster.
6 Separate write-intent-bitmap are used for each cluster node.
37 joins the cluster, it acquires the lock in PW mode and it stays so
38 during the lifetime the node is part of the cluster. The lock resource
61 The DLM LVB is used to communicate within nodes of the cluster. There
72 acknowledged by all nodes in the cluster. The BAST of the resource
126 When a node fails, the DLM informs the cluster with the slot. The node
127 starts a cluster recovery thread. The cluster recovery thread:
Dassoc_array.txt350 other - and those with the same length keys to cluster together.
Dkernel-parameters.txt4024 default x2apic cluster mode on platforms
/linux-4.1.27/block/
Dblk-merge.c17 int cluster, high, highprv = 1; in __blk_recalc_rq_segments() local
36 cluster = blk_queue_cluster(q); in __blk_recalc_rq_segments()
55 if (!high && !highprv && cluster) { in __blk_recalc_rq_segments()
161 struct scatterlist **sg, int *nsegs, int *cluster) in __blk_segment_map_sg() argument
166 if (*sg && *cluster) { in __blk_segment_map_sg()
207 int nsegs, cluster; in __blk_bios_map_sg() local
210 cluster = blk_queue_cluster(q); in __blk_bios_map_sg()
238 &nsegs, &cluster); in __blk_bios_map_sg()
Dblk-settings.c128 lim->cluster = 1; in blk_set_default_limits()
590 t->cluster &= b->cluster; in blk_stack_limits()
/linux-4.1.27/include/uapi/linux/
Dtipc.h64 unsigned int cluster, in tipc_addr() argument
67 return (zone << 24) | (cluster << 12) | node; in tipc_addr()
/linux-4.1.27/net/tipc/
DKconfig10 specially designed for intra cluster communication. This protocol
12 cluster applications for many years.
/linux-4.1.27/arch/x86/kernel/apic/
Dx2apic_cluster.c104 u16 cluster; in x2apic_cpu_mask_to_apicid_and() local
111 cluster = x2apic_cluster(i); in x2apic_cpu_mask_to_apicid_and()
121 if (cluster != x2apic_cluster(i)) in x2apic_cpu_mask_to_apicid_and()
/linux-4.1.27/drivers/block/drbd/
DKconfig33 shared-nothing cluster. Needless to say, on top of dual-Primary
34 DRBD utilizing a cluster file system is necessary to maintain for
37 For automatic failover you need a cluster manager (e.g. heartbeat).
/linux-4.1.27/drivers/cpuidle/
Dcpuidle-big_little.c107 unsigned int cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in bl_powerdown_finisher() local
110 mcpm_set_entry_vector(cpu, cluster, cpu_resume); in bl_powerdown_finisher()
/linux-4.1.27/Documentation/devicetree/bindings/cpufreq/
Darm_big_little_dt.txt8 under node /cpus/cpu@x. Where x is the first cpu inside a cluster.
10 FIXME: Cpus should boot in the order specified in DT and all cpus for a cluster
/linux-4.1.27/Documentation/video4linux/
Dv4l2-controls.txt468 In that case you need to 'cluster' them:
485 cluster is set (or 'gotten', or 'tried'), only the control ops of the first
498 struct v4l2_ctrl *mute = ctrl->cluster[AUDIO_CL_MUTE];
512 ctrl == ctrl->cluster[AUDIO_CL_VOLUME] == state->audio_cluster[AUDIO_CL_VOLUME]
513 ctrl->cluster[AUDIO_CL_MUTE] == state->audio_cluster[AUDIO_CL_MUTE]
515 In practice using cluster arrays like this becomes very tiresome. So instead
519 /* audio cluster */
524 The anonymous struct is used to clearly 'cluster' these two control pointers,
534 Note that controls in a cluster may be NULL. For example, if for some
537 cluster of 2 controls, of which only 1 is actually instantiated. The
[all …]
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-ctrls.c1573 if (!is_cur_manual(ctrl->cluster[0])) { in new_to_cur()
1575 if (ctrl->cluster[0]->has_volatiles) in new_to_cur()
1609 struct v4l2_ctrl *ctrl = master->cluster[i]; in cluster_changed()
1871 ctrl->cluster = &new_ref->ctrl; in handler_new_ref()
2300 controls[i]->cluster = controls; in v4l2_ctrl_cluster()
2452 struct v4l2_ctrl *master = ctrl->cluster[0]; in v4l2_ctrl_handler_setup()
2462 if (master->cluster[i]) { in v4l2_ctrl_handler_setup()
2463 cur_to_new(master->cluster[i]); in v4l2_ctrl_handler_setup()
2464 master->cluster[i]->is_new = 1; in v4l2_ctrl_handler_setup()
2465 master->cluster[i]->done = true; in v4l2_ctrl_handler_setup()
[all …]
/linux-4.1.27/drivers/md/
Ddm-verity.c503 unsigned cluster = ACCESS_ONCE(dm_verity_prefetch_cluster); in verity_prefetch_io() local
505 cluster >>= v->data_dev_block_bits; in verity_prefetch_io()
506 if (unlikely(!cluster)) in verity_prefetch_io()
509 if (unlikely(cluster & (cluster - 1))) in verity_prefetch_io()
510 cluster = 1 << __fls(cluster); in verity_prefetch_io()
512 hash_block_start &= ~(sector_t)(cluster - 1); in verity_prefetch_io()
513 hash_block_end |= cluster - 1; in verity_prefetch_io()
DMakefile33 obj-$(CONFIG_MD_CLUSTER) += md-cluster.o
DKconfig186 synchronization across multiple systems on the cluster, so all
187 nodes in the cluster can access the MD devices simultaneously.
190 nodes of the cluster.
/linux-4.1.27/arch/mips/sgi-ip27/
DKconfig38 nodes in a NUMA cluster. This trades memory for speed.
45 across multiple nodes in a NUMA cluster. This trades memory for
/linux-4.1.27/drivers/staging/lustre/lustre/
DKconfig16 here if you want to access a Lustre file system cluster. To compile
25 Lustre file system is the most popular cluster file system in high
/linux-4.1.27/drivers/clk/
Dclk-mb86s7x.c252 int cluster; member
271 cmd.cluster_id = clc->cluster; in mhu_cluster_rate()
340 clc->cluster = topology_physical_package_id(cpu_dev->id); in mb86s7x_clclk_register()
/linux-4.1.27/fs/dlm/
Dlockspace.c422 static int new_lockspace(const char *name, const char *cluster, in new_lockspace() argument
454 if (dlm_config.ci_recover_callbacks && cluster && in new_lockspace()
455 strncmp(cluster, dlm_config.ci_cluster_name, DLM_LOCKSPACE_LEN)) { in new_lockspace()
457 dlm_config.ci_cluster_name, cluster); in new_lockspace()
692 int dlm_new_lockspace(const char *name, const char *cluster, in dlm_new_lockspace() argument
705 error = new_lockspace(name, cluster, flags, lvblen, ops, ops_arg, in dlm_new_lockspace()
/linux-4.1.27/include/linux/
Ddlm.h85 int dlm_new_lockspace(const char *name, const char *cluster,
Dblkdev.h307 unsigned char cluster; member
637 return q->limits.cluster; in blk_queue_cluster()
/linux-4.1.27/Documentation/device-mapper/
Ddm-log.txt52 provide a cluster-coherent log for shared-storage. Device-mapper mirroring
53 can be used in a shared-storage environment when the cluster log implementations
/linux-4.1.27/drivers/staging/lustre/
DREADME.txt13 Unlike shared disk storage cluster filesystems (e.g. OCFS2, GFS, GPFS),
48 Enable cluster-global posix file locking coherent across all
/linux-4.1.27/mm/
Dswapfile.c440 struct percpu_cluster *cluster; in scan_swap_map_try_ssd_cluster() local
445 cluster = this_cpu_ptr(si->percpu_cluster); in scan_swap_map_try_ssd_cluster()
446 if (cluster_is_null(&cluster->index)) { in scan_swap_map_try_ssd_cluster()
448 cluster->index = si->free_cluster_head; in scan_swap_map_try_ssd_cluster()
449 cluster->next = cluster_next(&cluster->index) * in scan_swap_map_try_ssd_cluster()
469 tmp = cluster->next; in scan_swap_map_try_ssd_cluster()
470 while (tmp < si->max && tmp < (cluster_next(&cluster->index) + 1) * in scan_swap_map_try_ssd_cluster()
479 cluster_set_null(&cluster->index); in scan_swap_map_try_ssd_cluster()
482 cluster->next = tmp + 1; in scan_swap_map_try_ssd_cluster()
2455 struct percpu_cluster *cluster; in SYSCALL_DEFINE2() local
[all …]
/linux-4.1.27/drivers/block/paride/
Dpd.c132 static int cluster = 64; variable
167 module_param(cluster, int, 0);
919 blk_queue_max_hw_sectors(pd_queue, cluster); in pd_init()
925 name, name, PD_VERSION, major, cluster, nice); in pd_init()
Dpf.c132 static int cluster = 64; variable
166 module_param(cluster, int, 0);
704 name, name, PF_VERSION, major, cluster, nice); in pf_detect()
976 blk_queue_max_segments(pf_queue, cluster); in pf_init()
/linux-4.1.27/arch/alpha/include/asm/
Dhwrpb.h154 struct memclust_struct cluster[0]; member
/linux-4.1.27/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c342 struct abx500_gpio_irq_cluster *cluster = in abx500_gpio_to_irq() local
345 if (gpio >= cluster->start && gpio <= cluster->end) { in abx500_gpio_to_irq()
352 hwirq = gpio - cluster->start + cluster->to_irq; in abx500_gpio_to_irq()
/linux-4.1.27/arch/arm/mach-tegra/
Dsleep.S79 tst r0, #1 @ only need for cluster 0
/linux-4.1.27/drivers/net/ethernet/packetengines/
DKconfig40 used by the Beowulf Linux cluster project. See
/linux-4.1.27/net/netfilter/ipvs/
DKconfig10 virtual server based on cluster of two or more real servers. This
169 destination IP load balancing. It is usually used in cache cluster.
184 usually used in cache cluster. It differs from the LBLC scheduling
189 it picks up a least-connection node in the cluster and adds it
/linux-4.1.27/arch/arm/boot/dts/
Dexynos5422-odroidxu3.dts361 /* A15 cluster: VDD_ARM */
382 /* A7 cluster: VDD_KFC */
Dvexpress-v2p-ca15_a7.dts77 CLUSTER_SLEEP_BIG: cluster-sleep-big {
85 CLUSTER_SLEEP_LITTLE: cluster-sleep-little {
Darmada-375.dtsi391 usbcluster: usb-cluster@18400 {
392 compatible = "marvell,armada-375-usb-cluster";
/linux-4.1.27/Documentation/cgroups/
Dfreezer-subsystem.txt4 is often used on HPC clusters to schedule access to the cluster as a
16 migrated between nodes in a cluster by copying the gathered information
/linux-4.1.27/include/trace/events/
Dbtrfs.h915 struct btrfs_free_cluster *cluster, u64 size, int bitmap),
917 TP_ARGS(block_group, cluster, size, bitmap),
931 __entry->start = cluster->window_start;
932 __entry->max_size = cluster->max_size;
/linux-4.1.27/Documentation/networking/
Drds.txt15 reliable connection between any two nodes in the cluster. This allows
17 cluster - so in a cluster with N processes you need N sockets, in contrast
Dipvs-sysctl.txt44 real servers to a very busy cluster.
70 used in transparent web cache cluster.
De1000e.txt89 For situations where low latency is vital such as cluster or
De1000.txt121 For situations where low latency is vital such as cluster or
Dip-sysctl.txt334 changed would be a Beowulf compute cluster.
Dbonding.txt2375 isolated network with many hosts (a cluster configured for high
/linux-4.1.27/include/media/
Dv4l2-ctrls.h168 struct v4l2_ctrl **cluster; member
/linux-4.1.27/fs/ext4/
Dmballoc.c2750 ext4_group_t block_group, ext4_grpblk_t cluster, int count) in ext4_issue_discard() argument
2754 discard_block = (EXT4_C2B(EXT4_SB(sb), cluster) + in ext4_issue_discard()
4557 ext4_grpblk_t cluster; in ext4_mb_free_metadata() local
4570 cluster = new_entry->efd_start_cluster; in ext4_mb_free_metadata()
4584 if (cluster < entry->efd_start_cluster) in ext4_mb_free_metadata()
4586 else if (cluster >= (entry->efd_start_cluster + entry->efd_count)) in ext4_mb_free_metadata()
4591 EXT4_C2B(sbi, cluster), in ext4_mb_free_metadata()
Dext4.h258 #define EXT4_C2B(sbi, cluster) ((cluster) << (sbi)->s_cluster_bits) argument
/linux-4.1.27/Documentation/fmc/
Didentifiers.txt98 By using an SBD filesystem you can cluster several files in a single
/linux-4.1.27/drivers/memstick/core/
Dmspro_block.c125 unsigned short cluster; member
468 x_spfile->cluster); in mspro_block_attr_show_specfile()
/linux-4.1.27/drivers/net/ethernet/sun/
Dcassini.c2220 int cluster; in cas_post_rxds_ringN() local
2228 cluster = -1; in cas_post_rxds_ringN()
2258 cluster = entry; in cas_post_rxds_ringN()
2266 if (cluster < 0) in cas_post_rxds_ringN()
2270 writel(cluster, cp->regs + REG_RX_KICK); in cas_post_rxds_ringN()
2273 writel(cluster, cp->regs + REG_PLUS_RX_KICK1); in cas_post_rxds_ringN()
/linux-4.1.27/Documentation/sysctl/
Dvm.txt54 - page-cluster
654 page-cluster
656 page-cluster controls the number of pages up to which consecutive pages
Dnet.txt296 TIPC name table updates are distributed asynchronously in a cluster, without
/linux-4.1.27/Documentation/usb/
DWUSB-Design-overview.txt292 unique Wireless USB cluster through MMCs. Devices can connect to a
293 single cluster at the time. The IEs are Information Elements, and
/linux-4.1.27/arch/arm64/
DKconfig344 cluster is executing a cache maintenance operation to the same
365 the same time as a processor in another cluster is executing a cache
/linux-4.1.27/Documentation/vm/
Dunevictable-lru.txt576 number of pages - a "cluster" - in each non-linear VMA associated with the
581 recirculate this page. We take advantage of the cluster scan in
591 Then, for each page in the cluster, if we're holding the mmap semaphore
Dfrontswap.txt97 many servers in a cluster can swap, dynamically as needed, to a single
/linux-4.1.27/Documentation/sound/alsa/
Dcompress_offload.txt91 embedded audio cluster or to a SPI interface for external DSPs are
/linux-4.1.27/Documentation/scsi/
Darcmsr_spec.txt400 ** byte 3 : 0->Independent, 1->cluster
DChangeLog.1992-19971461 * Throughout: SCSI portion of cluster diffs added.
/linux-4.1.27/drivers/media/radio/si4713/
Dsi4713.c1154 ctrl = ctrl->cluster[c]; in si4713_s_ctrl()
/linux-4.1.27/net/netfilter/
DKconfig972 tristate '"cluster" match support'
979 true when the packet must be handled by this cluster node. Thus,
984 If you say Y or M here, try `iptables -m cluster --help` for
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_sas.h960 } cluster; member
/linux-4.1.27/drivers/scsi/aacraid/
Daacraid.h971 __le32 cluster; member
/linux-4.1.27/drivers/leds/
DKconfig270 This option enables support for the display cluster LEDs
/linux-4.1.27/Documentation/blockdev/
Dparide.txt230 pd: pd version 1.0, major 45, cluster 64, nice 0
/linux-4.1.27/arch/arm/
DKconfig1390 for (multi-)cluster based systems, such as big.LITTLE based
1417 transparently handle transition between a cluster of A15's
1418 and a cluster of A7's in a big.LITTLE system.
/linux-4.1.27/drivers/scsi/
Dscsi_lib.c2127 q->limits.cluster = 0; in __scsi_init_queue()
/linux-4.1.27/
DMAINTAINERS3252 L: cluster-devel@redhat.com
3253 W: http://sources.redhat.com/cluster/
4380 L: cluster-devel@redhat.com
4381 W: http://sources.redhat.com/cluster/
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt1203 or for feature consistency across a cluster).