Lines Matching refs:cpos
473 loff_t cpos = 0; in fat_search_long() local
478 if (fat_get_entry(inode, &cpos, &bh, &de) == -1) in fat_search_long()
489 int status = fat_parse_long(inode, &cpos, &bh, &de, in fat_search_long()
528 sinfo->slot_off = cpos - nr_slots * sizeof(*de); in fat_search_long()
567 loff_t cpos; in __fat_readdir() local
573 cpos = ctx->pos; in __fat_readdir()
580 cpos = 0; in __fat_readdir()
583 if (cpos & (sizeof(struct msdos_dir_entry) - 1)) { in __fat_readdir()
590 if (fat_get_entry(inode, &cpos, &bh, &de) == -1) in __fat_readdir()
611 int status = fat_parse_long(inode, &cpos, &bh, &de, in __fat_readdir()
658 ctx->pos = cpos - (nr_slots + 1) * sizeof(struct msdos_dir_entry); in __fat_readdir()
684 ctx->pos = cpos; in __fat_readdir()
688 if (fake_offset && cpos < 2) in __fat_readdir()
691 ctx->pos = cpos; in __fat_readdir()
909 loff_t cpos; in fat_dir_empty() local
913 cpos = 0; in fat_dir_empty()
914 while (fat_get_short_entry(dir, &cpos, &bh, &de) >= 0) { in fat_dir_empty()
934 loff_t cpos; in fat_subdirs() local
938 cpos = 0; in fat_subdirs()
939 while (fat_get_short_entry(dir, &cpos, &bh, &de) >= 0) { in fat_subdirs()