/linux-2.6.39/fs/hfs/ |
D | bitmap.c | 139 u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits) in hfs_vbm_search_free() argument 145 if (!*num_bits) in hfs_vbm_search_free() 151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits); in hfs_vbm_search_free() 154 pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits); in hfs_vbm_search_free() 156 *num_bits = pos = 0; in hfs_vbm_search_free() 161 dprint(DBG_BITMAP, "alloc_bits: %u,%u\n", pos, *num_bits); in hfs_vbm_search_free() 162 HFS_SB(sb)->free_ablocks -= *num_bits; in hfs_vbm_search_free()
|
/linux-2.6.39/lib/ |
D | decompress_unlzma.c | 396 int num_bits; in process_bit1() local 461 num_bits = LZMA_LEN_NUM_LOW_BITS; in process_bit1() 471 num_bits = LZMA_LEN_NUM_MID_BITS; in process_bit1() 477 num_bits = LZMA_LEN_NUM_HIGH_BITS; in process_bit1() 481 rc_bit_tree_decode(rc, prob_len, num_bits, &len); in process_bit1() 499 num_bits = (pos_slot >> 1) - 1; in process_bit1() 502 cst->rep0 <<= num_bits; in process_bit1() 506 num_bits -= LZMA_NUM_ALIGN_BITS; in process_bit1() 507 while (num_bits--) in process_bit1() 512 num_bits = LZMA_NUM_ALIGN_BITS; in process_bit1() [all …]
|
/linux-2.6.39/fs/ocfs2/ |
D | resize.c | 101 u16 chain, num_bits, backups = 0; in ocfs2_update_last_group_and_inode() local 118 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode() 119 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode() 120 le16_add_cpu(&group->bg_free_bits_count, num_bits); in ocfs2_update_last_group_and_inode() 148 le32_add_cpu(&cr->c_total, num_bits); in ocfs2_update_last_group_and_inode() 149 le32_add_cpu(&cr->c_free, num_bits); in ocfs2_update_last_group_and_inode() 150 le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); in ocfs2_update_last_group_and_inode() 174 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode() 175 le16_add_cpu(&group->bg_free_bits_count, -1 * num_bits); in ocfs2_update_last_group_and_inode()
|
D | suballoc.c | 121 unsigned int num_bits); 463 u32 bit_off, num_bits; in ocfs2_block_group_alloc_contig() local 470 &num_bits); in ocfs2_block_group_alloc_contig() 491 bg_blkno, num_bits, alloc_rec, cl); in ocfs2_block_group_alloc_contig() 505 u32 *bit_off, u32 *num_bits) in ocfs2_block_group_claim_bits() argument 511 bit_off, num_bits); in ocfs2_block_group_claim_bits() 620 u32 bit_off, num_bits; in ocfs2_block_group_alloc_discontig() local 649 &bit_off, &num_bits); in ocfs2_block_group_alloc_discontig() 655 min_bits = num_bits; in ocfs2_block_group_alloc_discontig() 671 bg_blkno, num_bits, alloc_rec, cl); in ocfs2_block_group_alloc_discontig() [all …]
|
D | localalloc.h | 56 u32 *num_bits);
|
D | suballoc.h | 94 u32 *num_bits,
|
D | localalloc.c | 734 u32 *num_bits) in ocfs2_claim_local_alloc_bits() argument 759 *num_bits = bits_wanted; in ocfs2_claim_local_alloc_bits() 776 le32_add_cpu(&alloc->id1.bitmap1.i_used, *num_bits); in ocfs2_claim_local_alloc_bits()
|
D | alloc.c | 4746 u32 bit_off, num_bits; in ocfs2_add_clusters_in_btree() local 4784 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree() 4791 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree() 4804 bit_off, num_bits); in ocfs2_add_clusters_in_btree() 4806 num_bits, flags, meta_ac); in ocfs2_add_clusters_in_btree() 4814 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree() 4815 *logical_offset += num_bits; in ocfs2_add_clusters_in_btree()
|
D | xattr.c | 5085 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local 5106 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster() 5113 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_new_xattr_cluster() 5116 trace_ocfs2_add_new_xattr_cluster((unsigned long long)block, num_bits); in ocfs2_add_new_xattr_cluster() 5119 (prev_clusters + num_bits) << osb->s_clustersize_bits <= in ocfs2_add_new_xattr_cluster() 5131 *num_clusters = prev_clusters + num_bits; in ocfs2_add_new_xattr_cluster() 5148 v_start, num_bits); in ocfs2_add_new_xattr_cluster() 5150 num_bits, 0, ctxt->meta_ac); in ocfs2_add_new_xattr_cluster()
|
D | dir.c | 2388 unsigned int num_bits; in ocfs2_dx_dir_attach_index() local 2395 &dr_suballoc_bit, &num_bits, &dr_blkno); in ocfs2_dx_dir_attach_index()
|
/linux-2.6.39/drivers/staging/comedi/drivers/ |
D | cb_pcidda.c | 255 unsigned int num_bits); 684 unsigned int num_bits) in cb_pcidda_serial_out() argument 688 for (i = 1; i <= num_bits; i++) { in cb_pcidda_serial_out() 690 if (value & (1 << (num_bits - i))) in cb_pcidda_serial_out()
|
D | cb_pcidas64.c | 4243 unsigned int num_bits = 8; in i2c_write_byte() local 4247 for (bit = 1 << (num_bits - 1); bit; bit >>= 1) { in i2c_write_byte()
|
D | ni_labpc.c | 248 unsigned int num_bits);
|
/linux-2.6.39/drivers/net/ |
D | atp.c | 406 int num_bits = EE_CMD_SIZE; in eeprom_op() local 408 while (--num_bits >= 0) { in eeprom_op() 409 char outval = (cmd & (1<<num_bits)) ? EE_DATA_WRITE : 0; in eeprom_op()
|
D | tlan.c | 2908 static void tlan_mii_send_data(u16 base_port, u32 data, unsigned num_bits) in tlan_mii_send_data() argument 2913 if (num_bits == 0) in tlan_mii_send_data() 2920 for (i = (0x1 << (num_bits - 1)); i; i >>= 1) { in tlan_mii_send_data()
|
/linux-2.6.39/arch/sh/kernel/ |
D | dwarf.c | 187 int num_bits; in dwarf_read_leb128() local 206 num_bits = 8 * sizeof(result); in dwarf_read_leb128() 208 if ((shift < num_bits) && (byte & 0x40)) in dwarf_read_leb128()
|
/linux-2.6.39/arch/tile/include/asm/ |
D | opcode-tile_64.h | 869 sign_extend(int n, int num_bits) in sign_extend() argument 871 int shift = (int)(sizeof(int) * 8 - num_bits); in sign_extend() 1422 unsigned int num_bits : 5; member
|
D | opcode-tile_32.h | 869 sign_extend(int n, int num_bits) in sign_extend() argument 871 int shift = (int)(sizeof(int) * 8 - num_bits); in sign_extend() 1422 unsigned int num_bits : 5; member
|
/linux-2.6.39/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 129 u8 offset, bank, num_bits, col, position; in ath5k_hw_rfb_op() local 153 num_bits = rfreg->field.len; in ath5k_hw_rfb_op() 164 if (!(col <= 3 && num_bits <= 32 && first_bit + num_bits <= 319)) { in ath5k_hw_rfb_op() 173 data = ath5k_hw_bitswap(val, num_bits); in ath5k_hw_rfb_op() 175 for (bits_shifted = 0, bits_left = num_bits; bits_left > 0; in ath5k_hw_rfb_op() 197 data = set ? 1 : ath5k_hw_bitswap(data, num_bits); in ath5k_hw_rfb_op()
|
/linux-2.6.39/drivers/gpu/drm/i915/ |
D | intel_sdvo.c | 1889 unsigned int num_bits; in intel_sdvo_guess_ddc_bus() local 1912 num_bits = hweight16(mask); in intel_sdvo_guess_ddc_bus() 1914 if (num_bits > 3) in intel_sdvo_guess_ddc_bus() 1915 num_bits = 3; in intel_sdvo_guess_ddc_bus() 1918 sdvo->ddc_bus = 1 << num_bits; in intel_sdvo_guess_ddc_bus()
|
/linux-2.6.39/drivers/scsi/be2iscsi/ |
D | be_cmds.h | 691 u32 num_bits; member
|
/linux-2.6.39/arch/tile/kernel/ |
D | tile-desc_32.c | 2480 int shift = (int)((sizeof(int) * 8) - op->num_bits); in parse_insn_tile()
|