| /kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlp-hal/ |
| D | iomap.h | 50 #define XLP_IO_DEV(node, dev) ((dev) + (node) * 8) argument 53 #define XLP_HDR_OFFSET(node, bus, dev, fn) \ argument 54 XLP_IO_PCI_OFFSET(bus, XLP_IO_DEV(node, dev), fn) 56 #define XLP_IO_BRIDGE_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 0) argument 58 #define XLP_IO_CIC0_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 1) argument 59 #define XLP_IO_CIC1_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 2) argument 60 #define XLP_IO_CIC2_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 3) argument 61 #define XLP_IO_PIC_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 4) argument 63 #define XLP_IO_PCIE_OFFSET(node, i) XLP_HDR_OFFSET(node, 0, 1, i) argument 64 #define XLP_IO_PCIE0_OFFSET(node) XLP_HDR_OFFSET(node, 0, 1, 0) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/elx/libefc/ |
| D | efc_node.c | 14 struct efc_node *node = rnode->node; in efc_remote_node_cb() local 18 efc_node_post_event(node, event, NULL); in efc_remote_node_cb() 27 /* Find an FC node structure given the FC port ID */ in efc_node_find() 34 struct efc_node *node = container_of(arg, struct efc_node, ref); in _efc_node_free() local 35 struct efc *efc = node->efc; in _efc_node_free() 38 dma = &node->sparm_dma_buf; in _efc_node_free() 41 mempool_free(node, efc->node_pool); in _efc_node_free() 48 struct efc_node *node = NULL; in efc_node_alloc() local 53 efc_log_debug(efc, "node allocation when shutting down %06x", in efc_node_alloc() 58 node = mempool_alloc(efc->node_pool, GFP_ATOMIC); in efc_node_alloc() [all …]
|
| D | efc_device.c | 8 * device_sm Node State Machine: Remote Device States 16 efc_d_send_prli_rsp(struct efc_node *node, u16 ox_id) in efc_d_send_prli_rsp() argument 19 struct efc *efc = node->efc; in efc_d_send_prli_rsp() 21 node->ls_acc_oxid = ox_id; in efc_d_send_prli_rsp() 22 node->send_ls_acc = EFC_NODE_SEND_LS_ACC_PRLI; in efc_d_send_prli_rsp() 29 if (node->init) { in efc_d_send_prli_rsp() 31 node->display_name, node->wwpn, node->wwnn); in efc_d_send_prli_rsp() 32 if (node->nport->enable_tgt) in efc_d_send_prli_rsp() 33 rc = efc->tt.scsi_new_node(efc, node); in efc_d_send_prli_rsp() 37 efc_node_post_event(node, EFC_EVT_NODE_SESS_REG_FAIL, NULL); in efc_d_send_prli_rsp() [all …]
|
| D | efc_fabric.c | 8 * This file implements remote node state machines for: 16 * fabric_sm Node State Machine: Fabric States 17 * ns_sm Node State Machine: Name/Directory Services States 18 * p2p_sm Node State Machine: Point-to-Point Node States 24 efc_fabric_initiate_shutdown(struct efc_node *node) in efc_fabric_initiate_shutdown() argument 26 struct efc *efc = node->efc; in efc_fabric_initiate_shutdown() 28 node->els_io_enabled = false; in efc_fabric_initiate_shutdown() 30 if (node->attached) { in efc_fabric_initiate_shutdown() 33 /* issue hw node free; don't care if succeeds right away in efc_fabric_initiate_shutdown() 34 * or sometime later, will check node->attached later in in efc_fabric_initiate_shutdown() [all …]
|
| /kernel/linux/linux-5.10/fs/hfs/ |
| D | bnode.c | 9 * Handle basic btree node operations 18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read() argument 26 off += node->page_offset; in hfs_bnode_read() 31 if (pagenum >= node->tree->pages_per_bnode) in hfs_bnode_read() 33 page = node->page[pagenum]; in hfs_bnode_read() 45 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16() argument 49 hfs_bnode_read(node, &data, off, 2); in hfs_bnode_read_u16() 53 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8() argument 57 hfs_bnode_read(node, &data, off, 1); in hfs_bnode_read_u8() 61 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key() argument [all …]
|
| /kernel/linux/linux-6.6/fs/hfs/ |
| D | bnode.c | 9 * Handle basic btree node operations 18 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read() argument 25 off += node->page_offset; in hfs_bnode_read() 30 if (pagenum >= node->tree->pages_per_bnode) in hfs_bnode_read() 32 page = node->page[pagenum]; in hfs_bnode_read() 42 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16() argument 46 hfs_bnode_read(node, &data, off, 2); in hfs_bnode_read_u16() 50 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8() argument 54 hfs_bnode_read(node, &data, off, 1); in hfs_bnode_read_u8() 58 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key() argument [all …]
|
| /kernel/linux/linux-6.6/scripts/gdb/linux/ |
| D | rbtree.py | 15 node = root.address.cast(rb_root_type.get_type().pointer()) 19 node = root['rb_node'] 20 if node == 0: 23 while node['rb_left']: 24 node = node['rb_left'] 26 return node 31 node = root.address.cast(rb_root_type.get_type().pointer()) 35 node = root['rb_node'] 36 if node == 0: 39 while node['rb_right']: [all …]
|
| /kernel/linux/linux-5.10/scripts/gdb/linux/ |
| D | rbtree.py | 15 node = root.address.cast(rb_root_type.get_type().pointer()) 19 node = root['rb_node'] 20 if node == 0: 23 while node['rb_left']: 24 node = node['rb_left'] 26 return node 31 node = root.address.cast(rb_root_type.get_type().pointer()) 35 node = root['rb_node'] 36 if node == 0: 39 while node['rb_right']: [all …]
|
| /kernel/linux/linux-5.10/scripts/dtc/ |
| D | livetree.c | 88 struct node *build_node(struct property *proplist, struct node *children, in build_node() 91 struct node *new = xmalloc(sizeof(*new)); in build_node() 92 struct node *child; in build_node() 107 struct node *build_node_delete(struct srcpos *srcpos) in build_node_delete() 109 struct node *new = xmalloc(sizeof(*new)); in build_node_delete() 119 struct node *name_node(struct node *node, char *name) in name_node() argument 121 assert(node->name == NULL); in name_node() 123 node->name = name; in name_node() 125 return node; in name_node() 128 struct node *omit_node_if_unused(struct node *node) in omit_node_if_unused() argument [all …]
|
| D | checks.c | 29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node); 62 struct node *node, in check_msg() argument 76 else if (node && node->srcpos) in check_msg() 77 pos = node->srcpos; in check_msg() 92 if (node) { in check_msg() 94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg() 96 xasprintf_append(&str, "%s: ", node->fullpath); in check_msg() 106 pos = node->srcpos; in check_msg() 119 #define FAIL(c, dti, node, ...) \ argument 123 check_msg((c), dti, node, NULL, __VA_ARGS__); \ [all …]
|
| /kernel/linux/linux-6.6/scripts/dtc/ |
| D | checks.c | 29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node); 62 struct node *node, in check_msg() argument 76 else if (node && node->srcpos) in check_msg() 77 pos = node->srcpos; in check_msg() 92 if (node) { in check_msg() 94 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg() 96 xasprintf_append(&str, "%s: ", node->fullpath); in check_msg() 106 pos = node->srcpos; in check_msg() 119 #define FAIL(c, dti, node, ...) \ argument 123 check_msg((c), dti, node, NULL, __VA_ARGS__); \ [all …]
|
| D | livetree.c | 88 struct node *build_node(struct property *proplist, struct node *children, in build_node() 91 struct node *new = xmalloc(sizeof(*new)); in build_node() 92 struct node *child; in build_node() 107 struct node *build_node_delete(struct srcpos *srcpos) in build_node_delete() 109 struct node *new = xmalloc(sizeof(*new)); in build_node_delete() 119 struct node *name_node(struct node *node, char *name) in name_node() argument 121 assert(node->name == NULL); in name_node() 123 node->name = name; in name_node() 125 return node; in name_node() 128 struct node *omit_node_if_unused(struct node *node) in omit_node_if_unused() argument [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | bootconfig.h | 19 /* XBC tree node */ 36 /* Node tree access raw APIs */ 38 int __init xbc_node_index(struct xbc_node *node); 39 struct xbc_node * __init xbc_node_get_parent(struct xbc_node *node); 40 struct xbc_node * __init xbc_node_get_child(struct xbc_node *node); 41 struct xbc_node * __init xbc_node_get_next(struct xbc_node *node); 42 const char * __init xbc_node_get_data(struct xbc_node *node); 45 * xbc_node_is_value() - Test the node is a value node 46 * @node: An XBC node. 48 * Test the @node is a value node and return true if a value node, false if not. [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | bootconfig.h | 49 /* XBC tree node */ 66 /* Node tree access raw APIs */ 68 int __init xbc_node_index(struct xbc_node *node); 69 struct xbc_node * __init xbc_node_get_parent(struct xbc_node *node); 70 struct xbc_node * __init xbc_node_get_child(struct xbc_node *node); 71 struct xbc_node * __init xbc_node_get_next(struct xbc_node *node); 72 const char * __init xbc_node_get_data(struct xbc_node *node); 75 * xbc_node_is_value() - Test the node is a value node 76 * @node: An XBC node. 78 * Test the @node is a value node and return true if a value node, false if not. [all …]
|
| D | rbtree.h | 33 #define RB_EMPTY_NODE(node) \ argument 34 ((node)->__rb_parent_color == (unsigned long)(node)) 35 #define RB_CLEAR_NODE(node) \ argument 36 ((node)->__rb_parent_color = (unsigned long)(node)) 53 /* Fast replacement of a single node without remove/rebalance/add/rebalance */ 59 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node() argument 62 node->__rb_parent_color = (unsigned long)parent; in rb_link_node() 63 node->rb_left = node->rb_right = NULL; in rb_link_node() 65 *rb_link = node; in rb_link_node() 68 static inline void rb_link_node_rcu(struct rb_node *node, struct rb_node *parent, in rb_link_node_rcu() argument [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | bootconfig.c | 21 * xbc_parse() parses the text to build a simple tree. Each tree node is 22 * simply a key word or a value. A key node may have a next key node or/and 23 * a child node (both key and value). A value node may have a next value 24 * node (for array). 46 * xbc_root_node() - Get the root node of extended boot config 48 * Return the address of root node of extended boot config. If the 60 * xbc_node_index() - Get the index of XBC node 61 * @node: A target node of getting index. 63 * Return the index number of @node in XBC node list. 65 int __init xbc_node_index(struct xbc_node *node) in xbc_node_index() argument [all …]
|
| /kernel/linux/linux-5.10/fs/hfsplus/ |
| D | bnode.c | 9 * Handle basic btree node operations 21 /* Copy a specified range of bytes from the raw data of a node */ 22 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read() argument 27 off += node->page_offset; in hfs_bnode_read() 28 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bnode_read() 43 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16() argument 47 hfs_bnode_read(node, &data, off, 2); in hfs_bnode_read_u16() 51 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8() argument 55 hfs_bnode_read(node, &data, off, 1); in hfs_bnode_read_u8() 59 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key() argument [all …]
|
| /kernel/linux/linux-6.6/fs/hfsplus/ |
| D | bnode.c | 9 * Handle basic btree node operations 21 /* Copy a specified range of bytes from the raw data of a node */ 22 void hfs_bnode_read(struct hfs_bnode *node, void *buf, int off, int len) in hfs_bnode_read() argument 27 off += node->page_offset; in hfs_bnode_read() 28 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bnode_read() 41 u16 hfs_bnode_read_u16(struct hfs_bnode *node, int off) in hfs_bnode_read_u16() argument 45 hfs_bnode_read(node, &data, off, 2); in hfs_bnode_read_u16() 49 u8 hfs_bnode_read_u8(struct hfs_bnode *node, int off) in hfs_bnode_read_u8() argument 53 hfs_bnode_read(node, &data, off, 1); in hfs_bnode_read_u8() 57 void hfs_bnode_read_key(struct hfs_bnode *node, void *key, int off) in hfs_bnode_read_key() argument [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | bootconfig.c | 42 * xbc_parse() parses the text to build a simple tree. Each tree node is 43 * simply a key word or a value. A key node may have a next key node or/and 44 * a child node (both key and value). A value node may have a next value 45 * node (for array). 114 * xbc_root_node() - Get the root node of extended boot config 116 * Return the address of root node of extended boot config. If the 128 * xbc_node_index() - Get the index of XBC node 129 * @node: A target node of getting index. 131 * Return the index number of @node in XBC node list. 133 int __init xbc_node_index(struct xbc_node *node) in xbc_node_index() argument [all …]
|
| /kernel/linux/linux-6.6/fs/dlm/ |
| D | midcomms.c | 29 * Due the fact that dlm has pre-configured node addresses on every side 35 * application layer. The version field of every node will be set on these RCOM 36 * messages as soon as they arrived and the node isn't yet part of the nodes 47 * compatibility. A node cannot send anything to another node when a DLM_FIN 51 * manager removed the node from internal lists, at this point DLM does not 52 * send any message to the other node. There exists two cases: 160 * We could send a fence signal for a specific node to the cluster 185 /* counts how many lockspaces are using this node 187 * node wants to disconnect. 200 struct midcomms_node *node; member [all …]
|
| /kernel/linux/linux-5.10/kernel/gcov/ |
| D | fs.c | 33 * @list: list head for child node list 36 * @parent: parent node 141 * Return a profiling data set associated with the given node. This is 145 static struct gcov_info *get_node_info(struct gcov_node *node) in get_node_info() argument 147 if (node->num_loaded > 0) in get_node_info() 148 return node->loaded_info[0]; in get_node_info() 150 return node->unloaded_info; in get_node_info() 155 * all profiling data associated with the given node. 157 static struct gcov_info *get_accumulated_info(struct gcov_node *node) in get_accumulated_info() argument 162 if (node->unloaded_info) in get_accumulated_info() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | qos.c | 44 static void otx2_qos_get_regaddr(struct otx2_qos_node *node, in otx2_qos_get_regaddr() argument 48 if (node->level == NIX_TXSCH_LVL_SMQ) { in otx2_qos_get_regaddr() 49 cfg->reg[index++] = NIX_AF_MDQX_PARENT(node->schq); in otx2_qos_get_regaddr() 50 cfg->reg[index++] = NIX_AF_MDQX_SCHEDULE(node->schq); in otx2_qos_get_regaddr() 51 cfg->reg[index++] = NIX_AF_MDQX_PIR(node->schq); in otx2_qos_get_regaddr() 52 cfg->reg[index] = NIX_AF_MDQX_CIR(node->schq); in otx2_qos_get_regaddr() 53 } else if (node->level == NIX_TXSCH_LVL_TL4) { in otx2_qos_get_regaddr() 54 cfg->reg[index++] = NIX_AF_TL4X_PARENT(node->schq); in otx2_qos_get_regaddr() 55 cfg->reg[index++] = NIX_AF_TL4X_SCHEDULE(node->schq); in otx2_qos_get_regaddr() 56 cfg->reg[index++] = NIX_AF_TL4X_PIR(node->schq); in otx2_qos_get_regaddr() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | htb.c | 36 struct mlx5e_qos_node *node = NULL; in mlx5e_htb_enumerate_leaves() local 39 hash_for_each(htb->qos_tc2node, bkt, node, hnode) { in mlx5e_htb_enumerate_leaves() 40 if (node->qid == MLX5E_QOS_QID_INNER) in mlx5e_htb_enumerate_leaves() 42 err = callback(data, node->qid, node->hw_id); in mlx5e_htb_enumerate_leaves() 73 struct mlx5e_qos_node *node; in mlx5e_htb_node_create_leaf() local 75 node = kzalloc(sizeof(*node), GFP_KERNEL); in mlx5e_htb_node_create_leaf() 76 if (!node) in mlx5e_htb_node_create_leaf() 79 node->parent = parent; in mlx5e_htb_node_create_leaf() 81 node->qid = qid; in mlx5e_htb_node_create_leaf() 84 node->classid = classid; in mlx5e_htb_node_create_leaf() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireguard/ |
| D | allowedips.c | 23 static void copy_and_assign_cidr(struct allowedips_node *node, const u8 *src, in copy_and_assign_cidr() argument 26 node->cidr = cidr; in copy_and_assign_cidr() 27 node->bit_at_a = cidr / 8U; in copy_and_assign_cidr() 29 node->bit_at_a ^= (bits / 8U - 1U) % 8U; in copy_and_assign_cidr() 31 node->bit_at_b = 7U - (cidr % 8U); in copy_and_assign_cidr() 32 node->bitlen = bits; in copy_and_assign_cidr() 33 memcpy(node->bits, src, bits / 8U); in copy_and_assign_cidr() 36 static inline u8 choose(struct allowedips_node *node, const u8 *key) in choose() argument 38 return (key[node->bit_at_a] >> node->bit_at_b) & 1; in choose() 58 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { in root_free_rcu() local [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireguard/ |
| D | allowedips.c | 23 static void copy_and_assign_cidr(struct allowedips_node *node, const u8 *src, in copy_and_assign_cidr() argument 26 node->cidr = cidr; in copy_and_assign_cidr() 27 node->bit_at_a = cidr / 8U; in copy_and_assign_cidr() 29 node->bit_at_a ^= (bits / 8U - 1U) % 8U; in copy_and_assign_cidr() 31 node->bit_at_b = 7U - (cidr % 8U); in copy_and_assign_cidr() 32 node->bitlen = bits; in copy_and_assign_cidr() 33 memcpy(node->bits, src, bits / 8U); in copy_and_assign_cidr() 36 static inline u8 choose(struct allowedips_node *node, const u8 *key) in choose() argument 38 return (key[node->bit_at_a] >> node->bit_at_b) & 1; in choose() 58 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { in root_free_rcu() local [all …]
|