/linux/include/sound/ |
H A D | hda_regmap.h | 38 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument 50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument 64 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \ argument 79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write() 97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update() 115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() 136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp() 160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp() 181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo() 205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo() [all …]
|
H A D | hda_codec.h | 139 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member 322 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() 330 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() 336 #define snd_hda_param_read(codec, nid, param) \ argument 338 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument 343 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns() 348 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \ argument 350 #define snd_hda_get_num_raw_conns(codec, nid) \ argument 366 hda_nid_t nid; member 376 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_write_cache() [all …]
|
/linux/sound/hda/ |
H A D | hdac_sysfs.c | 99 int nid; in get_codec_nid() local 115 int nid; in widget_attr_show() local 131 int nid; in widget_attr_store() local 161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 201 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show() 210 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show() 219 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show() [all …]
|
H A D | hdac_device.c | 225 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() 276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 294 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() 313 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm_uncached() 332 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_override_parm() 357 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_sub_nodes() 378 hda_nid_t nid; in setup_fg_nodes() local 437 static unsigned int get_num_conns(struct hdac_device *codec, hda_nid_t nid) in get_num_conns() 465 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections() 853 static unsigned int query_pcm_param(struct hdac_device *codec, hda_nid_t nid) in query_pcm_param() [all …]
|
/linux/sound/pci/hda/ |
H A D | hda_proc.c | 22 #define param_read(codec, nid, parm) \ argument 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() 112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() 134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() [all …]
|
H A D | hda_jack.h | 21 hda_nid_t nid; member 31 hda_nid_t nid; member 63 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 95 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback() 130 snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state() 142 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_detect_mst() 154 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect() 178 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl()
|
H A D | hda_jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense() 71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst() 108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid() 128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new() 253 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_pin_sense() 275 hda_nid_t nid, int dev_id) in snd_hda_jack_detect_state_mst() 318 snd_hda_jack_detect_enable_callback_mst(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback_mst() 365 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable() 502 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type() [all …]
|
H A D | hda_generic.c | 241 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 251 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained() 319 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used() 360 static bool is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, in is_ctl_associated() 535 hda_nid_t nid = spec->all_dacs[i]; in look_for_dac() local 588 hda_nid_t nid = path->path[i]; in look_for_out_vol_nid() local 604 hda_nid_t nid = path->path[idx]; in has_amp_in() local 618 hda_nid_t nid = path->path[idx]; in has_amp_out() local 630 static bool is_active_nid(struct hda_codec *codec, hda_nid_t nid, in is_active_nid() 665 #define is_active_nid_for_any(codec, nid) \ argument [all …]
|
/linux/mm/ |
H A D | shrinker.c | 42 struct shrinker_info *old, int nid) in shrinker_unit_alloc() 66 int nid; in free_shrinker_info() local 79 int nid, ret = 0; in alloc_shrinker_info() local 107 int nid) in shrinker_info_protected() 118 int nid; in expand_one_shrinker_info() local 196 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit() 252 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg() 268 static long add_nr_deferred_memcg(long nr, int nid, struct shrinker *shrinker, in add_nr_deferred_memcg() 287 int nid, index, offset; in reparent_shrinker_deferred() local 323 static long xchg_nr_deferred_memcg(int nid, struct shrinker *shrinker, in xchg_nr_deferred_memcg() [all …]
|
H A D | list_lru.c | 53 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx() 64 lock_list_lru_of_memcg(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in lock_list_lru_of_memcg() 128 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx() 134 lock_list_lru_of_memcg(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in lock_list_lru_of_memcg() 157 bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid, in list_lru_add() 182 int nid = page_to_nid(virt_to_page(item)); in list_lru_add_obj() local 197 bool list_lru_del(struct list_lru *lru, struct list_head *item, int nid, in list_lru_del() 219 int nid = page_to_nid(virt_to_page(item)); in list_lru_del_obj() local 249 int nid, struct mem_cgroup *memcg) in list_lru_count_one() 266 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node() [all …]
|
H A D | sparse.c | 52 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 57 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() argument 63 static noinline struct mem_section __ref *sparse_index_alloc(int nid) in sparse_index_alloc() argument 82 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() argument 106 sparse_index_init(unsigned long section_nr,int nid) sparse_index_init() argument 118 sparse_encode_early_nid(int nid) sparse_encode_early_nid() argument 222 memory_present(int nid,unsigned long start,unsigned long end) memory_present() argument 252 int i, nid; memblocks_present() local 334 int nid; sparse_early_usemaps_alloc_pgdat_section() local 357 check_usemap_section_nr(int nid,struct mem_section_usage * usage) check_usemap_section_nr() argument 407 check_usemap_section_nr(int nid,struct mem_section_usage * usage) check_usemap_section_nr() argument 426 __populate_section_memmap(unsigned long pfn,unsigned long nr_pages,int nid,struct vmem_altmap * altmap,struct dev_pagemap * pgmap) __populate_section_memmap() argument 454 sparse_buffer_init(unsigned long size,int nid) sparse_buffer_init() argument 505 sparse_init_nid(int nid,unsigned long pnum_begin,unsigned long pnum_end,unsigned long map_count) sparse_init_nid() argument 574 int nid = sparse_early_nid(__nr_to_section(pnum_end)); sparse_init() local 634 populate_section_memmap(unsigned long pfn,unsigned long nr_pages,int nid,struct vmem_altmap * altmap,struct dev_pagemap * pgmap) populate_section_memmap() argument 707 populate_section_memmap(unsigned long pfn,unsigned long nr_pages,int nid,struct vmem_altmap * altmap,struct dev_pagemap * pgmap) populate_section_memmap() argument 831 section_activate(int nid,unsigned long pfn,unsigned long nr_pages,struct vmem_altmap * altmap,struct dev_pagemap * pgmap) section_activate() argument 893 sparse_add_section(int nid,unsigned long start_pfn,unsigned long nr_pages,struct vmem_altmap * altmap,struct dev_pagemap * pgmap) sparse_add_section() argument [all...] |
H A D | mm_init.c | 45 int nid; in mminit_verify_zonelist() local 302 int i, nid; early_calculate_totalpages() local 343 int i, nid; find_zone_movable_pfns_for_nodes() local 566 __init_single_page(struct page * page,unsigned long pfn,unsigned long zone,int nid) __init_single_page() argument 604 int nid; __early_pfn_to_nid() local 622 int nid; early_pfn_to_nid() local 660 early_page_initialised(unsigned long pfn,int nid) early_page_initialised() argument 673 defer_init(int nid,unsigned long pfn,unsigned long end_pfn) defer_init() argument 709 init_reserved_page(unsigned long pfn,int nid) init_reserved_page() argument 730 early_page_initialised(unsigned long pfn,int nid) early_page_initialised() argument 735 defer_init(int nid,unsigned long pfn,unsigned long end_pfn) defer_init() argument 740 init_reserved_page(unsigned long pfn,int nid) init_reserved_page() argument 752 reserve_bootmem_region(phys_addr_t start,phys_addr_t end,int nid) reserve_bootmem_region() argument 849 memmap_init_range(unsigned long size,int nid,unsigned long zone,unsigned long start_pfn,unsigned long zone_end_pfn,enum meminit_context context,struct vmem_altmap * altmap,int migratetype) memmap_init_range() argument 923 int nid = zone_to_nid(zone), zone_id = zone_idx(zone); memmap_init_zone_range() local 944 int i, j, zone_id = 0, nid; memmap_init() local 979 __init_zone_device_page(struct page * page,unsigned long pfn,unsigned long zone_idx,int nid,struct dev_pagemap * pgmap) __init_zone_device_page() argument 1045 memmap_init_compound(struct page * head,unsigned long head_pfn,unsigned long zone_idx,int nid,struct dev_pagemap * pgmap,unsigned long nr_pages) memmap_init_compound() argument 1081 int nid = pgdat->node_id; memmap_init_zone_device() local 1123 adjust_zone_range_for_zone_movable(int nid,unsigned long zone_type,unsigned long node_end_pfn,unsigned long * zone_start_pfn,unsigned long * zone_end_pfn) adjust_zone_range_for_zone_movable() argument 1153 __absent_pages_in_range(int nid,unsigned long range_start_pfn,unsigned long range_end_pfn) __absent_pages_in_range() argument 1183 zone_absent_pages_in_node(int nid,unsigned long zone_type,unsigned long zone_start_pfn,unsigned long zone_end_pfn) zone_absent_pages_in_node() argument 1228 zone_spanned_pages_in_node(int nid,unsigned long zone_type,unsigned long node_start_pfn,unsigned long node_end_pfn,unsigned long * zone_start_pfn,unsigned long * zone_end_pfn) zone_spanned_pages_in_node() argument 1383 zone_init_internals(struct zone * zone,enum zone_type idx,int nid,unsigned long remaining_pages) zone_init_internals() argument 1514 int nid = pgdat->node_id; free_area_init_core_hotplug() local 1558 int nid = pgdat->node_id; free_area_init_core() local 1582 memmap_alloc(phys_addr_t size,phys_addr_t align,phys_addr_t min_addr,int nid,bool exact_nid) memmap_alloc() argument 1653 get_pfn_range_for_nid(unsigned int nid,unsigned long * start_pfn,unsigned long * end_pfn) get_pfn_range_for_nid() argument 1671 free_area_init_node(int nid) free_area_init_node() argument 1760 int i, nid, zone; free_area_init() local 1889 int i, nid; node_map_pfn_alignment() local 1963 int nid = zone_to_nid(zone); deferred_init_pages() local 2276 int nid; page_alloc_init_late() local 2446 int nid = early_pfn_to_nid(pfn); memblock_free_pages() local [all...] |
H A D | memory_hotplug.c | 369 int __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, in __add_pages() argument 414 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn() argument 435 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn() argument 463 int nid = zone_to_nid(zone); in shrink_zone_span() local 679 int nid in node_states_check_changes_online() local 749 int nid = pgdat->node_id; move_pfn_range_to_zone() local 837 auto_movable_can_online_movable(int nid,struct memory_group * group,unsigned long nr_pages) auto_movable_can_online_movable() argument 892 default_kernel_zone_for_pfn(int nid,unsigned long start_pfn,unsigned long nr_pages) default_kernel_zone_for_pfn() argument 958 auto_movable_zone_for_pfn(int nid,struct memory_group * group,unsigned long pfn,unsigned long nr_pages) auto_movable_zone_for_pfn() argument 1019 default_zone_for_pfn(int nid,unsigned long start_pfn,unsigned long nr_pages) default_zone_for_pfn() argument 1043 zone_for_pfn_range(int online_type,int nid,struct memory_group * group,unsigned long start_pfn,unsigned long nr_pages) zone_for_pfn_range() argument 1151 const int nid = zone_to_nid(zone); online_pages() local 1236 hotadd_init_pgdat(int nid) hotadd_init_pgdat() argument 1271 __try_online_node(int nid,bool set_node_online) __try_online_node() argument 1298 try_online_node(int nid) try_online_node() argument 1420 create_altmaps_and_memory_blocks(int nid,struct memory_group * group,u64 start,u64 size,mhp_t mhp_flags) create_altmaps_and_memory_blocks() argument 1476 add_memory_resource(int nid,struct resource * res,mhp_t mhp_flags) add_memory_resource() argument 1583 __add_memory(int nid,u64 start,u64 size,mhp_t mhp_flags) __add_memory() argument 1598 add_memory(int nid,u64 start,u64 size,mhp_t mhp_flags) add_memory() argument 1631 add_memory_driver_managed(int nid,u64 start,u64 size,const char * resource_name,mhp_t mhp_flags) add_memory_driver_managed() argument 2120 int *nid = arg; check_memblock_offlined_cb() local 2146 check_cpu_on_node(int nid) check_cpu_on_node() argument 2164 int nid = *(int *)arg; check_no_memblock_for_node_cb() local 2183 try_offline_node(int nid) try_offline_node() argument 2238 int rc, nid = NUMA_NO_NODE; try_remove_memory() local [all...] |
H A D | numa_emulation.c | 24 static int __init emu_find_memblk_by_nid(int nid, const struct numa_meminfo *mi) in emu_find_memblk_by_nid() 50 int nid, int phys_blk, u64 size) in emu_setup_memblk() 92 int nid = 0; in split_nodes_interleave() local 222 int nid) in split_nodes_size_interleave_uniform() 400 int nid = 0; in numa_emulation() local 518 int physnid, nid; in numa_add_cpu() local 544 int nid, physnid; in numa_set_cpumask() local
|
H A D | page_ext.c | 189 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext() 224 int nid, fail; in page_ext_init_flatmem() local 266 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext() 283 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext() 373 int nid) in online_page_ext() 462 int nid; in page_ext_init() local
|
H A D | memblock.c | 218 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up() argument 253 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down() argument 292 memblock_find_in_range_node(phys_addr_t size,phys_addr_t align,phys_addr_t start,phys_addr_t end,int nid,enum memblock_flags flags) memblock_find_in_range_node() argument 553 memblock_insert_region(struct memblock_type * type,int idx,phys_addr_t base,phys_addr_t size,int nid,enum memblock_flags flags) memblock_insert_region() argument 586 memblock_add_range(struct memblock_type * type,phys_addr_t base,phys_addr_t size,int nid,enum memblock_flags flags) memblock_add_range() argument 704 memblock_add_node(phys_addr_t base,phys_addr_t size,int nid,enum memblock_flags flags) memblock_add_node() argument 750 int nid, i; memblock_validate_numa_coverage() local 1053 should_skip_region(struct memblock_type * type,struct memblock_region * m,int nid,int flags) should_skip_region() argument 1111 __next_mem_range(u64 * idx,int nid,enum memblock_flags flags,struct memblock_type * type_a,struct memblock_type * type_b,phys_addr_t * out_start,phys_addr_t * out_end,int * out_nid) __next_mem_range() argument 1202 __next_mem_range_rev(u64 * idx,int nid,enum memblock_flags flags,struct memblock_type * type_a,struct memblock_type * type_b,phys_addr_t * out_start,phys_addr_t * out_end,int * out_nid) __next_mem_range_rev() argument 1283 __next_mem_pfn_range(int * idx,int nid,unsigned long * out_start_pfn,unsigned long * out_end_pfn,int * out_nid) __next_mem_pfn_range() argument 1327 memblock_set_node(phys_addr_t base,phys_addr_t size,struct memblock_type * type,int nid) memblock_set_node() argument 1436 memblock_alloc_range_nid(phys_addr_t size,phys_addr_t align,phys_addr_t start,phys_addr_t end,int nid,bool exact_nid) memblock_alloc_range_nid() argument 1545 memblock_phys_alloc_try_nid(phys_addr_t size,phys_addr_t align,int nid) memblock_phys_alloc_try_nid() argument 1574 memblock_alloc_internal(phys_addr_t size,phys_addr_t align,phys_addr_t min_addr,phys_addr_t max_addr,int nid,bool exact_nid) memblock_alloc_internal() argument 1617 memblock_alloc_exact_nid_raw(phys_addr_t size,phys_addr_t align,phys_addr_t min_addr,phys_addr_t max_addr,int nid) memblock_alloc_exact_nid_raw() argument 1649 memblock_alloc_try_nid_raw(phys_addr_t size,phys_addr_t align,phys_addr_t min_addr,phys_addr_t max_addr,int nid) memblock_alloc_try_nid_raw() argument 1679 memblock_alloc_try_nid(phys_addr_t size,phys_addr_t align,phys_addr_t min_addr,phys_addr_t max_addr,int nid) memblock_alloc_try_nid() argument 2162 int nid; memmap_init_reserved_pages() local 2386 int i, j, nid; memblock_debug_show() local [all...] |
H A D | numa_memblks.c | 133 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() 198 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk() 350 int nid = memblock_get_region_node(mb_region); in numa_clear_kernel_node_hotplug() local 548 int nid = meminfo_to_nid(&numa_meminfo, start); in phys_to_target_node() local 563 int nid = meminfo_to_nid(&numa_meminfo, start); in memory_add_physaddr_to_nid() local
|
H A D | hugetlb.c | 96 int nid = folio_nid(folio); in hugetlb_free_folio() local 1314 int nid = folio_nid(folio); in enqueue_hugetlb_folio() local 1326 int nid) in dequeue_hugetlb_folio_node_exact() 1351 int nid, nodemask_t *nmask) in dequeue_hugetlb_folio_nodemask() 1404 int nid; in dequeue_hugetlb_folio_vma() local 1452 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() 1460 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() 1476 int nid; in hstate_next_node_to_alloc() local 1494 int nid; in hstate_next_node_to_free() local 1519 int nid, nodemask_t *nodemask) in alloc_gigantic_folio() [all …]
|
/linux/include/linux/ |
H A D | node.h | 82 static inline void node_add_cache(unsigned int nid, in node_add_cache() 87 static inline void node_set_perf_attrs(unsigned int nid, in node_set_perf_attrs() 111 static inline void register_memory_blocks_under_node(int nid, unsigned long start_pfn, in register_memory_blocks_under_node() 125 static inline int register_one_node(int nid) in register_one_node() 156 static inline int __register_one_node(int nid) in __register_one_node() 160 static inline int register_one_node(int nid) in register_one_node() 164 static inline int unregister_one_node(int nid) in unregister_one_node() 168 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 172 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node()
|
H A D | memblock.h | 67 int nid; member 189 #define __for_each_mem_range(i, type_a, type_b, nid, flags, \ argument 209 #define __for_each_mem_range_rev(i, type_a, type_b, nid, flags, \ argument 294 #define for_each_mem_pfn_range(i, nid, p_start, p_end, p_nid) \ argument 333 #define for_each_free_mem_range(i, nid, flags, p_start, p_end, p_nid) \ argument 349 #define for_each_free_mem_range_reverse(i, nid, flags, p_start, p_end, \ argument 358 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() 368 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() 444 phys_addr_t align, int nid) in memblock_alloc_node()
|
H A D | numa.h | 18 static inline bool numa_valid_node(int nid) in numa_valid_node() 34 #define NODE_DATA(nid) (node_data[nid]) argument 67 static inline void alloc_offline_node_data(int nid) {} in alloc_offline_node_data()
|
/linux/arch/powerpc/mm/ |
H A D | numa.c | 90 unsigned int *nid) in fake_numa_create_new_node() 171 int nid; in __associativity_to_nid() local 274 int nid = NUMA_NO_NODE; in of_node_to_nid_single() local 286 int nid = NUMA_NO_NODE; in of_node_to_nid() local 305 int i, nid; in __initialize_form1_numa_distance() local 342 int nid; in update_numa_distance() local 588 int nid = default_nid; in get_nid_and_numa_distance() local 624 int nid = default_nid; in of_drconf_to_nid_single() local 706 int nid = NUMA_NO_NODE; in numa_setup_cpu() local 790 int nid; in ppc_numa_cpu_prepare() local [all …]
|
/linux/sound/pci/lola/ |
H A D | lola_proc.c | 17 struct lola *chip, int nid, const char *name) in print_audio_widget() 28 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget() 49 struct lola *chip, int nid) in print_clock_widget() 89 struct lola *chip, int nid) in print_mixer_widget() 102 int i, nid; in lola_proc_codec_read() local
|
/linux/arch/x86/mm/ |
H A D | kasan_init_64.c | 26 static __init void *early_alloc(size_t size, int nid, bool should_panic) in early_alloc() 39 unsigned long end, int nid) in kasan_populate_pmd() 74 unsigned long end, int nid) in kasan_populate_pud() 104 unsigned long end, int nid) in kasan_populate_p4d() 124 unsigned long end, int nid) in kasan_populate_pgd() 143 int nid) in kasan_populate_shadow() 333 void __init kasan_populate_shadow_for_vaddr(void *va, size_t size, int nid) in kasan_populate_shadow_for_vaddr()
|
/linux/drivers/of/ |
H A D | of_numa.c | 23 u32 nid; in of_numa_parse_cpu_nodes() local 44 u32 nid; in of_numa_parse_memory_nodes() local 141 u32 nid; in of_node_to_nid() local
|