Searched refs:file_buf (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/u-boot/fs/zfs/ |
| H A D | zfs.c | 147 char *file_buf; member 1836 free(data->file_buf); in zfs_unmount() 2081 if (data->file_buf == NULL) { in zfs_read() 2082 data->file_buf = malloc(SPA_MAXBLOCKSIZE); in zfs_read() 2083 if (!data->file_buf) in zfs_read() 2093 memmove(buf, data->file_buf + file->offset - data->file_start, in zfs_read() 2116 free(data->file_buf); in zfs_read() 2117 data->file_buf = 0; in zfs_read() 2121 data->file_buf = t; in zfs_read() 2130 memmove(buf, data->file_buf + file->offset + red in zfs_read()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_flash.c | 1070 static int fts_read_file(char *file_name, u8 **file_buf) in fts_read_file() argument 1080 if ((NULL == file_name) || (NULL == file_buf)) { in fts_read_file() 1100 *file_buf = (u8 *)vmalloc(file_len); in fts_read_file() 1101 if (NULL == *file_buf) { in fts_read_file() 1109 ret = vfs_read(filp, *file_buf, file_len , &pos); in fts_read_file()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/ |
| H A D | focaltech_flash.c | 1035 static int fts_read_file(char *file_name, u8 **file_buf) in fts_read_file() argument 1045 if ((NULL == file_name) || (NULL == file_buf)) { in fts_read_file() 1065 *file_buf = (u8 *)vmalloc(file_len); in fts_read_file() 1066 if (NULL == *file_buf) { in fts_read_file() 1074 ret = vfs_read(filp, *file_buf, file_len , &pos); in fts_read_file()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | nandsim.c | 353 void *file_buf; member 561 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in ns_alloc_device() 562 if (!ns->file_buf) { in ns_alloc_device() 611 kfree(ns->file_buf); in ns_free_device() 1513 pg_off = ns->file_buf + ns->regs.column + ns->regs.off; in ns_prog_page() 1517 memset(ns->file_buf, 0xff, ns->geom.pgszoob); in ns_prog_page() 1530 tx = ns_write_file(ns, ns->cfile, ns->file_buf, in ns_prog_page()
|