Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/init/
H A Dinitramfs.c51 #define N_ALIGN(len) ((((len) + 1) & ~3) + 2) macro
57 char name[N_ALIGN(PATH_MAX)];
257 next_header = this_header + N_ALIGN(name_len) + body_len; in do_header()
266 remains = N_ALIGN(name_len) + body_len; in do_header()
272 read_into(name_buf, N_ALIGN(name_len), GotName); in do_header()
394 collected[N_ALIGN(name_len) + body_len] = '\0'; in do_symlink()
396 init_symlink(collected + N_ALIGN(name_len), collected); in do_symlink()
460 symlink_buf = kmalloc(PATH_MAX + N_ALIGN(PATH_MAX) + 1, GFP_KERNEL); in unpack_to_rootfs()
461 name_buf = kmalloc(N_ALIGN(PATH_MAX), GFP_KERNEL); in unpack_to_rootfs()