Searched refs:tfo_size (Results 1 – 2 of 2) sorted by relevance
495 tfo->tfo_size = 0; in tmpfs_alloc_file()1062 if (filep->f_pos >= tfo->tfo_size || buflen == 0) in tmpfs_read()1077 if (endpos > tfo->tfo_size) in tmpfs_read()1079 endpos = tfo->tfo_size; in tmpfs_read()1122 if (off >= tfo->tfo_size) in tmpfs_readpage()1137 if (endpos > tfo->tfo_size) in tmpfs_readpage()1139 endpos = tfo->tfo_size; in tmpfs_readpage()1286 if (endpos > tfo->tfo_size) in tmpfs_write()1297 if (tfo->tfo_size) in tmpfs_write()1299 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