Home
last modified time | relevance | path

Searched refs:jDir (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/fs/jffs2/
Djffs2_nand_1pass.c366 struct b_dirent *jDir; in jffs2_1pass_find_inode() local
373 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_find_inode()
374 if ((pino == jDir->pino) && (jDir->ino) && /* 0 for unlink */ in jffs2_1pass_find_inode()
375 (len == jDir->nsize) && (nhash == jDir->nhash)) { in jffs2_1pass_find_inode()
377 if (jDir->version < version) in jffs2_1pass_find_inode()
380 if (jDir->version == version && inode != 0) { in jffs2_1pass_find_inode()
386 inode = jDir->ino; in jffs2_1pass_find_inode()
387 version = jDir->version; in jffs2_1pass_find_inode()
478 struct b_dirent *jDir; in jffs2_1pass_list_inodes() local
481 for (jDir = (struct b_dirent *)pL->dir.listHead; jDir; jDir = jDir->next) { in jffs2_1pass_list_inodes()
[all …]
Djffs2_1pass.c822 struct jffs2_raw_dirent *jDir; in jffs2_1pass_find_inode() local
834 jDir = (struct jffs2_raw_dirent *) get_node_mem(b->offset, in jffs2_1pass_find_inode()
836 if ((pino == jDir->pino) && (len == jDir->nsize) && in jffs2_1pass_find_inode()
837 (!strncmp((char *)jDir->name, name, len))) { /* a match */ in jffs2_1pass_find_inode()
838 if (jDir->version < version) { in jffs2_1pass_find_inode()
839 put_fl_mem(jDir, pL->readbuf); in jffs2_1pass_find_inode()
843 if (jDir->version == version && inode != 0) { in jffs2_1pass_find_inode()
846 putnstr(jDir->name, jDir->nsize); in jffs2_1pass_find_inode()
849 inode = jDir->ino; in jffs2_1pass_find_inode()
850 version = jDir->version; in jffs2_1pass_find_inode()
[all …]