Searched refs:nids (Results 1 - 25 of 25) sorted by relevance

/linux-4.4.14/fs/f2fs/
H A Dshrinker.c63 /* count free nids cache entries */ f2fs_shrink_count()
110 /* shrink free nids cache entries */ f2fs_shrink_scan()
H A Dnode.c495 nid_t nids[4]; get_dnode_of_data() local
501 nids[0] = dn->inode->i_ino; get_dnode_of_data()
505 npage[0] = get_node_page(sbi, nids[0]); get_dnode_of_data()
519 nids[1] = get_nid(parent, offset[0], true); get_dnode_of_data()
527 if (!nids[i] && mode == ALLOC_NODE) { get_dnode_of_data()
529 if (!alloc_nid(sbi, &(nids[i]))) { get_dnode_of_data()
534 dn->nid = nids[i]; get_dnode_of_data()
537 alloc_nid_failed(sbi, nids[i]); get_dnode_of_data()
542 set_nid(parent, offset[i - 1], nids[i], i == 1); get_dnode_of_data()
543 alloc_nid_done(sbi, nids[i]); get_dnode_of_data()
561 npage[i] = get_node_page(sbi, nids[i]); get_dnode_of_data()
570 nids[i + 1] = get_nid(parent, offset[i], false); get_dnode_of_data()
573 dn->nid = nids[level]; get_dnode_of_data()
1442 /* do not add allocated nids */ add_free_nid()
1549 /* go to the next free nat pages to find free nids abundantly */ build_free_nids()
1552 /* find free nids from current sum_pages */ build_free_nids()
1583 /* We should not use stale free nids created by build_free_nids */ alloc_nid()
1608 /* Let's scan nat pages and its caches to get free nids */ alloc_nid()
2003 /* not used nids: 0, node, meta, (and root counted as valid node) */ init_node_manager()
H A Ddebug.c186 /* free nids */ update_mem_info()
H A Dnode.h17 /* # of pages to perform synchronous readahead before building free nids */
H A Df2fs.h525 struct list_head free_nid_list; /* a list for free nids */
528 struct mutex build_lock; /* lock for build free nids */
/linux-4.4.14/include/linux/
H A Dadb.h24 int nids; member in struct:adb_ids
H A Dmmzone.h1165 * During memory init memblocks map pfns to nids. The search is expensive and
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dlustre_peer.c95 /* Add a nid to a niduuid. Multiple nids can be added to a single uuid;
147 /* Delete the nids for one uuid if specified, otherwise delete all */ class_del_uuid()
H A Dobd_mount.c219 /* Use nids from mount line: uml1,1@elan:uml2,2@elan:/lustre */ lustre_start_mgc()
224 CERROR("No valid MGS nids found.\n"); lustre_start_mgc()
302 /* Add the primary nids for the MGS */ lustre_start_mgc()
304 /* Use nids from mount line: uml1,1@elan:uml2,2@elan:/lustre */ lustre_start_mgc()
315 CERROR("No valid MGS nids found.\n"); lustre_start_mgc()
339 /* Add any failover MGS nids */ lustre_start_mgc()
H A Dobd_config.c134 /* nid separators or end of nids */ class_parse_value()
/linux-4.4.14/drivers/macintosh/
H A Dadb.c480 ids->nids = 0; adb_register()
494 ids->id[ids->nids++] = i; adb_register()
498 return ids->nids; adb_register()
H A Dadbhid.c962 for (i = 0; i < keyboard_ids.nids; i++) { adbhid_probe()
989 for (i = 0; i < buttons_ids.nids; i++) { adbhid_probe()
999 for (i = 0; i < mouse_ids.nids; i++) { adbhid_probe()
/linux-4.4.14/sound/pci/hda/
H A Dpatch_realtek.c1883 static hda_nid_t nids[3] = { 0x14, 0x15, 0x19 }; alc889_fixup_mbp_vref() local
1888 for (i = 0; i < ARRAY_SIZE(nids); i++) { alc889_fixup_mbp_vref()
1889 unsigned int val = snd_hda_codec_get_pincfg(codec, nids[i]); alc889_fixup_mbp_vref()
1892 val = snd_hda_codec_get_pin_target(codec, nids[i]); alc889_fixup_mbp_vref()
1894 snd_hda_set_pin_ctl(codec, nids[i], val); alc889_fixup_mbp_vref()
1901 const hda_nid_t *nids, int num_nids) alc889_fixup_mac_pins()
1908 val = snd_hda_codec_get_pin_target(codec, nids[i]); alc889_fixup_mac_pins()
1910 snd_hda_set_pin_ctl(codec, nids[i], val); alc889_fixup_mac_pins()
1919 static hda_nid_t nids[2] = { 0x18, 0x1a }; alc889_fixup_imac91_vref() local
1922 alc889_fixup_mac_pins(codec, nids, ARRAY_SIZE(nids)); alc889_fixup_imac91_vref()
1929 static hda_nid_t nids[1] = { 0x18 }; alc889_fixup_mba11_vref() local
1932 alc889_fixup_mac_pins(codec, nids, ARRAY_SIZE(nids)); alc889_fixup_mba11_vref()
1939 static hda_nid_t nids[2] = { 0x18, 0x19 }; alc889_fixup_mba21_vref() local
1942 alc889_fixup_mac_pins(codec, nids, ARRAY_SIZE(nids)); alc889_fixup_mba21_vref()
2104 /* setting bits 1-5 disables DAC nids 0x02-0x06
1900 alc889_fixup_mac_pins(struct hda_codec *codec, const hda_nid_t *nids, int num_nids) alc889_fixup_mac_pins() argument
H A Dhda_proc.c693 print_nid_array(buffer, codec, nid, &codec->nids); print_gpio()
816 print_nid_array(buffer, codec, nid, &codec->nids); print_codec_info()
H A Dhda_codec.c733 snd_array_free(&codec->nids); snd_hda_codec_cleanup_for_unbind()
841 snd_array_init(&codec->nids, sizeof(struct hda_nid_item), 32); snd_hda_codec_new()
1588 item = snd_array_new(&codec->nids); snd_hda_add_nid()
1613 snd_array_free(&codec->nids); snd_hda_ctls_clear()
3762 const hda_nid_t *nids = mout->dac_nids; snd_hda_multi_out_analog_prepare() local
3786 snd_hda_codec_setup_stream(codec, nids[HDA_FRONT], stream_tag, snd_hda_multi_out_analog_prepare()
3789 mout->hp_nid && mout->hp_nid != nids[HDA_FRONT]) snd_hda_multi_out_analog_prepare()
3803 snd_hda_codec_setup_stream(codec, nids[i], stream_tag, snd_hda_multi_out_analog_prepare()
3806 snd_hda_codec_setup_stream(codec, nids[i], stream_tag, snd_hda_multi_out_analog_prepare()
3835 const hda_nid_t *nids = mout->dac_nids; snd_hda_multi_out_analog_cleanup() local
3839 snd_hda_codec_cleanup_stream(codec, nids[i]); snd_hda_multi_out_analog_cleanup()
H A Dhda_codec.h210 struct snd_array nids; /* list of mapped mixer elements */ member in struct:hda_codec
H A Dhda_auto_parser.c154 * Parse all pin widgets and store the useful pin nids to cfg
201 /* ignore the given nids (e.g. pc-beep returns error) */ for_each_hda_codec_node()
H A Dpatch_sigmatel.c828 int nids, i; has_builtin_speaker() local
832 nids = spec->gen.autocfg.line_outs; has_builtin_speaker()
835 nids = spec->gen.autocfg.speaker_outs; has_builtin_speaker()
838 for (i = 0; i < nids; i++) { has_builtin_speaker()
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/
H A Dmgc_request.c1237 /* TODO: iterate all nids to find one */ mgc_apply_recover_logs()
1240 entry->u.nids[0], mgc_apply_recover_logs()
1245 libcfs_nid2str(entry->u.nids[0])); mgc_apply_recover_logs()
1250 uuid, libcfs_nid2str(entry->u.nids[0])); mgc_apply_recover_logs()
/linux-4.4.14/arch/x86/mm/
H A Dnuma_emulation.c397 * Transform __apicid_to_node table to use emulated nids by numa_emulation()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
H A Dnidstrings.c51 /* CAVEAT VENDITOR! Keep the canonical string representation of nets/nids
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
H A Dpack_generic.c1751 __swab64s(&entry->u.nids[i]); lustre_swab_mgs_nidtbl_entry()
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_idl.h2856 __u64 mti_nids[MTI_NIDS_MAX]; /* host nids (lnet_nid_t)*/
2872 lnet_nid_t nids[0]; /* variable size buffer for NIDs. */ member in union:mgs_nidtbl_entry::__anon10522
/linux-4.4.14/mm/
H A Dpage_alloc.c5644 /* Align start of ZONE_MOVABLE on all nids to MAX_ORDER_NR_PAGES */
/linux-4.4.14/kernel/sched/
H A Dfair.c1952 /* Second half of the array tracks nids where faults happen */ task_numa_group()

Completed in 806 milliseconds