/linux-4.1.27/include/trace/ |
D | ftrace.h | 91 #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1) argument 177 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument 405 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument 467 #define __bitmask_size_in_bytes_raw(nr_bits) \ argument 468 (((nr_bits) + 7) / 8) 470 #define __bitmask_size_in_longs(nr_bits) \ argument 471 ((__bitmask_size_in_bytes_raw(nr_bits) + \ 479 #define __bitmask_size_in_bytes(nr_bits) \ argument 480 (__bitmask_size_in_longs(nr_bits) * (BITS_PER_LONG / 8)) 483 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ argument [all …]
|
/linux-4.1.27/arch/sh/drivers/ |
D | heartbeat.c | 70 if ((bit == 0) || (bit == (hd->nr_bits)-1)) in heartbeat_timer() 112 if (!hd->nr_bits) { in heartbeat_drv_probe() 114 hd->nr_bits = ARRAY_SIZE(default_bit_pos); in heartbeat_drv_probe() 118 for (i = 0; i < hd->nr_bits; i++) in heartbeat_drv_probe()
|
/linux-4.1.27/drivers/md/ |
D | dm-era-target.c | 28 uint32_t nr_bits; member 52 unsigned nr_bits, dm_block_t *root) in setup_on_disk_bitset() argument 60 return dm_bitset_resize(info, *root, 0, nr_bits, false, root); in setup_on_disk_bitset() 63 static size_t bitset_size(unsigned nr_bits) in bitset_size() argument 65 return sizeof(unsigned long) * dm_div_up(nr_bits, BITS_PER_LONG); in bitset_size() 73 ws->md.nr_bits = nr_blocks; in writeset_alloc() 91 memset(ws->bits, 0, bitset_size(ws->md.nr_bits)); in writeset_init() 93 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); in writeset_init() 156 __le32 nr_bits; member 353 disk->nr_bits = cpu_to_le32(core->nr_bits); in ws_pack() [all …]
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | sdram-nokia.c | 165 int mask, nr_bits; in set_sdrc_timing_regval() local 167 nr_bits = end_bit - st_bit + 1; in set_sdrc_timing_regval() 168 if (ticks >= 1 << nr_bits) in set_sdrc_timing_regval() 170 mask = (1 << nr_bits) - 1; in set_sdrc_timing_regval()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | heartbeat.h | 11 unsigned int nr_bits; member
|
/linux-4.1.27/arch/sh/boards/mach-se/7751/ |
D | setup.c | 22 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-4.1.27/mm/ |
D | mempolicy.c | 1472 unsigned long nr_bits, alloc_size; in COMPAT_SYSCALL_DEFINE5() local 1475 nr_bits = min_t(unsigned long, maxnode-1, MAX_NUMNODES); in COMPAT_SYSCALL_DEFINE5() 1476 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE5() 1481 err = sys_get_mempolicy(policy, nm, nr_bits+1, addr, flags); in COMPAT_SYSCALL_DEFINE5() 1489 err |= compat_put_bitmap(nmask, bm, nr_bits); in COMPAT_SYSCALL_DEFINE5() 1500 unsigned long nr_bits, alloc_size; in COMPAT_SYSCALL_DEFINE3() local 1503 nr_bits = min_t(unsigned long, maxnode-1, MAX_NUMNODES); in COMPAT_SYSCALL_DEFINE3() 1504 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE3() 1507 err = compat_get_bitmap(bm, nmask, nr_bits); in COMPAT_SYSCALL_DEFINE3() 1515 return sys_set_mempolicy(mode, nm, nr_bits+1); in COMPAT_SYSCALL_DEFINE3() [all …]
|
/linux-4.1.27/arch/sh/boards/mach-se/7206/ |
D | setup.c | 52 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-4.1.27/arch/sh/boards/mach-se/7721/ |
D | setup.c | 25 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-4.1.27/arch/sh/boards/ |
D | board-polaris.c | 69 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
D | board-sh7757lcr.c | 40 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-4.1.27/kernel/ |
D | compat.c | 1115 unsigned long nr_bits; in COMPAT_SYSCALL_DEFINE4() local 1118 nr_bits = min_t(unsigned long, maxnode - 1, MAX_NUMNODES); in COMPAT_SYSCALL_DEFINE4() 1119 size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE4() 1121 if (compat_get_bitmap(nodes_addr(tmp_mask), old_nodes, nr_bits)) in COMPAT_SYSCALL_DEFINE4() 1130 if (compat_get_bitmap(nodes_addr(tmp_mask), new_nodes, nr_bits)) in COMPAT_SYSCALL_DEFINE4() 1137 return sys_migrate_pages(pid, nr_bits + 1, old, new); in COMPAT_SYSCALL_DEFINE4()
|
/linux-4.1.27/arch/sh/boards/mach-se/770x/ |
D | setup.c | 95 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-4.1.27/lib/ |
D | vsprintf.c | 811 int nr_bits = max_t(int, spec.field_width, 0); in bitmap_string() local 818 chunksz = nr_bits & (CHUNKSZ - 1); in bitmap_string() 822 i = ALIGN(nr_bits, CHUNKSZ) - CHUNKSZ; in bitmap_string() 851 int nr_bits = max_t(int, spec.field_width, 0); in bitmap_list_string() local 859 rbot = cur = find_first_bit(bitmap, nr_bits); in bitmap_list_string() 860 while (cur < nr_bits) { in bitmap_list_string() 862 cur = find_next_bit(bitmap, nr_bits, cur + 1); in bitmap_list_string() 863 if (cur < nr_bits && cur <= rtop + 1) in bitmap_list_string()
|
/linux-4.1.27/arch/sh/boards/mach-highlander/ |
D | setup.c | 142 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-4.1.27/drivers/memory/ |
D | omap-gpmc.c | 437 int nr_bits; in get_gpmc_timing_reg() local 442 nr_bits = end_bit - st_bit + 1; in get_gpmc_timing_reg() 443 mask = (1 << nr_bits) - 1; in get_gpmc_timing_reg() 595 int ticks, mask, nr_bits; in set_gpmc_timing_reg() local 601 nr_bits = end_bit - st_bit + 1; in set_gpmc_timing_reg() 602 mask = (1 << nr_bits) - 1; in set_gpmc_timing_reg()
|
/linux-4.1.27/arch/sh/boards/mach-ecovec24/ |
D | setup.c | 89 .nr_bits = 4,
|
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 2732 u32 nr_bits = 0; in ctrl_set_cfg_mpeg_output() local 2816 nr_bits = 8; in ctrl_set_cfg_mpeg_output() 2819 nr_bits = 7; in ctrl_set_cfg_mpeg_output() 2822 nr_bits = 6; in ctrl_set_cfg_mpeg_output() 2825 nr_bits = 5; in ctrl_set_cfg_mpeg_output() 2828 nr_bits = 4; in ctrl_set_cfg_mpeg_output() 2836 (ext_attr->curr_symbol_rate / 8) * nr_bits * 188; in ctrl_set_cfg_mpeg_output()
|
/linux-4.1.27/tools/lib/traceevent/ |
D | event-parse.c | 3665 int nr_bits = size * 8; in print_bitmask_to_seq() local 3666 int str_size = (nr_bits + 3) / 4; in print_bitmask_to_seq() 3677 str_size += (nr_bits - 1) / 32; in print_bitmask_to_seq()
|