Searched refs:read_str_safe (Results 1 – 6 of 6) sorted by relevance
/aosp_15_r20/external/kmod/shared/ |
H A D | util.c | 200 ssize_t read_str_safe(int fd, char *buf, size_t buflen) in read_str_safe() function 260 err = read_str_safe(fd, buf, sizeof(buf)); in read_str_long() 279 err = read_str_safe(fd, buf, sizeof(buf)); in read_str_ulong()
|
H A D | util.h | 33 ssize_t read_str_safe(int fd, char *buf, size_t buflen) _must_check_ __attribute__((nonnull(2)));
|
/aosp_15_r20/external/kmod/libkmod/ |
H A D | libkmod-file.c | 460 sz = read_str_safe(file->fd, buf, magic_size_max + 1); in kmod_file_open()
|
H A D | libkmod.c | 246 err = read_str_safe(fd, buf, sizeof(buf)); in get_kernel_compression()
|
H A D | libkmod-config.c | 518 err = read_str_safe(fd, buf, sizeof(buf)); in kmod_config_parse_kcmdline()
|
H A D | libkmod-module.c | 1873 err = read_str_safe(fd, buf, sizeof(buf)); in kmod_module_get_initstate()
|