Searched refs:attrFD (Results 1 - 5 of 5) sorted by relevance
/haiku/src/build/libroot/ |
H A D | fs_attr_generic.cpp | 498 int attrFD = open(attrPath.c_str(), openMode, S_IRWXU | S_IRWXG | S_IRWXO); local 499 if (attrFD < 0) 522 close(attrFD); 530 return attrFD; 546 int attrFD = fs_fopen_attr(fd, attribute, type, O_RDONLY); local 547 if (attrFD < 0) 548 return attrFD; 551 ssize_t bytesRead = read_pos(attrFD, pos, buffer, readBytes); 555 fs_close_attr(attrFD); 571 int attrFD local [all...] |
/haiku/src/tools/fs_shell/ |
H A D | command_cp.cpp | 563 int attrFD = _kern_open_attr(fFD, name, FSSH_O_RDONLY); local 564 if (attrFD < 0) 565 return attrFD; 569 fssh_status_t error = _kern_read_stat(attrFD, NULL, false, &st, 573 _kern_close(attrFD); 589 int attrFD = _kern_open_attr(fFD, name, FSSH_O_RDONLY); local 590 if (attrFD < 0) 591 return attrFD; 594 fssh_ssize_t bytesRead = _kern_read(attrFD, pos, buffer, size); 597 _kern_close(attrFD); 606 int attrFD = _kern_create_attr(fFD, name, type, FSSH_O_WRONLY); local [all...] |
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 2115 int attrFD = fs_fopen_attr(appFD, "COPYRIGHTS", B_STRING_TYPE, O_RDONLY); local 2117 if (attrFD < 0) 2121 FileCloser attrFile(fdopen(attrFD, "r")); 2123 close(attrFD);
|
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | kernel_interface.cpp | 825 int attrFD = open_attributes(cddbID, device, O_RDONLY, local 827 if (attrFD < 0) { 840 if (!read_line(attrFD, name, length)) 843 close(attrFD);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 8117 int attrFD = attr_open(fd, NULL, attribute, O_RDONLY, true); local 8118 if (attrFD < 0) 8119 return attrFD; 8121 ssize_t bytesRead = _kern_read(attrFD, pos, buffer, readBytes); 8123 _kern_close(attrFD);
|
Completed in 71 milliseconds