Searched refs:sb (Results 26 - 29 of 29) sorted by relevance
12
/system/core/init/ |
H A D | init.c | 769 struct stat sb; local 810 if (fstat(fd, &sb) < 0) { 815 map = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 822 rc = security_load_policy(map, sb.st_size); 836 munmap(map, sb.st_size);
|
H A D | builtins.c | 740 struct stat sb; local 747 if (lstat(args[i], &sb) < 0) 749 if (selabel_lookup(sehandle, &secontext, args[i], sb.st_mode) < 0)
|
/system/vold/ |
H A D | cryptfs.c | 88 struct ext4_super_block sb; local 101 if (read(fd, &sb, sizeof(sb)) != sizeof(sb)) { 108 block_size = 1024 << sb.s_log_block_size; 110 len = ( ((off64_t)sb.s_blocks_count_hi << 32) + sb.s_blocks_count_lo) * block_size;
|
/system/core/toolbox/ |
H A D | dd.c | 289 struct stat sb; local 291 if (fstat(io->fd, &sb)) { 297 if (S_ISCHR(sb.st_mode))
|
Completed in 780 milliseconds
12