Home
last modified time | relevance | path

Searched refs:nr_users (Results 1 – 4 of 4) sorted by relevance

/external/e2fsprogs/lib/e2p/
Dljs.c56 unsigned int i, nr_users; in e2p_list_journal_super() local
77 nr_users = (unsigned int) ntohl(jsb->s_nr_users); in e2p_list_journal_super()
90 if (nr_users != 1) in e2p_list_journal_super()
91 fprintf(f, "Journal number of users: %u\n", nr_users); in e2p_list_journal_super()
102 if ((nr_users > 1) || in e2p_list_journal_super()
104 for (i=0; i < nr_users && i < JFS_USERS_MAX; i++) { in e2p_list_journal_super()
/external/e2fsprogs/lib/ext2fs/
Dmkjournal.c378 __u32 i, nr_users; in ext2fs_add_journal_device() local
403 nr_users = ntohl(jsb->s_nr_users); in ext2fs_add_journal_device()
404 if (nr_users > JFS_USERS_MAX) in ext2fs_add_journal_device()
406 for (i=0; i < nr_users; i++) { in ext2fs_add_journal_device()
411 if (i >= nr_users) { in ext2fs_add_journal_device()
412 memcpy(&jsb->s_users[nr_users*16], in ext2fs_add_journal_device()
414 jsb->s_nr_users = htonl(nr_users+1); in ext2fs_add_journal_device()
/external/e2fsprogs/tests/d_corrupt_journal_nr_users/
Dname1 Journal superblock corrupted, nr_users too high
/external/e2fsprogs/misc/
Dtune2fs.c231 int nr_users) in journal_user() argument
234 for (i = 0; i < nr_users; i++) { in journal_user()
251 int i, nr_users; in remove_journal_device() local
294 nr_users = ntohl(jsb->s_nr_users); in remove_journal_device()
295 if (nr_users > JFS_USERS_MAX) { in remove_journal_device()
297 "is too high (%d).\n"), nr_users); in remove_journal_device()
302 if (!journal_user(fs->super->s_uuid, jsb->s_users, nr_users)) { in remove_journal_device()
308 nr_users--; in remove_journal_device()
309 for (i = 0; i < nr_users; i++) in remove_journal_device()
311 jsb->s_nr_users = htonl(nr_users); in remove_journal_device()
[all …]