Lines Matching defs:lfd
231 int lfd, err = 0;
234 lfd = adb_open(path, O_RDONLY);
235 if(lfd < 0) {
243 if (fstat(lfd, &st)) {
255 ret = adb_read(lfd, sbuf->data, SYNC_DATA_MAX);
278 adb_close(lfd);
428 int lfd = -1;
471 lfd = adb_creat(lpath, 0644);
472 if(lfd < 0) {
493 adb_close(lfd);
498 adb_close(lfd);
502 if(writex(lfd, buffer, len)) {
504 adb_close(lfd);
515 adb_close(lfd);
519 adb_close(lfd);