Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 9 of 9) sorted by relevance

/device/linaro/dragonboard/qcom/rmtfs/
Dsharedmem.c58 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/
Djson.c320 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/
DNanohubHidlAdapter.cpp530 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()
Dsystem_comms.cpp1136 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/
Dtqftpserv.c206 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/
Delf32xtensa.x772 *(.gnu.linkonce.sb.*) in bss()
Delf32xtensa.xbn772 *(.gnu.linkonce.sb.*)
Delf32xtensa.xn772 *(.gnu.linkonce.sb.*)
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
Dmap_hikey.txt1342 *(.gnu.linkonce.sb.*)