Lines Matching +full:0 +full:x0fffff
11 * Max Cohan: Fixed invalid FSINFO offset when info_sector is 0
35 #define FAT_DATE_MIN (0<<9 | 1<<5 | 1)
77 .media = 0xFE,
84 .media = 0xFC,
91 .media = 0xFF,
98 .media = 0xFD,
134 return 0; in __fat_get_block()
137 return 0; in __fat_get_block()
179 return 0; in __fat_get_block()
193 return 0; in fat_get_block()
231 if (err < 0) in fat_write_begin()
245 if (!(err < 0) && !(MSDOS_I(inode)->i_attrs & ATTR_ARCH)) { in fat_write_end()
270 * Return 0, and fallback to normal buffered write. in fat_direct_IO()
274 return 0; in fat_direct_IO()
282 if (ret < 0 && iov_iter_rw(iter) == WRITE) in fat_direct_IO()
297 BUG_ON(create != 0); in fat_get_block_bmap()
310 return 0; in fat_get_block_bmap()
380 for (i = 0; i < FAT_HASH_SIZE; i++) in fat_hash_init()
395 for (i = 0; i < FAT_HASH_SIZE; i++) in dir_hash_init()
432 MSDOS_I(inode)->i_pos = 0; in fat_detach()
471 return 0; in is_exec()
479 inode->i_size = 0; in fat_calc_dir_size()
480 if (MSDOS_I(inode)->i_start == 0) in fat_calc_dir_size()
481 return 0; in fat_calc_dir_size()
484 if (ret < 0) in fat_calc_dir_size()
488 return 0; in fat_calc_dir_size()
500 if (MSDOS_I(dir)->i_start == 0 || in fat_validate_dir()
506 return 0; in fat_validate_dir()
516 MSDOS_I(inode)->i_pos = 0; in fat_fill_inode()
531 if (error < 0) in fat_fill_inode()
538 if (error < 0) in fat_fill_inode()
563 fat_time_fat2unix(sbi, &mtime, de->time, de->date, 0); in fat_fill_inode()
569 fat_time_fat2unix(sbi, &atime, 0, de->adate, 0); in fat_fill_inode()
576 return 0; in fat_fill_inode()
655 inode->i_size = 0; in fat_evict_inode()
656 fat_truncate_blocks(inode, 0); in fat_evict_inode()
687 bh = sb_bread(sb, 0); in fat_set_state()
735 fat_set_state(sb, 0, 0); in fat_put_super()
754 ei->mmu_private = 0; in fat_alloc_inode()
755 ei->i_start = 0; in fat_alloc_inode()
756 ei->i_logstart = 0; in fat_alloc_inode()
757 ei->i_attrs = 0; in fat_alloc_inode()
758 ei->i_pos = 0; in fat_alloc_inode()
759 ei->i_crtime.tv_sec = 0; in fat_alloc_inode()
760 ei->i_crtime.tv_nsec = 0; in fat_alloc_inode()
775 ei->nr_caches = 0; in init_once()
787 0, (SLAB_RECLAIM_ACCOUNT| in fat_init_inodecache()
792 return 0; in fat_init_inodecache()
810 fc->sb_flags |= SB_NODIRATIME | (sbi->options.isvfat ? 0 : SB_NOATIME); in fat_reconfigure()
818 fat_set_state(sb, 0, 0); in fat_reconfigure()
822 return 0; in fat_reconfigure()
848 return 0; in fat_statfs()
863 return 0; in __fat_write_inode()
868 return 0; in __fat_write_inode()
886 raw_entry->size = 0; in __fat_write_inode()
904 err = 0; in __fat_write_inode()
1034 return 0; in fat_show_options()
1058 {"UTC", 0},
1081 {"binary", 0},
1082 {"text", 0},
1083 {"auto", 0},
1084 {"b", 0},
1085 {"t", 0},
1086 {"a", 0},
1166 return 0; in fat_parse_param()
1177 if (opt < 0) in fat_parse_param()
1290 opts->numtail = 0; /* negated option */ in fat_parse_param()
1311 return 0; in fat_parse_param()
1324 inode->i_generation = 0; in fat_read_root()
1331 if (error < 0) in fat_read_root()
1334 MSDOS_I(inode)->i_start = 0; in fat_read_root()
1339 MSDOS_I(inode)->i_logstart = 0; in fat_read_root()
1344 inode_set_atime_to_ts(inode, inode_set_ctime(inode, 0, 0))); in fat_read_root()
1347 return 0; in fat_read_root()
1394 memset(bpb, 0, sizeof(*bpb)); in fat_read_bpb()
1433 fat_msg(sb, KERN_ERR, "invalid media value (0x%02x)", in fat_read_bpb()
1454 if (bpb->fat_fat_length == 0 && bpb->fat32_length == 0) { in fat_read_bpb()
1460 error = 0; in fat_read_bpb()
1477 if (b->ignored[0] != 0xeb || b->ignored[2] != 0x90) { in fat_read_static_bpb()
1495 for (i = 0; i < ARRAY_SIZE(floppy_defaults); i++) { in fat_read_static_bpb()
1514 memset(bpb, 0, sizeof(*bpb)); in fat_read_static_bpb()
1523 error = 0; in fat_read_static_bpb()
1583 opts->utf8 = 0; in fat_fill_super()
1598 bh = sb_bread(sb, 0); in fat_fill_super()
1636 bh_resize = sb_bread(sb, 0); in fat_fill_super()
1650 sbi->fat_bits = 0; /* Don't know yet */ in fat_fill_super()
1653 sbi->root_cluster = 0; in fat_fill_super()
1655 sbi->free_clus_valid = 0; in fat_fill_super()
1657 sb->s_maxbytes = 0xffffffff; in fat_fill_super()
1658 fat_time_fat2unix(sbi, &ts, 0, cpu_to_le16(FAT_DATE_MIN), 0); in fat_fill_super()
1662 cpu_to_le16(FAT_DATE_MAX), 0); in fat_fill_super()
1674 /* MC - if info_sector is 0, don't multiply by 0 */ in fat_fill_super()
1676 if (sbi->fsinfo_sector == 0) in fat_fill_super()
1689 "0x%08x, 0x%08x (sector = %lu)", in fat_fill_super()
1728 if (total_sectors == 0) in fat_fill_super()
1773 * == (0x0F00 | media), for FAT12 in fat_fill_super()
1774 * == (0XFF00 | media), for FAT16 in fat_fill_super()
1775 * == (0x0FFFFF | media), for FAT32 in fat_fill_super()
1815 if (error < 0) { in fat_fill_super()
1821 fat_attach(root_inode, 0); in fat_fill_super()
1832 fat_set_state(sb, 1, 0); in fat_fill_super()
1833 return 0; in fat_fill_super()
1865 * inode to finish. So wait=0 is sent down to sync_inode_metadata in writeback_inode()
1868 ret = sync_inode_metadata(inode, 0); in writeback_inode()
1884 int ret = 0; in fat_flush_inodes()
1886 return 0; in fat_flush_inodes()
1914 opts->rodir = 0; in fat_init_fs_context()
1916 opts->shortname = 0; in fat_init_fs_context()
1920 opts->quiet = opts->showexec = opts->sys_immutable = opts->dotsOK = 0; in fat_init_fs_context()
1921 opts->unicode_xlate = 0; in fat_init_fs_context()
1923 opts->usefree = opts->nocase = 0; in fat_init_fs_context()
1924 opts->tz_set = 0; in fat_init_fs_context()
1925 opts->nfs = 0; in fat_init_fs_context()
1927 opts->debug = 0; in fat_init_fs_context()
1934 return 0; in fat_init_fs_context()
1960 return 0; in init_fat_fs()