/arch/s390/hypfs/ |
D | hypfs_vm.c | 110 #define ATTRIBUTE(sb, dir, name, member) \ argument 113 rc = hypfs_create_u64(sb, dir, name, member); \ 118 static int hpyfs_vm_create_guest(struct super_block *sb, in hpyfs_vm_create_guest() argument 133 guest_dir = hypfs_mkdir(sb, systems_dir, guest_name); in hpyfs_vm_create_guest() 136 ATTRIBUTE(sb, guest_dir, "onlinetime_us", data->el_time); in hpyfs_vm_create_guest() 139 cpus_dir = hypfs_mkdir(sb, guest_dir, "cpus"); in hpyfs_vm_create_guest() 142 ATTRIBUTE(sb, cpus_dir, "cputime_us", data->used_cpu); in hpyfs_vm_create_guest() 143 ATTRIBUTE(sb, cpus_dir, "capped", capped_value); in hpyfs_vm_create_guest() 144 ATTRIBUTE(sb, cpus_dir, "dedicated", dedicated_flag); in hpyfs_vm_create_guest() 145 ATTRIBUTE(sb, cpus_dir, "count", data->vcpus); in hpyfs_vm_create_guest() [all …]
|
D | inode.c | 31 static struct dentry *hypfs_create_update_file(struct super_block *sb, 49 static void hypfs_update_update(struct super_block *sb) in hypfs_update_update() argument 51 struct hypfs_sb_info *sb_info = sb->s_fs_info; in hypfs_update_update() 98 static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) in hypfs_make_inode() argument 100 struct inode *ret = new_inode(sb); in hypfs_make_inode() 103 struct hypfs_sb_info *hypfs_info = sb->s_fs_info; in hypfs_make_inode() 175 struct super_block *sb = file_inode(iocb->ki_filp)->i_sb; in hypfs_aio_write() local 176 struct hypfs_sb_info *fs_info = sb->s_fs_info; in hypfs_aio_write() 194 hypfs_delete_tree(sb->s_root); in hypfs_aio_write() 196 rc = hypfs_vm_create_files(sb, sb->s_root); in hypfs_aio_write() [all …]
|
D | hypfs.h | 21 extern struct dentry *hypfs_mkdir(struct super_block *sb, struct dentry *parent, 24 extern struct dentry *hypfs_create_u64(struct super_block *sb, 28 extern struct dentry *hypfs_create_str(struct super_block *sb, 35 extern int hypfs_diag_create_files(struct super_block *sb, struct dentry *root); 40 extern int hypfs_vm_create_files(struct super_block *sb, struct dentry *root);
|
D | hypfs_diag.c | 626 static int hypfs_create_cpu_files(struct super_block *sb, in hypfs_create_cpu_files() argument 635 cpu_dir = hypfs_mkdir(sb, cpus_dir, buffer); in hypfs_create_cpu_files() 636 rc = hypfs_create_u64(sb, cpu_dir, "mgmtime", in hypfs_create_cpu_files() 641 rc = hypfs_create_u64(sb, cpu_dir, "cputime", in hypfs_create_cpu_files() 646 rc = hypfs_create_u64(sb, cpu_dir, "onlinetime", in hypfs_create_cpu_files() 653 rc = hypfs_create_str(sb, cpu_dir, "type", buffer); in hypfs_create_cpu_files() 659 static void *hypfs_create_lpar_files(struct super_block *sb, in hypfs_create_lpar_files() argument 670 lpar_dir = hypfs_mkdir(sb, systems_dir, lpar_name); in hypfs_create_lpar_files() 673 cpus_dir = hypfs_mkdir(sb, lpar_dir, "cpus"); in hypfs_create_lpar_files() 679 rc = hypfs_create_cpu_files(sb, cpus_dir, cpu_info); in hypfs_create_lpar_files() [all …]
|
/arch/powerpc/oprofile/ |
D | common.c | 122 static int op_powerpc_create_files(struct super_block *sb, struct dentry *root) in op_powerpc_create_files() argument 131 oprofilefs_create_ulong(sb, root, "mmcr0", &sys.mmcr0); in op_powerpc_create_files() 132 oprofilefs_create_ulong(sb, root, "mmcr1", &sys.mmcr1); in op_powerpc_create_files() 133 oprofilefs_create_ulong(sb, root, "mmcra", &sys.mmcra); in op_powerpc_create_files() 145 oprofilefs_create_ulong(sb, root, "cell_support", &sys.cell_support); in op_powerpc_create_files() 163 dir = oprofilefs_mkdir(sb, root, buf); in op_powerpc_create_files() 165 oprofilefs_create_ulong(sb, dir, "enabled", &ctr[i].enabled); in op_powerpc_create_files() 166 oprofilefs_create_ulong(sb, dir, "event", &ctr[i].event); in op_powerpc_create_files() 167 oprofilefs_create_ulong(sb, dir, "count", &ctr[i].count); in op_powerpc_create_files() 176 oprofilefs_create_ulong(sb, dir, "kernel", &ctr[i].kernel); in op_powerpc_create_files() [all …]
|
/arch/x86/platform/sfi/ |
D | sfi.c | 53 struct sfi_table_simple *sb; in sfi_parse_cpus() local 58 sb = (struct sfi_table_simple *)table; in sfi_parse_cpus() 59 cpu_num = SFI_GET_NUM_ENTRIES(sb, struct sfi_cpu_table_entry); in sfi_parse_cpus() 60 pentry = (struct sfi_cpu_table_entry *)sb->pentry; in sfi_parse_cpus() 76 struct sfi_table_simple *sb; in sfi_parse_ioapic() local 80 sb = (struct sfi_table_simple *)table; in sfi_parse_ioapic() 81 num = SFI_GET_NUM_ENTRIES(sb, struct sfi_apic_table_entry); in sfi_parse_ioapic() 82 pentry = (struct sfi_apic_table_entry *)sb->pentry; in sfi_parse_ioapic()
|
/arch/mips/oprofile/ |
D | common.c | 36 static int op_mips_create_files(struct super_block *sb, struct dentry *root) in op_mips_create_files() argument 45 dir = oprofilefs_mkdir(sb, root, buf); in op_mips_create_files() 47 oprofilefs_create_ulong(sb, dir, "enabled", &ctr[i].enabled); in op_mips_create_files() 48 oprofilefs_create_ulong(sb, dir, "event", &ctr[i].event); in op_mips_create_files() 49 oprofilefs_create_ulong(sb, dir, "count", &ctr[i].count); in op_mips_create_files() 50 oprofilefs_create_ulong(sb, dir, "kernel", &ctr[i].kernel); in op_mips_create_files() 51 oprofilefs_create_ulong(sb, dir, "user", &ctr[i].user); in op_mips_create_files() 52 oprofilefs_create_ulong(sb, dir, "exl", &ctr[i].exl); in op_mips_create_files() 54 oprofilefs_create_ulong(sb, dir, "unit_mask", &ctr[i].unit_mask); in op_mips_create_files()
|
/arch/alpha/oprofile/ |
D | common.c | 109 op_axp_create_files(struct super_block *sb, struct dentry *root) in op_axp_create_files() argument 118 dir = oprofilefs_mkdir(sb, root, buf); in op_axp_create_files() 120 oprofilefs_create_ulong(sb, dir, "enabled", &ctr[i].enabled); in op_axp_create_files() 121 oprofilefs_create_ulong(sb, dir, "event", &ctr[i].event); in op_axp_create_files() 122 oprofilefs_create_ulong(sb, dir, "count", &ctr[i].count); in op_axp_create_files() 124 oprofilefs_create_ulong(sb, dir, "kernel", &ctr[i].kernel); in op_axp_create_files() 125 oprofilefs_create_ulong(sb, dir, "user", &ctr[i].user); in op_axp_create_files() 126 oprofilefs_create_ulong(sb, dir, "unit_mask", &ctr[i].unit_mask); in op_axp_create_files() 130 oprofilefs_create_ulong(sb, root, "enable_pal", in op_axp_create_files() 132 oprofilefs_create_ulong(sb, root, "enable_kernel", in op_axp_create_files() [all …]
|
/arch/s390/oprofile/ |
D | init.c | 349 static int oprofile_create_hwsampling_files(struct super_block *sb, in oprofile_create_hwsampling_files() argument 354 dir = oprofilefs_mkdir(sb, root, "timer"); in oprofile_create_hwsampling_files() 358 oprofilefs_create_file(sb, dir, "enabled", &timer_enabled_fops); in oprofile_create_hwsampling_files() 379 dir = oprofilefs_mkdir(sb, root, "0"); in oprofile_create_hwsampling_files() 383 oprofilefs_create_file(sb, dir, "enabled", &hwsampler_fops); in oprofile_create_hwsampling_files() 384 oprofilefs_create_file(sb, dir, "event", &zero_fops); in oprofile_create_hwsampling_files() 385 oprofilefs_create_file(sb, dir, "count", &hw_interval_fops); in oprofile_create_hwsampling_files() 386 oprofilefs_create_file(sb, dir, "unit_mask", &zero_fops); in oprofile_create_hwsampling_files() 387 oprofilefs_create_file(sb, dir, "kernel", &kernel_fops); in oprofile_create_hwsampling_files() 388 oprofilefs_create_file(sb, dir, "user", &user_fops); in oprofile_create_hwsampling_files() [all …]
|
/arch/mn10300/boot/tools/ |
D | build.c | 74 struct stat sb; in main() local 84 if (stat("/", &sb)) { in main() 88 major_root = major(sb.st_dev); in main() 89 minor_root = minor(sb.st_dev); in main() 91 if (stat(argv[4], &sb)) { in main() 95 major_root = major(sb.st_rdev); in main() 96 minor_root = minor(sb.st_rdev); in main() 146 if (fstat(fd, &sb)) in main() 148 sz = sb.st_size; in main()
|
/arch/mips/include/asm/sibyte/ |
D | board.h | 45 sb t1, 0x18(t0); \ 47 sb t1, 0x10(t0); \ 49 sb t1, 0x08(t0); \ 51 sb t1, 0x00(t0)
|
/arch/powerpc/boot/dts/fsl/ |
D | t4240si-post.dtsi | 235 dcsr-cpu-sb-proxy@100000 { 236 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 240 dcsr-cpu-sb-proxy@108000 { 241 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 245 dcsr-cpu-sb-proxy@110000 { 246 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 250 dcsr-cpu-sb-proxy@118000 { 251 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 255 dcsr-cpu-sb-proxy@120000 { 256 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; [all …]
|
D | p4080si-post.dtsi | 203 dcsr-cpu-sb-proxy@40000 { 204 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 208 dcsr-cpu-sb-proxy@41000 { 209 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 213 dcsr-cpu-sb-proxy@42000 { 214 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 218 dcsr-cpu-sb-proxy@43000 { 219 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 223 dcsr-cpu-sb-proxy@44000 { 224 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; [all …]
|
D | b4860si-post.dtsi | 95 dcsr-cpu-sb-proxy@108000 { 96 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 100 dcsr-cpu-sb-proxy@110000 { 101 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 105 dcsr-cpu-sb-proxy@118000 { 106 compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
|
D | p5040si-post.dtsi | 176 dcsr-cpu-sb-proxy@40000 { 177 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 181 dcsr-cpu-sb-proxy@41000 { 182 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 186 dcsr-cpu-sb-proxy@42000 { 187 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 191 dcsr-cpu-sb-proxy@43000 { 192 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
|
D | p3041si-post.dtsi | 224 dcsr-cpu-sb-proxy@40000 { 225 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 229 dcsr-cpu-sb-proxy@41000 { 230 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 234 dcsr-cpu-sb-proxy@42000 { 235 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 239 dcsr-cpu-sb-proxy@43000 { 240 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
|
D | p2041si-post.dtsi | 197 dcsr-cpu-sb-proxy@40000 { 198 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 202 dcsr-cpu-sb-proxy@41000 { 203 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 207 dcsr-cpu-sb-proxy@42000 { 208 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 212 dcsr-cpu-sb-proxy@43000 { 213 compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
|
/arch/mips/boot/compressed/ |
D | calc_vmlinuz_load_addr.c | 20 struct stat sb; in main() local 28 if (stat(argv[1], &sb) == -1) { in main() 44 vmlinux_size = (uint64_t)sb.st_size; in main()
|
/arch/avr32/oprofile/ |
D | op_model_avr32.c | 100 static int avr32_perf_counter_create_files(struct super_block *sb, in avr32_perf_counter_create_files() argument 109 dir = oprofilefs_mkdir(sb, root, filename); in avr32_perf_counter_create_files() 111 oprofilefs_create_ulong(sb, dir, "enabled", in avr32_perf_counter_create_files() 113 oprofilefs_create_ulong(sb, dir, "event", in avr32_perf_counter_create_files() 115 oprofilefs_create_ulong(sb, dir, "count", in avr32_perf_counter_create_files() 119 oprofilefs_create_ulong(sb, dir, "kernel", in avr32_perf_counter_create_files() 121 oprofilefs_create_ulong(sb, dir, "user", in avr32_perf_counter_create_files() 123 oprofilefs_create_ulong(sb, dir, "unit_mask", in avr32_perf_counter_create_files()
|
/arch/cris/boot/tools/ |
D | build.c | 115 struct stat sb; in main() local 122 if (stat("/", &sb)) { in main() 126 major_root = major(sb.st_dev); in main() 127 minor_root = minor(sb.st_dev); in main() 129 if (stat(argv[4], &sb)) { in main() 133 major_root = major(sb.st_rdev); in main() 134 minor_root = minor(sb.st_rdev); in main() 248 if (fstat (id, &sb)) { in main() 252 sz = sb.st_size; in main()
|
/arch/powerpc/platforms/cell/spufs/ |
D | inode.c | 53 static struct spufs_sb_info *spufs_get_sb_info(struct super_block *sb) in spufs_get_sb_info() argument 55 return sb->s_fs_info; in spufs_get_sb_info() 59 spufs_alloc_inode(struct super_block *sb) in spufs_alloc_inode() argument 94 spufs_new_inode(struct super_block *sb, umode_t mode) in spufs_new_inode() argument 98 inode = new_inode(sb); in spufs_new_inode() 126 spufs_new_file(struct super_block *sb, struct dentry *dentry, in spufs_new_file() argument 137 inode = spufs_new_inode(sb, S_IFREG | mode); in spufs_new_file() 607 spufs_parse_options(struct super_block *sb, char *options, struct inode *root) in spufs_parse_options() argument 636 spufs_get_sb_info(sb)->debug = 1; in spufs_parse_options() 677 spufs_create_root(struct super_block *sb, void *data) in spufs_create_root() argument [all …]
|
/arch/x86/oprofile/ |
D | op_model_amd.c | 457 static int (*create_arch_files)(struct super_block *sb, struct dentry *root); 459 static int setup_ibs_files(struct super_block *sb, struct dentry *root) in setup_ibs_files() argument 466 ret = create_arch_files(sb, root); in setup_ibs_files() 482 dir = oprofilefs_mkdir(sb, root, "ibs_fetch"); in setup_ibs_files() 483 oprofilefs_create_ulong(sb, dir, "enable", in setup_ibs_files() 485 oprofilefs_create_ulong(sb, dir, "max_count", in setup_ibs_files() 487 oprofilefs_create_ulong(sb, dir, "rand_enable", in setup_ibs_files() 492 dir = oprofilefs_mkdir(sb, root, "ibs_op"); in setup_ibs_files() 493 oprofilefs_create_ulong(sb, dir, "enable", in setup_ibs_files() 495 oprofilefs_create_ulong(sb, dir, "max_count", in setup_ibs_files() [all …]
|
D | nmi_int.c | 406 static int nmi_create_files(struct super_block *sb, struct dentry *root) in nmi_create_files() argument 423 dir = oprofilefs_mkdir(sb, root, buf); in nmi_create_files() 424 oprofilefs_create_ulong(sb, dir, "enabled", &counter_config[i].enabled); in nmi_create_files() 425 oprofilefs_create_ulong(sb, dir, "event", &counter_config[i].event); in nmi_create_files() 426 oprofilefs_create_ulong(sb, dir, "count", &counter_config[i].count); in nmi_create_files() 427 oprofilefs_create_ulong(sb, dir, "unit_mask", &counter_config[i].unit_mask); in nmi_create_files() 428 oprofilefs_create_ulong(sb, dir, "kernel", &counter_config[i].kernel); in nmi_create_files() 429 oprofilefs_create_ulong(sb, dir, "user", &counter_config[i].user); in nmi_create_files() 430 oprofilefs_create_ulong(sb, dir, "extra", &counter_config[i].extra); in nmi_create_files()
|
/arch/x86/platform/mrst/ |
D | mrst.c | 93 struct sfi_table_simple *sb; in sfi_parse_mtmr() local 98 sb = (struct sfi_table_simple *)table; in sfi_parse_mtmr() 100 sfi_mtimer_num = SFI_GET_NUM_ENTRIES(sb, in sfi_parse_mtmr() 102 pentry = (struct sfi_timer_table_entry *) sb->pentry; in sfi_parse_mtmr() 166 struct sfi_table_simple *sb; in sfi_parse_mrtc() local 172 sb = (struct sfi_table_simple *)table; in sfi_parse_mrtc() 174 sfi_mrtc_num = SFI_GET_NUM_ENTRIES(sb, in sfi_parse_mrtc() 176 pentry = (struct sfi_rtc_table_entry *)sb->pentry; in sfi_parse_mrtc() 349 struct sfi_table_simple *sb; in sfi_parse_gpio() local 355 sb = (struct sfi_table_simple *)table; in sfi_parse_gpio() [all …]
|
/arch/score/lib/ |
D | string.S | 37 1: sb r7, [r4] 47 4: sb r6, [r4, 1]+ 144 1: sb r8, [r7] 170 0: sb r7, [r4]+, 1
|