/fs/jffs2/ |
D | compr_rubin.c | 41 int bits[8]; member 90 static void init_rubin(struct rubin_state *rs, int div, int *bits) in init_rubin() argument 100 rs->bits[c] = bits[c]; in init_rubin() 153 static void init_decode(struct rubin_state *rs, int div, int *bits) in init_decode() argument 155 init_rubin(rs, div, bits); in init_decode() 170 int c, bits = 0; in __do_decode() local 178 bits++; in __do_decode() 187 rs->bit_number += bits; in __do_decode() 198 } while (--bits); in __do_decode() 239 ret = encode(rs, rs->bit_divider-rs->bits[i], in out_byte() [all …]
|
/fs/ocfs2/cluster/ |
D | masklog.h | 149 #define __mlog_test_u64(mask, bits) \ argument 150 ( (u32)(mask & 0xffffffff) & bits.words[0] || \ 151 ((u64)(mask) >> 32) & bits.words[1] ) 152 #define __mlog_set_u64(mask, bits) do { \ argument 153 bits.words[0] |= (u32)(mask & 0xffffffff); \ 154 bits.words[1] |= (u64)(mask) >> 32; \ 156 #define __mlog_clear_u64(mask, bits) do { \ argument 157 bits.words[0] &= ~((u32)(mask & 0xffffffff)); \ 158 bits.words[1] &= ~((u64)(mask) >> 32); \ 169 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument [all …]
|
D | heartbeat.c | 242 unsigned int bits = reg->hr_block_bits; in o2hb_setup_one_bio() local 260 bio->bi_sector = (reg->hr_start_block + cs) << (bits - 9); in o2hb_setup_one_bio() 265 vec_start = (cs << bits) % PAGE_CACHE_SIZE; in o2hb_setup_one_bio()
|
/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 u##bits btrfs_##name(struct extent_buffer *eb, \ 58 return le##bits##_to_cpu(p->member); \ 67 u##bits res; \ 73 __le##bits leres; \ 75 return le##bits##_to_cpu(leres); \ 78 res = le##bits##_to_cpu(p->member); \ 85 type *s, u##bits val) \ [all …]
|
D | extent_io.h | 63 unsigned long old, unsigned long bits); 65 unsigned long old, unsigned long bits); 154 u64 max_bytes, unsigned long bits); 157 int bits, int filled); 159 int bits, gfp_t mask); 161 int bits, int wake, int delete, gfp_t mask); 163 int bits, gfp_t mask); 181 u64 *start_ret, u64 *end_ret, int bits); 183 u64 start, int bits); 252 int wait_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, int bits);
|
D | extent_io.c | 331 unsigned long bits) in set_state_cb() argument 335 state->end, state->state, bits); in set_state_cb() 341 unsigned long bits) in clear_state_cb() argument 345 state->end, state->state, bits); in clear_state_cb() 361 int bits) in insert_state() argument 371 if (bits & EXTENT_DIRTY) in insert_state() 373 set_state_cb(tree, state, bits); in insert_state() 374 state->state |= bits; in insert_state() 434 struct extent_state *state, int bits, int wake, in clear_state_bit() argument 437 int ret = state->state & bits; in clear_state_bit() [all …]
|
D | ctree.h | 1009 #define BTRFS_SETGET_FUNCS(name, type, member, bits) \ argument 1010 u##bits btrfs_##name(struct extent_buffer *eb, type *s); \ 1011 void btrfs_set_##name(struct extent_buffer *eb, type *s, u##bits val); 1014 #define BTRFS_SETGET_HEADER_FUNCS(name, type, member, bits) \ argument 1015 static inline u##bits btrfs_##name(struct extent_buffer *eb) \ 1018 u##bits res = le##bits##_to_cpu(p->member); \ 1023 u##bits val) \ 1026 p->member = cpu_to_le##bits(val); \ 1030 #define BTRFS_SETGET_STACK_FUNCS(name, type, member, bits) \ argument 1031 static inline u##bits btrfs_##name(type *s) \ [all …]
|
D | super.c | 548 int bits = dentry->d_sb->s_blocksize_bits; in btrfs_statfs() local 552 buf->f_blocks = btrfs_super_total_bytes(disk_super) >> bits; in btrfs_statfs() 554 (btrfs_super_bytes_used(disk_super) >> bits); in btrfs_statfs()
|
/fs/cifs/ |
D | md5.c | 55 ctx->bits[0] = 0; in cifs_MD5_init() 56 ctx->bits[1] = 0; in cifs_MD5_init() 70 t = ctx->bits[0]; in cifs_MD5_update() 71 if ((ctx->bits[0] = t + ((__u32) len << 3)) < t) in cifs_MD5_update() 72 ctx->bits[1]++; /* Carry from low to high */ in cifs_MD5_update() 73 ctx->bits[1] += len >> 29; in cifs_MD5_update() 119 count = (ctx->bits[0] >> 3) & 0x3F; in cifs_MD5_final() 145 ((__u32 *) ctx->in)[14] = ctx->bits[0]; in cifs_MD5_final() 146 ((__u32 *) ctx->in)[15] = ctx->bits[1]; in cifs_MD5_final()
|
D | md5.h | 10 __u32 bits[2]; member
|
D | cifsacl.c | 264 const struct cifs_sid *psid, __u64 nmode, umode_t bits) in fill_ace_for_sid() argument 272 mode_to_access_flags(nmode, bits, &access_req); in fill_ace_for_sid()
|
/fs/ |
D | select.c | 489 void *bits; in core_sys_select() local 514 bits = stack_fds; in core_sys_select() 518 bits = kmalloc(6 * size, GFP_KERNEL); in core_sys_select() 519 if (!bits) in core_sys_select() 522 fds.in = bits; in core_sys_select() 523 fds.out = bits + size; in core_sys_select() 524 fds.ex = bits + 2*size; in core_sys_select() 525 fds.res_in = bits + 3*size; in core_sys_select() 526 fds.res_out = bits + 4*size; in core_sys_select() 527 fds.res_ex = bits + 5*size; in core_sys_select() [all …]
|
D | seq_file.c | 500 int seq_bitmap(struct seq_file *m, const unsigned long *bits, in seq_bitmap() argument 505 m->size - m->count, bits, nr_bits); in seq_bitmap() 516 int seq_bitmap_list(struct seq_file *m, unsigned long *bits, in seq_bitmap_list() argument 521 m->size - m->count, bits, nr_bits); in seq_bitmap_list()
|
D | compat.c | 1620 void *bits; in compat_core_sys_select() local 1642 bits = stack_fds; in compat_core_sys_select() 1644 bits = kmalloc(6 * size, GFP_KERNEL); in compat_core_sys_select() 1646 if (!bits) in compat_core_sys_select() 1649 fds.in = (unsigned long *) bits; in compat_core_sys_select() 1650 fds.out = (unsigned long *) (bits + size); in compat_core_sys_select() 1651 fds.ex = (unsigned long *) (bits + 2*size); in compat_core_sys_select() 1652 fds.res_in = (unsigned long *) (bits + 3*size); in compat_core_sys_select() 1653 fds.res_out = (unsigned long *) (bits + 4*size); in compat_core_sys_select() 1654 fds.res_ex = (unsigned long *) (bits + 5*size); in compat_core_sys_select() [all …]
|
/fs/ext2/ |
D | super.c | 677 static loff_t ext2_max_size(int bits) in ext2_max_size() argument 693 upper_limit >>= (bits - 9); in ext2_max_size() 699 meta_blocks += 1 + (1LL << (bits-2)); in ext2_max_size() 701 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext2_max_size() 704 upper_limit <<= bits; in ext2_max_size() 706 res += 1LL << (bits-2); in ext2_max_size() 707 res += 1LL << (2*(bits-2)); in ext2_max_size() 708 res += 1LL << (3*(bits-2)); in ext2_max_size() 709 res <<= bits; in ext2_max_size()
|
/fs/ocfs2/ |
D | localalloc.c | 192 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits) in ocfs2_alloc_should_use_local() argument 207 if (bits > (la_bits / 2)) in ocfs2_alloc_should_use_local() 213 osb->local_alloc_state, (unsigned long long)bits, la_bits, ret); in ocfs2_alloc_should_use_local() 1003 unsigned int bits; in ocfs2_recalc_la_window() local 1022 bits = osb->local_alloc_bits >> 1; in ocfs2_recalc_la_window() 1023 if (bits > ocfs2_megabytes_to_clusters(osb->sb, 1)) { in ocfs2_recalc_la_window() 1032 osb->local_alloc_bits = bits; in ocfs2_recalc_la_window()
|
D | localalloc.h | 41 u64 bits);
|
/fs/ubifs/ |
D | lpt.c | 59 int i, n, bits, per_leb_wastage, max_pnode_cnt; in do_calc_lpt_geom() local 91 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 94 c->pnode_sz = (bits + 7) / 8; in do_calc_lpt_geom() 96 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 99 c->nnode_sz = (bits + 7) / 8; in do_calc_lpt_geom() 101 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 103 c->ltab_sz = (bits + 7) / 8; in do_calc_lpt_geom() 105 bits = UBIFS_LPT_CRC_BITS + UBIFS_LPT_TYPE_BITS + in do_calc_lpt_geom() 107 c->lsave_sz = (bits + 7) / 8; in do_calc_lpt_geom() 533 int num, bits; in calc_nnode_num() local [all …]
|
/fs/hpfs/ |
D | super.c | 112 unsigned *bits; in hpfs_count_one_bitmap() local 114 if (!(bits = hpfs_map_4sectors(s, secno, &qbh, 4))) return 0; in hpfs_count_one_bitmap() 118 if (!bits[i]) continue; in hpfs_count_one_bitmap() 119 for (b = bits[i]; b; b>>=1) count += b & 1; in hpfs_count_one_bitmap()
|
/fs/cramfs/ |
D | Kconfig | 10 16/32 bits uid/gid, hard links and timestamps.
|
/fs/ext3/ |
D | super.c | 1484 static loff_t ext3_max_size(int bits) in ext3_max_size() argument 1500 upper_limit >>= (bits - 9); in ext3_max_size() 1506 meta_blocks += 1 + (1LL << (bits-2)); in ext3_max_size() 1508 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext3_max_size() 1511 upper_limit <<= bits; in ext3_max_size() 1513 res += 1LL << (bits-2); in ext3_max_size() 1514 res += 1LL << (2*(bits-2)); in ext3_max_size() 1515 res += 1LL << (3*(bits-2)); in ext3_max_size() 1516 res <<= bits; in ext3_max_size()
|
/fs/ext4/ |
D | super.c | 1887 static loff_t ext4_max_bitmap_size(int bits, int has_huge_files) in ext4_max_bitmap_size() argument 1909 upper_limit >>= (bits - 9); in ext4_max_bitmap_size() 1925 meta_blocks += 1 + (1LL << (bits-2)); in ext4_max_bitmap_size() 1927 meta_blocks += 1 + (1LL << (bits-2)) + (1LL << (2*(bits-2))); in ext4_max_bitmap_size() 1930 upper_limit <<= bits; in ext4_max_bitmap_size() 1932 res += 1LL << (bits-2); in ext4_max_bitmap_size() 1933 res += 1LL << (2*(bits-2)); in ext4_max_bitmap_size() 1934 res += 1LL << (3*(bits-2)); in ext4_max_bitmap_size() 1935 res <<= bits; in ext4_max_bitmap_size()
|
/fs/reiserfs/ |
D | super.c | 1110 static void handle_barrier_mode(struct super_block *s, unsigned long bits) in handle_barrier_mode() argument 1116 if (bits & all_barrier) { in handle_barrier_mode() 1118 if (bits & flush) { in handle_barrier_mode() 1121 } else if (bits & none) { in handle_barrier_mode()
|
/fs/ocfs2/dlm/ |
D | dlmcommon.h | 697 #define BITS_TO_BYTES(bits) (((bits)+BITS_PER_BYTE-1)/BITS_PER_BYTE) argument
|
/fs/yaffs2/ |
D | Kconfig | 124 Setting this to 'y' will force tnode width to 16 bits and save
|