| /linux/kernel/ |
| H A D | range.c | 12 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 14 if (start >= end) in add_range() 22 range[nr_range].end = end; in add_range() 30 u64 start, u64 end) in add_range_with_merge() argument 34 if (start >= end) in add_range_with_merge() 41 if (!range[i].end) in add_range_with_merge() 45 common_end = min(range[i].end, end); in add_range_with_merge() 51 end = max(range[i].end, end); in add_range_with_merge() 56 range[nr_range - 1].end = 0; in add_range_with_merge() 62 return add_range(range, az, nr_range, start, end); in add_range_with_merge() [all …]
|
| /linux/include/linux/ceph/ |
| H A D | decode.h | 52 static inline bool ceph_has_room(void **p, void *end, size_t n) in ceph_has_room() argument 54 return end >= *p && n <= end - *p; in ceph_has_room() 57 #define ceph_decode_need(p, end, n, bad) \ argument 59 if (!likely(ceph_has_room(p, end, n))) \ 63 #define ceph_decode_64_safe(p, end, v, bad) \ argument 65 ceph_decode_need(p, end, sizeof(u64), bad); \ 68 #define ceph_decode_32_safe(p, end, v, bad) \ argument 70 ceph_decode_need(p, end, sizeof(u32), bad); \ 73 #define ceph_decode_16_safe(p, end, v, bad) \ argument 75 ceph_decode_need(p, end, sizeof(u16), bad); \ [all …]
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_ethtool.c | 85 int end; member 96 .end = 24, 103 .end = 16, 110 .end = 8, 117 .end = 0, 125 .end = 27, 132 .end = 26, 139 .end = 25, 146 .end = 24, 153 .end = 23, [all …]
|
| /linux/arch/mips/pci/ |
| H A D | pci-malta.c | 31 .end = 0x000fffffUL, 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local 104 end = GT_READ(GT_PCI0M0HD_OFS); in mips_pcibios_init() 106 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init() 112 if (end1 - start1 > end - start) { in mips_pcibios_init() 114 end = end1; in mips_pcibios_init() 117 mask = ~(start ^ end); in mips_pcibios_init() 122 gt64120_mem_resource.end = end; in mips_pcibios_init() 126 gt64120_mem_resource.end <<= GT_PCI_DCRM_SHF; in mips_pcibios_init() 127 gt64120_mem_resource.end |= (1 << GT_PCI_DCRM_SHF) - 1; in mips_pcibios_init() [all …]
|
| /linux/lib/ |
| H A D | vsprintf.c | 106 * @endp: A pointer to the end of the parsed string will be placed here 121 * @endp: A pointer to the end of the parsed string will be placed here 135 * @endp: A pointer to the end of the parsed string will be placed here 167 * @endp: A pointer to the end of the parsed string will be placed here 459 char *number(char *buf, char *end, unsigned long long num, in number() argument 523 if (buf < end) in number() 530 if (buf < end) in number() 537 if (buf < end) in number() 542 if (buf < end) in number() 552 if (buf < end) in number() 588 special_hex_number(char * buf,char * end,unsigned long long num,int size) special_hex_number() argument 593 move_right(char * buf,char * end,unsigned len,unsigned spaces) move_right() argument 620 widen_string(char * buf,int n,char * end,struct printf_spec spec) widen_string() argument 641 string_nocheck(char * buf,char * end,const char * s,struct printf_spec spec) string_nocheck() argument 659 err_ptr(char * buf,char * end,void * ptr,struct printf_spec spec) err_ptr() argument 679 error_string(char * buf,char * end,const char * s,struct printf_spec spec) error_string() argument 709 check_pointer(char ** buf,char * end,const void * ptr,struct printf_spec spec) check_pointer() argument 724 string(char * buf,char * end,const char * s,struct printf_spec spec) string() argument 733 pointer_string(char * buf,char * end,const void * ptr,struct printf_spec spec) pointer_string() argument 809 ptr_to_id(char * buf,char * end,const void * ptr,struct printf_spec spec) ptr_to_id() argument 839 default_pointer(char * buf,char * end,const void * ptr,struct printf_spec spec) default_pointer() argument 856 restricted_pointer(char * buf,char * end,const void * ptr,struct printf_spec spec) restricted_pointer() argument 903 dentry_name(char * buf,char * end,const struct dentry * d,struct printf_spec spec,const char * fmt) dentry_name() argument 952 file_dentry_name(char * buf,char * end,const struct file * f,struct printf_spec spec,const char * fmt) file_dentry_name() argument 962 bdev_name(char * buf,char * end,struct block_device * bdev,struct printf_spec spec,const char * fmt) bdev_name() argument 985 symbol_string(char * buf,char * end,void * ptr,struct printf_spec spec,const char * fmt) symbol_string() argument 1046 hex_range(char * buf,char * end,u64 start_val,u64 end_val,struct printf_spec spec) hex_range() argument 1060 resource_string(char * buf,char * end,struct resource * res,struct printf_spec spec,const char * fmt) resource_string() argument 1157 range_string(char * buf,char * end,const struct range * range,struct printf_spec spec,const char * fmt) range_string() argument 1175 hex_string(char * buf,char * end,u8 * addr,struct printf_spec spec,const char * fmt) hex_string() argument 1226 bitmap_string(char * buf,char * end,const unsigned long * bitmap,struct printf_spec spec,const char * fmt) bitmap_string() argument 1270 bitmap_list_string(char * buf,char * end,const unsigned long * bitmap,struct printf_spec spec,const char * fmt) bitmap_list_string() argument 1300 mac_address_string(char * buf,char * end,u8 * addr,struct printf_spec spec,const char * fmt) mac_address_string() argument 1498 ip6_addr_string(char * buf,char * end,const u8 * addr,struct printf_spec spec,const char * fmt) ip6_addr_string() argument 1512 ip4_addr_string(char * buf,char * end,const u8 * addr,struct printf_spec spec,const char * fmt) ip4_addr_string() argument 1523 ip6_addr_string_sa(char * buf,char * end,const struct sockaddr_in6 * sa,struct printf_spec spec,const char * fmt) ip6_addr_string_sa() argument 1585 ip4_addr_string_sa(char * buf,char * end,const struct sockaddr_in * sa,struct printf_spec spec,const char * fmt) ip4_addr_string_sa() argument 1620 ip_addr_string(char * buf,char * end,const void * ptr,struct printf_spec spec,const char * fmt) ip_addr_string() argument 1655 escaped_string(char * buf,char * end,u8 * addr,struct printf_spec spec,const char * fmt) escaped_string() argument 1716 va_format(char * buf,char * end,struct va_format * va_fmt,struct printf_spec spec) va_format() argument 1733 uuid_string(char * buf,char * end,const u8 * addr,struct printf_spec spec,const char * fmt) uuid_string() argument 1778 netdev_bits(char * buf,char * end,const void * addr,struct printf_spec spec,const char * fmt) netdev_bits() argument 1800 fourcc_string(char * buf,char * end,const u32 * fourcc,struct printf_spec spec,const char * fmt) fourcc_string() argument 1860 address_val(char * buf,char * end,const void * addr,struct printf_spec spec,const char * fmt) address_val() argument 1885 date_str(char * buf,char * end,const struct rtc_time * tm,bool r) date_str() argument 1904 time_str(char * buf,char * end,const struct rtc_time * tm,bool r) time_str() argument 1920 rtc_str(char * buf,char * end,const struct rtc_time * tm,struct printf_spec spec,const char * fmt) rtc_str() argument 1967 time64_str(char * buf,char * end,const time64_t time,struct printf_spec spec,const char * fmt) time64_str() argument 1990 timespec64_str(char * buf,char * end,const struct timespec64 * ts,struct printf_spec spec,const char * fmt) timespec64_str() argument 2012 time_and_date(char * buf,char * end,void * ptr,struct printf_spec spec,const char * fmt) time_and_date() argument 2031 clock(char * buf,char * end,struct clk * clk,struct printf_spec spec,const char * fmt) clock() argument 2048 format_flags(char * buf,char * end,unsigned long flags,const struct trace_print_flags * names) format_flags() argument 2096 format_page_flags(char * buf,char * end,unsigned long flags) format_page_flags() argument 2143 flags_string(char * buf,char * end,void * flags_ptr,struct printf_spec spec,const char * fmt) flags_string() argument 2172 fwnode_full_name_string(struct fwnode_handle * fwnode,char * buf,char * end) fwnode_full_name_string() argument 2198 device_node_string(char * buf,char * end,struct device_node * dn,struct printf_spec spec,const char * fmt) device_node_string() argument 2288 fwnode_string(char * buf,char * end,struct fwnode_handle * fwnode,struct printf_spec spec,const char * fmt) fwnode_string() argument 2318 resource_or_range(const char * fmt,char * buf,char * end,void * ptr,struct printf_spec spec) resource_or_range() argument 2534 pointer(const char * fmt,char * buf,char * end,void * ptr,struct printf_spec spec) pointer() argument 2866 char *str, *end; vsnprintf() local 3154 char *str, *end; vbin_printf() local 3294 char *str, *end; bstr_printf() local [all...] |
| H A D | bitmap-str.c | 183 unsigned int end; member 191 for (start = r->start; start <= r->end; start += r->group_len) in bitmap_set_region() 192 bitmap_set(bitmap, start, min(r->end - start + 1, r->off)); in bitmap_set_region() 197 if (r->start > r->end || r->group_len == 0 || r->off > r->group_len) in bitmap_check_region() 200 if (r->end >= r->nbits) in bitmap_check_region() 254 static const char *bitmap_find_region_reverse(const char *start, const char *end) in bitmap_find_region_reverse() argument 256 while (start <= end && __end_of_region(*end)) in bitmap_find_region_reverse() 257 end--; in bitmap_find_region_reverse() 259 return end; in bitmap_find_region_reverse() 268 r->end = lastbit; in bitmap_parse_region() [all …]
|
| /linux/fs/btrfs/ |
| H A D | extent-io-tree.c | 48 state->start, state->end, state->state, in btrfs_extent_state_leak_debug_check() 57 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument 58 __btrfs_debug_check_extent_io_range(__func__, (tree), (start), (end)) 61 u64 start, u64 end) in __btrfs_debug_check_extent_io_range() argument 70 if (end >= PAGE_SIZE && (end % 2) == 0 && end != isize - 1) { in __btrfs_debug_check_extent_io_range() 73 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range() 199 changeset->bytes_changed += state->end - state->start + 1; in add_extent_changeset() 203 ret = ulist_add(&changeset->range_changed, state->start, state->end, GFP_ATOMIC); in add_extent_changeset() 258 else if (offset > entry->end) in tree_search_for_insert() 274 while (entry && offset > entry->end) in tree_search_for_insert() [all …]
|
| H A D | extent-io-tree.h | 125 u64 end; /* inclusive */ member 144 int btrfs_lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, u32 bits, 146 bool btrfs_try_lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, 149 static inline int btrfs_lock_extent(struct extent_io_tree *tree, u64 start, u64 end, in btrfs_lock_extent() argument 152 return btrfs_lock_extent_bits(tree, start, end, EXTENT_LOCKED, cached); in btrfs_lock_extent() 156 u64 end, struct extent_state **cached) in btrfs_try_lock_extent() argument 158 return btrfs_try_lock_extent_bits(tree, start, end, EXTENT_LOCKED, cached); in btrfs_try_lock_extent() 170 bool btrfs_test_range_bit(struct extent_io_tree *tree, u64 start, u64 end, u32 bit, 172 bool btrfs_test_range_bit_exists(struct extent_io_tree *tree, u64 start, u64 end, u32 bit); 173 void btrfs_get_range_bits(struct extent_io_tree *tree, u64 start, u64 end, u32 *bits, [all …]
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | debug.c | 273 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_reg_get() local 298 p += scnprintf(p, end - p, "get %d bytes at 0x%08x=0x%08x\n", len, in rtw89_debug_priv_read_reg_get() 307 p += scnprintf(p, end - p, "%08xh : ", 0x18600000 + addr); in rtw89_debug_priv_read_reg_get() 310 p += scnprintf(p, end - p, "%08x ", data); in rtw89_debug_priv_read_reg_get() 312 p += scnprintf(p, end - p, "\n"); in rtw89_debug_priv_read_reg_get() 386 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_read_rf_get() local 396 p += scnprintf(p, end - p, "path %d, rf register 0x%08x=0x%08x\n", in rtw89_debug_priv_read_rf_get() 435 char *p = buf, *end = buf + bufsz; in rtw89_debug_priv_rf_reg_dump_get() local 440 p += scnprintf(p, end - p, "RF path %d:\n\n", path); in rtw89_debug_priv_rf_reg_dump_get() 442 p += scnprintf(p, end - p, "0x%08x: ", addr); in rtw89_debug_priv_rf_reg_dump_get() [all …]
|
| /linux/arch/microblaze/kernel/cpu/ |
| H A D | cache.c | 92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument 96 end = min(start + cache_size, end); \ 125 #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ argument 130 end = ((end & align) == end) ? end - line_length : end & align; \ 131 count = end - start; \ 142 #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ argument 146 end = ((end & align) == end) ? end - line_length : end & align; \ 147 WARN_ON(end < start); \ 153 : : "r" (temp), "r" (start), "r" (end), \ 159 static void __flush_icache_range_msr_irq(unsigned long start, unsigned long end) in __flush_icache_range_msr_irq() argument [all …]
|
| /linux/tools/workqueue/ |
| H A D | wq_dump.py | 127 print(' pod_cpus', end='') 129 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='') 132 print(' pod_node', end='') 134 print(f' [{pod}]={pt.pod_node[pod].value_()}', end='') 137 print(f' cpu_pod ', end='') 139 print(f' [{cpu}]={pt.cpu_pod[cpu].value_()}', end='') 160 …value_():02x} ref={pool.refcnt.value_():{max_ref_len}} nice={pool.attrs.nice.value_():3} ', end='') 161 print(f'idle/workers={pool.nr_idle.value_():3}/{pool.nr_workers.value_():3} ', end='') 163 print(f'cpu={pool.cpu.value_():3}', end='') 165 print(' bh', end='') [all …]
|
| /linux/tools/perf/util/ |
| H A D | block-range.c | 22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug() 24 old = entry->end; in block_range__debug() 41 else if (addr > entry->end) in block_range__find() 73 * @end: branch ending this basic block 77 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument 90 else if (start > entry->end) in block_range__create() 97 * Didn't find anything.. there's a hole at @start, however @end might in block_range__create() 108 if (entry->end < start) { in block_range__create() 115 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create() 122 .end in block_range__create() [all...] |
| H A D | time-utils.c | 21 char *end; in parse_nsec_time() local 23 time_sec = strtoull(str, &end, 10); in parse_nsec_time() 24 if (*end != '.' && *end != '\0') in parse_nsec_time() 27 if (*end == '.') { in parse_nsec_time() 31 if (strlen(++end) > 9) in parse_nsec_time() 34 strncpy(nsec_buf, end, 9); in parse_nsec_time() 41 time_nsec = strtoull(nsec_buf, &end, 10); in parse_nsec_time() 42 if (*end != '\0') in parse_nsec_time() 60 (parse_nsec_time(end_str, &ptime->end) ! in parse_timestr_sec_nsec() 67 split_start_end(char ** start,char ** end,const char * ostr,char ch) split_start_end() argument 200 set_percent_time(struct perf_time_interval * ptime,double start_pcnt,double end_pcnt,u64 start,u64 end) set_percent_time() argument 219 percent_slash_split(char * str,struct perf_time_interval * ptime,u64 start,u64 end) percent_slash_split() argument 254 percent_dash_split(char * str,struct perf_time_interval * ptime,u64 start,u64 end) percent_dash_split() argument 283 percent_comma_split(struct perf_time_interval * ptime_buf,int num,const char * ostr,u64 start,u64 end,time_pecent_split func) percent_comma_split() argument 328 one_percent_convert(struct perf_time_interval * ptime_buf,const char * ostr,u64 start,u64 end,const char * c) one_percent_convert() argument 359 perf_time__percent_parse_str(struct perf_time_interval * ptime_buf,int num,const char * ostr,u64 start,u64 end) perf_time__percent_parse_str() argument [all...] |
| /linux/drivers/firmware/efi/ |
| H A D | unaccepted_memory.c | 16 unsigned long end; member 39 phys_addr_t end; in accept_memory() local 46 end = PAGE_ALIGN(start + size); in accept_memory() 57 if (end < unaccepted->phys_base) in accept_memory() 62 end -= unaccepted->phys_base; in accept_memory() 89 if (!(end % unit_size)) in accept_memory() 90 end += unit_size; in accept_memory() 93 if (end > unaccepted->size * unit_size * BITS_PER_BYTE) in accept_memory() 94 end = unaccepted->size * unit_size * BITS_PER_BYTE; in accept_memory() 97 range.end = DIV_ROUND_UP(end, unit_size); in accept_memory() [all …]
|
| /linux/net/ceph/ |
| H A D | cls_lock_client.c | 36 void *p, *end; in ceph_cls_lock() local 57 end = p + lock_op_buf_size; in ceph_cls_lock() 62 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_lock() 64 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock() 65 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock() 66 ceph_encode_string(&p, end, desc, desc_len); in ceph_cls_lock() 101 void *p, *end; in ceph_cls_unlock() local 116 end = p + unlock_op_buf_size; in ceph_cls_unlock() 121 ceph_encode_string(&p, end, lock_name, name_len); in ceph_cls_unlock() 122 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock() [all …]
|
| H A D | osdmap.c | 71 static int crush_decode_uniform_bucket(void **p, void *end, in crush_decode_uniform_bucket() argument 74 dout("crush_decode_uniform_bucket %p to %p\n", *p, end); in crush_decode_uniform_bucket() 75 ceph_decode_32_safe(p, end, b->item_weight, bad); in crush_decode_uniform_bucket() 81 static int crush_decode_list_bucket(void **p, void *end, in crush_decode_list_bucket() argument 85 dout("crush_decode_list_bucket %p to %p\n", *p, end); in crush_decode_list_bucket() 92 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket() 102 static int crush_decode_tree_bucket(void **p, void *end, in crush_decode_tree_bucket() argument 106 dout("crush_decode_tree_bucket %p to %p\n", *p, end); in crush_decode_tree_bucket() 107 ceph_decode_8_safe(p, end, b->num_nodes, bad); in crush_decode_tree_bucket() 111 ceph_decode_need(p, end, in crush_decode_tree_bucket() 119 crush_decode_straw_bucket(void ** p,void * end,struct crush_bucket_straw * b) crush_decode_straw_bucket() argument 140 crush_decode_straw2_bucket(void ** p,void * end,struct crush_bucket_straw2 * b) crush_decode_straw2_bucket() argument 280 decode_array_32_alloc(void ** p,void * end,u32 * plen) decode_array_32_alloc() argument 314 decode_choose_arg(void ** p,void * end,struct crush_choose_arg * arg) decode_choose_arg() argument 352 decode_choose_args(void ** p,void * end,struct crush_map * c) decode_choose_args() argument 437 crush_decode(void * pbyval,void * end) crush_decode() argument 800 decode_pool(void ** p,void * end,struct ceph_pg_pool_info * pi) decode_pool() argument 952 decode_pool_names(void ** p,void * end,struct ceph_osdmap * map) decode_pool_names() argument 1290 get_osdmap_client_data_v(void ** p,void * end,const char * prefix,u8 * v) get_osdmap_client_data_v() argument 1339 __decode_pools(void ** p,void * end,struct ceph_osdmap * map,bool incremental) __decode_pools() argument 1378 decode_pools(void ** p,void * end,struct ceph_osdmap * map) decode_pools() argument 1383 decode_new_pools(void ** p,void * end,struct ceph_osdmap * map) decode_new_pools() argument 1390 decode_pg_mapping(void ** p,void * end,struct rb_root * mapping_root,decode_mapping_fn_t fn,bool incremental) decode_pg_mapping() argument 1432 __decode_pg_temp(void ** p,void * end,bool incremental) __decode_pg_temp() argument 1459 decode_pg_temp(void ** p,void * end,struct ceph_osdmap * map) decode_pg_temp() argument 1465 decode_new_pg_temp(void ** p,void * end,struct ceph_osdmap * map) decode_new_pg_temp() argument 1471 __decode_primary_temp(void ** p,void * end,bool incremental) __decode_primary_temp() argument 1492 decode_primary_temp(void ** p,void * end,struct ceph_osdmap * map) decode_primary_temp() argument 1498 decode_new_primary_temp(void ** p,void * end,struct ceph_osdmap * map) decode_new_primary_temp() argument 1534 decode_primary_affinity(void ** p,void * end,struct ceph_osdmap * map) decode_primary_affinity() argument 1564 decode_new_primary_affinity(void ** p,void * end,struct ceph_osdmap * map) decode_new_primary_affinity() argument 1592 __decode_pg_upmap(void ** p,void * end,bool __unused) __decode_pg_upmap() argument 1598 decode_pg_upmap(void ** p,void * end,struct ceph_osdmap * map) decode_pg_upmap() argument 1604 decode_new_pg_upmap(void ** p,void * end,struct ceph_osdmap * map) decode_new_pg_upmap() argument 1610 decode_old_pg_upmap(void ** p,void * end,struct ceph_osdmap * map) decode_old_pg_upmap() argument 1615 __decode_pg_upmap_items(void ** p,void * end,bool __unused) __decode_pg_upmap_items() argument 1642 decode_pg_upmap_items(void ** p,void * end,struct ceph_osdmap * map) decode_pg_upmap_items() argument 1648 decode_new_pg_upmap_items(void ** p,void * end,struct ceph_osdmap * map) decode_new_pg_upmap_items() argument 1655 decode_old_pg_upmap_items(void ** p,void * end,struct ceph_osdmap * map) decode_old_pg_upmap_items() argument 1664 osdmap_decode(void ** p,void * end,bool msgr2,struct ceph_osdmap * map) osdmap_decode() argument 1815 ceph_osdmap_decode(void ** p,void * end,bool msgr2) ceph_osdmap_decode() argument 1841 decode_new_up_state_weight(void ** p,void * end,u8 struct_v,bool msgr2,struct ceph_osdmap * map) decode_new_up_state_weight() argument 1972 osdmap_apply_incremental(void ** p,void * end,bool msgr2,struct ceph_osdmap * map) osdmap_apply_incremental() argument [all...] |
| /linux/mm/ |
| H A D | numa_memblks.c | 120 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_set_distance() 126 nid, start, end - 1); 131 if (start == end) in __node_distance() 135 if (start > end) { in numa_add_memblk_to() argument 137 nid, start, end - 1); in numa_add_memblk_to() 147 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 185 * @end: End address of the new memblk in numa_move_tail_memblk() 193 int __init numa_add_memblk(int nid, u64 start, u64 end) 197 ret = numa_add_memblk_to(nid, start, end, 200 numa_add_memblk(int nid,u64 start,u64 end) numa_add_memblk() argument 222 numa_add_reserved_memblk(int nid,u64 start,u64 end) numa_add_reserved_memblk() argument 275 u64 start, end; numa_cleanup_meminfo() local 509 numa_fill_memblks(u64 start,u64 end) numa_fill_memblks() argument [all...] |
| /linux/arch/csky/mm/ |
| H A D | cachev2.c | 24 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 28 for (; i < end; i += L1_CACHE_BYTES) in icache_inv_range() 35 unsigned long end; member 54 for (; i < param->end; i += L1_CACHE_BYTES) in local_icache_inv_range() 62 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 64 struct cache_range param = { start, end }; in icache_inv_range() 79 void dcache_wb_range(unsigned long start, unsigned long end) in dcache_wb_range() argument 83 for (; i < end; i += L1_CACHE_BYTES) in dcache_wb_range() 88 void cache_wbinv_range(unsigned long start, unsigned long end) in cache_wbinv_range() argument 90 dcache_wb_range(start, end); in cache_wbinv_range() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | guest_sprintf.c | 6 #define APPEND_BUFFER_SAFE(str, end, v) \ argument 8 GUEST_ASSERT(str < end); \ 43 static char *number(char *str, const char *end, long num, int base, int size, in number() argument 94 APPEND_BUFFER_SAFE(str, end, ' '); in number() 96 APPEND_BUFFER_SAFE(str, end, sign); in number() 99 APPEND_BUFFER_SAFE(str, end, '0'); in number() 101 APPEND_BUFFER_SAFE(str, end, '0'); in number() 102 APPEND_BUFFER_SAFE(str, end, 'x'); in number() 107 APPEND_BUFFER_SAFE(str, end, c); in number() 109 APPEND_BUFFER_SAFE(str, end, '0'); in number() [all …]
|
| /linux/arch/arm/mm/ |
| H A D | cache-feroceon-l2.c | 70 static inline void l2_clean_pa_range(unsigned long start, unsigned long end) in l2_clean_pa_range() argument 79 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_clean_pa_range() 82 va_end = va_start + (end - start); in l2_clean_pa_range() 101 static inline void l2_inv_pa_range(unsigned long start, unsigned long end) in l2_inv_pa_range() argument 110 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_inv_pa_range() 113 va_end = va_start + (end - start); in l2_inv_pa_range() 139 static unsigned long calc_range_end(unsigned long start, unsigned long end) in calc_range_end() argument 144 BUG_ON(end & (CACHE_LINE_SIZE - 1)); in calc_range_end() 149 range_end = end; in calc_range_end() 168 static void feroceon_l2_inv_range(unsigned long start, unsigned long end) in feroceon_l2_inv_range() argument [all …]
|
| /linux/Documentation/admin-guide/kdump/ |
| H A D | gdbmacros.txt | 32 end 34 end 46 end 48 end 50 end 52 end 53 end 56 end 75 end 76 end [all …]
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | unaccepted_memory.c | 97 void process_unaccepted_memory(u64 start, u64 end) in process_unaccepted_memory() argument 120 if (end - start < 2 * unit_size) { in process_unaccepted_memory() 121 arch_accept_memory(start, end); in process_unaccepted_memory() 137 if (end & unit_mask) { in process_unaccepted_memory() 138 arch_accept_memory(round_down(end, unit_size), end); in process_unaccepted_memory() 139 end = round_down(end, unit_size); in process_unaccepted_memory() 148 min(unaccepted_table->phys_base, end)); in process_unaccepted_memory() 153 if (end < unaccepted_table->phys_base) in process_unaccepted_memory() 158 end -= unaccepted_table->phys_base; in process_unaccepted_memory() 161 if (end > bitmap_size * unit_size * BITS_PER_BYTE) { in process_unaccepted_memory() [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | physmem_info.h | 19 u64 end; member 36 unsigned long end; member 61 void add_physmem_online_range(u64 start, u64 end); 64 unsigned long *end, bool respect_usable_limit) in __get_physmem_range() argument 68 *end = 0; in __get_physmem_range() 74 *end = (unsigned long)physmem_info.online[n].end; in __get_physmem_range() 77 *end = (unsigned long)physmem_info.online_extended[n - MEM_INLINED_ENTRIES].end; in __get_physmem_range() 83 if (*end > physmem_info.usable) in __get_physmem_range() 84 *end = physmem_info.usable; in __get_physmem_range() 139 for (range = &physmem_info.reserved[t], *p_start = range->start, *p_end = range->end; \ [all …]
|
| /linux/arch/x86/mm/ |
| H A D | kasan_init_64.c | 38 unsigned long end, int nid) in kasan_populate_pmd() argument 46 ((end - addr) == PMD_SIZE) && in kasan_populate_pmd() 69 } while (pte++, addr += PAGE_SIZE, addr != end); in kasan_populate_pmd() 73 unsigned long end, int nid) in kasan_populate_pud() argument 82 ((end - addr) == PUD_SIZE) && in kasan_populate_pud() 96 next = pmd_addr_end(addr, end); in kasan_populate_pud() 99 } while (pmd++, addr = next, addr != end); in kasan_populate_pud() 103 unsigned long end, int nid) in kasan_populate_p4d() argument 116 next = pud_addr_end(addr, end); in kasan_populate_p4d() 119 } while (pud++, addr = next, addr != end); in kasan_populate_p4d() [all …]
|
| /linux/arch/sh/mm/ |
| H A D | cache-sh2a.c | 53 unsigned long begin, end; in sh2a__flush_wback_region() local 58 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_wback_region() 66 if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { in sh2a__flush_wback_region() 68 end = begin + (nr_ways * current_cpu_data.dcache.way_size); in sh2a__flush_wback_region() 70 for (v = begin; v < end; v += L1_CACHE_BYTES) { in sh2a__flush_wback_region() 78 for (v = begin; v < end; v += L1_CACHE_BYTES) in sh2a__flush_wback_region() 94 unsigned long begin, end; in sh2a__flush_purge_region() local 98 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_purge_region() 104 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh2a__flush_purge_region() 124 unsigned long begin, end; in sh2a__flush_invalidate_region() local [all …]
|