Searched refs:tfo_data (Results 1 – 2 of 2) sorted by relevance
/third_party/NuttX/fs/tmpfs/ |
D | fs_tmpfs.c | 335 kmm_free(tfo->tfo_data); in tmpfs_release_lockedfile() 495 tfo->tfo_data = NULL; in tmpfs_alloc_file() 1030 kmm_free(tfo->tfo_data); in tmpfs_close() 1084 if (LOS_CopyFromKernel(buffer, buflen, &tfo->tfo_data[startpos], nread) != 0) in tmpfs_read() 1144 if (LOS_CopyFromKernel(buffer, PAGE_SIZE, &tfo->tfo_data[startpos], nread) != 0) in tmpfs_readpage() 1298 ret = memcpy_s(data, startpos + alloc, tfo->tfo_data, tfo->tfo_size); in tmpfs_write() 1305 free(tfo->tfo_data); in tmpfs_write() 1312 tfo->tfo_data = data; in tmpfs_write() 1317 if (LOS_CopyToKernel(&tfo->tfo_data[startpos], nwritten, buffer, nwritten) != 0) in tmpfs_write() 1644 if (tfo->tfo_data) in tmpfs_truncate() [all …]
|
D | fs_tmpfs.h | 166 char *tfo_data; /* File data pointer */ member
|