/haiku/src/bin/network/ftpd/ |
H A D | ftpd.c | 281 FILE *fd; local 426 int *ctl_sock, fd, maxfd = -1, nfds, i; local 494 fd = accept(ctl_sock[i], 497 if (fd == -1) { 505 (void) dup2(fd, 0); 506 (void) dup2(fd, 1); 507 (void) close(fd); 517 close(fd); 609 if ((fd = fopen(_PATH_NOLOGIN,"r")) != NULL) { 610 while (fgets(line, sizeof(line), fd) ! 1108 FILE *fd; local 1379 FILE *fd; local 1765 int fd; local [all...] |
/haiku/src/servers/package/ |
H A D | Volume.h | 163 status_t _GetActivePackages(int fd);
|
/haiku/headers/private/kernel/ |
H A D | vfs.h | 47 /** The I/O context of a process/team, holds the fd array among others */ 83 status_t vfs_get_vnode_from_fd(int fd, bool kernel, struct vnode **_vnode); 99 status_t vfs_get_cookie_from_fd(int fd, void **_cookie); 136 status_t vfs_read_stat(int fd, const char *path, bool traverseLeafLink, 180 int _user_open(int fd, const char *path, int openMode, int perms); 184 int _user_open_dir(int fd, const char *path); 185 int _user_open_parent_dir(int fd, char *name, size_t nameLength); 186 status_t _user_fcntl(int fd, int op, size_t argument); 187 status_t _user_fsync(int fd); 188 status_t _user_flock(int fd, in [all...] |
/haiku/headers/posix/ |
H A D | poll.h | 16 int fd; member in struct:pollfd
|
H A D | stdio.h | 71 extern FILE *fdopen(int fd, const char *mode); 174 extern int dprintf(int fd, char const *format, ...) __PRINTFLIKE(2,3);
|
/haiku/src/add-ons/kernel/partitioning_systems/intel/ |
H A D | write_support.cpp | 923 pm_resize(int fd, partition_id partitionID, off_t size, disk_job_id job) argument 927 if (fd < 0) 961 pm_resize_child(int fd, partition_id partitionID, off_t size, disk_job_id job) argument 965 if (fd < 0) 995 PartitionMapWriter writer(fd, primary->BlockSize()); 1015 pm_move(int fd, partition_id partitionID, off_t offset, disk_job_id job) argument 1019 if (fd < 0) 1067 move_block(int fd, off_t fromOffset, off_t toOffset, uint8* buffer, int32 size) argument 1071 if (read_pos(fd, fromOffset, buffer, size) != size) { 1080 if (write_pos(fd, toOffse 1093 move_partition(int fd, off_t fromOffset, off_t toOffset, off_t size, uint8* buffer, int32 buffer_size, disk_job_id job) argument 1119 pm_move_child(int fd, partition_id partitionID, partition_id childID, off_t offset, disk_job_id job) argument 1189 pm_set_type(int fd, partition_id partitionID, const char* type, disk_job_id job) argument 1254 pm_set_parameters(int fd, partition_id partitionID, const char* parameters, disk_job_id job) argument 1328 pm_initialize(int fd, partition_id partitionID, const char* name, const char* parameters, off_t partitionSize, disk_job_id job) argument 1370 pm_uninitialize(int fd, partition_id partitionID, off_t partitionSize, uint32 blockSize, disk_job_id job) argument 1399 pm_create_child(int fd, partition_id partitionID, off_t offset, off_t size, const char* type, const char* name, const char* parameters, disk_job_id job, partition_id* childID) argument 1510 pm_delete_child(int fd, partition_id partitionID, partition_id childID, disk_job_id job) argument 1862 ep_resize(int fd, partition_id partitionID, off_t size, disk_job_id job) argument 1900 ep_resize_child(int fd, partition_id partitionID, off_t size, disk_job_id job) argument 1959 ep_move(int fd, partition_id partitionID, off_t offset, disk_job_id job) argument 1987 ep_move_child(int fd, partition_id partitionID, partition_id childID, off_t offset, disk_job_id job) argument 2070 ep_set_type(int fd, partition_id partitionID, const char* type, disk_job_id job) argument 2133 ep_initialize(int fd, partition_id partitionID, const char* name, const char* parameters, off_t partitionSize, disk_job_id job) argument 2192 ep_create_child(int fd, partition_id partitionID, off_t offset, off_t size, const char* type, const char* name, const char* parameters, disk_job_id job, partition_id* childID) argument 2310 ep_delete_child(int fd, partition_id partitionID, partition_id childID, disk_job_id job) argument [all...] |
H A D | write_support.h | 39 status_t pm_resize(int fd, partition_id partitionID, off_t size, 41 status_t pm_resize_child(int fd, partition_id partitionID, off_t size, 43 status_t pm_move(int fd, partition_id partitionID, off_t offset, 45 status_t pm_move_child(int fd, partition_id partitionID, 47 status_t pm_set_type(int fd, partition_id partitionID, const char* type, 49 status_t pm_set_parameters(int fd, partition_id partitionID, 51 status_t pm_initialize(int fd, partition_id partitionID, const char* name, 53 status_t pm_uninitialize(int fd, partition_id partitionID, 55 status_t pm_create_child(int fd, partition_id partitionID, off_t offset, 59 status_t pm_delete_child(int fd, partition_i [all...] |
H A D | intel.cpp | 100 pm_identify_partition(int fd, partition_data* partition, void** cookie) argument 103 if (fd < 0 || !partition || !cookie) 107 "%" B_PRId64 ", %" B_PRId32 ")\n", fd, partition->id, partition->offset, 121 PartitionMapParser parser(fd, 0, partition->size, partition->block_size); 165 pm_scan_partition(int fd, partition_data* partition, void* cookie) argument 168 if (fd < 0 || !partition || !cookie) 172 "%" B_PRId64 ", %" B_PRId32 ")\n", fd, partition->id, partition->offset, 288 ep_identify_partition(int fd, partition_data* partition, void** cookie) argument 291 if (fd < 0 || !partition || !cookie || !partition->cookie) 295 "%" B_PRId32 ")\n", fd, partitio 317 ep_scan_partition(int fd, partition_data* partition, void* cookie) argument [all...] |
/haiku/headers/os/drivers/ |
H A D | driver_settings.h | 27 extern void *load_driver_settings_file(int fd);
|
/haiku/src/add-ons/accelerants/via/engine/ |
H A D | globals.h | 1 extern int fd;
|
H A D | globals.c | 12 int fd; variable
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_globals.h | 1 extern int fd;
|
H A D | nv_globals.c | 12 int fd; variable
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | ioctl.c | 17 __ioctl(int fd, ulong cmd, struct ioctl_args args) argument 19 RETURN_AND_SET_ERRNO(_kern_ioctl(fd, cmd, args.argument, args.size)); 25 ioctl(int fd, ulong cmd, ...) argument 37 status = _kern_ioctl(fd, cmd, argument, size);
|
/haiku/src/system/boot/loader/file_systems/packagefs/ |
H A D | packagefs.cpp | 316 status_t Init(int fd, const PackageFileHeapReader* heapReader) argument 323 fd = dup(fd); 324 if (fd < 0) 327 fFile = new(std::nothrow) BFdIO(fd, true); 329 close(fd); 842 packagefs_mount_file(int fd, ::Directory* systemDirectory, argument 847 status_t error = packageReader.Init(fd, false, 0); 857 error = volume->Init(fd, packageReader.RawHeapReader());
|
H A D | packagefs.h | 19 status_t packagefs_mount_file(int fd, Directory* systemDirectory,
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | Package.cpp | 385 virtual void UpdateFD(int fd) = 0; 409 status_t Init(const PackageFileHeapReader* heapReader, int fd) argument 415 BFdIO::SetTo(fd, false); 428 virtual void UpdateFD(int fd) argument 430 BFdIO::SetTo(fd, false); 469 status_t Init(int fd, bool keepFD, uint32 flags) argument 471 fFD = fd; 472 return PackageReaderImpl::Init(fd, keepFD, flags); 719 int fd = Open(); local 720 if (fd < [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | fileops.c | 404 _IO_new_file_attach (fp, fd) 406 int fd; 410 fp->_fileno = fd;
|
/haiku/src/system/libroot/posix/sys/ |
H A D | uio.c | 17 readv(int fd, const struct iovec *vecs, int count) argument 24 bytes = _kern_readv(fd, -1, vecs, count); 31 readv_pos(int fd, off_t pos, const struct iovec *vecs, int count) argument 38 bytes = _kern_readv(fd, pos, vecs, count); 45 writev(int fd, const struct iovec *vecs, int count) argument 52 bytes = _kern_writev(fd, -1, vecs, count); 59 writev_pos(int fd, off_t pos, const struct iovec *vecs, int count) argument 66 bytes = _kern_writev(fd, pos, vecs, count);
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_uio.h | 22 fssh_ssize_t fssh_readv(int fd, const struct fssh_iovec *vector, 24 fssh_ssize_t fssh_readv_pos(int fd, fssh_off_t pos, const struct 26 fssh_ssize_t fssh_writev(int fd, const struct fssh_iovec *vector, 28 fssh_ssize_t fssh_writev_pos(int fd, fssh_off_t pos,
|
/haiku/headers/posix/sys/ |
H A D | uio.h | 22 ssize_t readv(int fd, const struct iovec *vector, int count); 23 ssize_t readv_pos(int fd, off_t pos, const struct iovec *vec, int count); 24 ssize_t writev(int fd, const struct iovec *vector, int count); 25 ssize_t writev_pos(int fd, off_t pos, const struct iovec *vec, int count);
|
/haiku/src/tests/kits/net/service/ |
H A D | FileTest.cpp | 53 int fd = mkstemp(tmpl); local 54 CHK(fd != -1); 55 close(fd);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/ |
H A D | debug.c | 74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); local 77 write(fd,text,strlen(text)); 78 close(fd); 86 int fd; local 97 fd = open(logfile, O_WRONLY | O_APPEND); 98 write(fd,buf,strlen(buf)); 99 close(fd);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/ |
H A D | debug.c | 74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); local 77 write(fd,text,strlen(text)); 78 close(fd); 86 int fd; local 97 fd = open(logfile, O_WRONLY | O_APPEND); 98 write(fd,buf,strlen(buf)); 99 close(fd);
|
/haiku/headers/private/kernel/vm/ |
H A D | vm.h | 110 bool unmapAddressRange, int fd, off_t offset); 169 bool unmapAddressRange, int fd, off_t offset);
|