Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 14 of 14) sorted by relevance

/lk-master/lib/fs/
A Dfs.c106 strlcpy(temppath, path, sizeof(temppath)); in mount()
189 strlcpy(temppath, path, sizeof(temppath)); in fs_unmount()
207 strlcpy(temppath, path, sizeof(temppath)); in fs_open_file()
248 strlcpy(temppath, path, sizeof(temppath)); in fs_create_file()
292 strlcpy(temppath, path, sizeof(temppath)); in fs_remove_file()
340 strlcpy(temppath, path, sizeof(temppath)); in fs_make_dir()
363 strlcpy(temppath, path, sizeof(temppath)); in fs_open_dir()
A Ddebug.c20 strlcpy(path, in, sizeof(path)); in test_normalize()
/lk-master/lib/libc/string/
A Dstrlcpy.c17 strlcpy(char *dst, char const *src, size_t s) { in strlcpy() function
A Drules.mk19 strlcpy \
/lk-master/lib/libc/include/
A Dstring.h44 size_t strlcpy(char *, char const *, size_t);
/lk-master/kernel/vm/
A Dvmm.c29 strlcpy(_kernel_aspace.name, "kernel", sizeof(_kernel_aspace.name)); in vmm_init_preheap()
98 strlcpy(r->name, name, sizeof(r->name)); in alloc_region_struct()
593 strlcpy(aspace->name, name, sizeof(aspace->name)); in vmm_create_aspace()
595 strlcpy(aspace->name, "unnamed", sizeof(aspace->name)); in vmm_create_aspace()
/lk-master/lib/fs/ext2/
A Ddir.c176 strlcpy(path, _path, sizeof(path)); in ext2_lookup()
/lk-master/lib/console/
A Dconsole.c147 strlcpy(history_line(con, con->history_next), line, LINE_LEN); in add_history()
338 strlcpy(buffer, prev_history(con, &history_cursor), LINE_LEN); in read_debug_line()
340 strlcpy(buffer, next_history(con, &history_cursor), LINE_LEN); in read_debug_line()
/lk-master/lib/fs/spifs/
A Dspifs.c553 strlcpy(f_toc.metadata.filename, FRONT_TOC_LABEL, MAX_FILENAME_LENGTH); in spifs_format()
561 strlcpy(b_toc.metadata.filename, BACK_TOC_LABEL, MAX_FILENAME_LENGTH); in spifs_format()
769 strlcpy(file->metadata.filename, name, MAX_FILENAME_LENGTH); in spifs_create()
1093 strlcpy(ent->name, dcookie->next_file->metadata.filename, sizeof(ent->name)); in spifs_readdir()
/lk-master/lib/ptable/
A Dptable.c712 strlcpy((char *)ptable_entry.name, PTABLE_PART_NAME, sizeof(ptable_entry.name)); in ptable_create_default()
792 strlcpy((char *)ptable_entry.name, name, sizeof(ptable_entry.name)); in ptable_add()
/lk-master/lib/fs/memfs/
A Dmemfs.c351 strlcpy(ent->name, dcookie->next_file->name, sizeof(ent->name)); in memfs_readdir()
/lk-master/lib/minip/
A Dminip.c45 strlcpy(minip_hostname, name, sizeof(minip_hostname)); in minip_set_hostname()
/lk-master/kernel/
A Dthread.c115 strlcpy(t->name, name, sizeof(t->name)); in init_thread_struct()
814 strlcpy(current_thread->name, name, sizeof(current_thread->name)); in thread_set_name()
A Dport.c161 strlcpy(wp->name, name, sizeof(wp->name)); in port_create()

Completed in 18 milliseconds