Home
last modified time | relevance | path

Searched refs:tfo_data (Results 1 - 2 of 2) sorted by relevance

/third_party/NuttX/fs/tmpfs/
H A Dfs_tmpfs.c336 kmm_free(tfo->tfo_data); in tmpfs_release_lockedfile()
496 tfo->tfo_data = NULL; in tmpfs_alloc_file()
1031 kmm_free(tfo->tfo_data); in tmpfs_close()
1085 if (LOS_CopyFromKernel(buffer, buflen, &tfo->tfo_data[startpos], nread) != 0) in tmpfs_read()
1145 if (LOS_CopyFromKernel(buffer, PAGE_SIZE, &tfo->tfo_data[startpos], nread) != 0) in tmpfs_readpage()
1299 ret = memcpy_s(data, startpos + alloc, tfo->tfo_data, tfo->tfo_size); in tmpfs_write()
1306 free(tfo->tfo_data); in tmpfs_write()
1313 tfo->tfo_data = data; in tmpfs_write()
1318 if (LOS_CopyToKernel(&tfo->tfo_data[startpos], nwritten, buffer, nwritten) != 0) in tmpfs_write()
1654 if (tfo->tfo_data) in tmpfs_truncate()
[all...]
H A Dfs_tmpfs.h166 char *tfo_data; /* File data pointer */ member

Completed in 3 milliseconds