/arch/s390/hypfs/ |
D | hypfs_vm.c | 105 #define ATTRIBUTE(sb, dir, name, member) \ argument 108 rc = hypfs_create_u64(sb, dir, name, member); \ 113 static int hpyfs_vm_create_guest(struct super_block *sb, in hpyfs_vm_create_guest() argument 128 guest_dir = hypfs_mkdir(sb, systems_dir, guest_name); in hpyfs_vm_create_guest() 131 ATTRIBUTE(sb, guest_dir, "onlinetime_us", data->el_time); in hpyfs_vm_create_guest() 134 cpus_dir = hypfs_mkdir(sb, guest_dir, "cpus"); in hpyfs_vm_create_guest() 137 ATTRIBUTE(sb, cpus_dir, "cputime_us", data->used_cpu); in hpyfs_vm_create_guest() 138 ATTRIBUTE(sb, cpus_dir, "capped", capped_value); in hpyfs_vm_create_guest() 139 ATTRIBUTE(sb, cpus_dir, "dedicated", dedicated_flag); in hpyfs_vm_create_guest() 140 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() 100 static struct inode *hypfs_make_inode(struct super_block *sb, int mode) in hypfs_make_inode() argument 102 struct inode *ret = new_inode(sb); in hypfs_make_inode() 105 struct hypfs_sb_info *hypfs_info = sb->s_fs_info; in hypfs_make_inode() 178 struct super_block *sb; in hypfs_aio_write() local 182 sb = iocb->ki_filp->f_path.dentry->d_inode->i_sb; in hypfs_aio_write() 183 fs_info = sb->s_fs_info; in hypfs_aio_write() 199 hypfs_delete_tree(sb->s_root); in hypfs_aio_write() [all …]
|
D | hypfs.h | 19 extern struct dentry *hypfs_mkdir(struct super_block *sb, struct dentry *parent, 22 extern struct dentry *hypfs_create_u64(struct super_block *sb, 26 extern struct dentry *hypfs_create_str(struct super_block *sb, 33 extern int hypfs_diag_create_files(struct super_block *sb, struct dentry *root); 37 extern int hypfs_vm_create_files(struct super_block *sb, struct dentry *root);
|
D | hypfs_diag.c | 556 static int hypfs_create_cpu_files(struct super_block *sb, in hypfs_create_cpu_files() argument 565 cpu_dir = hypfs_mkdir(sb, cpus_dir, buffer); in hypfs_create_cpu_files() 566 rc = hypfs_create_u64(sb, cpu_dir, "mgmtime", in hypfs_create_cpu_files() 571 rc = hypfs_create_u64(sb, cpu_dir, "cputime", in hypfs_create_cpu_files() 576 rc = hypfs_create_u64(sb, cpu_dir, "onlinetime", in hypfs_create_cpu_files() 583 rc = hypfs_create_str(sb, cpu_dir, "type", buffer); in hypfs_create_cpu_files() 589 static void *hypfs_create_lpar_files(struct super_block *sb, in hypfs_create_lpar_files() argument 600 lpar_dir = hypfs_mkdir(sb, systems_dir, lpar_name); in hypfs_create_lpar_files() 603 cpus_dir = hypfs_mkdir(sb, lpar_dir, "cpus"); in hypfs_create_lpar_files() 609 rc = hypfs_create_cpu_files(sb, cpus_dir, cpu_info); in hypfs_create_lpar_files() [all …]
|
/arch/powerpc/oprofile/ |
D | common.c | 123 static int op_powerpc_create_files(struct super_block *sb, struct dentry *root) in op_powerpc_create_files() argument 132 oprofilefs_create_ulong(sb, root, "mmcr0", &sys.mmcr0); in op_powerpc_create_files() 133 oprofilefs_create_ulong(sb, root, "mmcr1", &sys.mmcr1); in op_powerpc_create_files() 134 oprofilefs_create_ulong(sb, root, "mmcra", &sys.mmcra); in op_powerpc_create_files() 146 oprofilefs_create_ulong(sb, root, "cell_support", &sys.cell_support); in op_powerpc_create_files() 164 dir = oprofilefs_mkdir(sb, root, buf); in op_powerpc_create_files() 166 oprofilefs_create_ulong(sb, dir, "enabled", &ctr[i].enabled); in op_powerpc_create_files() 167 oprofilefs_create_ulong(sb, dir, "event", &ctr[i].event); in op_powerpc_create_files() 168 oprofilefs_create_ulong(sb, dir, "count", &ctr[i].count); in op_powerpc_create_files() 177 oprofilefs_create_ulong(sb, dir, "kernel", &ctr[i].kernel); in op_powerpc_create_files() [all …]
|
/arch/mips/oprofile/ |
D | common.c | 35 static int op_mips_create_files(struct super_block *sb, struct dentry *root) in op_mips_create_files() argument 44 dir = oprofilefs_mkdir(sb, root, buf); in op_mips_create_files() 46 oprofilefs_create_ulong(sb, dir, "enabled", &ctr[i].enabled); in op_mips_create_files() 47 oprofilefs_create_ulong(sb, dir, "event", &ctr[i].event); in op_mips_create_files() 48 oprofilefs_create_ulong(sb, dir, "count", &ctr[i].count); in op_mips_create_files() 49 oprofilefs_create_ulong(sb, dir, "kernel", &ctr[i].kernel); in op_mips_create_files() 50 oprofilefs_create_ulong(sb, dir, "user", &ctr[i].user); in op_mips_create_files() 51 oprofilefs_create_ulong(sb, dir, "exl", &ctr[i].exl); in op_mips_create_files() 53 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/sh/oprofile/ |
D | common.c | 43 static int op_sh_create_files(struct super_block *sb, struct dentry *root) in op_sh_create_files() argument 52 dir = oprofilefs_mkdir(sb, root, buf); in op_sh_create_files() 54 ret |= oprofilefs_create_ulong(sb, dir, "enabled", &ctr[i].enabled); in op_sh_create_files() 55 ret |= oprofilefs_create_ulong(sb, dir, "event", &ctr[i].event); in op_sh_create_files() 56 ret |= oprofilefs_create_ulong(sb, dir, "kernel", &ctr[i].kernel); in op_sh_create_files() 57 ret |= oprofilefs_create_ulong(sb, dir, "user", &ctr[i].user); in op_sh_create_files() 60 ret |= model->create_files(sb, dir); in op_sh_create_files() 62 ret |= oprofilefs_create_ulong(sb, dir, "count", &ctr[i].count); in op_sh_create_files() 65 ret |= oprofilefs_create_ulong(sb, dir, "unit_mask", &ctr[i].unit_mask); in op_sh_create_files()
|
D | op_impl.h | 20 int (*create_files)(struct super_block *sb, struct dentry *dir);
|
D | op_model_sh7750.c | 166 static int sh7750_ppc_create_files(struct super_block *sb, struct dentry *dir) in sh7750_ppc_create_files() argument 168 return oprofilefs_create_file(sb, dir, "count", &count_fops); in sh7750_ppc_create_files()
|
/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/x86/boot/tools/ |
D | build.c | 142 struct stat sb; in main() local 157 if (stat("/", &sb)) { in main() 161 major_root = major(sb.st_dev); in main() 162 minor_root = minor(sb.st_dev); in main() 164 if (stat(argv[3], &sb)) { in main() 168 major_root = major(sb.st_rdev); in main() 169 minor_root = minor(sb.st_rdev); in main() 210 if (fstat(fd, &sb)) in main() 212 sz = sb.st_size; in main()
|
/arch/arm/oprofile/ |
D | common.c | 26 static int op_arm_create_files(struct super_block *sb, struct dentry *root) in op_arm_create_files() argument 35 dir = oprofilefs_mkdir(sb, root, buf); in op_arm_create_files() 36 oprofilefs_create_ulong(sb, dir, "enabled", &counter_config[i].enabled); in op_arm_create_files() 37 oprofilefs_create_ulong(sb, dir, "event", &counter_config[i].event); in op_arm_create_files() 38 oprofilefs_create_ulong(sb, dir, "count", &counter_config[i].count); in op_arm_create_files() 39 oprofilefs_create_ulong(sb, dir, "unit_mask", &counter_config[i].unit_mask); in op_arm_create_files() 40 oprofilefs_create_ulong(sb, dir, "kernel", &counter_config[i].kernel); in op_arm_create_files() 41 oprofilefs_create_ulong(sb, dir, "user", &counter_config[i].user); in op_arm_create_files()
|
/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/avr32/oprofile/ |
D | op_model_avr32.c | 101 static int avr32_perf_counter_create_files(struct super_block *sb, in avr32_perf_counter_create_files() argument 110 dir = oprofilefs_mkdir(sb, root, filename); in avr32_perf_counter_create_files() 112 oprofilefs_create_ulong(sb, dir, "enabled", in avr32_perf_counter_create_files() 114 oprofilefs_create_ulong(sb, dir, "event", in avr32_perf_counter_create_files() 116 oprofilefs_create_ulong(sb, dir, "count", in avr32_perf_counter_create_files() 120 oprofilefs_create_ulong(sb, dir, "kernel", in avr32_perf_counter_create_files() 122 oprofilefs_create_ulong(sb, dir, "user", in avr32_perf_counter_create_files() 124 oprofilefs_create_ulong(sb, dir, "unit_mask", in avr32_perf_counter_create_files()
|
/arch/cris/arch-v10/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 89 spufs_new_inode(struct super_block *sb, int mode) in spufs_new_inode() argument 93 inode = new_inode(sb); in spufs_new_inode() 118 spufs_new_file(struct super_block *sb, struct dentry *dentry, in spufs_new_file() argument 129 inode = spufs_new_inode(sb, S_IFREG | mode); in spufs_new_file() 672 spufs_parse_options(struct super_block *sb, char *options, struct inode *root) in spufs_parse_options() argument 701 spufs_get_sb_info(sb)->debug = 1; in spufs_parse_options() 742 spufs_create_root(struct super_block *sb, void *data) in spufs_create_root() argument [all …]
|
/arch/x86/oprofile/ |
D | op_model_amd.c | 422 static int (*create_arch_files)(struct super_block *sb, struct dentry *root); 424 static int setup_ibs_files(struct super_block *sb, struct dentry *root) in setup_ibs_files() argument 431 ret = create_arch_files(sb, root); in setup_ibs_files() 448 dir = oprofilefs_mkdir(sb, root, "ibs_fetch"); in setup_ibs_files() 449 oprofilefs_create_ulong(sb, dir, "enable", in setup_ibs_files() 451 oprofilefs_create_ulong(sb, dir, "max_count", in setup_ibs_files() 453 oprofilefs_create_ulong(sb, dir, "rand_enable", in setup_ibs_files() 456 dir = oprofilefs_mkdir(sb, root, "ibs_op"); in setup_ibs_files() 457 oprofilefs_create_ulong(sb, dir, "enable", in setup_ibs_files() 459 oprofilefs_create_ulong(sb, dir, "max_count", in setup_ibs_files() [all …]
|
D | nmi_int.c | 259 static int nmi_create_files(struct super_block *sb, struct dentry *root) in nmi_create_files() argument 276 dir = oprofilefs_mkdir(sb, root, buf); in nmi_create_files() 277 oprofilefs_create_ulong(sb, dir, "enabled", &counter_config[i].enabled); in nmi_create_files() 278 oprofilefs_create_ulong(sb, dir, "event", &counter_config[i].event); in nmi_create_files() 279 oprofilefs_create_ulong(sb, dir, "count", &counter_config[i].count); in nmi_create_files() 280 oprofilefs_create_ulong(sb, dir, "unit_mask", &counter_config[i].unit_mask); in nmi_create_files() 281 oprofilefs_create_ulong(sb, dir, "kernel", &counter_config[i].kernel); in nmi_create_files() 282 oprofilefs_create_ulong(sb, dir, "user", &counter_config[i].user); in nmi_create_files()
|
/arch/mips/lib/ |
D | memcpy.S | 414 EXC( sb t0, N(dst), .Ls_exc_p1) 427 EXC( sb t0, NBYTES-2(dst), .Ls_exc_p1) 450 sb t1, 0(dst) # can't fault -- we're copy_from_user 476 1: sb zero, 0(dst) 542 sb t0, -1(a0) 557 sb t0, (a0)
|
D | strncpy_user.S | 43 sb t0, (a0)
|
D | memcpy-inatomic.S | 403 sb t0, N(dst) 416 sb t0, NBYTES-2(dst) 439 sb t1, 0(dst) # can't fault -- we're copy_from_user
|
D | csum_partial.S | 642 EXC( sb t0, N(dst), .Ls_exc); \ 658 EXC( sb t0, NBYTES-2(dst), .Ls_exc) 709 sb t1, 0(dst) # can't fault -- we're copy_from_user 738 1: sb zero, 0(dst)
|
/arch/mips/cavium-octeon/ |
D | octeon-memcpy.S | 384 EXC( sb t0, N(dst), s_exc_p1) 397 EXC( sb t0, NBYTES-2(dst), s_exc_p1) 420 sb t1, 0(dst) # can't fault -- we're copy_from_user 442 1: sb zero, 0(dst) 502 sb t0, -1(a0) 514 sb t0, (a0)
|
/arch/x86/mm/ |
D | pageattr-test.c | 114 struct split_state sa, sb, sc; in pageattr_test() local 198 failed += print_split(&sb); in pageattr_test()
|