Searched refs:nid (Results 51 - 75 of 319) sorted by relevance

1234567891011>>

/linux-master/mm/
H A Dlist_lru.c53 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) argument
58 return mlru ? &mlru->node[nid] : NULL;
60 return &lru->node[nid].lru;
82 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) argument
84 return &lru->node[nid].lru;
88 bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid, argument
91 struct list_lru_node *nlru = &lru->node[nid];
96 l = list_lru_from_memcg_idx(lru, nid, memcg_kmem_id(memcg));
100 set_shrinker_bit(memcg, nid, lru_shrinker_id(lru));
112 int nid local
120 list_lru_del(struct list_lru *lru, struct list_head *item, int nid, struct mem_cgroup *memcg) argument
142 int nid = page_to_nid(virt_to_page(item)); local
165 list_lru_count_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg) argument
183 list_lru_count_node(struct list_lru *lru, int nid) argument
193 __list_lru_walk_one(struct list_lru *lru, int nid, int memcg_idx, list_lru_walk_cb isolate, void *cb_arg, unsigned long *nr_to_walk) argument
258 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, list_lru_walk_cb isolate, void *cb_arg, unsigned long *nr_to_walk) argument
274 list_lru_walk_one_irq(struct list_lru *lru, int nid, struct mem_cgroup *memcg, list_lru_walk_cb isolate, void *cb_arg, unsigned long *nr_to_walk) argument
288 list_lru_walk_node(struct list_lru *lru, int nid, list_lru_walk_cb isolate, void *cb_arg, unsigned long *nr_to_walk) argument
330 int nid; local
380 memcg_reparent_list_lru_node(struct list_lru *lru, int nid, int src_idx, struct mem_cgroup *dst_memcg) argument
[all...]
H A Dshrinker_debug.c23 int nid; local
25 for_each_node(nid) {
26 if (nid == 0 || (shrinker->flags & SHRINKER_NUMA_AWARE)) {
29 .nid = nid,
40 count_per_node[nid] = nr;
54 int ret = 0, nid; local
74 for_each_node(nid)
75 seq_printf(m, " %lu", count_per_node[nid]);
114 int nid; local
[all...]
H A Dmemory_hotplug.c369 int __ref __add_pages(int nid, unsigned long pfn, unsigned long nr_pages, argument
403 err = sparse_add_section(nid, pfn, cur_nr_pages, altmap,
414 static unsigned long find_smallest_section_pfn(int nid, struct zone *zone, argument
422 if (unlikely(pfn_to_nid(start_pfn) != nid))
435 static unsigned long find_biggest_section_pfn(int nid, struct zone *zone, argument
447 if (unlikely(pfn_to_nid(pfn) != nid))
463 int nid = zone_to_nid(zone); local
472 pfn = find_smallest_section_pfn(nid, zone, end_pfn,
488 pfn = find_biggest_section_pfn(nid, zone, zone->zone_start_pfn,
685 int nid local
755 int nid = pgdat->node_id; local
843 auto_movable_can_online_movable(int nid, struct memory_group *group, unsigned long nr_pages) argument
897 default_kernel_zone_for_pfn(int nid, unsigned long start_pfn, unsigned long nr_pages) argument
963 auto_movable_zone_for_pfn(int nid, struct memory_group *group, unsigned long pfn, unsigned long nr_pages) argument
1024 default_zone_for_pfn(int nid, unsigned long start_pfn, unsigned long nr_pages) argument
1048 zone_for_pfn_range(int online_type, int nid, struct memory_group *group, unsigned long start_pfn, unsigned long nr_pages) argument
1152 const int nid = zone_to_nid(zone); local
1237 hotadd_init_pgdat(int nid) argument
1272 __try_online_node(int nid, bool set_node_online) argument
1299 try_online_node(int nid) argument
1421 create_altmaps_and_memory_blocks(int nid, struct memory_group *group, u64 start, u64 size, mhp_t mhp_flags) argument
1477 add_memory_resource(int nid, struct resource *res, mhp_t mhp_flags) argument
1584 __add_memory(int nid, u64 start, u64 size, mhp_t mhp_flags) argument
1599 add_memory(int nid, u64 start, u64 size, mhp_t mhp_flags) argument
1632 add_memory_driver_managed(int nid, u64 start, u64 size, const char *resource_name, mhp_t mhp_flags) argument
2128 int *nid = arg; local
2154 check_cpu_on_node(int nid) argument
2172 int nid = *(int *)arg; local
2191 try_offline_node(int nid) argument
2246 int rc, nid = NUMA_NO_NODE; local
[all...]
H A Dmemblock.c211 * @nid: nid of the free area to find, %NUMA_NO_NODE for any node
221 phys_addr_t size, phys_addr_t align, int nid,
227 for_each_free_mem_range(i, nid, flags, &this_start, &this_end, NULL) {
246 * @nid: nid of the free area to find, %NUMA_NO_NODE for any node
256 phys_addr_t size, phys_addr_t align, int nid,
262 for_each_free_mem_range_reverse(i, nid, flags, &this_start, &this_end,
285 * @nid: nid o
220 __memblock_find_range_bottom_up(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags) argument
255 __memblock_find_range_top_down(phys_addr_t start, phys_addr_t end, phys_addr_t size, phys_addr_t align, int nid, enum memblock_flags flags) argument
293 memblock_find_in_range_node(phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end, int nid, enum memblock_flags flags) argument
554 memblock_insert_region(struct memblock_type *type, int idx, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags) argument
588 memblock_add_range(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags) argument
706 memblock_add_node(phys_addr_t base, phys_addr_t size, int nid, enum memblock_flags flags) argument
753 int nid, i; local
1053 should_skip_region(struct memblock_type *type, struct memblock_region *m, int nid, int flags) argument
1113 __next_mem_range(u64 *idx, int nid, enum memblock_flags flags, struct memblock_type *type_a, struct memblock_type *type_b, phys_addr_t *out_start, phys_addr_t *out_end, int *out_nid) argument
1208 __next_mem_range_rev(u64 *idx, int nid, enum memblock_flags flags, struct memblock_type *type_a, struct memblock_type *type_b, phys_addr_t *out_start, phys_addr_t *out_end, int *out_nid) argument
1292 __next_mem_pfn_range(int *idx, int nid, unsigned long *out_start_pfn, unsigned long *out_end_pfn, int *out_nid) argument
1335 memblock_set_node(phys_addr_t base, phys_addr_t size, struct memblock_type *type, int nid) argument
1443 memblock_alloc_range_nid(phys_addr_t size, phys_addr_t align, phys_addr_t start, phys_addr_t end, int nid, bool exact_nid) argument
1546 memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid) argument
1572 memblock_alloc_internal( phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid, bool exact_nid) argument
1622 memblock_alloc_exact_nid_raw( phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid) argument
1654 memblock_alloc_try_nid_raw( phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid) argument
1684 memblock_alloc_try_nid( phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid) argument
2153 int nid; local
2260 int i, j, nid; local
[all...]
/linux-master/include/sound/
H A Dhda_component.h17 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid,
19 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id,
38 hda_nid_t nid, int dev_id, int rate)
42 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, argument
37 snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, int dev_id, int rate) argument
/linux-master/net/qrtr/
H A Dqrtr.h26 int qrtr_endpoint_register(struct qrtr_endpoint *ep, unsigned int nid);
/linux-master/include/linux/
H A Dcompaction.h101 extern void __meminit kcompactd_run(int nid);
102 extern void __meminit kcompactd_stop(int nid);
116 static inline void kcompactd_run(int nid) argument
119 static inline void kcompactd_stop(int nid) argument
/linux-master/tools/testing/memblock/
H A Dmmzone.c14 void reserve_bootmem_region(phys_addr_t start, phys_addr_t end, int nid) argument
/linux-master/sound/virtio/
H A Dvirtio_pcm.h20 * @nid: Function group node identifier.
46 u32 nid; member in struct:virtio_pcm_substream
84 * @nid: Function group node identifier.
90 u32 nid; member in struct:virtio_pcm
109 struct virtio_pcm *virtsnd_pcm_find(struct virtio_snd *snd, u32 nid);
111 struct virtio_pcm *virtsnd_pcm_find_or_create(struct virtio_snd *snd, u32 nid);
/linux-master/arch/powerpc/platforms/cell/
H A Dras.c98 int nid; member in struct:ptcal_area
107 static int __init cbe_ptcal_enable_on_node(int nid, int order) argument
114 rtas_call(ptcal_stop_tok, 1, 1, NULL, nid);
120 area->nid = nid;
122 area->pages = __alloc_pages_node(area->nid,
128 __func__, area->nid);
139 __func__, area->nid, addr);
142 if (rtas_call(ptcal_start_tok, 3, 1, NULL, area->nid,
146 __func__, nid);
193 const u32 *nid = of_get_property(np, "node-id", NULL); local
[all...]
/linux-master/sound/pci/hda/
H A Dhda_codec.c81 for (; seq->nid; seq++)
82 snd_hda_codec_write(codec, seq->nid, 0, seq->verb, seq->param);
90 hda_nid_t nid; member in struct:hda_conn_list
96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) argument
100 if (p->nid == nid)
106 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, argument
115 p->nid = nid;
132 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) argument
168 snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, const hda_nid_t **listp) argument
207 snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) argument
238 snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, const hda_nid_t *list) argument
264 snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, hda_nid_t nid, int recursive) argument
300 snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid) argument
326 snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, u8 *dev_list, int max_devices) argument
365 snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid) argument
383 snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id) argument
419 hda_nid_t nid; local
434 hda_nid_t nid; local
460 look_up_pincfg(struct hda_codec *codec, struct snd_array *array, hda_nid_t nid) argument
477 snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list, hda_nid_t nid, unsigned int cfg) argument
512 snd_hda_codec_set_pincfg(struct hda_codec *codec, hda_nid_t nid, unsigned int cfg) argument
528 snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid) argument
564 snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid, unsigned int val) argument
582 snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid) argument
678 hda_nid_t nid; member in struct:hda_cvt_setup
688 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid) argument
1089 update_pcm_stream_id(struct hda_codec *codec, struct hda_cvt_setup *p, hda_nid_t nid, u32 stream_tag, int channel_id) argument
1108 update_pcm_format(struct hda_codec *codec, struct hda_cvt_setup *p, hda_nid_t nid, int format) argument
1134 snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, u32 stream_tag, int channel_id, int format) argument
1185 __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, int do_now) argument
1214 hda_nid_t nid = q->nid; local
1271 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) argument
1290 snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int bits) argument
1315 snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps) argument
1327 encode_amp(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx) argument
1351 snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) argument
1372 snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, int direction, int idx, int mask, int val) argument
1400 snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, int mask, int val) argument
1422 snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int mask, int val) argument
1436 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int ofs) argument
1459 u16 nid = get_amp_nid(kcontrol); local
1480 read_amp_value(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, unsigned int ofs) argument
1494 update_amp_value(struct hda_codec *codec, hda_nid_t nid, int ch, int dir, int idx, unsigned int ofs, unsigned int val) argument
1522 hda_nid_t nid = get_amp_nid(kcontrol); local
1549 hda_nid_t nid = get_amp_nid(kcontrol); local
1571 hda_nid_t nid = get_amp_nid(kcontrol); local
1626 snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int *tlv) argument
1703 snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, struct snd_kcontrol *kctl) argument
1743 snd_hda_add_nid(struct hda_codec *codec, struct snd_kcontrol *kctl, unsigned int index, hda_nid_t nid) argument
2122 hda_nid_t nid = get_amp_nid(kcontrol); local
2150 hda_nid_t nid = get_amp_nid(kcontrol); local
2279 set_dig_out(struct hda_codec *codec, hda_nid_t nid, int mask, int val) argument
2294 set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid, int dig1, int dig2) argument
2317 hda_nid_t nid; local
2358 set_spdif_ctls(struct hda_codec *codec, hda_nid_t nid, int dig1, int dig2) argument
2375 hda_nid_t nid; local
2507 snd_hda_spdif_out_of_nid(struct hda_codec *codec, hda_nid_t nid) argument
2549 snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid) argument
2634 hda_nid_t nid = kcontrol->private_value; local
2653 hda_nid_t nid = kcontrol->private_value; local
2695 snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) argument
2737 hda_nid_t nid; local
2764 snd_hda_codec_eapd_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument
2830 hda_nid_t nid; local
3483 snd_hda_check_amp_list_power(struct hda_codec *codec, struct hda_loopback_check *check, hda_nid_t nid) argument
3556 snd_hda_input_mux_put(struct hda_codec *codec, const struct hda_input_mux *imux, struct snd_ctl_elem_value *ucontrol, hda_nid_t nid, unsigned int *cur_val) argument
3611 setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, unsigned int stream_tag, unsigned int format) argument
3650 cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid) argument
[all...]
H A Dhda_auto_parser.c20 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) argument
23 if (*list == nid)
57 hda_nid_t nid, int type)
60 cfg->inputs[cfg->num_inputs].pin = nid;
63 nid_has_volume(codec, nid, HDA_INPUT);
173 hda_nid_t nid; local
190 for_each_hda_codec_node(nid, codec) {
191 unsigned int wid_caps = get_wcaps(codec, nid);
200 if (ignore_nids && is_in_nid_list(nid, ignore_nids))
203 def_conf = snd_hda_codec_get_pincfg(codec, nid);
56 add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, hda_nid_t nid, int type) argument
589 find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) argument
599 check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, int num_pins, int *indexp) argument
620 check_output_pfx(struct hda_codec *codec, hda_nid_t nid) argument
635 get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, const hda_nid_t *pins, int num_pins) argument
652 fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, const struct auto_pin_cfg *cfg, const char *name, char *label, int maxlen, int *indexp) argument
708 snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, const struct auto_pin_cfg *cfg, char *label, int maxlen, int *indexp) argument
897 hda_nid_t nid = pin->nid; local
[all...]
H A Dhda_generic.c241 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) argument
245 if (list[i] == nid)
251 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) argument
253 return find_idx_in_nid_list(nid, path->path, path->depth) >= 0;
319 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) argument
326 if (path->path[0] == nid)
341 /* nid, dir and idx */
359 /* check whether a control with the given (nid, dir, idx) was assigned */
360 static bool is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, argument
363 unsigned int val = HDA_COMPOSE_AMP_VAL(nid,
535 hda_nid_t nid = spec->all_dacs[i]; local
588 hda_nid_t nid = path->path[i]; local
604 hda_nid_t nid = path->path[idx]; local
618 hda_nid_t nid = path->path[idx]; local
630 is_active_nid(struct hda_codec *codec, hda_nid_t nid, unsigned int dir, unsigned int idx) argument
669 get_amp_val_to_activate(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps, bool enable) argument
687 is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, int dir) argument
704 init_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx) argument
716 update_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, unsigned int mask, unsigned int val) argument
730 get_amp_mask_to_modify(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, unsigned int caps) argument
748 activate_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int idx_to_check, bool enable) argument
764 check_and_activate_amp(struct hda_codec *codec, hda_nid_t nid, int dir, int idx, int idx_to_check, bool enable) argument
777 hda_nid_t nid = path->path[i]; local
789 hda_nid_t nid = path->path[i]; local
827 hda_nid_t nid, changed = 0; local
862 sync_power_state_change(struct hda_codec *codec, hda_nid_t nid) argument
892 hda_nid_t nid = path->path[i]; local
1039 hda_nid_t nid = get_amp_nid_(path->ctls[type]); local
1069 hda_nid_t nid = get_amp_nid_(val); local
1094 hda_nid_t nid = get_amp_nid(kcontrol); local
1288 hda_nid_t nid; local
1468 hda_nid_t nid = spec->all_dacs[i]; local
1481 can_be_multiio_pin(struct hda_codec *codec, unsigned int location, hda_nid_t nid) argument
1549 hda_nid_t nid = cfg->inputs[i].pin; local
1970 hda_nid_t nid; local
2377 hda_nid_t nid = spec->multi_io[idx].pin; local
2614 hda_nid_t nid; local
2678 hda_nid_t nid = kcontrol->private_value; local
2690 hda_nid_t nid = kcontrol->private_value; local
2825 hda_nid_t nid = kcontrol->private_value; local
2840 hda_nid_t nid = kcontrol->private_value; local
2853 hda_nid_t nid = kcontrol->private_value; local
2918 hda_nid_t nid = kcontrol->private_value; local
2948 get_cur_hp_mic_jack_mode(struct hda_codec *codec, hda_nid_t nid) argument
2973 hda_nid_t nid = kcontrol->private_value; local
2983 hda_nid_t nid = kcontrol->private_value; local
3063 hda_nid_t nid; local
3149 is_input_pin(struct hda_codec *codec, hda_nid_t nid) argument
3159 hda_nid_t nid; local
3546 hda_nid_t nid; local
3583 is_inv_dmic_pin(struct hda_codec *codec, hda_nid_t nid) argument
3839 check_boost_vol(struct hda_codec *codec, hda_nid_t nid, int dir, int idx) argument
3861 hda_nid_t nid; local
4135 set_path_power(struct hda_codec *codec, hda_nid_t nid, int pin_state, int stream_state) argument
4284 add_fake_paths(struct hda_codec *codec, hda_nid_t nid, int num_pins, const hda_nid_t *pins) argument
4313 hda_nid_t nid = spec->beep_nid; local
4375 hda_nid_t nid = pins[i]; local
4395 hda_nid_t nid = pins[i]; local
4758 hda_nid_t nid = cfg->hp_pins[i]; local
4770 hda_nid_t nid = cfg->line_out_pins[i]; local
4844 hda_nid_t nid = cfg->inputs[i].pin; local
4906 snd_hda_gen_path_power_filter(struct hda_codec *codec, hda_nid_t nid, unsigned int power_state) argument
4951 snd_hda_gen_stream_pm(struct hda_codec *codec, hda_nid_t nid, bool on) argument
5655 setup_pcm_stream(struct hda_pcm_stream *str, const struct hda_pcm_stream *default_str, const struct hda_pcm_stream *spec_str, hda_nid_t nid) argument
5892 hda_nid_t nid = cfg->inputs[i].pin; local
5960 hda_nid_t nid = pin->nid; local
6032 snd_hda_gen_check_power_status(struct hda_codec *codec, hda_nid_t nid) argument
[all...]
/linux-master/arch/loongarch/kernel/
H A Dnuma.c141 int nid = cpu_to_node(cpu); local
142 cpumask_set_cpu(cpu, &cpus_on_node[nid]);
147 int nid = cpu_to_node(cpu); local
148 cpumask_clear_cpu(cpu, &cpus_on_node[nid]);
151 static int __init numa_add_memblk_to(int nid, u64 start, u64 end, argument
159 if (start > end || nid < 0 || nid >= MAX_NUMNODES) {
161 nid, start, end - 1);
172 mi->blk[mi->nr_blks].nid = nid;
188 numa_add_memblk(int nid, u64 start, u64 end) argument
193 alloc_node_data(int nid) argument
[all...]
/linux-master/sound/hda/
H A Dhdac_device.c219 * @nid: NID to encode
225 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, argument
231 if ((addr & ~0xf) || (nid & ~0x7f) ||
234 addr, nid, verb, parm);
239 val |= (u32)nid << 20;
269 * @nid: NID to execute a verb
276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, argument
279 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm);
288 * @nid: NID to read a parameter
294 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, in argument
313 snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, int parm) argument
332 snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, unsigned int parm, unsigned int val) argument
357 snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *start_id) argument
378 hda_nid_t nid; local
437 get_num_conns(struct hdac_device *codec, hda_nid_t nid) argument
465 snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) argument
852 query_pcm_param(struct hdac_device *codec, hda_nid_t nid) argument
866 query_stream_param(struct hdac_device *codec, hda_nid_t nid) argument
891 snd_hdac_query_supported_pcm(struct hdac_device *codec, hda_nid_t nid, u32 *ratesp, u64 *formatsp, u32 *subformatsp, unsigned int *bpsp) argument
1000 snd_hdac_is_supported_format(struct hdac_device *codec, hda_nid_t nid, unsigned int format) argument
1057 codec_read(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) argument
1069 codec_write(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) argument
1089 snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) argument
1108 snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, int flags, unsigned int verb, unsigned int parm) argument
1125 snd_hdac_check_power_state(struct hdac_device *hdac, hda_nid_t nid, unsigned int target_state) argument
1147 snd_hdac_sync_power_state(struct hdac_device *codec, hda_nid_t nid, unsigned int power_state) argument
[all...]
H A Dlocal.h9 #define get_wcaps(codec, nid) \
10 snd_hdac_read_parm(codec, nid, AC_PAR_AUDIO_WIDGET_CAP)
/linux-master/include/asm-generic/
H A Dnuma.h37 void __init early_map_cpu_to_node(unsigned int cpu, int nid);
49 static inline void early_map_cpu_to_node(unsigned int cpu, int nid) { } argument
/linux-master/include/drm/ttm/
H A Dttm_pool.h64 * @nid: which numa node to use
71 int nid; member in struct:ttm_pool
86 int nid, bool use_dma_alloc, bool use_dma32);
/linux-master/arch/x86/mm/
H A Dnuma_internal.h11 int nid; member in struct:numa_memblk
H A Dkasan_init_64.c26 static __init void *early_alloc(size_t size, int nid, bool should_panic) argument
29 __pa(MAX_DMA_ADDRESS), MEMBLOCK_ALLOC_ACCESSIBLE, nid);
32 panic("%pS: Failed to allocate page, nid=%d from=%lx\n",
33 (void *)_RET_IP_, nid, __pa(MAX_DMA_ADDRESS));
39 unsigned long end, int nid)
49 p = early_alloc(PMD_SIZE, nid, false);
55 p = early_alloc(PAGE_SIZE, nid, true);
67 p = early_alloc(PAGE_SIZE, nid, true);
74 unsigned long end, int nid)
85 p = early_alloc(PUD_SIZE, nid, fals
38 kasan_populate_pmd(pmd_t *pmd, unsigned long addr, unsigned long end, int nid) argument
73 kasan_populate_pud(pud_t *pud, unsigned long addr, unsigned long end, int nid) argument
103 kasan_populate_p4d(p4d_t *p4d, unsigned long addr, unsigned long end, int nid) argument
123 kasan_populate_pgd(pgd_t *pgd, unsigned long addr, unsigned long end, int nid) argument
142 kasan_populate_shadow(unsigned long addr, unsigned long end, int nid) argument
333 kasan_populate_shadow_for_vaddr(void *va, size_t size, int nid) argument
[all...]
/linux-master/drivers/nvdimm/
H A De820.c24 int nid = phys_to_target_node(res->start); local
28 ndr_desc.numa_node = numa_map_to_online_node(nid);
29 ndr_desc.target_node = nid;
/linux-master/arch/mips/sgi-ip27/
H A Dip27-init.c94 nasid_t nid; local
103 nid = get_nasid();
104 printk("IP27: Running on node %d.\n", nid);
108 printk("Node %d has %s primary CPU%s.\n", nid,
114 printk("Node %d has %s secondary CPU%s.\n", nid,
/linux-master/fs/f2fs/
H A Dnode.h9 #define START_NID(nid) (((nid) / NAT_ENTRY_PER_BLOCK) * NAT_ENTRY_PER_BLOCK)
18 /* size of free nid batch when shrinking */
21 #define DEF_RA_NID_PAGES 0 /* # of nid pages to be readaheaded */
29 /* control dirty nats ratio threshold (default: 10% over max nid count) */
59 nid_t nid; /* node id */ member in struct:node_info
71 #define nat_get_nid(nat) ((nat)->ni.nid)
72 #define nat_set_nid(nat, n) ((nat)->ni.nid = (n))
85 dst->nid = src->nid;
162 nid_t nid; /* node id */ member in struct:free_nid
166 next_free_nid(struct f2fs_sb_info *sbi, nid_t *nid) argument
270 fill_node_footer(struct page *page, nid_t nid, nid_t ino, unsigned int ofs, bool reset) argument
363 set_nid(struct page *p, int off, nid_t nid, bool i) argument
[all...]
H A Dnode.c31 * Check whether the given nid is within node id range.
33 int f2fs_check_nid_range(struct f2fs_sb_info *sbi, nid_t nid) argument
35 if (unlikely(nid < F2FS_ROOT_INO(sbi) || nid >= NM_I(sbi)->max_nid)) {
37 f2fs_warn(sbi, "%s: out-of-range nid=%x, run fsck to fix.",
38 __func__, nid);
133 static struct page *get_current_nat_page(struct f2fs_sb_info *sbi, nid_t nid) argument
135 return f2fs_get_meta_page_retry(sbi, current_nat_addr(sbi, nid));
138 static struct page *get_next_nat_page(struct f2fs_sb_info *sbi, nid_t nid) argument
147 dst_off = next_nat_addr(sbi, current_nat_addr(sbi, nid));
167 __alloc_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, bool no_fail) argument
380 f2fs_need_dentry_mark(struct f2fs_sb_info *sbi, nid_t nid) argument
397 f2fs_is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) argument
428 cache_nat_entry(struct f2fs_sb_info *sbi, nid_t nid, struct f2fs_nat_entry *ne) argument
546 f2fs_get_node_info(struct f2fs_sb_info *sbi, nid_t nid, struct node_info *ni, bool checkpoint_context) argument
630 nid_t nid; local
1053 nid_t nid[3]; local
1215 nid_t nid = F2FS_I(inode)->i_xattr_nid; local
1405 f2fs_ra_node_page(struct f2fs_sb_info *sbi, nid_t nid) argument
1427 __get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid, struct page *parent, int start) argument
1490 f2fs_get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid) argument
1498 nid_t nid = get_nid(parent, start, false); local
1601 nid_t nid; local
2264 update_free_nid_bitmap(struct f2fs_sb_info *sbi, nid_t nid, bool set, bool build) argument
2289 add_free_nid(struct f2fs_sb_info *sbi, nid_t nid, bool build, bool update) argument
2363 remove_free_nid(struct f2fs_sb_info *sbi, nid_t nid) argument
2424 nid_t nid; local
2440 nid_t nid; local
2473 nid_t nid = nm_i->next_scan_nid; local
2566 f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid) argument
2607 f2fs_alloc_nid_done(struct f2fs_sb_info *sbi, nid_t nid) argument
2624 f2fs_alloc_nid_failed(struct f2fs_sb_info *sbi, nid_t nid) argument
2893 nid_t nid = le32_to_cpu(nid_in_journal(journal, i)); local
3044 nid_t nid = nat_get_nid(ne); local
3199 nid_t nid, last_nid; local
3350 nid_t nid = 0; local
[all...]
/linux-master/fs/erofs/
H A Dinode.c31 erofs_err(sb, "failed to get inode (nid: %llu) page, err %ld",
32 vi->nid, PTR_ERR(kaddr));
39 erofs_err(sb, "unsupported i_format %u of nid %llu",
40 ifmt, vi->nid);
47 erofs_err(sb, "unsupported datalayout %u of nid %llu",
48 vi->datalayout, vi->nid);
72 erofs_err(sb, "failed to get inode payload block (nid: %llu), err %ld",
73 vi->nid, PTR_ERR(kaddr));
112 erofs_err(sb, "unsupported on-disk inode version %u of nid %llu",
113 erofs_inode_version(ifmt), vi->nid);
288 erofs_squash_ino(erofs_nid_t nid) argument
304 const erofs_nid_t nid = *(erofs_nid_t *)opaque; local
311 erofs_iget(struct super_block *sb, erofs_nid_t nid) argument
[all...]

Completed in 214 milliseconds

1234567891011>>