/haiku/src/system/kernel/debug/ |
H A D | safemode_settings.cpp | 28 size_t* _bufferSize) in get_option_from_kernel_args() argument 124 if (*_bufferSize > 0) { in get_option_from_kernel_args() 125 size_t toCopy = std::min(length, *_bufferSize - 1); in get_option_from_kernel_args() 130 *_bufferSize = length; in get_option_from_kernel_args() 146 size_t parameterLength, char* buffer, size_t* _bufferSize) in get_option() argument 151 parameterLength, buffer, _bufferSize); in get_option() 163 *_bufferSize = strlcpy(buffer, value, *_bufferSize); in get_option() 174 size_t* _bufferSize) in get_option() argument 178 parameterLength, buffer, _bufferSize); in get_option() 182 _bufferSize); in get_option() [all …]
|
/haiku/src/tools/fs_shell/ |
H A D | driver_settings.cpp | 436 put_string(char **_buffer, fssh_ssize_t *_bufferSize, char *string) in put_string() argument 456 *_bufferSize -= length + (quoted ? 2 + quotes : 0); in put_string() 458 if (*_bufferSize <= 0) in put_string() 484 put_chars(char **_buffer, fssh_ssize_t *_bufferSize, const char *chars) in put_chars() argument 493 *_bufferSize -= length; in put_chars() 495 if (*_bufferSize <= 0) in put_chars() 510 put_char(char **_buffer, fssh_ssize_t *_bufferSize, char c) in put_char() argument 514 *_bufferSize -= 1; in put_char() 516 if (*_bufferSize <= 0) in put_char() 530 put_level_space(char **_buffer, fssh_ssize_t *_bufferSize, int32_t level) in put_level_space() argument [all …]
|
H A D | syscalls.h | 46 fssh_size_t *_bufferSize);
|
/haiku/src/system/libroot/os/ |
H A D | driver_settings.cpp | 471 put_string(char **_buffer, ssize_t *_bufferSize, char *string) in put_string() argument 491 *_bufferSize -= length + (quoted ? 2 + quotes : 0); in put_string() 493 if (*_bufferSize <= 0) in put_string() 519 put_chars(char **_buffer, ssize_t *_bufferSize, const char *chars) in put_chars() argument 528 *_bufferSize -= length; in put_chars() 530 if (*_bufferSize <= 0) in put_chars() 545 put_char(char **_buffer, ssize_t *_bufferSize, char c) in put_char() argument 549 *_bufferSize -= 1; in put_char() 551 if (*_bufferSize <= 0) in put_char() 565 put_level_space(char **_buffer, ssize_t *_bufferSize, int32 level) in put_level_space() argument [all …]
|
/haiku/headers/private/kernel/ |
H A D | safemode.h | 23 size_t* _bufferSize); 28 const char* parameter, char* buffer, size_t* _bufferSize); 33 size_t* _bufferSize);
|
/haiku/headers/os/drivers/ |
H A D | module.h | 49 size_t *_bufferSize); 54 size_t *_bufferSize);
|
H A D | driver_settings.h | 32 size_t *_bufferSize, bool flat);
|
/haiku/headers/build/os/drivers/ |
H A D | driver_settings.h | 31 size_t *_bufferSize, bool flat);
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_driver_settings.h | 33 char *buffer, fssh_size_t *_bufferSize, bool flat);
|
/haiku/src/system/kernel/ |
H A D | module.cpp | 881 size_t* _bufferSize) in iterator_get_next_module() argument 896 *_bufferSize = strlcpy(buffer, sBuiltInModules[i]->name, in iterator_get_next_module() 897 *_bufferSize); in iterator_get_next_module() 915 *_bufferSize = strlcpy(buffer, module->name, *_bufferSize); in iterator_get_next_module() 1052 *_bufferSize = strlcpy(buffer, info->name, *_bufferSize); in iterator_get_next_module() 2113 read_next_module_name(void* cookie, char* buffer, size_t* _bufferSize) in read_next_module_name() argument 2120 if (iterator == NULL || buffer == NULL || _bufferSize == NULL) in read_next_module_name() 2129 status = iterator_get_next_module(iterator, buffer, _bufferSize); in read_next_module_name() 2146 get_next_loaded_module_name(uint32* _cookie, char* buffer, size_t* _bufferSize) in get_next_loaded_module_name() argument 2155 if (_cookie == NULL || buffer == NULL || _bufferSize == NULL) in get_next_loaded_module_name() [all …]
|
/haiku/src/add-ons/kernel/file_systems/ufs2/ |
H A D | Inode.cpp | 230 Inode::ReadLink(char* buffer, size_t *_bufferSize) in ReadLink() argument 232 strlcpy(buffer, fNode.symlinkpath, *_bufferSize); in ReadLink()
|
H A D | Inode.h | 123 status_t ReadLink(char* buffer, size_t *_bufferSize);
|
H A D | kernel_interface.cpp | 330 size_t *_bufferSize) in ufs2_read_link() argument 334 return inode->ReadLink(buffer, _bufferSize); in ufs2_read_link()
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | device_interfaces.h | 59 status_t list_device_interfaces(void* buffer, size_t* _bufferSize);
|
H A D | interfaces.h | 206 status_t list_interfaces(int family, void* buffer, size_t* _bufferSize);
|
/haiku/headers/build/private/kernel/ |
H A D | syscalls.h | 71 size_t *_bufferSize);
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 541 size_t *_bufferSize) in exfat_read_link() argument 549 _bufferSize); in exfat_read_link() 553 *_bufferSize = inode->Size(); in exfat_read_link()
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | kernel_interface.cpp | 559 size_t* _bufferSize) in fs_read_link() argument 568 size_t bytesToCopy = std::min(length, *_bufferSize); in fs_read_link() 570 *_bufferSize = length; in fs_read_link()
|
/haiku/src/build/libroot/ |
H A D | fs.cpp | 1031 _kern_read_link(int fd, const char *path, char *buffer, size_t *_bufferSize) in _kern_read_link() argument 1039 ssize_t bytesRead = readlink(realPath.c_str(), buffer, *_bufferSize); in _kern_read_link() 1048 if (static_cast<size_t>(bytesRead) < *_bufferSize) { in _kern_read_link() 1050 *_bufferSize = bytesRead; in _kern_read_link() 1059 *_bufferSize = linkStat.st_size; in _kern_read_link()
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | kernel_interface.cpp | 348 size_t *_bufferSize) in xfs_read_link() argument 359 status_t result = symlink.ReadLink(0, buffer, _bufferSize); in xfs_read_link()
|
/haiku/src/system/kernel/fs/ |
H A D | rootfs.cpp | 891 size_t* _bufferSize) in rootfs_read_link() argument 898 memcpy(buffer, link->stream.symlink.path, min_c(*_bufferSize, in rootfs_read_link() 901 *_bufferSize = link->stream.symlink.length; in rootfs_read_link()
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 641 size_t* _bufferSize) in btrfs_read_link() argument 650 _bufferSize); in btrfs_read_link() 654 *_bufferSize = inode->Size(); in btrfs_read_link()
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 1301 size_t *_bufferSize) in ext2_read_link() argument 1310 _bufferSize); in ext2_read_link() 1315 *_bufferSize); in ext2_read_link() 1320 *_bufferSize = inode->Size(); in ext2_read_link()
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | kernel_interface.cpp | 1601 size_t* _bufferSize) in bfs_read_link() argument 1611 status_t status = inode->ReadAt(0, (uint8*)buffer, _bufferSize); in bfs_read_link() 1615 *_bufferSize = inode->Size(); in bfs_read_link() 1621 size_t bytesToCopy = min_c(linkLength, *_bufferSize); in bfs_read_link() 1623 *_bufferSize = linkLength; in bfs_read_link()
|
/haiku/src/add-ons/kernel/file_systems/packagefs/ |
H A D | kernel_interface.cpp | 321 size_t* _bufferSize) in packagefs_read_symlink() argument 337 return node->ReadSymlink(buffer, _bufferSize); in packagefs_read_symlink()
|