/linux-4.4.14/include/sound/ |
D | hda_regmap.h | 32 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument 44 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument 58 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \ argument 73 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write() 91 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update() 109 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() 130 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp() 154 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp() 175 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo() 199 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo() [all …]
|
D | hda_hwdep.h | 30 #define HDA_VERB(nid,verb,param) ((nid)<<24 | (verb)<<8 | (param)) argument
|
D | hdaudio_ext.h | 163 hda_nid_t nid; member
|
D | hdaudio.h | 158 static inline int snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm()
|
/linux-4.4.14/sound/hda/ |
D | hdac_sysfs.c | 98 int nid; in get_codec_nid() local 114 int nid; in widget_attr_show() local 130 int nid; in widget_attr_store() local 160 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 166 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 175 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 187 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 200 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show() 209 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show() 218 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show() [all …]
|
D | hdac_device.c | 213 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() 266 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 280 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() 299 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm_uncached() 320 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_override_parm() 345 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_sub_nodes() 366 hda_nid_t nid; in setup_fg_nodes() local 443 static unsigned int get_num_conns(struct hdac_device *codec, hda_nid_t nid) in get_num_conns() 471 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections() 795 static unsigned int query_pcm_param(struct hdac_device *codec, hda_nid_t nid) in query_pcm_param() [all …]
|
D | local.h | 8 #define get_wcaps(codec, nid) \ argument
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_proc.c | 36 #define param_read(codec, nid, parm) \ argument 62 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 89 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 108 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() 126 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() 148 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 214 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 319 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 415 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 453 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() [all …]
|
D | local.h | 9 #define get_wcaps(codec, nid) \ argument 19 #define get_pin_caps(codec, nid) \ argument 23 unsigned int get_pin_cfg(struct hdac_device *codec, hda_nid_t nid) in get_pin_cfg() 32 #define get_amp_caps(codec, nid, dir) \ argument 36 #define get_power_caps(codec, nid) \ argument
|
D | hda_jack.c | 33 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 50 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid) in read_pin_sense() 74 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 114 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_new() 205 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid) in snd_hda_pin_sense() 224 int snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state() 247 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback() 289 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_enable() 350 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type() 386 int snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl() [all …]
|
D | hda_codec.c | 112 hda_nid_t nid; member 118 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list() 128 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list() 154 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns() 190 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list() 229 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections() 260 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list() 287 hda_nid_t nid, int recursive) in snd_hda_get_conn_index() 316 static unsigned int get_num_devices(struct hda_codec *codec, hda_nid_t nid) in get_num_devices() 341 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_devices() [all …]
|
D | hda_local.h | 39 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument 42 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument 45 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument 57 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument 60 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument 63 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument 66 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument 70 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument 78 #define HDA_CODEC_MUTE_IDX(xname, xcidx, nid, xindex, direction) \ argument 81 #define HDA_CODEC_MUTE_MONO(xname, nid, channel, xindex, direction) \ argument [all …]
|
D | hda_auto_parser.c | 24 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list() 61 hda_nid_t nid, int type) in add_auto_cfg_input_pin() 93 hda_nid_t nid; in reorder_outputs() local 175 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local 590 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 600 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx() 621 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx() 636 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index() 653 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name() 709 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label() [all …]
|
D | hda_codec.h | 150 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member 313 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() 321 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() 327 #define snd_hda_param_read(codec, nid, param) \ argument 329 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument 334 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns() 339 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \ argument 341 #define snd_hda_get_num_raw_conns(codec, nid) \ argument 354 hda_nid_t nid; member 371 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_write_cache() [all …]
|
D | hda_generic.c | 244 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 254 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained() 338 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used() 379 static bool is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, in is_ctl_associated() 555 hda_nid_t nid = spec->all_dacs[i]; in look_for_dac() local 608 hda_nid_t nid = path->path[i]; in look_for_out_vol_nid() local 624 hda_nid_t nid = path->path[idx]; in has_amp_in() local 638 hda_nid_t nid = path->path[idx]; in has_amp_out() local 650 static bool is_active_nid(struct hda_codec *codec, hda_nid_t nid, in is_active_nid() 685 #define is_active_nid_for_any(codec, nid) \ argument [all …]
|
D | hda_jack.h | 24 hda_nid_t nid; member 31 hda_nid_t nid; member 77 static inline bool snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect()
|
D | hda_beep.h | 36 hda_nid_t nid; member 52 static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
|
D | patch_ca0132.c | 140 hda_nid_t nid; member 272 hda_nid_t nid; member 384 hda_nid_t nid; member 789 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command() 799 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() 807 hda_nid_t nid, unsigned char stream, in codec_set_converter_stream_channel() 2837 #define CA0132_CODEC_VOL_MONO(xname, nid, channel, dir) \ argument 2850 #define CA0132_CODEC_MUTE_MONO(xname, nid, channel, dir) \ argument 2860 #define CA0132_CODEC_VOL(xname, nid, dir) \ argument 2862 #define CA0132_CODEC_MUTE(xname, nid, dir) \ argument [all …]
|
D | patch_via.c | 277 static inline void set_beep_amp(struct via_spec *spec, hda_nid_t nid, in set_beep_amp() 316 hda_nid_t nid; in auto_parse_beep() local 325 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument 469 static int via_check_power_status(struct hda_codec *codec, hda_nid_t nid) in via_check_power_status() 502 static void vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid) in vt1708_set_pinconfig_connect() 866 hda_nid_t nid; in add_secret_dac_path() local
|
D | patch_conexant.c | 59 static inline void set_beep_amp(struct conexant_spec *spec, hda_nid_t nid, in set_beep_amp() 94 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument 106 hda_nid_t nid; in cx_auto_parse_beep() local 122 hda_nid_t nid; in cx_auto_parse_eapd() local 352 #define update_mic_pin(codec, nid, val) \ argument
|
D | hda_eld.c | 148 static unsigned int hdmi_get_eld_data(struct hda_codec *codec, hda_nid_t nid, in hdmi_get_eld_data() 313 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) in snd_hdmi_get_eld_size() 319 int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld() 669 int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld_ati()
|
D | patch_sigmatel.c | 364 hda_nid_t nid, unsigned int new_vref) in stac_vrefout_set() 389 hda_nid_t nid, in stac_vref_led_power_filter() 456 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, in stac_toggle_power_map() 505 hda_nid_t nid = spec->pwr_nids[i]; in jack_update_power() local 539 hda_nid_t nid = spec->pwr_nids[i]; in stac_init_power_map() local 852 hda_nid_t nid) in stac_auto_create_beep_ctls() 4284 hda_nid_t nid = spec->gen.beep_nid; in stac_parse_auto_config() local 4382 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook() 4400 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook() 4408 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook() [all …]
|
D | patch_realtek.c | 137 static int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() 150 static void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx() 160 static void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx() 186 unsigned char nid; member 261 static void alc_fix_pll_init(struct hda_codec *codec, hda_nid_t nid, in alc_fix_pll_init() 401 static void set_eapd(struct hda_codec *codec, hda_nid_t nid, int on) in set_eapd() 503 unsigned nid = 0; in alc_auto_parse_customize_define() local 568 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 577 static bool found_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in found_in_nid_list() 594 unsigned nid; in alc_subsystem_id() local [all …]
|
D | hda_bind.c | 220 hda_nid_t nid; in is_likely_hdmi_codec() local
|
D | hda_beep.c | 216 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
|
D | patch_analog.c | 55 #define set_beep_amp(spec, nid, idx, dir) \ argument 58 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument
|
D | hda_sysfs.c | 235 int nid, verb, param; in parse_init_verbs() local 382 int nid, cfg, err; in parse_user_pin_configs() local
|
D | patch_cirrus.c | 188 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin() 1061 hda_nid_t nid = cfg->dig_out_pins[i]; in parse_cs421x_digital() local
|
D | patch_hdmi.c | 1173 static void check_presence_and_report(struct hda_codec *codec, hda_nid_t nid) in check_presence_and_report() 1249 hda_nid_t cvt_nid, hda_nid_t nid) in haswell_verify_D0() 1401 hda_nid_t nid; in intel_not_share_assigned_cvt() local 1734 hda_nid_t nid; in hdmi_parse_codec() local 2278 hda_nid_t nid) in intel_haswell_fixup_connect_list() 3203 static int atihdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, in atihdmi_pin_get_eld()
|
/linux-4.4.14/include/linux/ |
D | node.h | 49 static inline int register_one_node(int nid) in register_one_node() 53 static inline int unregister_one_node(int nid) in unregister_one_node() 57 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 61 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node() 66 int nid) in register_mem_sect_under_node()
|
D | memory_hotplug.h | 139 #define arch_alloc_nodedata(nid) generic_alloc_nodedata(nid) argument 149 #define generic_alloc_nodedata(nid) \ argument 160 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 168 static inline pg_data_t *generic_alloc_nodedata(int nid) in generic_alloc_nodedata() 176 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 230 static inline int try_online_node(int nid) in try_online_node() 257 static inline void try_offline_node(int nid) {} in try_offline_node() 264 static inline void remove_memory(int nid, u64 start, u64 size) {} in remove_memory()
|
D | bootmem.h | 209 phys_addr_t size, int nid) in memblock_virt_alloc_node() 216 phys_addr_t size, int nid) in memblock_virt_alloc_node_nopanic() 230 phys_addr_t base, phys_addr_t size, int nid) in memblock_free_early_nid() 286 phys_addr_t size, int nid) in memblock_virt_alloc_node() 293 phys_addr_t size, int nid) in memblock_virt_alloc_node_nopanic() 301 phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid) in memblock_virt_alloc_try_nid() 309 phys_addr_t min_addr, phys_addr_t max_addr, int nid) in memblock_virt_alloc_try_nid_nopanic() 322 phys_addr_t base, phys_addr_t size, int nid) in memblock_free_early_nid() 337 static inline void *alloc_remap(int nid, unsigned long size) in alloc_remap()
|
D | memblock.h | 35 int nid; member 117 #define for_each_mem_range(i, type_a, type_b, nid, flags, \ argument 137 #define for_each_mem_range_rev(i, type_a, type_b, nid, flags, \ argument 203 #define for_each_mem_pfn_range(i, nid, p_start, p_end, p_nid) \ argument 220 #define for_each_free_mem_range(i, nid, flags, p_start, p_end, p_nid) \ argument 236 #define for_each_free_mem_range_reverse(i, nid, flags, p_start, p_end, \ argument 257 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() 267 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node()
|
D | list_lru.h | 121 int nid; in list_lru_count() local 179 int nid; in list_lru_walk() local
|
D | mmzone.h | 694 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) argument 695 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) argument 701 #define nid_page_nr(nid, pagenr) pgdat_page_nr(NODE_DATA(nid),(pagenr)) argument 703 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) argument 704 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid)) argument 765 static inline void memory_present(int nid, unsigned long start, unsigned long end) {} in memory_present() 851 #define NODE_DATA(nid) (&contig_page_data) argument 852 #define NODE_MEM_MAP(nid) mem_map argument
|
D | gfp.h | 395 static inline struct zonelist *node_zonelist(int nid, gfp_t flags) in node_zonelist() 423 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node() 436 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node()
|
D | nodemask.h | 423 static inline int next_online_node(int nid) in next_online_node() 427 static inline int next_memory_node(int nid) in next_memory_node() 435 static inline void node_set_online(int nid) in node_set_online() 441 static inline void node_set_offline(int nid) in node_set_offline() 472 #define next_online_node(nid) (MAX_NUMNODES) argument
|
D | shrinker.h | 22 int nid; member
|
D | genalloc.h | 95 size_t size, int nid) in gen_pool_add()
|
D | topology.h | 38 #define node_has_online_mem(nid) (1) argument
|
D | f2fs_fs.h | 231 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */ member 244 __le32 nid; /* node id */ member 331 __le32 nid; /* parent node id */ member 370 __le32 nid; member
|
D | hugetlb.h | 500 #define alloc_huge_page_node(h, nid) NULL argument
|
D | mm.h | 820 static inline int cpu_pid_to_cpupid(int nid, int pid) in cpu_pid_to_cpupid() 1737 int nid; in get_num_physpages() local
|
/linux-4.4.14/drivers/base/ |
D | node.c | 58 int nid = dev->id; in node_read_meminfo() local 170 int nid = dev->id; in node_read_vmstat() local 185 int nid = dev->id; in node_read_distance() local 317 int register_cpu_under_node(unsigned int cpu, unsigned int nid) in register_cpu_under_node() 340 int unregister_cpu_under_node(unsigned int cpu, unsigned int nid) in unregister_cpu_under_node() 379 int register_mem_sect_under_node(struct memory_block *mem_blk, int nid) in register_mem_sect_under_node() 442 int nid; in unregister_mem_sect_under_nodes() local 460 static int link_mem_sections(int nid) in link_mem_sections() 518 static void init_node_hugetlb_work(int nid) in init_node_hugetlb_work() 527 int nid = mnb->status_change_nid; in node_memory_callback() local [all …]
|
D | devres.c | 85 size_t size, gfp_t gfp, int nid) in alloc_dr() 109 void * __devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid, in __devres_alloc_node() 136 void * devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid) in devres_alloc_node()
|
D | memory.c | 453 int nid; in memory_probe_store() local 660 int register_new_memory(int nid, struct mem_section *section) in register_new_memory()
|
/linux-4.4.14/mm/ |
D | sparse.c | 51 static void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 56 static inline void set_section_nid(unsigned long section_nr, int nid) in set_section_nid() 62 static struct mem_section noinline __init_refok *sparse_index_alloc(int nid) in sparse_index_alloc() 80 static int __meminit sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() 97 static inline int sparse_index_init(unsigned long section_nr, int nid) in sparse_index_init() 133 static inline unsigned long sparse_encode_early_nid(int nid) in sparse_encode_early_nid() 170 void __init memory_present(int nid, unsigned long start, unsigned long end) in memory_present() 194 unsigned long __init node_memmap_size_bytes(int nid, unsigned long start_pfn, in node_memmap_size_bytes() 269 int nid; in sparse_early_usemaps_alloc_pgdat_section() local 294 static void __init check_usemap_section_nr(int nid, unsigned long *usemap) in check_usemap_section_nr() [all …]
|
D | page_ext.c | 124 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext() 158 int nid, fail; in page_ext_init_flatmem() local 196 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext() 215 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext() 281 int nid) in online_page_ext() 315 unsigned long nr_pages, int nid) in offline_page_ext() 362 int nid; in page_ext_init() local
|
D | memblock.c | 125 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up() 159 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down() 205 phys_addr_t end, int nid, ulong flags) in memblock_find_in_range_node() 494 int nid, unsigned long flags) in memblock_insert_region() 526 int nid, unsigned long flags) in memblock_add_range() 608 int nid) in memblock_add_node() 615 int nid, in memblock_add_region() 743 int nid, in memblock_reserve_region() 884 void __init_memblock __next_mem_range(u64 *idx, int nid, ulong flags, in __next_mem_range() 989 void __init_memblock __next_mem_range_rev(u64 *idx, int nid, ulong flags, in __next_mem_range_rev() [all …]
|
D | memory_hotplug.c | 329 int nid = zone->zone_pgdat->node_id; in fix_zone_id() local 447 int nid = pgdat->node_id; in __add_zone() local 475 static int __meminit __add_section(int nid, struct zone *zone, in __add_section() 502 int __ref __add_pages(int nid, struct zone *zone, unsigned long phys_start_pfn, in __add_pages() 532 static int find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn() 557 static int find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn() 592 int nid = zone_to_nid(zone); in shrink_zone_span() local 660 int nid = pgdat->node_id; in shrink_pgdat_span() local 903 int nid = zone_to_nid(zone); in node_states_check_changes_online() local 981 int nid; in online_pages() local [all …]
|
D | list_lru.c | 111 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() local 130 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() local 163 int nid, int memcg_idx) in __list_lru_count_one() 178 int nid, struct mem_cgroup *memcg) in list_lru_count_one() 184 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node() 199 __list_lru_walk_one(struct list_lru *lru, int nid, int memcg_idx, in __list_lru_walk_one() 259 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one() 268 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node()
|
D | hugetlb.c | 840 int nid = page_to_nid(page); in enqueue_huge_page() local 846 static struct page *dequeue_huge_page_node(struct hstate *h, int nid) in dequeue_huge_page_node() 939 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() 949 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() 965 int nid; in hstate_next_node_to_alloc() local 983 int nid; in hstate_next_node_to_free() local 1066 static struct page *alloc_gigantic_page(int nid, unsigned int order) in alloc_gigantic_page() 1104 static struct page *alloc_fresh_gigantic_page_node(struct hstate *h, int nid) in alloc_fresh_gigantic_page_node() 1211 int nid = page_to_nid(page); in free_huge_page() local 1251 static void prep_new_huge_page(struct hstate *h, struct page *page, int nid) in prep_new_huge_page() [all …]
|
D | page_alloc.c | 284 static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid) in early_page_nid_uninitialised() 324 static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid) in early_page_nid_uninitialised() 901 unsigned long zone, int nid) in __init_single_page() 917 int nid) in __init_single_pfn() 926 int nid, zid; in init_reserved_page() local 1055 int nid; in early_pfn_to_nid() local 1071 int nid; in meminit_pfn_in_nid() local 1142 int nid = pgdat->node_id; in deferred_init_memmap() local 1260 int nid; in page_alloc_init_late() local 3442 struct page *alloc_kmem_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in alloc_kmem_pages_node() [all …]
|
D | ksm.c | 145 int nid; member 166 int nid; /* when node of unstable tree */ member 745 int nid; in remove_all_stable_nodes() local 1150 int nid; in stable_tree_search() local 1260 int nid; in stable_tree_insert() local 1348 int nid; in unstable_tree_search_insert() local 1560 int nid; in scan_get_next_rmap_item() local 2018 int nid; in ksm_check_stable_tree() local
|
D | vmscan.c | 277 int nid = shrinkctl->nid; in do_shrink_slab() local 406 static unsigned long shrink_slab(gfp_t gfp_mask, int nid, in shrink_slab() 453 void drop_slab_node(int nid) in drop_slab_node() 470 int nid; in drop_slab() local 2907 int nid; in try_to_free_mem_cgroup_pages() local 3581 int nid; in cpu_callback() local 3602 int kswapd_run(int nid) in kswapd_run() 3625 void kswapd_stop(int nid) in kswapd_stop() 3637 int nid; in kswapd_init() local
|
D | mmzone.c | 19 int nid = next_online_node(pgdat->node_id); in next_online_pgdat() local
|
D | mempolicy.c | 492 int nid; in queue_pages_pte_range() local 532 int nid; in queue_pages_hugetlb() local 1675 unsigned nid, next; in interleave_nodes() local 1740 int nid = NUMA_NO_NODE; in offset_il_node() local 1845 int nid; in init_nodemask_of_mempolicy() local 1923 unsigned nid) in alloc_page_interleave() 1973 unsigned nid; in alloc_pages_vma() local 2564 int nid, prefer = 0; in numa_policy_init() local
|
D | mm_init.c | 27 int nid; in mminit_verify_zonelist() local
|
D | workingset.c | 172 int zid, nid; in unpack_shadow() local
|
D | memcontrol.c | 407 int nid = zone_to_nid(zone); in mem_cgroup_zone_zoneinfo() local 477 int nid = page_to_nid(page); in mem_cgroup_page_zoneinfo() local 484 soft_limit_tree_node_zone(int nid, int zid) in soft_limit_tree_node_zone() 492 int nid = page_to_nid(page); in soft_limit_tree_from_page() local 600 int nid, zid; in mem_cgroup_remove_from_trees() local 729 int nid, in mem_cgroup_node_nr_lru_pages() 755 int nid; in mem_cgroup_nr_lru_pages() local 1010 int nid, zid; in invalidate_reclaim_iterators() local 1430 int nid, bool noswap) in test_mem_cgroup_node_reclaimable() 1450 int nid; in mem_cgroup_may_update_nodemask() local [all …]
|
D | compaction.c | 1677 static void compact_node(int nid) in compact_node() 1691 int nid; in compact_nodes() local 1726 int nid = dev->id; in sysfs_compact_node() local
|
D | sparse-vmemmap.c | 179 struct page * __meminit sparse_mem_map_populate(unsigned long pnum, int nid) in sparse_mem_map_populate()
|
D | oom_kill.c | 215 int nid; in constrained_alloc() local
|
D | nobootmem.c | 35 static void * __init __alloc_memory_core_early(int nid, u64 size, u64 align, in __alloc_memory_core_early()
|
D | memory-failure.c | 1516 int nid = page_to_nid(p); in new_page() local
|
D | migrate.c | 1580 int nid = (int) data; in alloc_misplaced_dst_page() local
|
D | huge_memory.c | 2345 static bool khugepaged_scan_abort(int nid) in khugepaged_scan_abort() 2373 int nid, target_node = 0, max_value = 0; in khugepaged_find_target_node() local
|
D | slab.c | 1328 int nid; in slab_memory_callback() local 1464 int nid; in kmem_cache_init() local 3010 int nid; in fallback_alloc() local
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | numa.h | 41 int nid; /* which logical node contains this chunk? */ member 47 int nid; /* logical node containing this CPU */ member 73 #define map_cpu_to_node(cpu, nid) do{}while(0) argument 74 #define unmap_cpu_from_node(cpu, nid) do{}while(0) argument
|
D | mmzone.h | 23 int nid = paddr_to_nid(pfn << PAGE_SHIFT); in pfn_to_nid() local
|
D | nodedata.h | 47 #define NODE_DATA(nid) (local_node_data->pg_data_ptrs[nid]) argument
|
D | topology.h | 41 #define parent_node(nid) (nid) argument
|
/linux-4.4.14/arch/sh/include/asm/ |
D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[nid]) argument 14 int nid; in pfn_to_nid() local 32 setup_bootmem_node(int nid, unsigned long start, unsigned long end) in setup_bootmem_node()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | uncached.c | 78 static int uncached_add_chunk(struct uncached_pool *uc_pool, int nid) in uncached_add_chunk() 189 int nid; in uncached_alloc_page() local 228 int nid = paddr_to_nid(uc_addr - __IA64_UNCACHED_OFFSET); in uncached_free_page() local 254 int nid = paddr_to_nid(uc_start - __IA64_UNCACHED_OFFSET); in uncached_build_memmap() local 270 int nid; in uncached_init() local
|
D | numa.c | 33 void map_cpu_to_node(int cpu, int nid) in map_cpu_to_node() 54 void unmap_cpu_from_node(int cpu, int nid) in unmap_cpu_from_node()
|
D | acpi.c | 545 int nid = acpi_map_pxm_to_node(i); in acpi_numa_arch_fixup() local
|
/linux-4.4.14/arch/metag/include/asm/ |
D | mmzone.h | 8 #define NODE_DATA(nid) (node_data[nid]) argument 12 int nid; in pfn_to_nid() local 30 setup_bootmem_node(int nid, unsigned long start, unsigned long end) in setup_bootmem_node()
|
/linux-4.4.14/sound/pci/lola/ |
D | lola_proc.c | 30 struct lola *chip, int nid, const char *name) in print_audio_widget() 41 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget() 62 struct lola *chip, int nid) in print_clock_widget() 102 struct lola *chip, int nid) in print_mixer_widget() 115 int i, nid; in lola_proc_codec_read() local
|
D | lola.c | 87 static int corb_send_verb(struct lola *chip, unsigned int nid, in corb_send_verb() 195 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_write() 204 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_read() 451 int nid, err; in lola_parse_tree() local
|
D | lola_mixer.c | 32 int dir, int nid) in lola_init_pin() 96 int i, err, nid; in lola_init_pins() local 114 int lola_init_mixer_widget(struct lola *chip, int nid) in lola_init_mixer_widget()
|
D | lola_clock.c | 123 int lola_init_clock_widget(struct lola *chip, int nid) in lola_init_clock_widget()
|
D | lola.h | 231 unsigned int nid; member 257 unsigned int nid; member 276 unsigned int nid; member 292 unsigned int nid; /* audio widget NID */ member 491 #define lola_read_param(chip, nid, param, val) \ argument
|
D | lola_pcm.c | 643 int idx, int nid, int dir) in lola_init_stream() 700 int i, nid, err; in lola_init_pcm() local
|
/linux-4.4.14/arch/powerpc/mm/ |
D | numa.c | 91 unsigned int *nid) in fake_numa_create_new_node() 217 static void initialize_distance_lookup_table(int nid, in initialize_distance_lookup_table() 238 int nid = -1; in associativity_to_nid() local 267 int nid = -1; in of_node_to_nid_single() local 279 int nid = -1; in of_node_to_nid() local 500 int nid = default_nid; in of_drconf_to_nid_single() local 528 int nid = -1; in numa_setup_cpu() local 588 int ret = NOTIFY_DONE, nid; in cpu_numa_callback() local 661 int nid; in parse_drconf_memory() local 744 int nid; in parse_numa_properties() local [all …]
|
D | mem.c | 116 int arch_add_memory(int nid, u64 start, u64 size, bool for_device) in arch_add_memory()
|
/linux-4.4.14/arch/m32r/mm/ |
D | discontig.c | 75 int nid; in setup_memory() local 129 #define START_PFN(nid) (NODE_DATA(nid)->bdata->node_min_pfn) argument 130 #define MAX_LOW_PFN(nid) (NODE_DATA(nid)->bdata->node_low_pfn) argument 136 int nid, i; in zone_sizes_init() local
|
D | init.c | 55 #define START_PFN(nid) (NODE_DATA(nid)->bdata->node_min_pfn) argument 56 #define MAX_LOW_PFN(nid) (NODE_DATA(nid)->bdata->node_low_pfn) argument
|
/linux-4.4.14/fs/f2fs/ |
D | node.c | 97 static struct page *get_current_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_current_nat_page() 103 static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) in get_next_nat_page() 198 int need_dentry_mark(struct f2fs_sb_info *sbi, nid_t nid) in need_dentry_mark() 215 bool is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) in is_checkpointed_node() 245 static struct nat_entry *grab_nat_entry(struct f2fs_nm_info *nm_i, nid_t nid) in grab_nat_entry() 259 static void cache_nat_entry(struct f2fs_nm_info *nm_i, nid_t nid, in cache_nat_entry() 354 void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) in get_node_info() 722 nid_t nid[3]; in truncate_partial_nodes() local 877 nid_t nid = F2FS_I(inode)->i_xattr_nid; in truncate_xattr_node() local 1033 void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid) in ra_node_page() [all …]
|
D | node.h | 12 #define START_NID(nid) ((nid / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK) argument 47 nid_t nid; /* node id */ member 146 nid_t nid; /* node id */ member 150 static inline void next_free_nid(struct f2fs_sb_info *sbi, nid_t *nid) in next_free_nid() 215 static inline void fill_node_footer(struct page *page, nid_t nid, in fill_node_footer() 320 static inline void set_nid(struct page *p, int off, nid_t nid, bool i) in set_nid()
|
D | gc.c | 417 nid_t nid = le32_to_cpu(entry->nid); in gc_node_segment() local 511 nid_t nid; in is_alive() local
|
D | recovery.c | 268 nid_t ino, nid; in check_index_in_prev_nodes() local
|
D | segment.h | 655 static inline void set_summary(struct f2fs_summary *sum, nid_t nid, in set_summary()
|
D | f2fs.h | 544 nid_t nid; /* node id of the direct node block */ member 551 struct page *ipage, struct page *npage, nid_t nid) in set_new_dnode() 995 static inline int check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) in check_nid_range()
|
/linux-4.4.14/arch/x86/mm/ |
D | numa_emulation.c | 21 static int __init emu_find_memblk_by_nid(int nid, const struct numa_meminfo *mi) in emu_find_memblk_by_nid() 47 int nid, int phys_blk, u64 size) in emu_setup_memblk() 87 int nid = 0; in split_nodes_interleave() local 211 int nid = 0; in split_nodes_size_interleave() local 449 int physnid, nid; in numa_add_cpu() local 475 int nid, physnid; in numa_set_cpumask() local
|
D | numa_32.c | 47 void memory_present(int nid, unsigned long start, unsigned long end) in memory_present() 64 unsigned long node_memmap_size_bytes(int nid, unsigned long start_pfn, in node_memmap_size_bytes()
|
D | numa.c | 131 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, in numa_add_memblk_to() 183 int __init numa_add_memblk(int nid, u64 start, u64 end) in numa_add_memblk() 189 static void __init alloc_node_data(int nid) in alloc_node_data() 470 int i, nid; in numa_clear_kernel_node_hotplug() local 514 int i, nid; in numa_register_memblks() local 650 int nid = early_cpu_to_node(i); in numa_init() local 875 int nid = mi->blk[0].nid; in memory_add_physaddr_to_nid() local
|
D | numa_internal.h | 10 int nid; member
|
D | highmem_32.c | 110 int nid; in set_highmem_pages_init() local
|
D | init_32.c | 431 void __init add_highpages_with_active_regions(int nid, in add_highpages_with_active_regions() 826 int arch_add_memory(int nid, u64 start, u64 size, bool for_device) in arch_add_memory()
|
D | init_64.c | 690 int arch_add_memory(int nid, u64 start, u64 size, bool for_device) in arch_add_memory()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | mmzone.h | 22 #define node_mem_start(nid) \ argument 26 #define node_mem_size(nid) \ argument 32 #define NODE_DATA(nid) (&node_data[(nid)]) argument 34 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn) argument
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | mmzone.h | 6 #define NODE_DATA(nid) (&pg_data_map[nid]) argument 7 #define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map) argument
|
/linux-4.4.14/arch/tile/include/asm/ |
D | mmzone.h | 19 #define NODE_DATA(nid) (&node_data[nid]) argument 47 int nid = pfn_to_nid(pfn); in pfn_valid() local
|
D | topology.h | 48 #define node_has_online_mem(nid) 1 argument
|
/linux-4.4.14/arch/x86/include/asm/ |
D | mmzone_32.h | 13 #define NODE_DATA(nid) (node_data[nid]) argument 44 int nid = pfn_to_nid(pfn); in pfn_valid() local
|
D | mmzone_64.h | 14 #define NODE_DATA(nid) (node_data[nid]) argument
|
/linux-4.4.14/arch/alpha/mm/ |
D | numa.c | 55 setup_memory_node(int nid, void *kernel_end) in setup_memory_node() 253 int nid; in setup_memory() local 291 unsigned int nid; in paging_init() local
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | peer.c | 187 lnet_find_peer_locked(struct lnet_peer_table *ptable, lnet_nid_t nid) in lnet_find_peer_locked() 206 lnet_nid2peer_locked(lnet_peer_t **lpp, lnet_nid_t nid, int cpt) in lnet_nid2peer_locked() 309 lnet_debug_peer(lnet_nid_t nid) in lnet_debug_peer()
|
D | api-ni.c | 686 lnet_nid_cpt_hash(lnet_nid_t nid, unsigned int number) in lnet_nid_cpt_hash() 705 lnet_cpt_of_nid_locked(lnet_nid_t nid) in lnet_cpt_of_nid_locked() 729 lnet_cpt_of_nid(lnet_nid_t nid) in lnet_cpt_of_nid() 766 lnet_nid2ni_locked(lnet_nid_t nid, int cpt) in lnet_nid2ni_locked() 786 lnet_islocalnid(lnet_nid_t nid) in lnet_islocalnid()
|
D | router_proc.c | 242 lnet_nid_t nid = route->lr_gateway->lp_nid; in proc_lnet_routes() local 345 lnet_nid_t nid = peer->lp_nid; in proc_lnet_routers() local 509 lnet_nid_t nid = peer->lp_nid; in proc_lnet_peers() local
|
D | router.c | 641 lnet_nid_t nid = stat->ns_nid; in lnet_parse_rc_info() local 1493 lnet_notify(lnet_ni_t *ni, lnet_nid_t nid, int alive, unsigned long when) in lnet_notify()
|
D | lib-move.c | 50 lnet_fail_nid(lnet_nid_t nid, unsigned int threshold) in lnet_fail_nid() 103 fail_peer(lnet_nid_t nid, int outgoing) in fail_peer()
|
D | nidstrings.c | 367 int cfs_match_nid(lnet_nid_t nid, struct list_head *nidlist) in cfs_match_nid() 1123 libcfs_nid2str_r(lnet_nid_t nid, char *buf, size_t buf_size) in libcfs_nid2str_r()
|
D | config.c | 638 lnet_nid_t nid; in lnet_parse_route() local
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | mmzone.h | 14 #define NODE_DATA(nid) (node_data[nid]) argument 16 #define node_localnr(pfn, nid) ((pfn) - NODE_DATA(nid)->node_start_pfn) argument
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | mmzone.h | 16 #define NODE_DATA(nid) (&node_data[nid].pg_data) argument 54 int nid = pfn_to_nid(pfn); in pfn_valid() local
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | ras.c | 102 int nid; member 111 static int __init cbe_ptcal_enable_on_node(int nid, int order) in cbe_ptcal_enable_on_node() 197 const u32 *nid = of_get_property(np, "node-id", NULL); in cbe_ptcal_enable() local
|
D | iommu.c | 124 int nid; member 269 static int cell_iommu_find_ioc(int nid, unsigned long *base) in cell_iommu_find_ioc() 534 static struct cbe_iommu *cell_iommu_for_node(int nid) in cell_iommu_for_node() 728 int nid, i; in cell_iommu_alloc() local
|
D | spu_manage.c | 84 int nid; in spu_map_interrupts_old() local
|
/linux-4.4.14/arch/mips/sgi-ip27/ |
D | ip27-init.c | 168 nasid_t nid; in ioc3_eth_init() local 181 nasid_t nid; in plat_mem_setup() local
|
D | ip27-xtalk.c | 102 void xtalk_probe_node(cnodeid_t nid) in xtalk_probe_node()
|
/linux-4.4.14/arch/metag/mm/ |
D | init.c | 109 static void __init allocate_pgdat(unsigned int nid) in allocate_pgdat() 139 static void __init bootmem_init_one_node(unsigned int nid) in bootmem_init_one_node() 328 int nid; in paging_init() local
|
D | numa.c | 30 void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end) in setup_bootmem_node()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | topology.h | 51 static inline int sysfs_add_device_to_node(struct device *dev, int nid) in sysfs_add_device_to_node() 57 int nid) in sysfs_remove_device_from_node()
|
D | mmzone.h | 26 #define NODE_DATA(nid) (node_data[nid]) argument
|
/linux-4.4.14/arch/sh/mm/ |
D | init.c | 193 void __init allocate_pgdat(unsigned int nid) in allocate_pgdat() 222 static void __init bootmem_init_one_node(unsigned int nid) in bootmem_init_one_node() 325 int nid; in paging_init() local 488 int arch_add_memory(int nid, u64 start, u64 size, bool for_device) in arch_add_memory()
|
D | numa.c | 27 void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end) in setup_bootmem_node()
|
/linux-4.4.14/arch/ia64/mm/ |
D | init.c | 471 int nid; member 507 memmap_init (unsigned long size, int nid, unsigned long zone, in memmap_init() 554 int __init register_active_ranges(u64 start, u64 len, int nid) in register_active_ranges() 648 int arch_add_memory(int nid, u64 start, u64 size, bool for_device) in arch_add_memory() 707 int nid = pgdat->node_id; in show_mem() local
|
D | numa.c | 97 int nid = paddr_to_nid(addr); in memory_add_physaddr_to_nid() local
|
D | discontig.c | 475 static void __init *memory_less_node_alloc(int nid, unsigned long pernodesize) in memory_less_node_alloc() 736 pg_data_t *arch_alloc_nodedata(int nid) in arch_alloc_nodedata()
|
/linux-4.4.14/arch/s390/numa/ |
D | numa.c | 83 int nid = 0; in numa_setup_memory() local 159 int nid; in numa_init_late() local
|
D | mode_emu.c | 167 int nid; in toptree_unify_tree() local 280 int nid; in toptree_new() local 398 int nid, cid; in print_node_to_core_map() local
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | lustre_peer.c | 97 int class_add_uuid(const char *uuid, __u64 nid) in class_add_uuid() 190 int class_check_uuid(struct obd_uuid *uuid, __u64 nid) in class_check_uuid()
|
D | obd_mount.c | 145 static int do_lcfg(char *cfgname, lnet_nid_t nid, int cmd, in do_lcfg() 211 lnet_nid_t nid; in lustre_start_mgc() local 835 lnet_nid_t nid; in lmd_parse_mgs() local
|
D | obd_config.c | 91 lnet_nid_t *nid = value; in parse_nid() local 159 int class_parse_nid(char *buf, lnet_nid_t *nid, char **endh) in class_parse_nid() 165 int class_parse_nid_quiet(char *buf, lnet_nid_t *nid, char **endh) in class_parse_nid_quiet()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | mmzone.h | 13 #define NODE_DATA(nid) (node_data[nid]) argument
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[nid]) argument
|
/linux-4.4.14/drivers/char/ |
D | mspec.c | 115 int nid; in mspec_zero_block() local 360 int nid; in mspec_init() local 431 int nid; in mspec_exit() local
|
/linux-4.4.14/arch/mips/loongson64/common/ |
D | dma-swiotlb.c | 103 long nid; in phys_to_dma() local 115 long nid; in dma_to_phys() local
|
/linux-4.4.14/drivers/edac/ |
D | amd64_edac.c | 269 static bool base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid) in base_limit_match() 1524 static int f1x_lookup_addr_in_dct(u64 in_addr, u8 nid, u8 dct) in f1x_lookup_addr_in_dct() 2488 static void get_cpus_on_this_dct_cpumask(struct cpumask *mask, u16 nid) in get_cpus_on_this_dct_cpumask() 2498 static bool nb_mce_bank_enabled_on_node(u16 nid) in nb_mce_bank_enabled_on_node() 2531 static int toggle_ecc_err_reporting(struct ecc_settings *s, u16 nid, bool on) in toggle_ecc_err_reporting() 2569 static bool enable_ecc_error_reporting(struct ecc_settings *s, u16 nid, in enable_ecc_error_reporting() 2621 static void restore_ecc_error_reporting(struct ecc_settings *s, u16 nid, in restore_ecc_error_reporting() 2660 static bool ecc_enabled(struct pci_dev *F3, u16 nid) in ecc_enabled() 2788 u16 nid = amd_pci_dev_to_node_id(F2); in init_one_instance() local 2878 u16 nid = amd_pci_dev_to_node_id(pdev); in probe_one_instance() local [all …]
|
/linux-4.4.14/arch/avr32/mm/ |
D | init.c | 48 int nid; in paging_init() local
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | hotplug-memory.c | 137 int i, nid; in pseries_remove_memblock() local 223 int nid, rc; in dlpar_remove_lmb() local 391 int nid, rc; in dlpar_add_lmb() local
|
/linux-4.4.14/lib/ |
D | genalloc.c | 152 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create() 183 size_t size, int nid) in gen_pool_add_virt() 619 int nid, const char *name) in devm_gen_pool_create()
|
/linux-4.4.14/arch/ia64/uv/kernel/ |
D | setup.c | 66 int nid, cpu, m_val, n_val; in uv_setup() local
|
/linux-4.4.14/include/asm-generic/ |
D | memory_model.h | 19 #define arch_local_page_offset(pfn, nid) \ argument
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 322 int kiblnd_create_peer(lnet_ni_t *ni, kib_peer_t **peerp, lnet_nid_t nid) in kiblnd_create_peer() 385 kib_peer_t *kiblnd_find_peer_locked(lnet_nid_t nid) in kiblnd_find_peer_locked() 481 static int kiblnd_del_peer(lnet_ni_t *ni, lnet_nid_t nid) in kiblnd_del_peer() 615 lnet_nid_t nid = conn->ibc_peer->ibp_nid; in kiblnd_get_completion_vector() local 957 static int kiblnd_close_matching_conns(lnet_ni_t *ni, lnet_nid_t nid) in kiblnd_close_matching_conns() 1011 lnet_nid_t nid = 0; in kiblnd_ctl() local 1057 void kiblnd_query(lnet_ni_t *ni, lnet_nid_t nid, unsigned long *when) in kiblnd_query()
|
D | o2iblnd_cb.c | 1296 kiblnd_launch_tx(lnet_ni_t *ni, kib_tx_t *tx, lnet_nid_t nid) in kiblnd_launch_tx() 2150 lnet_nid_t nid; in kiblnd_passive_connect() local
|
/linux-4.4.14/arch/ia64/include/asm/uv/ |
D | uv_hub.h | 267 static inline int uv_node_to_blade_id(int nid) in uv_node_to_blade_id() 297 static inline int uv_node_to_pnode(int nid) in uv_node_to_pnode()
|
/linux-4.4.14/sound/core/ |
D | init.c | 552 const char *nid) in copy_valid_id_string() 572 const char *nid) in snd_card_set_id_no_lock() 627 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()
|
/linux-4.4.14/arch/s390/mm/ |
D | init.c | 149 int arch_add_memory(int nid, u64 start, u64 size, bool for_device) in arch_add_memory()
|
/linux-4.4.14/arch/sh/kernel/ |
D | setup.c | 191 void __init __add_active_range(unsigned int nid, unsigned long start_pfn, in __add_active_range()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | core_wildfire.c | 455 unsigned long wildfire_node_mem_start(int nid) in wildfire_node_mem_start() 461 unsigned long wildfire_node_mem_size(int nid) in wildfire_node_mem_size()
|
D | core_marvel.c | 868 marvel_node_mem_start(int nid) in marvel_node_mem_start() 879 marvel_node_mem_size(int nid) in marvel_node_mem_size()
|
D | pci_iommu.c | 58 iommu_arena_new_node(int nid, struct pci_controller *hose, dma_addr_t base, in iommu_arena_new_node()
|
/linux-4.4.14/arch/tile/kernel/ |
D | setup.c | 601 static inline int node_has_bootmem(int nid) in node_has_bootmem() 610 static inline unsigned long alloc_bootmem_pfn(int nid, in alloc_bootmem_pfn() 715 void *__init alloc_remap(int nid, unsigned long size) in alloc_remap() 1523 int nid = cpu_to_node(cpu); in pcpu_fc_alloc() local
|
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/ |
D | types.h | 80 static inline __u32 LNET_NIDADDR(lnet_nid_t nid) in LNET_NIDADDR() 85 static inline __u32 LNET_NIDNET(lnet_nid_t nid) in LNET_NIDNET() 115 lnet_nid_t nid; member 314 lnet_nid_t nid; member
|
D | nidstr.h | 78 static inline char *libcfs_nid2str(lnet_nid_t nid) in libcfs_nid2str()
|
D | lib-lnet.h | 411 lnet_nid2peerhash(lnet_nid_t nid) in lnet_nid2peerhash()
|
/linux-4.4.14/kernel/ |
D | memremap.c | 170 int error, nid; in devm_memremap_pages() local
|
/linux-4.4.14/drivers/char/agp/ |
D | sgi-agp.c | 44 int nid; in sgi_tioca_alloc_page() local
|
/linux-4.4.14/arch/mips/loongson64/loongson-3/ |
D | numa.c | 103 static unsigned long nid_to_addroffset(unsigned int nid) in nid_to_addroffset()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_config.c | 381 lnet_nid_t nid, in sptlrpc_rule_set_choose() 763 lnet_nid_t nid, in sptlrpc_conf_choose_flavor()
|
D | pack_generic.c | 2172 lnet_nid_t nid = LNET_NID_ANY; in _debug_req() local
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | sysfs.c | 991 int sysfs_add_device_to_node(struct device *dev, int nid) in sysfs_add_device_to_node() 999 void sysfs_remove_device_from_node(struct device *dev, int nid) in sysfs_remove_device_from_node()
|
D | iommu.c | 652 struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid) in iommu_init_table()
|
D | pci-common.c | 82 int nid = of_node_to_nid(dev); in pcibios_alloc_controller() local
|
/linux-4.4.14/arch/x86/platform/uv/ |
D | uv_time.c | 166 int nid = cpu_to_node(cpu); in uv_rtc_allocate_timers() local
|
D | uv_nmi.c | 702 int cpu, nid; in uv_nmi_setup() local
|
/linux-4.4.14/arch/tile/mm/ |
D | homecache.c | 396 struct page *homecache_alloc_pages_node(int nid, gfp_t gfp_mask, in homecache_alloc_pages_node()
|
D | init.c | 699 int nid = z->zone_pgdat->node_id; in set_non_bootmem_pages_init() local
|
/linux-4.4.14/arch/x86/ras/ |
D | mce_amd_inj.c | 214 static void toggle_nb_mca_mst_cpu(u16 nid) in toggle_nb_mca_mst_cpu()
|
/linux-4.4.14/drivers/acpi/ |
D | acpi_memhotplug.c | 275 int nid = acpi_get_node(handle); in acpi_memory_remove_memory() local
|
/linux-4.4.14/drivers/misc/sgi-xp/ |
D | xpc_uv.c | 211 int nid; in xpc_create_gru_mq_uv() local 1737 xpc_init_mq_node(int nid) in xpc_init_mq_node() 1777 int nid; in xpc_init_uv() local
|
/linux-4.4.14/kernel/sched/ |
D | fair.c | 916 static inline int task_faults_idx(enum numa_faults_stats s, int nid, int priv) in task_faults_idx() 921 static inline unsigned long task_faults(struct task_struct *p, int nid) in task_faults() 930 static inline unsigned long group_faults(struct task_struct *p, int nid) in group_faults() 939 static inline unsigned long group_faults_cpu(struct numa_group *group, int nid) in group_faults_cpu() 946 static unsigned long score_nearby_nodes(struct task_struct *p, int nid, in score_nearby_nodes() 1016 static inline unsigned long task_weight(struct task_struct *p, int nid, in task_weight() 1035 static inline unsigned long group_weight(struct task_struct *p, int nid, in group_weight() 1139 static void update_numa_stats(struct numa_stats *ns, int nid) in update_numa_stats() 1448 int nid, ret, dist; in task_numa_migrate() local 1600 int nid; in update_numa_active_node_mask() local [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | pci_msi.c | 280 int err, nid; in bringup_one_msi_queue() local
|
D | of_device_64.c | 539 int nid; in build_one_device_irq() local
|
D | iommu.c | 204 int npages, nid; in dma_4u_alloc_coherent() local
|
D | pci_sun4v.c | 140 int nid; in dma_4v_alloc_coherent() local
|
/linux-4.4.14/drivers/xen/ |
D | balloon.c | 307 int nid, rc; in reserve_additional_memory() local
|
/linux-4.4.14/drivers/nvdimm/ |
D | pmem.c | 169 int nid = dev_to_node(dev); in pmem_attach_disk() local
|
/linux-4.4.14/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 515 int nid; in map_gru_distributed() local 877 int bytes, nid, cpu, lcpu, pnode, blade, i, j, m_val, n_val; in uv_system_init() local
|
/linux-4.4.14/fs/proc/ |
D | kcore.c | 249 int nid, ret; in kcore_update_ram() local
|
D | task_mmu.c | 1419 int nid; in can_gather_numa_stats() local 1444 int nid; in can_gather_numa_stats_pmd() local 1546 int nid; in show_numa_map() local
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
D | grufile.c | 266 int pnode, nid, bid, chip; in gru_init_tables() local
|
D | grutables.h | 522 #define for_each_gru_on_blade(gru, nid, i) \ argument
|
/linux-4.4.14/arch/x86/include/asm/uv/ |
D | uv_hub.h | 522 static inline int uv_node_to_blade_id(int nid) in uv_node_to_blade_id() 558 static inline int uv_node_to_pnode(int nid) in uv_node_to_pnode()
|
/linux-4.4.14/arch/sparc/mm/ |
D | init_64.c | 836 static u64 memblock_nid_range(u64 start, u64 end, int *nid) in memblock_nid_range() 859 static void __init allocate_node_data(int nid) in allocate_node_data() 971 int count, nid; in of_node_to_nid() local 1016 int nid; in add_node_ranges() local
|
/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
D | bdisp-hw.c | 700 unsigned int i, nid = 0; in bdisp_hw_build_all_nodes() local
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/ |
D | setup-shx3.c | 388 unsigned int nid = 1; in plat_mem_setup() local
|
/linux-4.4.14/arch/ia64/sn/kernel/ |
D | setup.c | 136 int nid; in pxm_to_nasid() local
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 248 int nid = dev_to_node(&dev->pdev->dev); in alloc_system_page() local
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | pci.c | 655 struct iommu_table *pnv_pci_table_alloc(int nid) in pnv_pci_table_alloc()
|
D | pci-ioda.c | 2021 int nid = pe->phb->hose->node; in pnv_pci_ioda2_create_table() local 2206 static __be64 *pnv_pci_ioda2_table_do_alloc_pages(int nid, unsigned shift, in pnv_pci_ioda2_table_do_alloc_pages() 2251 static long pnv_pci_ioda2_table_alloc_pages(int nid, __u64 bus_offset, in pnv_pci_ioda2_table_alloc_pages()
|
/linux-4.4.14/sound/soc/codecs/ |
D | rt298.c | 475 unsigned int nid; in rt298_adc_event() local
|
/linux-4.4.14/arch/x86/kernel/acpi/ |
D | boot.c | 704 int nid; in acpi_map_cpu2node() local
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 1897 char *nid = "local"; in _ldlm_lock_debug() local
|
/linux-4.4.14/drivers/pcmcia/ |
D | cistpl.c | 826 int nid; in parse_jedec() local
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 1784 ksocknal_query(lnet_ni_t *ni, lnet_nid_t nid, unsigned long *when) in ksocknal_query()
|
D | socklnd.h | 509 ksocknal_nid2peerlist(lnet_nid_t nid) in ksocknal_nid2peerlist()
|
/linux-4.4.14/drivers/hv/ |
D | hv_balloon.c | 617 int i, nid; in hv_mem_hot_add() local
|