/linux/fs/dlm/ |
A D | midcomms.c | 151 int nodeid; member 270 if (node->nodeid == nodeid) in __find_node() 335 node->nodeid = nodeid; in nodeid2node() 566 msglen, nodeid); in dlm_midcomms_recv_node_lookup() 599 node->nodeid); in dlm_midcomms_recv_node_lookup() 654 node->nodeid); in dlm_midcomms_version_check_3_2() 686 len, nodeid); in dlm_opts_check_msglen() 694 msglen, nodeid); in dlm_opts_check_msglen() 702 len, nodeid); in dlm_opts_check_msglen() 823 node->nodeid); in dlm_midcomms_version_check_3_1() [all …]
|
A D | member.c | 52 if (!slot->nodeid) in dlm_slots_copy_out() 153 memb->nodeid); in dlm_slots_copy_in() 237 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign() 254 array[i].nodeid = memb->nodeid; in dlm_slots_assign() 300 if (new->nodeid < memb->nodeid) in add_ordered_member() 330 memb->nodeid = node->nodeid; in dlm_add_member() 344 if (memb->nodeid == nodeid) in find_memb() 487 slot.nodeid = memb->nodeid; in dlm_lsop_recover_slot() 513 slots[i].nodeid = memb->nodeid; in dlm_lsop_recover_done() 525 int nodeid) in find_config_node() argument [all …]
|
A D | lowcomms.h | 27 static inline int nodeid_hash(int nodeid) in nodeid_hash() argument 29 return nodeid & (CONN_HASH_SIZE-1); in nodeid_hash() 39 int dlm_lowcomms_close(int nodeid); 40 struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation, 46 int dlm_lowcomms_connect_node(int nodeid); 47 int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark); 48 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len); 49 void dlm_midcomms_receive_done(int nodeid);
|
A D | rcom.c | 140 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config() 181 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status() 183 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status() 217 error = check_rcom_config(ls, rc, nodeid); in dlm_rcom_status() 230 int nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_status() local 311 ls->ls_recover_nodeid = nodeid; in dlm_rcom_names() 336 int error, inlen, outlen, nodeid; in receive_rcom_names() local 339 nodeid = rc_in->rc_header.h_nodeid; in receive_rcom_names() 351 nodeid); in receive_rcom_names() 666 nodeid, in dlm_receive_rcom() [all …]
|
A D | dir.c | 65 int error = -ENOMEM, last_len, nodeid, result; in dlm_recover_directory() local 79 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 …]
|
A D | lowcomms.c | 139 int nodeid; member 213 if (con->nodeid == nodeid) in __find_con() 232 con->nodeid = nodeid; in dlm_con_init() 253 r = nodeid_hash(nodeid); in nodeid2con() 254 con = __find_con(nodeid, r); in nodeid2con() 277 tmp = __find_con(nodeid, r); in nodeid2con() 308 if (na->nodeid == nodeid) in find_node_addr() 407 *nodeid = na->nodeid; in addr_to_nodeid() 454 new_node->nodeid = nodeid; in dlm_lowcomms_addr() 963 con, con->nodeid); in receive_from_sock() [all …]
|
A D | midcomms.h | 17 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int buflen); 18 struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len, 21 int dlm_midcomms_close(int nodeid); 24 void dlm_midcomms_add_member(int nodeid); 25 void dlm_midcomms_remove_member(int nodeid); 26 void dlm_midcomms_unack_msg_resend(int nodeid);
|
A D | requestqueue.c | 21 int nodeid; member 32 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms) in dlm_add_requestqueue() argument 44 e->nodeid = nodeid; in dlm_add_requestqueue() 128 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() argument 136 if (dlm_is_removed(ls, nodeid)) in purge_request() 162 if (purge_request(ls, ms, e->nodeid)) { in dlm_purge_requestqueue()
|
A D | config.c | 287 int nodeid; member 301 int nodeid; member 533 cm->nodeid = -1; in make_comm() 545 dlm_midcomms_close(cm->nodeid); in drop_comm() 567 nd->nodeid = -1; in make_node() 760 CONFIGFS_ATTR(comm_, nodeid); 789 dlm_comm_seq(nd->nodeid, &seq); in node_nodeid_store() 809 CONFIGFS_ATTR(node_, nodeid); 855 if (cm->nodeid != nodeid) in get_comm() 903 node->nodeid = nd->nodeid; in dlm_config_nodes() [all …]
|
A D | rcom.h | 15 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags); 16 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,int last_len); 19 void dlm_receive_rcom(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid); 20 int dlm_send_ls_not_ready(int nodeid, struct dlm_rcom *rc_in);
|
A D | lock.h | 19 void dlm_receive_buffer(union dlm_packet *p, int nodeid); 30 int dlm_master_lookup(struct dlm_ls *ls, int nodeid, char *name, int len, 58 int nodeid, int pid);
|
A D | config.h | 18 int nodeid; member 53 int dlm_comm_seq(int nodeid, uint32_t *seq);
|
A D | member.h | 19 int dlm_is_removed(struct dlm_ls *ls, int nodeid); 20 int dlm_is_member(struct dlm_ls *ls, int nodeid);
|
/linux/arch/x86/mm/ |
A D | amdtopology.c | 62 u32 nodeid, reg; in amd_numa_init() local 88 nodeids[i] = nodeid = limit & 7; in amd_numa_init() 94 if (nodeid >= numnodes) { in amd_numa_init() 107 nodeid, (base >> 8) & 3, (limit >> 8) & 3); in amd_numa_init() 110 if (node_isset(nodeid, numa_nodes_parsed)) { in amd_numa_init() 112 nodeid); in amd_numa_init() 133 pr_err("Empty node %d\n", nodeid); in amd_numa_init() 138 nodeid, base, limit); in amd_numa_init() 150 nodeid, base, limit); in amd_numa_init() 153 numa_add_memblk(nodeid, base, limit); in amd_numa_init() [all …]
|
/linux/fs/fuse/ |
A D | inode.c | 82 fi->nodeid = 0; in fuse_alloc_inode() 342 get_fuse_inode(inode)->nodeid = nodeid; in fuse_inode_set() 368 get_fuse_inode(inode)->nodeid = nodeid; in fuse_iget() 374 inode = iget5_locked(sb, nodeid, fuse_inode_eq, fuse_inode_set, &nodeid); in fuse_iget() 412 inode = ilookup5(fm_iter->sb, nodeid, fuse_inode_eq, &nodeid); in fuse_ilookup() 880 u64 nodeid; member 892 if (handle->nodeid == 0) in fuse_get_dentry() 895 inode = ilookup5(sb, handle->nodeid, fuse_inode_eq, &handle->nodeid); in fuse_get_dentry() 935 u64 nodeid; in fuse_encode_fh() local 943 nodeid = get_fuse_inode(inode)->nodeid; in fuse_encode_fh() [all …]
|
A D | fuse_i.h | 73 u64 nodeid; member 191 u64 nodeid; member 250 uint64_t nodeid; member 864 return get_fuse_inode(inode)->nodeid; in get_node_id() 867 static inline int invalid_nodeid(u64 nodeid) in invalid_nodeid() argument 869 return !nodeid || nodeid == FUSE_ROOT_ID; in invalid_nodeid() 935 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, 946 u64 nodeid, u64 nlookup); 1178 struct inode *fuse_ilookup(struct fuse_conn *fc, u64 nodeid, 1184 int fuse_reverse_inval_inode(struct fuse_conn *fc, u64 nodeid, [all …]
|
A D | dir.c | 178 args->nodeid = nodeid; in fuse_lookup_init() 237 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate() 244 outarg.nodeid, 1); in fuse_dentry_revalidate() 385 if (err || !outarg->nodeid) in fuse_lookup_name() 389 if (!outarg->nodeid) in fuse_lookup_name() 509 args.nodeid = get_node_id(dir); in fuse_create_open() 530 ff->nodeid = outentry.nodeid; in fuse_create_open() 632 args->nodeid = get_node_id(dir); in create_new_entry() 796 args.nodeid = get_node_id(dir); in fuse_unlink() 819 args.nodeid = get_node_id(dir); in fuse_rmdir() [all …]
|
A D | readdir.c | 163 if (!o->nodeid) { in fuse_direntplus_link() 185 if (invalid_nodeid(o->nodeid)) in fuse_direntplus_link() 203 if (inode && get_node_id(inode) != o->nodeid) in fuse_direntplus_link() 232 inode = fuse_iget(dir->i_sb, o->nodeid, o->generation, in fuse_direntplus_link() 255 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget() argument 265 args.nodeid = nodeid; in fuse_force_forget() 314 fuse_force_forget(file, direntplus->entry_out.nodeid); in parse_dirplusfile()
|
A D | xattr.c | 31 args.nodeid = get_node_id(inode); in fuse_setxattr() 66 args.nodeid = get_node_id(inode); in fuse_getxattr() 130 args.nodeid = get_node_id(inode); in fuse_listxattr() 166 args.nodeid = get_node_id(inode); in fuse_removexattr()
|
A D | file.c | 40 args.nodeid = nodeid; in fuse_send_open() 164 ff->nodeid = nodeid; in fuse_file_open() 295 ra->args.nodeid = ff->nodeid; in fuse_prepare_release() 502 args.nodeid = get_node_id(inode); in fuse_flush() 605 args->nodeid = ff->nodeid; in fuse_read_args_fill() 1019 args->nodeid = ff->nodeid; in fuse_write_args_fill() 2621 args.nodeid = ff->nodeid; in fuse_lseek() 2754 args.nodeid = ff->nodeid; in fuse_file_poll() 2978 args.nodeid = ff->nodeid; in fuse_file_fallocate() 3031 .nodeid_out = ff_out->nodeid, in __fuse_copy_file_range() [all …]
|
A D | dev.c | 237 u64 nodeid, u64 nlookup) in fuse_queue_forget() argument 241 forget->forget_one.nodeid = nodeid; in fuse_queue_forget() 481 req->in.h.nodeid = args->nodeid; in fuse_args_to_req() 1109 .nodeid = forget->forget_one.nodeid, in fuse_read_single_forget() 1564 u64 nodeid; in fuse_notify_store() local 1584 nodeid = outarg.nodeid; in fuse_notify_store() 1589 inode = fuse_ilookup(fc, nodeid, NULL); in fuse_notify_store() 1696 args->nodeid = outarg->nodeid; in fuse_retrieve() 1742 u64 nodeid; in fuse_notify_retrieve() local 1757 nodeid = outarg.nodeid; in fuse_notify_retrieve() [all …]
|
/linux/arch/x86/kernel/apic/ |
A D | x2apic_uv_x.c | 1685 int bytes, cpu, nodeid; in uv_system_init_hub() local 1729 for_each_node(nodeid) { in uv_system_init_hub() 1732 if (__uv_hub_info_list[nodeid]) { in uv_system_init_hub() 1738 new_hub = (nodeid == 0) ? &uv_hub_info_node0 : kzalloc_node(bytes, GFP_KERNEL, nodeid); in uv_system_init_hub() 1740 __uv_hub_info_list[nodeid] = new_hub; in uv_system_init_hub() 1741 new_hub = uv_hub_info_list(nodeid); in uv_system_init_hub() 1763 nodeid = cpu_to_node(cpu); in uv_system_init_hub() 1773 if (nodeid != numa_node_id && in uv_system_init_hub() 1780 for_each_node(nodeid) { in uv_system_init_hub() 1794 nodeid, in uv_system_init_hub() [all …]
|
/linux/drivers/net/appletalk/ |
A D | cops.c | 176 int nodeid; /* Set to 1 once have nodeid. */ member 190 static int cops_nodeid (struct net_device *dev, int nodeid); 468 if(lp->nodeid == 1) in cops_jumpstart() 605 static int cops_nodeid (struct net_device *dev, int nodeid) in cops_nodeid() argument 624 outb(nodeid, ioaddr); /* Suggest node address. */ in cops_nodeid() 638 if(nodeid == 0) /* Seed. */ in cops_nodeid() 639 nodeid = jiffies&0xFF; /* Get a random try */ in cops_nodeid() 643 outb(nodeid, ioaddr); /* LAP address hint. */ in cops_nodeid() 669 lp->nodeid=1; /* Set got nodeid to 1. */ in cops_nodeid()
|
/linux/mm/ |
A D | slab.c | 629 gfp_t flags, int nodeid) in ____cache_alloc_node() argument 1166 int nodeid) in init_list() argument 1180 cachep->node[nodeid] = ptr; in init_list() 1371 int nodeid) in kmem_getpages() argument 3165 int nodeid) in ____cache_alloc_node() argument 3172 VM_BUG_ON(nodeid < 0 || nodeid >= MAX_NUMNODES); in ____cache_alloc_node() 3234 nodeid = slab_node; in slab_alloc_node() 3242 if (nodeid == slab_node) { in slab_alloc_node() 3603 flags, nodeid); in kmem_cache_alloc_node() 3612 int nodeid, in kmem_cache_alloc_node_trace() argument [all …]
|
/linux/include/uapi/linux/ |
A D | fuse.h | 546 uint64_t nodeid; /* Inode ID */ member 561 uint64_t nodeid; member 847 uint64_t nodeid; member 904 uint64_t nodeid; member 912 uint64_t nodeid; member
|