/linux-6.6.21/fs/dlm/ |
D | midcomms.c | 155 int nodeid; member 275 static struct midcomms_node *__find_node(int nodeid, int r) in __find_node() argument 280 if (node->nodeid == nodeid) in __find_node() 307 pr_debug("flush midcomms send queue of node %d\n", node->nodeid); in dlm_send_queue_flush() 320 pr_debug("reset node %d\n", node->nodeid); in midcomms_node_reset() 333 static struct midcomms_node *nodeid2node(int nodeid) in nodeid2node() argument 335 return __find_node(nodeid, nodeid_hash(nodeid)); in nodeid2node() 338 int dlm_midcomms_addr(int nodeid, struct sockaddr_storage *addr, int len) in dlm_midcomms_addr() argument 340 int ret, idx, r = nodeid_hash(nodeid); in dlm_midcomms_addr() 343 ret = dlm_lowcomms_addr(nodeid, addr, len); in dlm_midcomms_addr() [all …]
|
D | member.c | 52 if (!slot->nodeid) in dlm_slots_copy_out() 54 ro->ro_nodeid = cpu_to_le32(slot->nodeid); in dlm_slots_copy_out() 75 if (!array[i].nodeid) in log_slots() 79 array[i].slot, array[i].nodeid); in log_slots() 127 if (le32_to_cpu(ro->ro_nodeid) != memb->nodeid) in dlm_slots_copy_in() 134 if (memb->nodeid == our_nodeid) { in dlm_slots_copy_in() 148 memb->nodeid); in dlm_slots_copy_in() 175 if (memb->nodeid == our_nodeid) { in dlm_slots_assign() 207 memb->nodeid, memb->slot_prev, memb->slot); in dlm_slots_assign() 232 array[memb->slot - 1].nodeid = memb->nodeid; in dlm_slots_assign() [all …]
|
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() 37 void dlm_lowcomms_shutdown_node(int nodeid, bool force); 41 int dlm_lowcomms_close(int nodeid); 42 struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, gfp_t allocation, 48 int dlm_lowcomms_connect_node(int nodeid); 49 int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark); 50 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len); 51 void dlm_midcomms_receive_done(int nodeid);
|
D | midcomms.h | 17 int dlm_validate_incoming_buffer(int nodeid, unsigned char *buf, int len); 18 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int buflen); 19 struct dlm_mhandle *dlm_midcomms_get_mhandle(int nodeid, int len, 23 int dlm_midcomms_addr(int nodeid, struct sockaddr_storage *addr, int len); 25 int dlm_midcomms_close(int nodeid); 31 void dlm_midcomms_add_member(int nodeid); 32 void dlm_midcomms_remove_member(int nodeid); 33 void dlm_midcomms_unack_msg_resend(int nodeid);
|
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() 92 error = dlm_rcom_names(ls, memb->nodeid, in dlm_recover_directory() 134 error = dlm_master_lookup(ls, memb->nodeid, in dlm_recover_directory() 137 &nodeid, &result); in dlm_recover_directory() 150 nodeid != memb->nodeid) { in dlm_recover_directory() 154 result, nodeid, memb->nodeid, in dlm_recover_directory() 165 nodeid == memb->nodeid) { in dlm_recover_directory() 237 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names() argument 250 nodeid, inlen, inlen, inbuf); in dlm_copy_master_names() [all …]
|
D | rcom.c | 123 static int check_rcom_config(struct dlm_ls *ls, struct dlm_rcom *rc, int nodeid) in check_rcom_config() argument 129 DLM_HEADER_MAJOR | DLM_HEADER_MINOR, nodeid, in check_rcom_config() 137 ls->ls_lvblen, ls->ls_exflags, nodeid, in check_rcom_config() 172 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, in dlm_rcom_status() argument 179 ls->ls_recover_nodeid = nodeid; in dlm_rcom_status() 181 if (nodeid == dlm_our_nodeid()) { in dlm_rcom_status() 188 error = create_rcom_stateless(ls, nodeid, DLM_RCOM_STATUS, in dlm_rcom_status() 212 log_debug(ls, "remote node %d not ready", nodeid); in dlm_rcom_status() 216 error = check_rcom_config(ls, rc, nodeid); in dlm_rcom_status() 231 int nodeid = le32_to_cpu(rc_in->rc_header.h_nodeid); in receive_rcom_status() local [all …]
|
D | lowcomms.c | 70 uint32_t nodeid; /* So we know who we are in the list */ member 152 int nodeid; member 267 static struct connection *__find_con(int nodeid, int r) in __find_con() argument 272 if (con->nodeid == nodeid) in __find_con() 279 static void dlm_con_init(struct connection *con, int nodeid) in dlm_con_init() argument 281 con->nodeid = nodeid; in dlm_con_init() 295 static struct connection *nodeid2con(int nodeid, gfp_t alloc) in nodeid2con() argument 300 r = nodeid_hash(nodeid); in nodeid2con() 301 con = __find_con(nodeid, r); in nodeid2con() 309 dlm_con_init(con, nodeid); in nodeid2con() [all …]
|
D | requestqueue.c | 22 int nodeid; member 33 void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, in dlm_add_requestqueue() argument 47 e->nodeid = nodeid; in dlm_add_requestqueue() 131 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() argument 139 if (dlm_is_removed(ls, nodeid)) in purge_request() 165 if (purge_request(ls, ms, e->nodeid)) { in dlm_purge_requestqueue()
|
D | rcom.h | 15 int dlm_rcom_status(struct dlm_ls *ls, int nodeid, uint32_t status_flags, 17 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, 22 int nodeid); 23 int dlm_send_ls_not_ready(int nodeid, const struct dlm_rcom *rc_in);
|
D | config.c | 279 int nodeid; member 293 int nodeid; member 523 cm->nodeid = -1; in make_comm() 535 dlm_midcomms_close(cm->nodeid); in drop_comm() 557 nd->nodeid = -1; in make_node() 617 return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); in comm_nodeid_show() 623 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store() 667 rv = dlm_midcomms_addr(cm->nodeid, addr, len); in comm_addr_store() 742 rc = dlm_lowcomms_nodes_set_mark(comm->nodeid, mark); in comm_mark_store() 750 CONFIGFS_ATTR(comm_, nodeid); [all …]
|
D | config.h | 18 int nodeid; member 51 int dlm_comm_seq(int nodeid, uint32_t *seq);
|
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);
|
D | lock.h | 19 void dlm_receive_buffer(const union dlm_packet *p, int nodeid); 56 int nodeid, int pid);
|
/linux-6.6.21/arch/x86/mm/ |
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() 95 pr_info("Ignoring excess node %d (%Lx:%Lx)\n", nodeid, 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() [all …]
|
/linux-6.6.21/fs/fuse/ |
D | inode.c | 99 fi->nodeid = 0; in fuse_alloc_inode() 141 fuse_queue_forget(fc, sl->forget, sl->nodeid, 1); in fuse_cleanup_submount_lookup() 161 fuse_queue_forget(fc, fi->forget, fi->nodeid, in fuse_evict_inode() 371 u64 nodeid) in fuse_init_submount_lookup() argument 373 sl->nodeid = nodeid; in fuse_init_submount_lookup() 409 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_eq() local 410 if (get_node_id(inode) == nodeid) in fuse_inode_eq() 418 u64 nodeid = *(u64 *) _nodeidp; in fuse_inode_set() local 419 get_fuse_inode(inode)->nodeid = nodeid; in fuse_inode_set() 423 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, in fuse_iget() argument [all …]
|
D | fuse_i.h | 73 u64 nodeid; member 86 u64 nodeid; member 211 u64 nodeid; member 270 uint64_t nodeid; member 920 return get_fuse_inode(inode)->nodeid; in get_node_id() 923 static inline int invalid_nodeid(u64 nodeid) in invalid_nodeid() argument 925 return !nodeid || nodeid == FUSE_ROOT_ID; in invalid_nodeid() 991 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, 995 int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, 1002 u64 nodeid, u64 nlookup); [all …]
|
D | dir.c | 172 u64 nodeid, const struct qstr *name, in fuse_lookup_init() argument 177 args->nodeid = nodeid; in fuse_lookup_init() 236 if (!ret && !outarg.nodeid) in fuse_dentry_revalidate() 240 if (outarg.nodeid != get_node_id(inode) || in fuse_dentry_revalidate() 243 outarg.nodeid, 1); in fuse_dentry_revalidate() 363 int fuse_lookup_name(struct super_block *sb, u64 nodeid, const struct qstr *name, in fuse_lookup_name() argument 385 fuse_lookup_init(fm->fc, &args, nodeid, name, outarg); in fuse_lookup_name() 388 if (err || !outarg->nodeid) in fuse_lookup_name() 395 *inode = fuse_iget(sb, outarg->nodeid, outarg->generation, in fuse_lookup_name() 400 fuse_queue_forget(fm->fc, forget, outarg->nodeid, 1); in fuse_lookup_name() [all …]
|
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()
|
D | readdir.c | 165 if (!o->nodeid) { in fuse_direntplus_link() 187 if (invalid_nodeid(o->nodeid)) in fuse_direntplus_link() 205 if (inode && get_node_id(inode) != o->nodeid) in fuse_direntplus_link() 234 inode = fuse_iget(dir->i_sb, o->nodeid, o->generation, in fuse_direntplus_link() 265 static void fuse_force_forget(struct file *file, u64 nodeid) in fuse_force_forget() argument 275 args.nodeid = nodeid; in fuse_force_forget() 324 fuse_force_forget(file, direntplus->entry_out.nodeid); in parse_dirplusfile()
|
D | file.c | 23 static int fuse_send_open(struct fuse_mount *fm, u64 nodeid, in fuse_send_open() argument 41 args.nodeid = nodeid; in fuse_send_open() 128 struct fuse_file *fuse_file_open(struct fuse_mount *fm, u64 nodeid, in fuse_file_open() argument 146 err = fuse_send_open(fm, nodeid, open_flags, opcode, &outarg); in fuse_file_open() 165 ff->nodeid = nodeid; in fuse_file_open() 170 int fuse_do_open(struct fuse_mount *fm, u64 nodeid, struct file *file, in fuse_do_open() argument 173 struct fuse_file *ff = fuse_file_open(fm, nodeid, file->f_flags, isdir); in fuse_do_open() 300 ra->args.nodeid = ff->nodeid; in fuse_prepare_release() 516 args.nodeid = get_node_id(inode); in fuse_flush() 551 args.nodeid = get_node_id(inode); in fuse_fsync_common() [all …]
|
/linux-6.6.21/include/trace/events/ |
D | dlm.h | 601 __field(int32_t, nodeid) 616 __entry->nodeid = info->nodeid; 628 __entry->flags, __entry->pid, __entry->nodeid, 641 TP_PROTO(int nodeid, int ret), 643 TP_ARGS(nodeid, ret), 646 __field(int, nodeid) 651 __entry->nodeid = nodeid; 655 TP_printk("nodeid=%d ret=%d", __entry->nodeid, __entry->ret) 661 TP_PROTO(int nodeid, int ret), 663 TP_ARGS(nodeid, ret), [all …]
|
/linux-6.6.21/drivers/nvdimm/ |
D | nd_perf.c | 133 int nodeid; in nvdimm_pmu_cpu_offline() local 156 nodeid = cpu_to_node(cpu); in nvdimm_pmu_cpu_offline() 157 cpumask = cpumask_of_node(nodeid); in nvdimm_pmu_cpu_offline() 219 int nodeid, rc; in nvdimm_pmu_cpu_hotplug_init() local 232 nodeid = dev_to_node(nd_pmu->dev); in nvdimm_pmu_cpu_hotplug_init() 233 cpumask = cpumask_of_node(nodeid); in nvdimm_pmu_cpu_hotplug_init()
|
/linux-6.6.21/mm/ |
D | slab.c | 241 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument 244 list_splice(&get_node(cachep, nodeid)->slab, listp); \ 247 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument 249 MAKE_LIST((cachep), (&(ptr)->slabs_full), slabs_full, nodeid); \ 250 MAKE_LIST((cachep), (&(ptr)->slabs_partial), slabs_partial, nodeid); \ 251 MAKE_LIST((cachep), (&(ptr)->slabs_free), slabs_free, nodeid); \ 1150 int nodeid) in init_list() argument 1154 ptr = kmalloc_node(sizeof(struct kmem_cache_node), GFP_NOWAIT, nodeid); in init_list() 1163 MAKE_ALL_LISTS(cachep, ptr, nodeid); in init_list() 1164 cachep->node[nodeid] = ptr; in init_list() [all …]
|
/linux-6.6.21/drivers/net/appletalk/ |
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-6.6.21/include/uapi/linux/ |
D | fuse.h | 647 uint64_t nodeid; /* Inode ID */ member 662 uint64_t nodeid; member 967 uint64_t nodeid; member 1028 uint64_t nodeid; member 1036 uint64_t nodeid; member
|