Searched refs:bs (Results 1 – 3 of 3) sorted by relevance
549 if (!bs->fat_length && !bs->fat32_length) in is_bootsector_valid()586 bs->reserved = FAT2CPU16(bs->reserved); in read_bootsectandvi()587 bs->fat_length = FAT2CPU16(bs->fat_length); in read_bootsectandvi()588 bs->secs_track = FAT2CPU16(bs->secs_track); in read_bootsectandvi()589 bs->heads = FAT2CPU16(bs->heads); in read_bootsectandvi()590 bs->total_sect = FAT2CPU32(bs->total_sect); in read_bootsectandvi()599 if (!bs->fat_length && bs->fat32_length) { in read_bootsectandvi()601 bs->fat32_length = FAT2CPU32(bs->fat32_length); in read_bootsectandvi()602 bs->flags = FAT2CPU16(bs->flags); in read_bootsectandvi()604 bs->info_sector = FAT2CPU16(bs->info_sector); in read_bootsectandvi()[all …]
96 #define ZAP_LEAF_HASH_SHIFT(bs) (bs - 5) argument97 #define ZAP_LEAF_HASH_NUMENTRIES(bs) (1 << ZAP_LEAF_HASH_SHIFT(bs)) argument98 #define LEAF_HASH(bs, h) \ argument99 ((ZAP_LEAF_HASH_NUMENTRIES(bs)-1) & \100 ((h) >> (64 - ZAP_LEAF_HASH_SHIFT(bs)-l->l_hdr.lh_prefix_len)))107 #define ZAP_LEAF_NUMCHUNKS(bs) \ argument108 (((1<<bs) - 2*ZAP_LEAF_HASH_NUMENTRIES(bs)) / \116 #define ZAP_LEAF_CHUNK(l, bs, idx) \ argument117 ((zap_leaf_chunk_t *)(l->l_hash + ZAP_LEAF_HASH_NUMENTRIES(bs)))[idx]118 #define ZAP_LEAF_ENTRY(l, bs, idx) (&ZAP_LEAF_CHUNK(l, bs, idx).l_entry) argument
51 #define __BTRFS_LEAF_DATA_SIZE(bs) ((bs) - sizeof(struct btrfs_header)) argument
Completed in 15 milliseconds