Searched refs:sb (Results 1 – 9 of 9) sorted by relevance
/device/linaro/dragonboard/qcom/rmtfs/ |
D | sharedmem.c | 58 struct stat sb; in rmtfs_mem_open_rfsa() local 73 ret = fstat(fd, &sb); in rmtfs_mem_open_rfsa() 88 dev = udev_device_new_from_devnum(udev, 'c', sb.st_rdev); in rmtfs_mem_open_rfsa() 128 struct stat sb; in rmtfs_mem_open_uio() local 143 ret = fstat(fd, &sb); in rmtfs_mem_open_uio() 158 dev = udev_device_new_from_devnum(udev, 'c', sb.st_rdev); in rmtfs_mem_open_uio()
|
/device/linaro/dragonboard/qcom/pd-mapper/ |
D | json.c | 320 struct stat sb; in json_parse_file() local 330 ret = fstat(fd, &sb); in json_parse_file() 335 input_len = sb.st_size; in json_parse_file() 336 input_buf = malloc(sb.st_size); in json_parse_file()
|
/device/google/contexthub/contexthubhal/ |
D | NanohubHidlAdapter.cpp | 530 struct stat sb; in readApp() local 531 if (fstat(fd, &sb) == 0) { in readApp() 532 void *buf = malloc(sb.st_size); in readApp() 533 if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size) { in readApp() 541 …int8_t *>(buf) + sizeof(struct nano_app_binary_t), static_cast<const uint8_t *>(buf) + sb.st_size); in readApp()
|
D | system_comms.cpp | 1136 struct stat sb; in readApp() local 1137 if (fstat(fd, &sb) == 0) { in readApp() 1138 *data = malloc(sb.st_size); in readApp() 1139 if (*data != nullptr && read(fd, *data, sb.st_size) == sb.st_size) in readApp() 1140 ret = sb.st_size; in readApp() 1168 struct stat sb; in cmpApp() local 1169 if (fstat(fd, &sb) == 0 && sb.st_size == len) { in cmpApp() 1171 … if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size && memcmp(data, buf, len) == 0) in cmpApp()
|
/device/linaro/dragonboard/qcom/tqftpserv/ |
D | tqftpserv.c | 206 struct stat sb; in handle_rrq() local 284 fstat(fd, &sb); in handle_rrq() 285 tsize = sb.st_size; in handle_rrq()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/hifi_hikey_lsp/ldscripts/ |
D | elf32xtensa.x | 772 *(.gnu.linkonce.sb.*) in bss()
|
D | elf32xtensa.xbn | 772 *(.gnu.linkonce.sb.*)
|
D | elf32xtensa.xn | 772 *(.gnu.linkonce.sb.*)
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/ |
D | map_hikey.txt | 1342 *(.gnu.linkonce.sb.*)
|