Searched refs:curofs (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/fs/jffs2/ |
D | dir.c | 125 unsigned long curofs = 1; in jffs2_readdir() local 134 curofs++; in jffs2_readdir() 136 if (curofs < ctx->pos) { in jffs2_readdir() 138 fd->name, fd->ino, fd->type, curofs, (unsigned long)ctx->pos); in jffs2_readdir()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 1303 - unsigned long curofs = 1; 1312 - curofs++; 1313 - /* First loop: curofs = 2; pos = 2 */ 1314 - if (curofs < ctx->pos) { 1315 - jffs2_dbg(2, "Skipping dirent: \"%s\", ino #%u, type %d, because curofs %ld < offset %ld\n", 1316 - fd->name, fd->ino, fd->type, curofs, (unsigned long)ctx->pos); 1992 + off_t curofs = 0; 2018 + if (curofs++ < *int_off) { 2021 + "Skipping dirent: \"%s\", ino #%u, type %d, because curofs %ld < offset %ld\n", 2022 + fd->name, fd->ino, fd->type, curofs, offset));
|