Searched refs:read_str_safe (Results 1 – 5 of 5) sorted by relevance
/external/kmod/shared/ |
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()
|
D | util.h | 32 ssize_t read_str_safe(int fd, char *buf, size_t buflen) _must_check_ __attribute__((nonnull(2)));
|
/external/kmod/libkmod/ |
D | libkmod-file.c | 459 sz = read_str_safe(file->fd, buf, magic_size_max + 1); in kmod_file_open()
|
D | libkmod-config.c | 511 err = read_str_safe(fd, buf, sizeof(buf)); in kmod_config_parse_kcmdline()
|
D | libkmod-module.c | 1775 err = read_str_safe(fd, buf, sizeof(buf)); in kmod_module_get_initstate()
|