/linux-4.1.27/arch/mips/loongson/loongson-3/ |
H A D | irq.c | 59 int node_id = cpu_logical_map(cpu) / loongson_sysconf.cores_per_node; mask_loongson_irq() local 61 u64 intenclr_addr = smp_group[node_id] | mask_loongson_irq() 63 u64 introuter_lpc_addr = smp_group[node_id] | mask_loongson_irq() 76 int node_id = cpu_logical_map(cpu) / loongson_sysconf.cores_per_node; unmask_loongson_irq() local 78 u64 intenset_addr = smp_group[node_id] | unmask_loongson_irq() 80 u64 introuter_lpc_addr = smp_group[node_id] | unmask_loongson_irq()
|
H A D | numa.c | 128 u64 node_id, node_psize, start_pfn, end_pfn, mem_start, mem_size; szmem() local 132 node_id = loongson_memmap->map[i].node_id; szmem() 133 if (node_id != node) szmem() 142 start_pfn = ((node_id << 44) + mem_start) >> PAGE_SHIFT; szmem() 147 (u32)node_id, mem_type, mem_start, mem_size); szmem() 150 add_memory_region((node_id << 44) + mem_start, szmem() 156 start_pfn = ((node_id << 44) + mem_start) >> PAGE_SHIFT; szmem() 161 (u32)node_id, mem_type, mem_start, mem_size); szmem() 164 add_memory_region((node_id << 44) + mem_start, szmem() 171 (u32)node_id, mem_type, mem_start, mem_size); szmem() 172 add_memory_region((node_id << 44) + mem_start, szmem() 174 memblock_reserve(((node_id << 44) + mem_start), szmem()
|
/linux-4.1.27/arch/ia64/uv/kernel/ |
H A D | setup.c | 64 union uvh_node_id_u node_id; uv_setup() local 72 node_id.v = 0; uv_setup() 87 node_id.v = uv_read_local_mmr(UVH_NODE_ID); uv_setup() 98 gnode_upper = (((unsigned long)node_id.s.node_id) & uv_setup()
|
/linux-4.1.27/drivers/acpi/ |
H A D | glue.c | 154 static void acpi_physnode_link_name(char *buf, unsigned int node_id) acpi_physnode_link_name() argument 156 if (node_id > 0) acpi_physnode_link_name() 158 PHYSICAL_NODE_STRING "%u", node_id); acpi_physnode_link_name() 168 unsigned int node_id; acpi_bind_one() local 193 * Keep the list sorted by node_id so that the IDs of removed nodes can acpi_bind_one() 197 node_id = 0; acpi_bind_one() 212 if (pn->node_id == node_id) { acpi_bind_one() 214 node_id++; acpi_bind_one() 218 physical_node->node_id = node_id; acpi_bind_one() 226 acpi_physnode_link_name(physical_node_name, node_id); acpi_bind_one() 271 acpi_physnode_link_name(physnode_name, entry->node_id); acpi_unbind_one()
|
/linux-4.1.27/arch/mips/loongson/common/ |
H A D | mem.c | 62 u32 node_id; prom_init_memory() local 67 node_id = loongson_memmap->map[i].node_id; prom_init_memory() 70 if (node_id == 0) { prom_init_memory()
|
/linux-4.1.27/sound/firewire/ |
H A D | lib.c | 43 smp_rmb(); /* node_id vs. generation */ snd_fw_transaction() 46 device->node_id, generation, snd_fw_transaction()
|
H A D | scs1x.c | 221 smp_rmb(); /* node_id vs. generation */ scs_output_tasklet() 223 dev->node_id, generation, dev->max_speed, scs_output_tasklet() 464 smp_rmb(); /* node_id vs. generation */ scs_update()
|
H A D | fcp.c | 351 smp_rmb(); /* node_id vs. generation */ fcp_response() 352 if (device->node_id != source) fcp_response()
|
H A D | amdtp.c | 1018 (fw_parent_device(s->unit)->card->node_id & 0x3f) << 24; amdtp_stream_update()
|
/linux-4.1.27/drivers/firewire/ |
H A D | sbp2.c | 171 int node_id; member in struct:sbp2_target 502 int node_id, int generation, u64 offset) sbp2_send_orb() 520 node_id, generation, device->max_speed, offset, sbp2_send_orb() 560 static int sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, sbp2_send_management_orb() argument 617 sbp2_send_orb(&orb->base, lu, node_id, generation, sbp2_send_management_orb() 664 lu->tgt->node_id, lu->generation, device->max_speed, sbp2_agent_reset() 686 lu->tgt->node_id, lu->generation, device->max_speed, sbp2_agent_reset_no_wait() 802 lu->tgt->node_id, lu->generation, device->max_speed, sbp2_set_busy_timeout() 817 int generation, node_id, local_node_id; sbp2_login() local 824 node_id = device->node_id; sbp2_login() 825 local_node_id = device->card->node_id; sbp2_login() 829 sbp2_send_management_orb(lu, device->node_id, generation, sbp2_login() 832 if (sbp2_send_management_orb(lu, node_id, generation, sbp2_login() 845 tgt->node_id = node_id; sbp2_login() 907 smp_rmb(); /* node_id must not be older than generation */ sbp2_login() 909 sbp2_send_management_orb(lu, device->node_id, generation, sbp2_login() 924 int generation, node_id, local_node_id; sbp2_reconnect() local 931 node_id = device->node_id; sbp2_reconnect() 932 local_node_id = device->card->node_id; sbp2_reconnect() 934 if (sbp2_send_management_orb(lu, node_id, generation, sbp2_reconnect() 956 tgt->node_id = node_id; sbp2_reconnect() 1247 int generation, node_id; sbp2_remove() local 1249 * tgt->node_id may be obsolete here if we failed sbp2_remove() 1254 smp_rmb(); /* node_id vs. generation */ sbp2_remove() 1255 node_id = device->node_id; sbp2_remove() 1256 sbp2_send_management_orb(lu, node_id, generation, sbp2_remove() 1500 sbp2_send_orb(&orb->base, lu, lu->tgt->node_id, generation, sbp2_scsi_queuecommand() 501 sbp2_send_orb(struct sbp2_orb *orb, struct sbp2_logical_unit *lu, int node_id, int generation, u64 offset) sbp2_send_orb() argument
|
H A D | core-device.c | 247 /* device->node_id, accessed below, must not be older than generation */ fw_device_enable_phys_dma() 251 device->node_id, fw_device_enable_phys_dma() 494 /* device->node_id, accessed below, must not be older than generation */ read_rom() 499 TCODE_READ_QUADLET_REQUEST, device->node_id, read_rom() 916 old->node_id = current_node->node_id; lookup_existing_device() 917 smp_wmb(); /* update node_id before generation */ lookup_existing_device() 964 device->node_id, generation, device->max_speed, set_broadcast_channel() 983 device->node_id, generation, device->max_speed, set_broadcast_channel() 1020 device->node_id, fw_device_init() 1147 int ret, node_id = device->node_id; fw_device_refresh() local 1205 if (node_id == card->root_node->node_id) fw_device_refresh() 1246 device->node_id = node->node_id; fw_node_event() 1254 * FW_NODE_UPDATED callbacks can update the node_id fw_node_event() 1276 device->node_id = node->node_id; fw_node_event() 1277 smp_wmb(); /* update node_id before generation */ fw_node_event() 1293 device->node_id = node->node_id; fw_node_event() 1294 smp_wmb(); /* update node_id before generation */ fw_node_event()
|
H A D | core-topology.c | 121 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); fw_node_create() 241 if (phy_id == (card->node_id & 0x3f)) build_tree() 448 node0->node_id = node1->node_id; update_tree() 506 int node_count = (card->root_node->node_id & 0x3f) + 1; update_topology_map() 519 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, int generation, fw_core_handle_bus_reset() argument 539 card->node_id = node_id; fw_core_handle_bus_reset() 541 * Update node_id before generation to prevent anybody from using fw_core_handle_bus_reset() 542 * a stale node_id together with a current generation. fw_core_handle_bus_reset()
|
H A D | core.h | 88 int node_id, int generation); 176 u16 node_id; member in struct:fw_node 211 void fw_core_handle_bus_reset(struct fw_card *card, int node_id, 251 int node_id, int generation, int gap_count);
|
H A D | net.c | 182 int node_id; member in struct:fwnet_peer 460 int node_id, int generation) fwnet_peer_find_by_node_id() 465 if (peer->node_id == node_id && fwnet_peer_find_by_node_id() 965 int node_id; fwnet_send_packet() local 971 node_id = dev->card->node_id; fwnet_send_packet() 984 put_unaligned_be32(node_id << 16 | IANA_SPECIFIER_ID >> 8, p); fwnet_send_packet() 1287 dest_node = peer->node_id; fwnet_tx() 1419 peer->node_id = device->node_id; fwnet_add_peer() 1530 peer->node_id = device->node_id; fwnet_update() 459 fwnet_peer_find_by_node_id(struct fwnet_device *dev, int node_id, int generation) fwnet_peer_find_by_node_id() argument
|
H A D | core-transaction.c | 74 #define PHY_CONFIG_ROOT_ID(node_id) ((((node_id) & 0x3f) << 24) | (1 << 23)) 372 t->node_id = destination_id; fw_send_request() 382 destination_id, card->node_id, generation, fw_send_request() 456 int node_id, int generation, int gap_count) fw_send_phy_config() 461 if (node_id != FW_PHY_CONFIG_NO_NODE_ID) fw_send_phy_config() 462 data |= PHY_CONFIG_ROOT_ID(node_id); fw_send_phy_config() 954 if (t->node_id == source && t->tlabel == tlabel) { fw_core_handle_response() 455 fw_send_phy_config(struct fw_card *card, int node_id, int generation, int gap_count) fw_send_phy_config() argument
|
H A D | core-card.c | 338 root_id = root_node->node_id; bm_work() 339 irm_id = card->irm_node->node_id; bm_work() 340 local_id = card->local_node->node_id; bm_work() 621 int node_id, int generation) dummy_enable_phys_dma() 620 dummy_enable_phys_dma(struct fw_card *card, int node_id, int generation) dummy_enable_phys_dma() argument
|
H A D | core-cdev.c | 361 event->node_id = client->device->node_id; fill_bus_reset_event() 362 event->local_node_id = card->local_node->node_id; fill_bus_reset_event() 364 event->irm_node_id = card->irm_node->node_id; fill_bus_reset_event() 365 event->root_node_id = card->root_node->node_id; fill_bus_reset_event() 654 return init_request(client, &arg->send_request, client->device->node_id, ioctl_send_request()
|
H A D | ohci.c | 195 int node_id; member in struct:fw_ohci 436 self_id_count, generation, ohci->node_id); log_selfids() 1646 if (HEADER_GET_DESTINATION(packet->header[0]) == ctx->ohci->node_id && at_context_transmit() 1906 ohci->node_id = reg & (OHCI1394_NodeID_busNumber | bus_reset_work() 2065 fw_core_handle_bus_reset(&ohci->card, ohci->node_id, generation, bus_reset_work() 2581 int node_id, int generation) ohci_enable_phys_dma() 2607 n = (node_id & 0xffc0) == LOCAL_BUS ? node_id & 0x3f : 63; ohci_enable_phys_dma() 2580 ohci_enable_phys_dma(struct fw_card *card, int node_id, int generation) ohci_enable_phys_dma() argument
|
H A D | core-iso.c | 371 irm_id = card->irm_node->node_id; fw_iso_resource_manage()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | rio.h | 20 u8 node_id; /* Scalability Node ID */ member in struct:scal_detail 35 u8 node_id; /* RIO Node ID */ member in struct:rio_detail
|
/linux-4.1.27/arch/mips/include/asm/mach-loongson/ |
H A D | boot_param.h | 22 u32 node_id; /* node_id which memory attached to */ member in struct:efi_memory_map_loongson::mem_map 101 u32 node_id; /* node id: 0x0-0; 0x1-1; 0x10-2; 0x11-3 */ member in struct:irq_source_routing_table
|
/linux-4.1.27/include/linux/ |
H A D | firewire.h | 88 int node_id; member in struct:fw_card 166 * Note, fw_device.generation always has to be read before fw_device.node_id. 168 * to an outdated node_id if the generation was updated in the meantime due 171 * Likewise, fw-core will take care to update .node_id before .generation so 173 * fw_device.node_id is guaranteed to be current too. 175 * The same applies to fw_device.card->node_id vs. fw_device.generation. 185 int node_id; member in struct:fw_device 316 int node_id; /* The generation is implied; it is always the current. */ member in struct:fw_transaction
|
H A D | genhd.h | 202 int node_id; member in struct:gendisk 406 GFP_KERNEL, disk->node_id); alloc_part_info() 618 extern struct gendisk *alloc_disk_node(int minors, int node_id);
|
H A D | cpu.h | 25 int node_id; /* The node which contains the CPU */ member in struct:cpu
|
H A D | mmzone.h | 748 int node_id; member in struct:pglist_data 824 int local_memory_node(int node_id); memory_present() 826 static inline int local_memory_node(int node_id) { return node_id; }; local_memory_node() argument
|
H A D | blkdev.h | 997 spinlock_t *lock, int node_id);
|
/linux-4.1.27/drivers/media/firewire/ |
H A D | firedtv-fw.c | 42 smp_rmb(); /* node_id vs. generation */ node_req() 44 rcode = fw_run_transaction(device->card, tcode, device->node_id, node_req() 215 smp_rmb(); /* node_id vs. generation */ handle_fcp() 218 device->node_id == source && handle_fcp()
|
/linux-4.1.27/mm/ |
H A D | mmzone.c | 19 int nid = next_online_node(pgdat->node_id); next_online_pgdat()
|
H A D | nobootmem.c | 181 * We need to use NUMA_NO_NODE instead of NODE_DATA(0)->node_id free_all_bootmem() 312 ptr = __alloc_memory_core_early(pgdat->node_id, size, align, ___alloc_bootmem_node_nopanic() 334 return kzalloc_node(size, GFP_NOWAIT, pgdat->node_id); __alloc_bootmem_node_nopanic() 373 return kzalloc_node(size, GFP_NOWAIT, pgdat->node_id); __alloc_bootmem_node() 434 return kzalloc_node(size, GFP_NOWAIT, pgdat->node_id); __alloc_bootmem_low_node()
|
H A D | vmstat.c | 918 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); frag_show_print() 941 pgdat->node_id, pagetypeinfo_showfree_print() 1004 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); pagetypeinfo_showblockcount_print() 1091 seq_printf(m, "Node %d, zone %8s ", pgdat->node_id, zone->name); pagetypeinfo_showmixedcount_print() 1132 if (!node_state(pgdat->node_id, N_MEMORY)) pagetypeinfo_show() 1187 seq_printf(m, "Node %d, zone %8s", pgdat->node_id, zone->name); zoneinfo_show_print() 1572 pgdat->node_id, unusable_show_print() 1597 if (!node_state(pgdat->node_id, N_MEMORY)) unusable_show() 1634 pgdat->node_id, extfrag_show_print()
|
H A D | mempool.c | 186 gfp_t gfp_mask, int node_id) mempool_create_node() 189 pool = kzalloc_node(sizeof(*pool), gfp_mask, node_id); mempool_create_node() 193 gfp_mask, node_id); mempool_create_node() 184 mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, mempool_free_t *free_fn, void *pool_data, gfp_t gfp_mask, int node_id) mempool_create_node() argument
|
H A D | bootmem.c | 735 return kzalloc_node(size, GFP_NOWAIT, pgdat->node_id); __alloc_bootmem_node_nopanic() 774 return kzalloc_node(size, GFP_NOWAIT, pgdat->node_id); __alloc_bootmem_node() 786 return kzalloc_node(size, GFP_NOWAIT, pgdat->node_id); __alloc_bootmem_node_high() 858 return kzalloc_node(size, GFP_NOWAIT, pgdat->node_id); __alloc_bootmem_low_node()
|
H A D | sparse.c | 337 return memblock_virt_alloc_node_nopanic(size, pgdat->node_id); sparse_early_usemaps_alloc_pgdat_section() 707 ret = sparse_index_init(section_nr, pgdat->node_id); sparse_add_one_section() 710 memmap = kmalloc_section_memmap(section_nr, pgdat->node_id); sparse_add_one_section()
|
H A D | page_owner.c | 265 pgdat->node_id, zone->name, count); init_pages_in_zone()
|
H A D | memory_hotplug.c | 248 int node = pgdat->node_id; register_page_bootmem_info_node() 329 int nid = zone->zone_pgdat->node_id; fix_zone_id() 447 int nid = pgdat->node_id; __add_zone() 651 int nid = pgdat->node_id; shrink_pgdat_span() 1883 if (cpu_to_node(cpu) == pgdat->node_id) for_each_present_cpu() 1900 if (cpu_to_node(cpu) == pgdat->node_id) unmap_cpu_on_node()
|
H A D | vmscan.c | 1646 trace_mm_vmscan_lru_shrink_inactive(zone->zone_pgdat->node_id, shrink_inactive_list() 3301 trace_mm_vmscan_kswapd_sleep(pgdat->node_id); kswapd_try_to_sleep() 3359 const struct cpumask *cpumask = cpumask_of_node(pgdat->node_id); kswapd() 3429 trace_mm_vmscan_kswapd_wake(pgdat->node_id, order); kswapd() 3465 trace_mm_vmscan_wakeup_kswapd(pgdat->node_id, zone_idx(zone), order); wakeup_kswapd() 3523 mask = cpumask_of_node(pgdat->node_id); for_each_node_state() 3706 int node_id; zone_reclaim() local 3738 node_id = zone_to_nid(zone); zone_reclaim() 3739 if (node_state(node_id, N_CPU) && node_id != numa_node_id()) zone_reclaim()
|
H A D | page_alloc.c | 3761 local_node = pgdat->node_id; build_zonelists() 3841 local_node = pgdat->node_id; build_zonelists() 3913 if (self && !node_online(self->node_id)) { __build_all_zonelists() 4445 alloc_size, zone->zone_pgdat->node_id); zone_wait_table_init() 4499 pgdat->node_id, init_currently_empty_zone() 4806 totalpages += zone_spanned_pages_in_node(pgdat->node_id, i, calculate_node_totalpages() 4815 zone_absent_pages_in_node(pgdat->node_id, i, calculate_node_totalpages() 4819 printk(KERN_DEBUG "On node %d totalpages: %lu\n", pgdat->node_id, calculate_node_totalpages() 4854 pgdat->node_id); setup_usemap() 4931 int nid = pgdat->node_id; free_area_init_core() 5048 map = alloc_remap(pgdat->node_id, size); alloc_node_mem_map() 5051 pgdat->node_id); alloc_node_mem_map() 5079 pgdat->node_id = nid; free_area_init_node()
|
H A D | migrate.c | 1596 trace_mm_numa_migrate_ratelimit(current, pgdat->node_id, numamigrate_update_ratelimit()
|
/linux-4.1.27/arch/x86/kernel/apic/ |
H A D | x2apic_uv_x.c | 93 union uvh_node_id_u node_id; early_get_pnodeid() local 98 node_id.v = uv_early_read_mmr(UVH_NODE_ID); early_get_pnodeid() 100 uv_min_hub_revision_id = node_id.s.revision; early_get_pnodeid() 102 switch (node_id.s.part_number) { early_get_pnodeid() 114 pnode = (node_id.s.node_id >> 1) & ((1 << m_n_config.s.n_skt) - 1); early_get_pnodeid() 877 union uvh_node_id_u node_id; uv_system_init() local 904 node_id.v = uv_read_local_mmr(UVH_NODE_ID); uv_system_init() 905 gnode_extra = (node_id.s.node_id & ~((1 << n_val) - 1)) >> 1; uv_system_init()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | spider-pic.c | 67 unsigned int node_id; member in struct:spider_pic 157 (pic->node_id << 4) | 0xe); spider_set_irq_type() 269 pic->node_id = (*tmp) >> 1; spider_find_cascade_and_node() 278 (pic->node_id << IIC_IRQ_NODE_SHIFT) | spider_find_cascade_and_node() 324 pic->node_id, addr, of_node->full_name); spider_init_one()
|
/linux-4.1.27/arch/powerpc/platforms/ps3/ |
H A D | repository.c | 1003 * @node_id: The BE processor node id. 1006 int ps3_repository_read_be_node_id(unsigned int be_index, u64 *node_id) ps3_repository_read_be_node_id() argument 1013 node_id, NULL); ps3_repository_read_be_node_id() 1018 * @node_id: The BE processor node id. 1022 int ps3_repository_read_be_id(u64 node_id, u64 *be_id) ps3_repository_read_be_id() argument 1026 node_id, ps3_repository_read_be_id() 1032 int ps3_repository_read_tb_freq(u64 node_id, u64 *tb_freq) ps3_repository_read_tb_freq() argument 1036 node_id, ps3_repository_read_tb_freq() 1045 u64 node_id; ps3_repository_read_be_tb_freq() local 1048 result = ps3_repository_read_be_node_id(be_index, &node_id); ps3_repository_read_be_tb_freq() 1050 : ps3_repository_read_tb_freq(node_id, tb_freq); ps3_repository_read_be_tb_freq() 1057 u64 node_id; ps3_repository_read_lpm_privileges() local 1061 result = ps3_repository_read_be_node_id(be_index, &node_id); ps3_repository_read_lpm_privileges() 1065 node_id, ps3_repository_read_lpm_privileges()
|
H A D | platform.h | 224 int ps3_repository_read_be_node_id(unsigned int be_index, u64 *node_id); 225 int ps3_repository_read_be_id(u64 node_id, u64 *be_id); 226 int ps3_repository_read_tb_freq(u64 node_id, u64 *tb_freq);
|
H A D | device-init.c | 53 result = ps3_repository_read_be_node_id(0, &dev->lpm.node_id); ps3_register_lpm_devices() 61 result = ps3_repository_read_lpm_privileges(dev->lpm.node_id, &tmp1, ps3_register_lpm_devices()
|
/linux-4.1.27/sound/firewire/dice/ |
H A D | dice-transaction.c | 249 ((u64)device->card->node_id << OWNER_NODE_SHIFT) | register_notification_address() 253 smp_rmb(); /* node_id vs. generation */ register_notification_address() 297 ((u64)device->card->node_id << OWNER_NODE_SHIFT) | unregister_notification_address()
|
/linux-4.1.27/sound/firewire/fireworks/ |
H A D | fireworks_transaction.c | 185 if (device->node_id != source) handle_resp_for_user() 212 smp_rmb(); /* node_id vs. generation */ handle_resp_for_kernel() 213 if (device->node_id != source) handle_resp_for_kernel()
|
/linux-4.1.27/drivers/target/sbp/ |
H A D | sbp_target.c | 416 sess->node_id = req->node_addr; sbp_management_request_login() 490 sess->node_id, sess->generation, sess->speed, sbp_management_request_login() 573 login->sess->node_id = req->node_addr; sbp_management_request_reconnect() 607 if (req->node_addr != login->sess->node_id) { sbp_management_request_logout() 644 sess->node_id = -1; session_check_for_reset() 687 if (sess->node_id != -1) { session_maintenance_work() 688 /* check for bus reset and make node_id invalid */ session_maintenance_work() 842 sess_node = sess->node_id; tgt_agent_rw() 976 sess->node_id, sess->generation, sess->speed, tgt_agent_fetch_work() 1110 int node_id, generation, speed, ret; sbp_run_request_transaction() local 1114 node_id = sess->node_id; sbp_run_request_transaction() 1119 ret = sbp_run_transaction(card, tcode, node_id, generation, speed, sbp_run_request_transaction() 1261 int tcode, sg_miter_flags, max_payload, pg_size, speed, node_id, sbp_rw_data() local 1288 node_id = sess->node_id; sbp_rw_data() 1325 rcode = sbp_run_transaction(card, tcode, node_id, sbp_rw_data()
|
H A D | sbp_target.h | 144 int node_id; /* login_owner_ID */ member in struct:sbp_session
|
/linux-4.1.27/drivers/staging/fwserial/ |
H A D | fwserial.h | 56 * @node_id: most recent node_id 80 int node_id; member in struct:fwtty_peer
|
H A D | fwserial.c | 258 peer->node_id, generation, peer->speed, addr, payload, fwtty_send_data_async() 277 peer->node_id, generation, peer->speed, addr, payload, fwtty_send_txn_async() 1467 seq_printf(m, " node:%04x gen:%d", peer->node_id, generation); fwtty_debugfs_show_peer() 1723 peer->node_id, fwserial_send_mgmt_sync() 1998 if (generation == g && id == peer->node_id) __fwserial_peer_by_node_id() 2020 g, peer->node_id, (unsigned long long) peer->guid); __dump_peer_list() 2084 peer->node_id = parent->node_id; fwserial_add_peer() 2434 * Updates the new node_id and bus generation for this peer. Note that locking 2436 * load and store order of generation & node_id. 2438 * The fw-core orders the write of node_id before generation in the parent 2439 * fw_device to ensure that a stale node_id cannot be used with a current 2440 * bus generation. So the generation value must be read before the node_id. 2442 * In turn, this orders the write of node_id before generation in the peer to 2443 * also ensure a stale node_id cannot be used with a current bus generation. 2453 peer->node_id = parent->node_id; fwserial_update()
|
/linux-4.1.27/arch/avr32/mm/ |
H A D | init.c | 92 pgdat->node_id, pgdat->node_mem_map); for_each_online_node()
|
/linux-4.1.27/drivers/net/usb/ |
H A D | pegasus.c | 357 __u8 node_id[6]; set_ethernet_addr() local 360 get_registers(pegasus, 0x10, sizeof(node_id), node_id); set_ethernet_addr() 362 get_node_id(pegasus, node_id); set_ethernet_addr() 363 set_registers(pegasus, EthID, sizeof(node_id), node_id); set_ethernet_addr() 365 memcpy(pegasus->net->dev_addr, node_id, sizeof(node_id)); set_ethernet_addr()
|
H A D | rtl8150.c | 262 u8 node_id[6]; set_ethernet_addr() local 264 get_registers(dev, IDR, sizeof(node_id), node_id); set_ethernet_addr() 265 memcpy(dev->netdev->dev_addr, node_id, sizeof(node_id)); set_ethernet_addr()
|
H A D | usbnet.c | 83 static u8 node_id [ETH_ALEN]; variable 1642 memcpy (net->dev_addr, node_id, sizeof node_id); usbnet_probe() 1710 if (ether_addr_equal(net->dev_addr, node_id)) usbnet_probe() 2097 eth_random_addr(node_id); usbnet_init()
|
/linux-4.1.27/drivers/edac/ |
H A D | amd64_edac.c | 252 * DRAM base/limit associated with node_id 280 u8 node_id; find_mc_by_sys_addr() local 297 for (node_id = 0; node_id < DRAM_RANGES; node_id++) { find_mc_by_sys_addr() 298 if (base_limit_match(pvt, sys_addr, node_id)) find_mc_by_sys_addr() 313 for (node_id = 0; ; ) { find_mc_by_sys_addr() 314 if ((dram_intlv_sel(pvt, node_id) & intlv_en) == bits) find_mc_by_sys_addr() 317 if (++node_id >= DRAM_RANGES) find_mc_by_sys_addr() 322 if (unlikely(!base_limit_match(pvt, sys_addr, node_id))) { find_mc_by_sys_addr() 325 __func__, sys_addr, node_id); find_mc_by_sys_addr() 330 return edac_mc_find((int)node_id); find_mc_by_sys_addr() 1597 u8 node_id = dram_dst_node(pvt, range); f1x_match_to_this_node() local 1660 cs_found = f1x_lookup_addr_in_dct(chan_addr, node_id, channel); f1x_match_to_this_node() 1680 u8 node_id = dram_dst_node(pvt, range); f15_m30h_match_to_this_node() local 1779 cs_found = f1x_lookup_addr_in_dct(chan_addr, node_id, alias_channel); f15_m30h_match_to_this_node() 2178 static inline void decode_bus_error(int node_id, struct mce *m) decode_bus_error() argument 2188 mci = edac_mc_find(node_id); decode_bus_error() 2345 * node_id
|
H A D | mce_amd.c | 11 static void (*nb_bus_decoder)(int node_id, struct mce *m); 591 int node_id = amd_get_nb_id(m->extcpu); decode_mc4_mce() local 596 pr_emerg(HW_ERR "MC4 Error (node %d): ", node_id); decode_mc4_mce() 610 nb_bus_decoder(node_id, m); decode_mc4_mce()
|
H A D | sb_edac.c | 307 u8 node_id, source_id; member in struct:sbridge_dev 866 pvt->sbridge_dev->node_id = pvt->info.get_node_id(pvt); get_dimm_config() 869 pvt->sbridge_dev->node_id, get_dimm_config() 1121 static struct mem_ctl_info *get_mci_for_node_id(u8 node_id) get_mci_for_node_id() argument 1126 if (sbridge_dev->node_id == node_id) get_mci_for_node_id()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | amd.c | 295 u8 node_id; amd_get_topology() local 304 node_id = ecx & 7; amd_get_topology() 315 node_id = value & 7; amd_get_topology() 329 per_cpu(cpu_llc_id, cpu) = node_id; amd_get_topology()
|
/linux-4.1.27/drivers/base/ |
H A D | cpu.c | 40 cpu->node_id = to_nid; change_cpu_under_node() 334 cpu->node_id = cpu_to_node(num); register_cpu()
|
H A D | memory.c | 691 static int remove_memory_block(unsigned long node_id, remove_memory_block() argument
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_init.c | 169 int node_id) qib_create_ctxtdata() 174 rcd = kzalloc_node(sizeof(*rcd), GFP_KERNEL, node_id); qib_create_ctxtdata() 177 rcd->node_id = node_id; qib_create_ctxtdata() 186 GFP_KERNEL, node_id); qib_create_ctxtdata() 1607 set_dev_node(&dd->pcidev->dev, rcd->node_id); qib_create_rcvhdrq() 1627 set_dev_node(&dd->pcidev->dev, rcd->node_id); qib_create_rcvhdrq() 1695 GFP_KERNEL, rcd->node_id); qib_setup_eagerbufs() 1702 GFP_KERNEL, rcd->node_id); qib_setup_eagerbufs() 1711 set_dev_node(&dd->pcidev->dev, rcd->node_id); qib_setup_eagerbufs() 168 qib_create_ctxtdata(struct qib_pportdata *ppd, u32 ctxt, int node_id) qib_create_ctxtdata() argument
|
H A D | qib.h | 163 int node_id; member in struct:qib_ctxtdata
|
/linux-4.1.27/drivers/s390/char/ |
H A D | vmur.c | 879 char node_id[16]; ur_set_online() local 915 sprintf(node_id, "vmrdr-%s", dev_name(&cdev->dev)); ur_set_online() 917 sprintf(node_id, "vmpun-%s", dev_name(&cdev->dev)); ur_set_online() 919 sprintf(node_id, "vmprt-%s", dev_name(&cdev->dev)); ur_set_online() 926 urd->char_device->dev, NULL, "%s", node_id); ur_set_online()
|
/linux-4.1.27/drivers/ps3/ |
H A D | ps3-lpm.c | 108 * @node_id: The node id of a BE processor whose performance monitor this 132 u64 node_id; member in struct:ps3_lpm_priv 1135 result = lv1_construct_lpm(lpm_priv->node_id, tb_type, 0, 0, ps3_lpm_open() 1204 lpm_priv->node_id = dev->lpm.node_id; ps3_lpm_probe()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 438 uint16_t node_id; kfd_parse_crat_table() local 452 for (node_id = 0; node_id < num_nodes; node_id++) { kfd_parse_crat_table()
|
/linux-4.1.27/arch/x86/include/asm/uv/ |
H A D | uv_mmrs.h | 1465 unsigned long node_id:14; /* RW */ member in struct:uvh_lb_bau_intd_payload_queue_first_u::uvh_lb_bau_intd_payload_queue_first_s 1995 unsigned long node_id:14; /* RW */ member in struct:uvh_lb_bau_sb_descriptor_base_u::uvh_lb_bau_sb_descriptor_base_s 2090 unsigned long node_id:15; /* RW */ member in struct:uvh_node_id_u::uvh_node_id_s 2098 unsigned long node_id:15; /* RW */ member in struct:uvh_node_id_u::uv1h_node_id_s 2110 unsigned long node_id:15; /* RW */ member in struct:uvh_node_id_u::uvxh_node_id_s 2121 unsigned long node_id:15; /* RW */ member in struct:uvh_node_id_u::uv2h_node_id_s 2132 unsigned long node_id:15; /* RW */ member in struct:uvh_node_id_u::uv3h_node_id_s
|
/linux-4.1.27/block/ |
H A D | genhd.c | 1091 new_ptbl = kzalloc_node(size, GFP_KERNEL, disk->node_id); disk_expand_part_tbl() 1259 struct gendisk *alloc_disk_node(int minors, int node_id) alloc_disk_node() argument 1263 disk = kzalloc_node(sizeof(struct gendisk), GFP_KERNEL, node_id); alloc_disk_node() 1269 disk->node_id = node_id; alloc_disk_node()
|
H A D | blk-core.c | 608 struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id) blk_alloc_queue_node() argument 614 gfp_mask | __GFP_ZERO, node_id); blk_alloc_queue_node() 627 q->node = node_id; blk_alloc_queue_node() 721 blk_init_queue_node(request_fn_proc *rfn, spinlock_t *lock, int node_id) blk_init_queue_node() argument 725 uninit_q = blk_alloc_queue_node(GFP_KERNEL, node_id); blk_init_queue_node()
|
/linux-4.1.27/drivers/scsi/isci/ |
H A D | host.h | 455 u16 *node_id); 459 u16 node_id);
|
H A D | host.c | 2489 * @node_id: This is the remote node id that is assinged to the device if one 2497 u16 *node_id) sci_controller_allocate_remote_node_context() 2509 *node_id = node_index; sci_controller_allocate_remote_node_context() 2519 u16 node_id) sci_controller_free_remote_node_context() 2523 if (ihost->device_table[node_id] == idev) { sci_controller_free_remote_node_context() 2524 ihost->device_table[node_id] = NULL; sci_controller_free_remote_node_context() 2527 &ihost->available_remote_nodes, remote_node_count, node_id sci_controller_free_remote_node_context() 2495 sci_controller_allocate_remote_node_context(struct isci_host *ihost, struct isci_remote_device *idev, u16 *node_id) sci_controller_allocate_remote_node_context() argument 2517 sci_controller_free_remote_node_context(struct isci_host *ihost, struct isci_remote_device *idev, u16 node_id) sci_controller_free_remote_node_context() argument
|
/linux-4.1.27/drivers/net/ethernet/fujitsu/ |
H A D | fmvj18x_cs.c | 79 static int fmvj18x_get_hwinfo(struct pcmcia_device *link, u_char *node_id); 538 static int fmvj18x_get_hwinfo(struct pcmcia_device *link, u_char *node_id) fmvj18x_get_hwinfo() argument 571 node_id[j] = readb(base+(i+7)*2); fmvj18x_get_hwinfo()
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | ibmphp.h | 117 u8 node_id; member in struct:scal_detail
|
/linux-4.1.27/include/acpi/ |
H A D | acpi_bus.h | 337 unsigned int node_id; member in struct:acpi_device_physical_node
|
H A D | actbl3.h | 371 u16 node_id; member in struct:acpi_mpst_power_node
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | ps3.h | 371 u64 node_id; member in struct:ps3_system_bus_device::__anon2326
|
/linux-4.1.27/arch/ia64/include/asm/uv/ |
H A D | uv_mmrs.h | 472 unsigned long node_id : 15; /* RW */ member in struct:uvh_node_id_u::uvh_node_id_s
|
/linux-4.1.27/arch/ia64/mm/ |
H A D | init.c | 714 int nid = pgdat->node_id; for_each_online_pgdat()
|
/linux-4.1.27/sound/firewire/bebob/ |
H A D | bebob_maudio.c | 122 device->node_id, device->generation, snd_bebob_maudio_load_firmware()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | firewire-cdev.h | 70 * @node_id: New node ID of this node 88 __u32 node_id; member in struct:fw_cdev_event_bus_reset
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | numa.c | 106 * node_id should be the same as the last fake node id fake_numa_create_new_node() 942 NODE_DATA(nid)->node_id = nid; setup_node_data()
|
/linux-4.1.27/arch/tile/mm/ |
H A D | init.c | 699 int nid = z->zone_pgdat->node_id; for_each_zone()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | init_64.c | 884 NODE_DATA(nid)->node_id = nid; allocate_node_data()
|
/linux-4.1.27/kernel/ |
H A D | kexec.c | 1982 VMCOREINFO_OFFSET(pglist_data, node_id); crash_save_vmcoreinfo_init()
|