/linux-4.4.14/fs/dlm/ |
D | member.c | 53 if (!slot->nodeid) in dlm_slots_copy_out() 55 ro->ro_nodeid = cpu_to_le32(slot->nodeid); in dlm_slots_copy_out() 76 if (!array[i].nodeid) in log_slots() 80 array[i].slot, array[i].nodeid); in log_slots() 133 if (ro->ro_nodeid != memb->nodeid) in dlm_slots_copy_in() 140 if (memb->nodeid == our_nodeid) { in dlm_slots_copy_in() 154 memb->nodeid); in dlm_slots_copy_in() 181 if (memb->nodeid == our_nodeid) { in dlm_slots_assign() 213 memb->nodeid, memb->slot_prev, memb->slot); in dlm_slots_assign() 239 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign() [all …]
|
D | lowcomms.c | 105 uint32_t nodeid; /* So we know who we are in the list */ member 144 int nodeid; member 172 static inline int nodeid_hash(int nodeid) in nodeid_hash() argument 174 return nodeid & (CONN_HASH_SIZE-1); in nodeid_hash() 177 static struct connection *__find_con(int nodeid) in __find_con() argument 182 r = nodeid_hash(nodeid); in __find_con() 185 if (con->nodeid == nodeid) in __find_con() 195 static struct connection *__nodeid2con(int nodeid, gfp_t alloc) in __nodeid2con() argument 200 con = __find_con(nodeid); in __nodeid2con() 208 r = nodeid_hash(nodeid); in __nodeid2con() [all …]
|
D | rcom.c | 95 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() argument 101 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, in check_rcom_config() 109 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config() 144 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags) in dlm_rcom_status() argument 150 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status() 152 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status() 158 error = create_rcom(ls, nodeid, DLM_RCOM_STATUS, in dlm_rcom_status() 179 log_debug(ls, "remote node %d not ready", nodeid); in dlm_rcom_status() 183 error = check_rcom_config(ls, rc, nodeid); in dlm_rcom_status() 197 int nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_status() local [all …]
|
D | dir.c | 67 int error = -ENOMEM, last_len, nodeid, result; in dlm_recover_directory() local 81 if (memb->nodeid == dlm_our_nodeid()) in dlm_recover_directory() 93 error = dlm_rcom_names(ls, memb->nodeid, in dlm_recover_directory() 135 error = dlm_master_lookup(ls, memb->nodeid, in dlm_recover_directory() 138 &nodeid, &result); in dlm_recover_directory() 151 nodeid != memb->nodeid) { in dlm_recover_directory() 155 result, nodeid, memb->nodeid, in dlm_recover_directory() 166 nodeid == memb->nodeid) { in dlm_recover_directory() 237 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names() argument 251 nodeid, inlen, inbuf); in dlm_copy_master_names() [all …]
|
D | requestqueue.c | 23 int nodeid; member 34 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue() argument 46 e->nodeid = nodeid; in dlm_add_requestqueue() 130 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() argument 138 if (dlm_is_removed(ls, nodeid)) in purge_request() 164 if (purge_request(ls, ms, e->nodeid)) { in dlm_purge_requestqueue()
|
D | lowcomms.h | 20 int dlm_lowcomms_close(int nodeid); 21 void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc); 23 int dlm_lowcomms_connect_node(int nodeid); 24 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len);
|
D | rcom.h | 17 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags); 18 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,int last_len); 22 void dlm_receive_rcom(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid); 23 int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in);
|
D | config.c | 226 int nodeid; member 239 int nodeid; member 487 cm->nodeid = -1; in make_comm() 498 dlm_lowcomms_close(cm->nodeid); in drop_comm() 520 nd->nodeid = -1; in make_node() 580 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); in comm_nodeid_show() 586 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store() 630 rv = dlm_lowcomms_addr(cm->nodeid, addr, len); in comm_addr_store() 685 CONFIGFS_ATTR(comm_, nodeid); 700 return sprintf(buf, "%d\n", config_item_to_node(item)->nodeid); in node_nodeid_show() [all …]
|
D | midcomms.c | 58 int dlm_process_incoming_buffer(int nodeid, const void *base, in dlm_process_incoming_buffer() argument 97 msglen, nodeid, len); in dlm_process_incoming_buffer() 129 dlm_receive_buffer(p, nodeid); in dlm_process_incoming_buffer()
|
D | config.h | 18 int nodeid; member 48 int dlm_comm_seq(int nodeid, uint32_t *seq);
|
D | member.h | 21 int dlm_is_removed(struct dlm_ls *ls, int nodeid); 22 int dlm_is_member(struct dlm_ls *ls, int nodeid);
|
D | lock.h | 21 void dlm_receive_buffer(union dlm_packet *p, int nodeid); 32 int dlm_master_lookup(struct dlm_ls *ls, int nodeid, char *name, int len, 60 int nodeid, int pid);
|
D | midcomms.h | 17 int dlm_process_incoming_buffer(int nodeid, const void *base, unsigned offset,
|
D | requestqueue.h | 16 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms);
|
D | dir.h | 22 char *outbuf, int outlen, int nodeid);
|
D | recover.c | 108 error = dlm_rcom_status(ls, memb->nodeid, 0); in wait_status_all() 130 int error = 0, delay = 0, nodeid = ls->ls_low_nodeid; in wait_status_low() local 138 error = dlm_rcom_status(ls, nodeid, status_flags); in wait_status_low() 399 static void set_lock_master(struct list_head *queue, int nodeid) in set_lock_master() argument 405 lkb->lkb_nodeid = nodeid; in set_lock_master()
|
D | lock.c | 91 static void do_purge(struct dlm_ls *ls, int nodeid, int pid); 1380 static int nodeid_warned(int nodeid, int num_nodes, int *warned) in nodeid_warned() argument 1386 warned[i] = nodeid; in nodeid_warned() 1389 if (warned[i] == nodeid) in nodeid_warned() 3844 int error, nodeid = ms_in->m_header.h_nodeid; in send_lookup_reply() local 3846 error = create_message(r, NULL, nodeid, DLM_MSG_LOOKUP_REPLY, &ms, &mh); in send_lookup_reply() 4985 int nodeid) in dlm_receive_message() argument 4993 ms->m_type, nodeid); in dlm_receive_message() 4997 dlm_add_requestqueue(ls, nodeid, ms); in dlm_receive_message() 5018 void dlm_receive_buffer(union dlm_packet *p, int nodeid) in dlm_receive_buffer() argument [all …]
|
D | netlink.c | 96 data->nodeid = lkb->lkb_nodeid; in fill_data()
|
D | user.c | 103 kb->i.purge.nodeid = kb32->i.purge.nodeid; in compat_input() 386 error = dlm_user_purge(ls, proc, params->nodeid, params->pid); in device_user_purge()
|
D | dlm_internal.h | 117 int nodeid; member
|
/linux-4.4.14/arch/x86/mm/ |
D | amdtopology.c | 78 u32 nodeid, reg; in amd_numa_init() local 104 nodeids[i] = nodeid = limit & 7; in amd_numa_init() 110 if (nodeid >= numnodes) { in amd_numa_init() 111 pr_info("Ignoring excess node %d (%Lx:%Lx)\n", nodeid, in amd_numa_init() 123 nodeid, (base >> 8) & 3, (limit >> 8) & 3); in amd_numa_init() 126 if (node_isset(nodeid, numa_nodes_parsed)) { in amd_numa_init() 128 nodeid); in amd_numa_init() 149 pr_err("Empty node %d\n", nodeid); in amd_numa_init() 154 nodeid, base, limit); in amd_numa_init() 166 nodeid, base, limit); in amd_numa_init() [all …]
|
/linux-4.4.14/drivers/char/ |
D | mmtimer.c | 262 int nodeid = n->timer->it.mmtimer.node; in mmtimer_add_list() local 264 struct rb_node **link = &timers[nodeid].timer_head.rb_node; in mmtimer_add_list() 286 rb_insert_color(&n->list, &timers[nodeid].timer_head); in mmtimer_add_list() 288 if (!timers[nodeid].next || expires < rb_entry(timers[nodeid].next, in mmtimer_add_list() 290 timers[nodeid].next = &n->list; in mmtimer_add_list() 297 static void mmtimer_set_next_timer(int nodeid) in mmtimer_set_next_timer() argument 299 struct mmtimer_node *n = &timers[nodeid]; in mmtimer_set_next_timer() 556 int nodeid = data; in mmtimer_tasklet() local 557 struct mmtimer_node *mn = &timers[nodeid]; in mmtimer_tasklet() 591 mmtimer_set_next_timer(nodeid); in mmtimer_tasklet() [all …]
|
/linux-4.4.14/fs/fuse/ |
D | inode.c | 90 fi->nodeid = 0; in fuse_alloc_inode() 131 fuse_queue_forget(fc, fi->forget, fi->nodeid, fi->nlookup); in fuse_evict_inode() 279 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_eq() local 280 if (get_node_id(inode) == nodeid) in fuse_inode_eq() 288 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_set() local 289 get_fuse_inode(inode)->nodeid = nodeid; in fuse_inode_set() 293 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, in fuse_iget() argument 302 inode = iget5_locked(sb, nodeid, fuse_inode_eq, fuse_inode_set, &nodeid); in fuse_iget() 329 int fuse_reverse_inval_inode(struct super_block *sb, u64 nodeid, in fuse_reverse_inval_inode() argument 336 inode = ilookup5(sb, nodeid, fuse_inode_eq, &nodeid); in fuse_reverse_inval_inode() [all …]
|
D | fuse_i.h | 74 u64 nodeid; member 142 u64 nodeid; member 230 uint64_t nodeid; member 677 return get_fuse_inode(inode)->nodeid; in get_node_id() 693 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, 697 int fuse_lookup_name(struct super_block *sb, u64 nodeid, struct qstr *name, 704 u64 nodeid, u64 nlookup); 709 void fuse_force_forget(struct file *file, u64 nodeid); 908 int fuse_reverse_inval_inode(struct super_block *sb, u64 nodeid, 924 int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file,
|
D | dir.c | 149 u64 nodeid, struct qstr *name, in fuse_lookup_init() argument 154 args->in.h.nodeid = nodeid; in fuse_lookup_init() 228 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate() 232 if (outarg.nodeid != get_node_id(inode)) { in fuse_dentry_revalidate() 233 fuse_queue_forget(fc, forget, outarg.nodeid, 1); in fuse_dentry_revalidate() 270 static int invalid_nodeid(u64 nodeid) in invalid_nodeid() argument 272 return !nodeid || nodeid == FUSE_ROOT_ID; in invalid_nodeid() 285 int fuse_lookup_name(struct super_block *sb, u64 nodeid, struct qstr *name, in fuse_lookup_name() argument 307 fuse_lookup_init(fc, &args, nodeid, name, outarg); in fuse_lookup_name() 310 if (err || !outarg->nodeid) in fuse_lookup_name() [all …]
|
D | dev.c | 336 u64 nodeid, u64 nlookup) in fuse_queue_forget() argument 340 forget->forget_one.nodeid = nodeid; in fuse_queue_forget() 559 req->in.h.nodeid = args->in.h.nodeid; in fuse_simple_request() 638 void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget() argument 649 req->in.h.nodeid = nodeid; in fuse_force_forget() 1145 .nodeid = forget->forget_one.nodeid, in fuse_read_single_forget() 1602 u64 nodeid; in fuse_notify_store() local 1622 nodeid = outarg.nodeid; in fuse_notify_store() 1630 inode = ilookup5(fc->sb, nodeid, fuse_inode_eq, &nodeid); in fuse_notify_store() 1717 req->in.h.nodeid = outarg->nodeid; in fuse_retrieve() [all …]
|
D | file.c | 23 static int fuse_send_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_send_open() argument 34 args.in.h.nodeid = nodeid; in fuse_send_open() 116 int fuse_do_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_do_open() argument 132 err = fuse_send_open(fc, nodeid, file, opcode, &outarg); in fuse_do_open() 148 ff->nodeid = nodeid; in fuse_do_open() 240 req->in.h.nodeid = ff->nodeid; in fuse_prepare_release() 425 req->in.h.nodeid = get_node_id(inode); in fuse_flush() 476 args.in.h.nodeid = get_node_id(inode); in fuse_fsync_common() 510 req->in.h.nodeid = ff->nodeid; in fuse_read_fill() 935 req->in.h.nodeid = ff->nodeid; in fuse_write_fill() [all …]
|
/linux-4.4.14/mm/ |
D | sparse.c | 348 unsigned long usemap_count, int nodeid) in sparse_early_usemaps_alloc_node() argument 355 usemap = sparse_early_usemaps_alloc_pgdat_section(NODE_DATA(nodeid), in sparse_early_usemaps_alloc_node() 367 check_usemap_section_nr(nodeid, usemap_map[pnum]); in sparse_early_usemaps_alloc_node() 390 unsigned long map_count, int nodeid) in sparse_mem_maps_populate_node() argument 396 map = alloc_remap(nodeid, size * map_count); in sparse_mem_maps_populate_node() 410 BOOTMEM_ALLOC_ACCESSIBLE, nodeid); in sparse_mem_maps_populate_node() 427 map_map[pnum] = sparse_mem_map_populate(pnum, nodeid); in sparse_mem_maps_populate_node() 442 unsigned long map_count, int nodeid) in sparse_early_mem_maps_alloc_node() argument 446 map_count, nodeid); in sparse_early_mem_maps_alloc_node() 496 int nodeid; in alloc_usemap_and_memmap() local [all …]
|
D | slab.c | 270 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument 273 list_splice(&get_node(cachep, nodeid)->slab, listp); \ 276 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument 278 MAKE_LIST((cachep), (&(ptr)->slabs_full), slabs_full, nodeid); \ 279 MAKE_LIST((cachep), (&(ptr)->slabs_partial), slabs_partial, nodeid); \ 280 MAKE_LIST((cachep), (&(ptr)->slabs_free), slabs_free, nodeid); \ 856 gfp_t flags, int nodeid) in ____cache_alloc_node() argument 1360 int nodeid) in init_list() argument 1364 ptr = kmalloc_node(sizeof(struct kmem_cache_node), GFP_NOWAIT, nodeid); in init_list() 1373 MAKE_ALL_LISTS(cachep, ptr, nodeid); in init_list() [all …]
|
D | sparse-vmemmap.c | 198 unsigned long map_count, int nodeid) in sparse_mem_maps_populate_node() argument 205 vmemmap_buf_start = __earlyonly_bootmem_alloc(nodeid, size * map_count, in sparse_mem_maps_populate_node() 219 map_map[pnum] = sparse_mem_map_populate(pnum, nodeid); in sparse_mem_maps_populate_node()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_nm.c | 96 msg.src.node = scif_info.nodeid; in scif_send_acks() 104 msg.src.node = scif_info.nodeid; in scif_send_acks() 167 notif_msg.src.node = scif_info.nodeid; in scif_send_rmnode_msg() 228 msg.src.node = scif_info.nodeid; in scif_get_node_info()
|
D | scif_main.h | 89 u8 nodeid; member 230 return dev->node == scif_info.nodeid; in scifdev_self() 235 return !scif_info.nodeid; in scif_is_mgmt_node()
|
D | scif_nodeqp.c | 248 scif_dev[scif_info.nodeid].node, scifdev->node); in scif_setup_qp_connect_response() 320 msg.src.node = scif_info.nodeid; in scif_send_exit() 834 msg->src.node = scif_info.nodeid; in scif_node_add() 851 msg->src.node = scif_info.nodeid; in scif_node_add() 1275 scif_info.nodeid = scifdev->node; in scif_setup_loopback_qp()
|
D | scif_debugfs.c | 32 scif_info.total, scif_info.nodeid, in scif_dev_test()
|
D | scif_api.c | 381 ep->port.node = scif_info.nodeid; in scif_bind() 655 ep->port.node = scif_info.nodeid; in __scif_connect() 1436 *self = scif_info.nodeid; in scif_get_node_ids()
|
D | scif_dma.c | 98 if (!scif_info.nodeid && scifdev_self(ep->remote_dev)) in scif_reserve_dma_chan() 100 if (scif_info.nodeid) in scif_reserve_dma_chan()
|
/linux-4.4.14/drivers/net/appletalk/ |
D | cops.c | 173 int nodeid; /* Set to 1 once have nodeid. */ member 187 static int cops_nodeid (struct net_device *dev, int nodeid); 466 if(lp->nodeid == 1) in cops_jumpstart() 603 static int cops_nodeid (struct net_device *dev, int nodeid) in cops_nodeid() argument 622 outb(nodeid, ioaddr); /* Suggest node address. */ in cops_nodeid() 636 if(nodeid == 0) /* Seed. */ in cops_nodeid() 637 nodeid = jiffies&0xFF; /* Get a random try */ in cops_nodeid() 641 outb(nodeid, ioaddr); /* LAP address hint. */ in cops_nodeid() 667 lp->nodeid=1; /* Set got nodeid to 1. */ in cops_nodeid()
|
/linux-4.4.14/include/uapi/linux/ |
D | fuse.h | 382 uint64_t nodeid; /* Inode ID */ member 397 uint64_t nodeid; member 677 uint64_t nodeid; member 734 uint64_t nodeid; member 742 uint64_t nodeid; member
|
D | dlm_plock.h | 35 __s32 nodeid; member
|
D | dlm_netlink.h | 25 int nodeid; member
|
D | dlm_device.h | 57 __u32 nodeid; member
|
/linux-4.4.14/include/linux/ |
D | dlm.h | 20 int nodeid; /* 1 to MAX_INT */ member
|
D | mm.h | 2197 int nodeid);
|
/linux-4.4.14/arch/x86/include/asm/ |
D | numa.h | 33 extern int __init numa_add_memblk(int nodeid, u64 start, u64 end);
|
/linux-4.4.14/fs/ocfs2/ |
D | stack_user.c | 952 slot->nodeid, slot->slot); in user_recover_slot() 953 conn->cc_recovery_handler(slot->nodeid, conn->cc_recovery_data); in user_recover_slot() 967 atomic_set(&lc->oc_this_node, slots[i].nodeid); in user_recover_done()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 276 int nodeid; /* device numa node id */ member
|
D | cxgb4_main.c | 2479 lli.nodeid = dev_to_node(adap->pdev_dev); in uld_attach()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore_snbep.c | 1090 int i, bus, nodeid, segment; in snbep_pci2phy_map_init() local 1105 nodeid = config; in snbep_pci2phy_map_init() 1125 if (nodeid == ((config >> (3 * i)) & 0x7)) { in snbep_pci2phy_map_init()
|
/linux-4.4.14/drivers/md/ |
D | md-cluster.c | 313 slot->nodeid, slot->slot, in recover_slot()
|