Home
last modified time | relevance | path

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

/init/
Ddo_mounts_rd.c75 unsigned char *buf; in identify_ramdisk_image() local
79 buf = kmalloc(size, GFP_KERNEL); in identify_ramdisk_image()
80 if (!buf) in identify_ramdisk_image()
83 minixsb = (struct minix_super_block *) buf; in identify_ramdisk_image()
84 romfsb = (struct romfs_super_block *) buf; in identify_ramdisk_image()
85 cramfsb = (struct cramfs_super *) buf; in identify_ramdisk_image()
86 squashfsb = (struct squashfs_super_block *) buf; in identify_ramdisk_image()
87 memset(buf, 0xe5, size); in identify_ramdisk_image()
93 sys_read(fd, buf, size); in identify_ramdisk_image()
95 *decompressor = decompress_method(buf, size, &compress_name); in identify_ramdisk_image()
[all …]
Dinitramfs.c166 char buf[9]; in parse_header() local
169 buf[8] = '\0'; in parse_header()
171 memcpy(buf, s, 8); in parse_header()
172 parsed[i] = simple_strtoul(buf, NULL, 16); in parse_header()
216 static void __init read_into(char *buf, unsigned size, enum state next) in read_into() argument
223 collect = collected = buf; in read_into()
413 static long __init write_buffer(char *buf, unsigned long len) in write_buffer() argument
416 victim = buf; in write_buffer()
425 char *buf = (char *) bufv; in flush_buffer() local
430 while ((written = write_buffer(buf, len)) < len && !message) { in flush_buffer()
[all …]
Dmain.c704 char *buf; member
720 entry->buf = alloc_bootmem(strlen(str_entry) + 1); in initcall_blacklist()
721 strcpy(entry->buf, str_entry); in initcall_blacklist()
741 if (!strcmp(fn_name, entry->buf)) { in initcall_blacklisted()
Ddo_mounts.c486 char buf[80]; in change_floppy() local
491 vsprintf(buf, fmt, args); in change_floppy()
498 printk(KERN_NOTICE "VFS: Insert %s and press ENTER\n", buf); in change_floppy()