/fs/jffs2/ |
D | compr_rubin.c | 44 int bits[8]; member 93 static void init_rubin(struct rubin_state *rs, int div, int *bits) in init_rubin() argument 103 rs->bits[c] = bits[c]; in init_rubin() 156 static void init_decode(struct rubin_state *rs, int div, int *bits) in init_decode() argument 158 init_rubin(rs, div, bits); in init_decode() 173 int c, bits = 0; in __do_decode() local 181 bits++; in __do_decode() 190 rs->bit_number += bits; in __do_decode() 201 } while (--bits); in __do_decode() 242 ret = encode(rs, rs->bit_divider-rs->bits[i], in out_byte() [all …]
|
/fs/ocfs2/cluster/ |
D | masklog.h | 134 #define __mlog_test_u64(mask, bits) \ argument 135 ( (u32)(mask & 0xffffffff) & bits.words[0] || \ 136 ((u64)(mask) >> 32) & bits.words[1] ) 137 #define __mlog_set_u64(mask, bits) do { \ argument 138 bits.words[0] |= (u32)(mask & 0xffffffff); \ 139 bits.words[1] |= (u64)(mask) >> 32; \ 141 #define __mlog_clear_u64(mask, bits) do { \ argument 142 bits.words[0] &= ~((u32)(mask & 0xffffffff)); \ 143 bits.words[1] &= ~((u64)(mask) >> 32); \ 154 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument [all …]
|
/fs/btrfs/ |
D | struct-funcs.c | 44 #define BTRFS_SETGET_FUNCS(name, type, member, bits) \ argument 45 u##bits btrfs_##name(struct extent_buffer *eb, type *s); \ 46 void btrfs_set_##name(struct extent_buffer *eb, type *s, u##bits val); \ 47 void btrfs_set_token_##name(struct extent_buffer *eb, type *s, u##bits val, struct btrfs_map_token … 48 u##bits btrfs_token_##name(struct extent_buffer *eb, \ 59 u##bits res; \ 65 res = le##bits##_to_cpu(p->member); \ 72 __le##bits leres; \ 74 return le##bits##_to_cpu(leres); \ 77 res = le##bits##_to_cpu(p->member); \ [all …]
|
D | extent_io.h | 86 int *bits); 88 int *bits); 199 int bits, struct extent_state **cached); 211 u64 max_bytes, unsigned long bits, int contig); 215 int bits, int filled, struct extent_state *cached_state); 217 int bits, gfp_t mask); 219 int bits, int wake, int delete, struct extent_state **cached, 222 int bits, gfp_t mask); 224 int bits, u64 *failed_start, 235 int bits, int clear_bits, gfp_t mask); [all …]
|
D | extent_io.c | 305 struct extent_state *state, int *bits) in set_state_cb() argument 308 tree->ops->set_bit_hook(tree->mapping->host, state, bits); in set_state_cb() 312 struct extent_state *state, int *bits) in clear_state_cb() argument 315 tree->ops->clear_bit_hook(tree->mapping->host, state, bits); in clear_state_cb() 319 struct extent_state *state, int *bits); 333 int *bits) in insert_state() argument 346 set_state_bits(tree, state, bits); in insert_state() 423 int *bits, int wake) in clear_state_bit() argument 426 int bits_to_clear = *bits & ~EXTENT_CTLBITS; in clear_state_bit() 433 clear_state_cb(tree, state, bits); in clear_state_bit() [all …]
|
D | ctree.h | 1599 #define BTRFS_SETGET_FUNCS(name, type, member, bits) \ argument 1600 u##bits btrfs_##name(struct extent_buffer *eb, type *s); \ 1601 u##bits btrfs_token_##name(struct extent_buffer *eb, type *s, struct btrfs_map_token *token); \ 1602 void btrfs_set_token_##name(struct extent_buffer *eb, type *s, u##bits val, struct btrfs_map_token … 1603 void btrfs_set_##name(struct extent_buffer *eb, type *s, u##bits val); 1606 #define BTRFS_SETGET_HEADER_FUNCS(name, type, member, bits) \ argument 1607 static inline u##bits btrfs_##name(struct extent_buffer *eb) \ 1610 u##bits res = le##bits##_to_cpu(p->member); \ 1614 u##bits val) \ 1617 p->member = cpu_to_le##bits(val); \ [all …]
|
D | super.c | 1350 int bits = dentry->d_sb->s_blocksize_bits; in btrfs_statfs() local 1369 buf->f_blocks = btrfs_super_total_bytes(disk_super) >> bits; in btrfs_statfs() 1370 buf->f_bfree = buf->f_blocks - (total_used >> bits); in btrfs_statfs() 1380 buf->f_bavail = buf->f_bavail >> bits; in btrfs_statfs()
|
/fs/ |
D | select.c | 524 void *bits; in core_sys_select() local 549 bits = stack_fds; in core_sys_select() 553 bits = kmalloc(6 * size, GFP_KERNEL); in core_sys_select() 554 if (!bits) in core_sys_select() 557 fds.in = bits; in core_sys_select() 558 fds.out = bits + size; in core_sys_select() 559 fds.ex = bits + 2*size; in core_sys_select() 560 fds.res_in = bits + 3*size; in core_sys_select() 561 fds.res_out = bits + 4*size; in core_sys_select() 562 fds.res_ex = bits + 5*size; in core_sys_select() [all …]
|
D | compat.c | 1446 void *bits; in compat_core_sys_select() local 1468 bits = stack_fds; in compat_core_sys_select() 1470 bits = kmalloc(6 * size, GFP_KERNEL); in compat_core_sys_select() 1472 if (!bits) in compat_core_sys_select() 1475 fds.in = (unsigned long *) bits; in compat_core_sys_select() 1476 fds.out = (unsigned long *) (bits + size); in compat_core_sys_select() 1477 fds.ex = (unsigned long *) (bits + 2*size); in compat_core_sys_select() 1478 fds.res_in = (unsigned long *) (bits + 3*size); in compat_core_sys_select() 1479 fds.res_out = (unsigned long *) (bits + 4*size); in compat_core_sys_select() 1480 fds.res_ex = (unsigned long *) (bits + 5*size); in compat_core_sys_select() [all …]
|
D | seq_file.c | 520 int seq_bitmap(struct seq_file *m, const unsigned long *bits, in seq_bitmap() argument 525 m->size - m->count, bits, nr_bits); in seq_bitmap() 536 int seq_bitmap_list(struct seq_file *m, const unsigned long *bits, in seq_bitmap_list() argument 541 m->size - m->count, bits, nr_bits); in seq_bitmap_list()
|
/fs/minix/ |
D | bitmap.c | 99 u32 bits = sbi->s_nzones - (sbi->s_firstdatazone + 1); in minix_count_free_blocks() local 101 return (count_free(sbi->s_zmap, sb->s_blocksize, bits) in minix_count_free_blocks() 269 u32 bits = sbi->s_ninodes + 1; in minix_count_free_inodes() local 271 return count_free(sbi->s_imap, sb->s_blocksize, bits); in minix_count_free_inodes()
|
D | minix.h | 90 static inline unsigned minix_blocks_needed(unsigned bits, unsigned blocksize) in minix_blocks_needed() argument 92 return DIV_ROUND_UP(bits, blocksize * 8); in minix_blocks_needed()
|
/fs/nilfs2/ |
D | page.c | 118 unsigned long bits; in nilfs_copy_buffer() local 133 bits = sbh->b_state & ((1UL << BH_Uptodate) | (1UL << BH_Mapped)); in nilfs_copy_buffer() 136 bits &= bh->b_state; in nilfs_copy_buffer() 139 if (bits & (1UL << BH_Uptodate)) in nilfs_copy_buffer() 143 if (bits & (1UL << BH_Mapped)) in nilfs_copy_buffer()
|
/fs/ext2/ |
D | super.c | 685 static loff_t ext2_max_size(int bits) in ext2_max_size() argument 701 upper_limit >>= (bits - 9); in ext2_max_size() 707 meta_blocks += 1 + (1LL << (bits-2)); in ext2_max_size() 709 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext2_max_size() 712 upper_limit <<= bits; in ext2_max_size() 714 res += 1LL << (bits-2); in ext2_max_size() 715 res += 1LL << (2*(bits-2)); in ext2_max_size() 716 res += 1LL << (3*(bits-2)); in ext2_max_size() 717 res <<= bits; in ext2_max_size()
|
/fs/ocfs2/ |
D | localalloc.c | 258 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) in ocfs2_alloc_should_use_local() argument 273 if (bits > (la_bits / 2)) in ocfs2_alloc_should_use_local() 279 (unsigned long long)bits, osb->local_alloc_state, la_bits, ret); in ocfs2_alloc_should_use_local() 1021 unsigned int bits; in ocfs2_recalc_la_window() local 1040 bits = osb->local_alloc_bits >> 1; in ocfs2_recalc_la_window() 1041 if (bits > ocfs2_megabytes_to_clusters(osb->sb, 1)) { in ocfs2_recalc_la_window() 1050 osb->local_alloc_bits = bits; in ocfs2_recalc_la_window()
|
D | reservations.c | 56 unsigned int bits; in ocfs2_resv_window_bits() local 60 bits = 4 << osb->osb_resv_level; in ocfs2_resv_window_bits() 62 bits = 4 << osb->osb_dir_resv_level; in ocfs2_resv_window_bits() 64 return bits; in ocfs2_resv_window_bits()
|
D | localalloc.h | 44 u64 bits);
|
D | ocfs2.h | 749 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start() local 753 return (u64)clusters << bits; in ocfs2_block_to_cluster_start()
|
/fs/ubifs/ |
D | lpt.c | 60 int i, n, bits, per_leb_wastage, max_pnode_cnt; in do_calc_lpt_geom() local 92 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 95 c->pnode_sz = (bits + 7) / 8; in do_calc_lpt_geom() 97 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 100 c->nnode_sz = (bits + 7) / 8; in do_calc_lpt_geom() 102 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 104 c->ltab_sz = (bits + 7) / 8; in do_calc_lpt_geom() 106 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 108 c->lsave_sz = (bits + 7) / 8; in do_calc_lpt_geom() 534 int num, bits; in calc_nnode_num() local [all …]
|
/fs/hpfs/ |
D | super.c | 121 unsigned long *bits; in hpfs_count_one_bitmap() local 124 bits = hpfs_map_4sectors(s, secno, &qbh, 4); in hpfs_count_one_bitmap() 125 if (!bits) in hpfs_count_one_bitmap() 127 count = bitmap_weight(bits, 2048 * BITS_PER_BYTE); in hpfs_count_one_bitmap()
|
/fs/cramfs/ |
D | Kconfig | 10 16/32 bits uid/gid, hard links and timestamps.
|
/fs/ext3/ |
D | super.c | 1558 static loff_t ext3_max_size(int bits) in ext3_max_size() argument 1574 upper_limit >>= (bits - 9); in ext3_max_size() 1580 meta_blocks += 1 + (1LL << (bits-2)); in ext3_max_size() 1582 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext3_max_size() 1585 upper_limit <<= bits; in ext3_max_size() 1587 res += 1LL << (bits-2); in ext3_max_size() 1588 res += 1LL << (2*(bits-2)); in ext3_max_size() 1589 res += 1LL << (3*(bits-2)); in ext3_max_size() 1590 res <<= bits; in ext3_max_size()
|
/fs/cachefiles/ |
D | Kconfig | 19 enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
|
/fs/fscache/ |
D | Kconfig | 52 enabled by setting bits in /sys/modules/fscache/parameter/debug.
|
/fs/ext4/ |
D | super.c | 2213 static loff_t ext4_max_bitmap_size(int bits, int has_huge_files) in ext4_max_bitmap_size() argument 2235 upper_limit >>= (bits - 9); in ext4_max_bitmap_size() 2251 meta_blocks += 1 + (1LL << (bits-2)); in ext4_max_bitmap_size() 2253 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext4_max_bitmap_size() 2256 upper_limit <<= bits; in ext4_max_bitmap_size() 2258 res += 1LL << (bits-2); in ext4_max_bitmap_size() 2259 res += 1LL << (2*(bits-2)); in ext4_max_bitmap_size() 2260 res += 1LL << (3*(bits-2)); in ext4_max_bitmap_size() 2261 res <<= bits; in ext4_max_bitmap_size()
|