/linux-4.1.27/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.h | 131 static inline int snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm()
|
/linux-4.1.27/sound/hda/ |
D | hdac_sysfs.c | 90 int nid; in get_codec_nid() local 106 int nid; in widget_attr_show() local 122 int nid; in widget_attr_store() local 152 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 158 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_caps_show() 167 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 179 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 192 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show() 201 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show() 210 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 | 175 unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd() 228 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 242 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm() 261 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm_uncached() 282 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_override_parm() 307 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_sub_nodes() 328 hda_nid_t nid; in setup_fg_nodes() local 375 static unsigned int get_num_conns(struct hdac_device *codec, hda_nid_t nid) in get_num_conns() 403 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections()
|
D | local.h | 8 #define get_wcaps(codec, nid) \ argument
|
/linux-4.1.27/sound/pci/hda/ |
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_proc.c | 36 #define param_read(codec, nid, parm) \ argument 77 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 104 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 123 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() 141 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() 163 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 229 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 273 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() 367 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() 405 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() [all …]
|
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() 355 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type() 393 static 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 | 175 unsigned int snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() 199 int snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write() 226 hda_nid_t nid; member 232 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list() 242 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list() 268 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns() 304 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list() 343 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections() 374 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list() 401 hda_nid_t nid, int recursive) in snd_hda_get_conn_index() [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()
|
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 80 static inline bool snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect()
|
D | hda_codec.h | 176 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member 345 #define snd_hda_param_read(codec, nid, param) \ argument 347 #define snd_hda_get_sub_nodes(codec, nid, start_nid) \ argument 352 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns() 357 #define snd_hda_get_raw_connections(codec, nid, list, max_conns) \ argument 359 #define snd_hda_get_num_raw_conns(codec, nid) \ argument 374 hda_nid_t nid; member 391 snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_write_cache() 397 #define snd_hda_codec_update_cache(codec, nid, flags, verb, parm) \ argument 402 hda_nid_t nid; member [all …]
|
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 | 142 hda_nid_t nid; member 274 hda_nid_t nid; member 386 hda_nid_t nid; member 760 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command() 770 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format() 778 hda_nid_t nid, unsigned char stream, in codec_set_converter_stream_channel() 2811 #define CA0132_CODEC_VOL_MONO(xname, nid, channel, dir) \ argument 2824 #define CA0132_CODEC_MUTE_MONO(xname, nid, channel, dir) \ argument 2834 #define CA0132_CODEC_VOL(xname, nid, dir) \ argument 2836 #define CA0132_CODEC_MUTE(xname, nid, dir) \ argument [all …]
|
D | patch_via.c | 274 static inline void set_beep_amp(struct via_spec *spec, hda_nid_t nid, in set_beep_amp() 313 hda_nid_t nid; in auto_parse_beep() local 322 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument 466 static int via_check_power_status(struct hda_codec *codec, hda_nid_t nid) in via_check_power_status() 500 static void vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid) in vt1708_set_pinconfig_connect() 880 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 | 132 static int alc_read_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_read_coefex_idx() 145 static void alc_write_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_write_coefex_idx() 155 static void alc_update_coefex_idx(struct hda_codec *codec, hda_nid_t nid, in alc_update_coefex_idx() 181 unsigned char nid; member 256 static void alc_fix_pll_init(struct hda_codec *codec, hda_nid_t nid, in alc_fix_pll_init() 386 static void set_eapd(struct hda_codec *codec, hda_nid_t nid, int on) in set_eapd() 488 unsigned nid = 0; in alc_auto_parse_customize_define() local 553 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 562 static bool found_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in found_in_nid_list() 579 unsigned nid; in alc_subsystem_id() local [all …]
|
D | hda_bind.c | 180 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 | 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_analog.c | 55 #define set_beep_amp(spec, nid, idx, dir) \ argument 58 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument
|
D | patch_cirrus.c | 188 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin() 1048 hda_nid_t nid = cfg->dig_out_pins[i]; in parse_cs421x_digital() local
|
D | patch_hdmi.c | 1168 static void check_presence_and_report(struct hda_codec *codec, hda_nid_t nid) in check_presence_and_report() 1244 hda_nid_t cvt_nid, hda_nid_t nid) in haswell_verify_D0() 1396 hda_nid_t nid; in intel_not_share_assigned_cvt() local 1732 hda_nid_t nid; in hdmi_parse_codec() local 2253 hda_nid_t nid) in intel_haswell_fixup_connect_list() 2977 static int atihdmi_pin_get_eld(struct hda_codec *codec, hda_nid_t nid, in atihdmi_pin_get_eld()
|
/linux-4.1.27/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 | 138 #define arch_alloc_nodedata(nid) generic_alloc_nodedata(nid) argument 148 #define generic_alloc_nodedata(nid) \ argument 159 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 167 static inline pg_data_t *generic_alloc_nodedata(int nid) in generic_alloc_nodedata() 175 static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat) in arch_refresh_nodedata() 229 static inline int try_online_node(int nid) in try_online_node() 256 static inline void try_offline_node(int nid) {} in try_offline_node() 263 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 | 31 int nid; member 107 #define for_each_mem_range(i, type_a, type_b, nid, \ argument 126 #define for_each_mem_range_rev(i, type_a, type_b, nid, \ argument 172 #define for_each_mem_pfn_range(i, nid, p_start, p_end, p_nid) \ argument 188 #define for_each_free_mem_range(i, nid, p_start, p_end, p_nid) \ argument 203 #define for_each_free_mem_range_reverse(i, nid, p_start, p_end, p_nid) \ argument 223 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() 233 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 | 697 int nid; member 767 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) argument 768 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) argument 774 #define nid_page_nr(nid, pagenr) pgdat_page_nr(NODE_DATA(nid),(pagenr)) argument 776 #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) argument 777 #define node_end_pfn(nid) pgdat_end_pfn(NODE_DATA(nid)) argument 820 static inline void memory_present(int nid, unsigned long start, unsigned long end) {} in memory_present() 906 #define NODE_DATA(nid) (&contig_page_data) argument 907 #define NODE_MEM_MAP(nid) mem_map argument 1222 #define early_pfn_in_nid(pfn, nid) (1) argument
|
D | gfp.h | 280 static inline struct zonelist *node_zonelist(int nid, gfp_t flags) in node_zonelist() 303 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node() 313 static inline struct page *alloc_pages_exact_node(int nid, gfp_t gfp_mask, in alloc_pages_exact_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 | 93 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 | 223 __le32 nid[NIDS_PER_BLOCK]; /* array of data block address */ member 236 __le32 nid; /* node id */ member 323 __le32 nid; /* parent node id */ member 362 __le32 nid; member
|
D | hugetlb.h | 474 #define alloc_huge_page_node(h, nid) NULL argument
|
D | mm.h | 858 static inline int cpu_pid_to_cpupid(int nid, int pid) in cpu_pid_to_cpupid() 1698 int nid; in get_num_physpages() local
|
/linux-4.1.27/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() 375 int register_mem_sect_under_node(struct memory_block *mem_blk, int nid) in register_mem_sect_under_node() 438 int nid; in unregister_mem_sect_under_nodes() local 456 static int link_mem_sections(int nid) in link_mem_sections() 514 static void init_node_hugetlb_work(int nid) in init_node_hugetlb_work() 523 int nid = mnb->status_change_nid; in node_memory_callback() local [all …]
|
D | memory.c | 449 int nid; in memory_probe_store() local 656 int register_new_memory(int nid, struct mem_section *section) in register_new_memory()
|
/linux-4.1.27/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 | 120 static int __init alloc_node_page_ext(int nid) in alloc_node_page_ext() 154 int nid, fail; in page_ext_init_flatmem() local 192 static void *__meminit alloc_page_ext(size_t size, int nid) in alloc_page_ext() 211 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext() 277 int nid) in online_page_ext() 311 unsigned long nr_pages, int nid) in offline_page_ext() 358 int nid; in page_ext_init() local
|
D | memblock.c | 118 phys_addr_t size, phys_addr_t align, int nid) in __memblock_find_range_bottom_up() 150 phys_addr_t size, phys_addr_t align, int nid) in __memblock_find_range_top_down() 193 phys_addr_t end, int nid) in memblock_find_in_range_node() 468 int nid, unsigned long flags) in memblock_insert_region() 500 int nid, unsigned long flags) in memblock_add_range() 578 int nid) in memblock_add_node() 585 int nid, in memblock_add_region() 713 int nid, in memblock_reserve_region() 806 void __init_memblock __next_mem_range(u64 *idx, int nid, in __next_mem_range() 906 void __init_memblock __next_mem_range_rev(u64 *idx, int nid, 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 467 static int __meminit __add_section(int nid, struct zone *zone, in __add_section() 494 int __ref __add_pages(int nid, struct zone *zone, unsigned long phys_start_pfn, in __add_pages() 523 static int find_smallest_section_pfn(int nid, struct zone *zone, in find_smallest_section_pfn() 548 static int find_biggest_section_pfn(int nid, struct zone *zone, in find_biggest_section_pfn() 583 int nid = zone_to_nid(zone); in shrink_zone_span() local 651 int nid = pgdat->node_id; in shrink_pgdat_span() local 891 int nid = zone_to_nid(zone); in node_states_check_changes_online() local 969 int nid; in online_pages() local [all …]
|
D | list_lru.c | 97 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() local 116 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() local 149 int nid, int memcg_idx) in __list_lru_count_one() 164 int nid, struct mem_cgroup *memcg) in list_lru_count_one() 170 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node() 185 __list_lru_walk_one(struct list_lru *lru, int nid, int memcg_idx, in __list_lru_walk_one() 245 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one() 254 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node()
|
D | hugetlb.c | 591 int nid = page_to_nid(page); in enqueue_huge_page() local 597 static struct page *dequeue_huge_page_node(struct hstate *h, int nid) in dequeue_huge_page_node() 690 static int next_node_allowed(int nid, nodemask_t *nodes_allowed) in next_node_allowed() 700 static int get_valid_node_allowed(int nid, nodemask_t *nodes_allowed) in get_valid_node_allowed() 716 int nid; in hstate_next_node_to_alloc() local 734 int nid; in hstate_next_node_to_free() local 818 static struct page *alloc_gigantic_page(int nid, unsigned int order) in alloc_gigantic_page() 856 static struct page *alloc_fresh_gigantic_page_node(struct hstate *h, int nid) in alloc_fresh_gigantic_page_node() 964 int nid = page_to_nid(page); in free_huge_page() local 1004 static void prep_new_huge_page(struct hstate *h, struct page *page, int nid) in prep_new_huge_page() [all …]
|
D | mm_init.c | 26 int nid; in mminit_verify_zonelist() local 134 unsigned long nid, unsigned long pfn) in mminit_verify_page_links()
|
D | page_alloc.c | 3016 struct page *alloc_kmem_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in alloc_kmem_pages_node() 3097 void * __meminit alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) in alloc_pages_exact_nid() 3197 void si_meminfo_node(struct sysinfo *val, int nid) in si_meminfo_node() 3224 bool skip_free_areas_node(unsigned int flags, int nid) in skip_free_areas_node() 3905 int nid; in __build_all_zonelists() local 4197 void __meminit memmap_init_zone(unsigned long size, int nid, unsigned long zone, in memmap_init_zone() 4266 #define memmap_init(size, nid, zone, start_pfn) \ argument 4516 int nid; in __early_pfn_to_nid() local 4540 int nid; in early_pfn_to_nid() local 4552 int nid; in early_pfn_in_nid() local [all …]
|
D | ksm.c | 145 int nid; member 166 int nid; /* when node of unstable tree */ member 744 int nid; in remove_all_stable_nodes() local 1153 int nid; in stable_tree_search() local 1253 int nid; in stable_tree_insert() local 1329 int nid; in unstable_tree_search_insert() local 1541 int nid; in scan_get_next_rmap_item() local 1997 int nid; in ksm_check_stable_tree() local
|
D | vmscan.c | 246 int nid = shrinkctl->nid; in do_shrink_slab() local 375 static unsigned long shrink_slab(gfp_t gfp_mask, int nid, in shrink_slab() 422 void drop_slab_node(int nid) in drop_slab_node() 439 int nid; in drop_slab() local 2842 int nid; in try_to_free_mem_cgroup_pages() local 3516 int nid; in cpu_callback() local 3537 int kswapd_run(int nid) in kswapd_run() 3560 void kswapd_stop(int nid) in kswapd_stop() 3572 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 1678 unsigned nid, next; in interleave_nodes() local 1743 int nid = NUMA_NO_NODE; in offset_il_node() local 1848 int nid; in init_nodemask_of_mempolicy() local 1926 unsigned nid) in alloc_page_interleave() 1976 unsigned nid; in alloc_pages_vma() local 2567 int nid, prefer = 0; in numa_policy_init() local
|
D | workingset.c | 172 int zid, nid; in unpack_shadow() local
|
D | compaction.c | 1636 static void compact_node(int nid) in compact_node() 1650 int nid; in compact_nodes() local 1685 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 | memcontrol.c | 588 int nid = zone_to_nid(zone); in mem_cgroup_zone_zoneinfo() local 602 int nid = page_to_nid(page); in mem_cgroup_page_zoneinfo() local 609 soft_limit_tree_node_zone(int nid, int zid) in soft_limit_tree_node_zone() 617 int nid = page_to_nid(page); in soft_limit_tree_from_page() local 725 int nid, zid; in mem_cgroup_remove_from_trees() local 867 int nid, in mem_cgroup_node_nr_lru_pages() 893 int nid; in mem_cgroup_nr_lru_pages() local 1608 int nid, bool noswap) in test_mem_cgroup_node_reclaimable() 1628 int nid; in mem_cgroup_may_update_nodemask() local 3416 int nid; in memcg_numa_stat_show() local [all …]
|
D | nobootmem.c | 35 static void * __init __alloc_memory_core_early(int nid, u64 size, u64 align, in __alloc_memory_core_early()
|
D | internal.h | 381 enum zone_type zone, unsigned long nid, unsigned long pfn) in mminit_verify_page_links()
|
D | oom_kill.c | 206 int nid; in constrained_alloc() local
|
D | migrate.c | 1559 int nid = (int) data; in alloc_misplaced_dst_page() local
|
D | memory-failure.c | 1501 int nid = page_to_nid(p); in new_page() local
|
D | huge_memory.c | 2266 static bool khugepaged_scan_abort(int nid) in khugepaged_scan_abort() 2294 int nid, target_node = 0, max_value = 0; in khugepaged_find_target_node() local
|
D | slab.c | 1327 int nid; in slab_memory_callback() local 1462 int nid; in kmem_cache_init() local 3019 int nid; in fallback_alloc() local
|
D | slub.c | 2177 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory() 3562 int nid = marg->status_change_nid_normal; in slab_mem_going_online_callback() local
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 263 int nid = -1; in of_node_to_nid_single() local 276 int nid = -1; in of_node_to_nid() local 499 int nid = default_nid; in of_drconf_to_nid_single() local 521 int nid = -1; in numa_setup_cpu() local 581 int ret = NOTIFY_DONE, nid; in cpu_numa_callback() local 654 int nid; in parse_drconf_memory() local 737 int nid; in parse_numa_properties() local [all …]
|
D | mem.c | 116 int arch_add_memory(int nid, u64 start, u64 size) in arch_add_memory()
|
/linux-4.1.27/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() 468 int i, nid; in numa_clear_kernel_node_hotplug() local 512 int i, nid; in numa_register_memblks() local 648 int nid = early_cpu_to_node(i); in numa_init() local 873 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 | 123 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) in arch_add_memory()
|
D | init_64.c | 690 int arch_add_memory(int nid, u64 start, u64 size) in arch_add_memory()
|
/linux-4.1.27/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.1.27/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 bool is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) in is_checkpointed_node() 242 static struct nat_entry *grab_nat_entry(struct f2fs_nm_info *nm_i, nid_t nid) in grab_nat_entry() 256 static void cache_nat_entry(struct f2fs_nm_info *nm_i, nid_t nid, in cache_nat_entry() 346 void get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni) in get_node_info() 714 nid_t nid[3]; in truncate_partial_nodes() local 869 nid_t nid = F2FS_I(inode)->i_xattr_nid; in truncate_xattr_node() local 1020 void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid) in ra_node_page() 1043 struct page *get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid) in get_node_page() [all …]
|
D | node.h | 12 #define START_NID(nid) ((nid / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK) argument 45 nid_t nid; /* node id */ member 144 nid_t nid; /* node id */ member 148 static inline void next_free_nid(struct f2fs_sb_info *sbi, nid_t *nid) in next_free_nid() 213 static inline void fill_node_footer(struct page *page, nid_t nid, in fill_node_footer() 318 static inline void set_nid(struct page *p, int off, nid_t nid, bool i) in set_nid()
|
D | gc.c | 405 nid_t nid = le32_to_cpu(entry->nid); in gc_node_segment() local 494 nid_t nid; in check_dnode() local
|
D | recovery.c | 257 nid_t ino, nid; in check_index_in_prev_nodes() local
|
D | f2fs.h | 437 nid_t nid; /* node id of the direct node block */ member 444 struct page *ipage, struct page *npage, nid_t nid) in set_new_dnode() 874 static inline int check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) in check_nid_range()
|
D | segment.h | 672 static inline void set_summary(struct f2fs_summary *sum, nid_t nid, in set_summary()
|
D | segment.c | 1234 unsigned int nid, struct f2fs_io_info *fio) in write_node_page()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 | 759 lnet_nid_cpt_hash(lnet_nid_t nid, unsigned int number) in lnet_nid_cpt_hash() 778 lnet_cpt_of_nid_locked(lnet_nid_t nid) in lnet_cpt_of_nid_locked() 802 lnet_cpt_of_nid(lnet_nid_t nid) in lnet_cpt_of_nid() 839 lnet_nid2ni_locked(lnet_nid_t nid, int cpt) in lnet_nid2ni_locked() 859 lnet_islocalnid(lnet_nid_t nid) in lnet_islocalnid()
|
D | router_proc.c | 257 lnet_nid_t nid = route->lr_gateway->lp_nid; in proc_lnet_routes() local 360 lnet_nid_t nid = peer->lp_nid; in proc_lnet_routers() local 524 lnet_nid_t nid = peer->lp_nid; in proc_lnet_peers() local
|
D | router.c | 653 lnet_nid_t nid = stat->ns_nid; in lnet_parse_rc_info() local 1508 lnet_notify(lnet_ni_t *ni, lnet_nid_t nid, int alive, unsigned long when) in lnet_notify() 1585 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 | config.c | 638 lnet_nid_t nid; in lnet_parse_route() local
|
/linux-4.1.27/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.1.27/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.1.27/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() 528 static struct cbe_iommu *cell_iommu_for_node(int nid) in cell_iommu_for_node() 722 int nid, i; in cell_iommu_alloc() local
|
D | spu_manage.c | 84 int nid; in spu_map_interrupts_old() local
|
/linux-4.1.27/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.1.27/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) 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.1.27/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.1.27/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.1.27/arch/ia64/mm/ |
D | init.c | 478 int nid; member 514 memmap_init (unsigned long size, int nid, unsigned long zone, in memmap_init() 561 int __init register_active_ranges(u64 start, u64 len, int nid) in register_active_ranges() 655 int arch_add_memory(int nid, u64 start, u64 size) in arch_add_memory() 714 int nid = pgdat->node_id; in show_mem() local
|
D | numa.c | 102 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.1.27/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 | 146 int do_lcfg(char *cfgname, lnet_nid_t nid, int cmd, in do_lcfg() 212 lnet_nid_t nid; in lustre_start_mgc() local 949 lnet_nid_t nid; in lmd_parse_mgs() local
|
D | obd_config.c | 202 lnet_nid_t *nid = (lnet_nid_t *)value; in parse_nid() local 270 int class_parse_nid(char *buf, lnet_nid_t *nid, char **endh) in class_parse_nid() 276 int class_parse_nid_quiet(char *buf, lnet_nid_t *nid, char **endh) in class_parse_nid_quiet() 292 int class_match_nid(char *buf, char *key, lnet_nid_t nid) in class_match_nid()
|
D | genops.c | 1393 int obd_export_evict_by_nid(struct obd_device *obd, const char *nid) in obd_export_evict_by_nid()
|
D | lprocfs_status.c | 1660 int lprocfs_exp_setup(struct obd_export *exp, lnet_nid_t *nid, int *newnid) in lprocfs_exp_setup()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | mmzone.h | 10 #define NODE_DATA(nid) (node_data[nid]) argument
|
/linux-4.1.27/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.1.27/arch/mips/loongson/common/ |
D | dma-swiotlb.c | 108 long nid; in phys_to_dma() local 120 long nid; in dma_to_phys() local
|
/linux-4.1.27/drivers/edac/ |
D | amd64_edac.c | 254 static bool base_limit_match(struct amd64_pvt *pvt, u64 sys_addr, u8 nid) in base_limit_match() 1509 static int f1x_lookup_addr_in_dct(u64 in_addr, u8 nid, u8 dct) in f1x_lookup_addr_in_dct() 2473 static void get_cpus_on_this_dct_cpumask(struct cpumask *mask, u16 nid) in get_cpus_on_this_dct_cpumask() 2483 static bool nb_mce_bank_enabled_on_node(u16 nid) in nb_mce_bank_enabled_on_node() 2516 static int toggle_ecc_err_reporting(struct ecc_settings *s, u16 nid, bool on) in toggle_ecc_err_reporting() 2554 static bool enable_ecc_error_reporting(struct ecc_settings *s, u16 nid, in enable_ecc_error_reporting() 2606 static void restore_ecc_error_reporting(struct ecc_settings *s, u16 nid, in restore_ecc_error_reporting() 2645 static bool ecc_enabled(struct pci_dev *F3, u16 nid) in ecc_enabled() 2773 u16 nid = amd_get_node_id(F2); in init_one_instance() local 2863 u16 nid = amd_get_node_id(pdev); in probe_one_instance() local [all …]
|
/linux-4.1.27/arch/avr32/mm/ |
D | init.c | 48 int nid; in paging_init() local
|
/linux-4.1.27/lib/ |
D | genalloc.c | 152 struct gen_pool *gen_pool_create(int min_alloc_order, int nid) in gen_pool_create() 182 size_t size, int nid) in gen_pool_add_virt() 584 int nid) in devm_gen_pool_create()
|
/linux-4.1.27/include/asm-generic/ |
D | memory_model.h | 19 #define arch_local_page_offset(pfn, nid) \ argument
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | hotplug-memory.c | 138 int i, nid; in pseries_remove_memblock() local 224 int nid, rc; in dlpar_remove_lmb() local 392 int nid, rc; in dlpar_add_lmb() local
|
/linux-4.1.27/arch/ia64/uv/kernel/ |
D | setup.c | 66 int nid, cpu, m_val, n_val; in uv_setup() local
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_config.c | 405 lnet_nid_t nid, in sptlrpc_rule_set_choose() 801 lnet_nid_t nid, in sptlrpc_conf_choose_flavor() 847 lnet_nid_t nid, in sptlrpc_target_choose_flavor()
|
D | pack_generic.c | 2380 lnet_nid_t nid = LNET_NID_ANY; in _debug_req() local
|
/linux-4.1.27/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.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 321 int kiblnd_create_peer(lnet_ni_t *ni, kib_peer_t **peerp, lnet_nid_t nid) in kiblnd_create_peer() 384 kib_peer_t *kiblnd_find_peer_locked(lnet_nid_t nid) in kiblnd_find_peer_locked() 480 static int kiblnd_del_peer(lnet_ni_t *ni, lnet_nid_t nid) in kiblnd_del_peer() 614 lnet_nid_t nid = conn->ibc_peer->ibp_nid; in kiblnd_get_completion_vector() local 954 static int kiblnd_close_matching_conns(lnet_ni_t *ni, lnet_nid_t nid) in kiblnd_close_matching_conns() 1008 lnet_nid_t nid = 0; in kiblnd_ctl() local 1054 void kiblnd_query(lnet_ni_t *ni, lnet_nid_t nid, unsigned long *when) in kiblnd_query()
|
D | o2iblnd_cb.c | 1336 kiblnd_launch_tx(lnet_ni_t *ni, kib_tx_t *tx, lnet_nid_t nid) in kiblnd_launch_tx() 2189 lnet_nid_t nid; in kiblnd_passive_connect() local
|
/linux-4.1.27/arch/s390/mm/ |
D | init.c | 171 int arch_add_memory(int nid, u64 start, u64 size) in arch_add_memory()
|
/linux-4.1.27/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.1.27/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.1.27/sound/core/ |
D | init.c | 559 const char *nid) in copy_valid_id_string() 579 const char *nid) in snd_card_set_id_no_lock() 634 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()
|
/linux-4.1.27/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.1.27/drivers/char/agp/ |
D | sgi-agp.c | 44 int nid; in sgi_tioca_alloc_page() local
|
/linux-4.1.27/arch/mips/loongson/loongson-3/ |
D | numa.c | 103 static unsigned long nid_to_addroffset(unsigned int nid) in nid_to_addroffset()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | nidstrings.c | 404 libcfs_nid2str(lnet_nid_t nid) in libcfs_nid2str() 823 int cfs_match_nid(lnet_nid_t nid, struct list_head *nidlist) in cfs_match_nid()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | sysfs.c | 953 int sysfs_add_device_to_node(struct device *dev, int nid) in sysfs_add_device_to_node() 961 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.1.27/arch/x86/platform/uv/ |
D | uv_time.c | 167 int nid = cpu_to_node(cpu); in uv_rtc_allocate_timers() local
|
D | uv_nmi.c | 695 int cpu, nid; in uv_nmi_setup() local
|
/linux-4.1.27/drivers/xen/ |
D | balloon.c | 224 int nid, rc; in reserve_additional_memory() local
|
/linux-4.1.27/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.1.27/drivers/acpi/ |
D | acpi_memhotplug.c | 280 int nid = acpi_get_node(handle); in acpi_memory_remove_memory() local
|
/linux-4.1.27/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.1.27/kernel/sched/ |
D | fair.c | 910 static inline int task_faults_idx(enum numa_faults_stats s, int nid, int priv) in task_faults_idx() 915 static inline unsigned long task_faults(struct task_struct *p, int nid) in task_faults() 924 static inline unsigned long group_faults(struct task_struct *p, int nid) in group_faults() 933 static inline unsigned long group_faults_cpu(struct numa_group *group, int nid) in group_faults_cpu() 940 static unsigned long score_nearby_nodes(struct task_struct *p, int nid, in score_nearby_nodes() 1010 static inline unsigned long task_weight(struct task_struct *p, int nid, in task_weight() 1029 static inline unsigned long group_weight(struct task_struct *p, int nid, in group_weight() 1133 static void update_numa_stats(struct numa_stats *ns, int nid) in update_numa_stats() 1428 int nid, ret, dist; in task_numa_migrate() local 1578 int nid; in update_numa_active_node_mask() local [all …]
|
D | core.c | 1307 int nid = cpu_to_node(cpu); in select_fallback_rq() local 4896 void sched_setnuma(struct task_struct *p, int nid) in sched_setnuma()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_private.h | 432 #define LNET_NIDADDR(nid) ((__u32)((nid) & 0xffffffff)) argument 434 #define LNET_NIDNET(nid) ((__u32)(((nid) >> 32)) & 0xffffffff) argument
|
/linux-4.1.27/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.1.27/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 517 int nid; in map_gru_distributed() local 879 int bytes, nid, cpu, lcpu, pnode, blade, i, j, m_val, n_val; in uv_system_init() local
|
/linux-4.1.27/arch/sparc/mm/ |
D | init_64.c | 846 static u64 memblock_nid_range(u64 start, u64 end, int *nid) in memblock_nid_range() 869 static void __init allocate_node_data(int nid) in allocate_node_data() 981 int count, nid; in of_node_to_nid() local 1026 int nid; in add_node_ranges() local
|
/linux-4.1.27/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.1.27/fs/proc/ |
D | kcore.c | 249 int nid, ret; in kcore_update_ram() local
|
D | task_mmu.c | 1393 int nid; in can_gather_numa_stats() local 1492 int nid; in show_numa_map() local
|
/linux-4.1.27/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.1.27/drivers/staging/lustre/include/linux/lnet/ |
D | types.h | 133 lnet_nid_t nid; member
|
D | lib-lnet.h | 625 lnet_nid2peerhash(lnet_nid_t nid) in lnet_nid2peerhash()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/ |
D | setup-shx3.c | 388 unsigned int nid = 1; in plat_mem_setup() local
|
/linux-4.1.27/arch/ia64/sn/kernel/ |
D | setup.c | 136 int nid; in pxm_to_nasid() local
|
/linux-4.1.27/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.1.27/arch/s390/kernel/ |
D | crash_dump.c | 35 #define for_each_dump_mem_range(i, nid, p_start, p_end, p_nid) \ argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_export.h | 114 lnet_nid_t nid; member
|
/linux-4.1.27/arch/x86/kernel/acpi/ |
D | boot.c | 733 int nid; in acpi_map_cpu2node() local
|
/linux-4.1.27/drivers/pcmcia/ |
D | cistpl.c | 828 int nid; in parse_jedec() local
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 2216 char *nid = "local"; in _ldlm_lock_debug() local
|
/linux-4.1.27/drivers/hv/ |
D | hv_balloon.c | 613 int i, nid; in hv_mem_hot_add() local
|
/linux-4.1.27/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 | 409 ksocknal_nid2peerlist(lnet_nid_t nid) in ksocknal_nid2peerlist()
|
/linux-4.1.27/block/ |
D | blk-core.c | 565 int nid = (int)(long)data; in alloc_request_struct() local
|
/linux-4.1.27/drivers/iommu/ |
D | intel-iommu.c | 318 int nid; /* node id */ member 2453 int nid, ret = 0; in si_domain_init() local
|
/linux-4.1.27/include/pcmcia/ |
D | cistpl.h | 135 u_char nid; member
|
/linux-4.1.27/fs/ |
D | buffer.c | 260 int nid; in free_more_memory() local
|