Searched refs:tfo_size (Results 1 – 2 of 2) sorted by relevance
494 tfo->tfo_size = 0; in tmpfs_alloc_file()1061 if (filep->f_pos >= tfo->tfo_size || buflen == 0) in tmpfs_read()1076 if (endpos > tfo->tfo_size) in tmpfs_read()1078 endpos = tfo->tfo_size; in tmpfs_read()1121 if (off >= tfo->tfo_size) in tmpfs_readpage()1136 if (endpos > tfo->tfo_size) in tmpfs_readpage()1138 endpos = tfo->tfo_size; in tmpfs_readpage()1285 if (endpos > tfo->tfo_size) in tmpfs_write()1296 if (tfo->tfo_size) in tmpfs_write()1298 ret = memcpy_s(data, startpos + alloc, tfo->tfo_data, tfo->tfo_size); in tmpfs_write()[all …]
165 size_t tfo_size; /* Valid file size */ member