Home
last modified time | relevance | path

Searched refs:node (Results 1 - 25 of 6932) sorted by relevance

12345678910>>...278

/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlp-hal/
H A Diomap.h50 #define XLP_IO_DEV(node, dev) ((dev) + (node) * 8)
53 #define XLP_HDR_OFFSET(node, bus, dev, fn) \
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)
58 #define XLP_IO_CIC0_OFFSET(node) XLP_HDR_OFFSET(node, 0, 0, 1)
59 #define XLP_IO_CIC1_OFFSET(node) XLP_HDR_OFFSET(node,
203 xlp9xx_get_socbus(int node) xlp9xx_get_socbus() argument
[all...]
/kernel/linux/linux-6.6/fs/hfs/
H A Dbnode.c9 * 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, voi argument
73 hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) hfs_bnode_write() argument
84 hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) hfs_bnode_write_u16() argument
91 hfs_bnode_write_u8(struct hfs_bnode *node, int off, u8 data) hfs_bnode_write_u8() argument
97 hfs_bnode_clear(struct hfs_bnode *node, int off, int len) hfs_bnode_clear() argument
125 hfs_bnode_move(struct hfs_bnode *node, int dst, int src, int len) hfs_bnode_move() argument
142 hfs_bnode_dump(struct hfs_bnode *node) hfs_bnode_dump() argument
179 hfs_bnode_unlink(struct hfs_bnode *node) hfs_bnode_unlink() argument
228 struct hfs_bnode *node; hfs_bnode_findhash() local
246 struct hfs_bnode *node, *node2; __hfs_bnode_create() local
302 hfs_bnode_unhash(struct hfs_bnode *node) hfs_bnode_unhash() argument
319 struct hfs_bnode *node; hfs_bnode_find() local
401 hfs_bnode_free(struct hfs_bnode *node) hfs_bnode_free() argument
413 struct hfs_bnode *node; hfs_bnode_create() local
447 hfs_bnode_get(struct hfs_bnode *node) hfs_bnode_get() argument
458 hfs_bnode_put(struct hfs_bnode *node) hfs_bnode_put() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/
H A Defc_device.c16 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()
47 struct efc_node *node = NULL; __efc_d_common() local
85 struct efc_node *node = ctx->app; __efc_d_wait_del_node() local
148 struct efc_node *node = ctx->app; __efc_d_wait_del_ini_tgt() local
201 struct efc_node *node = ctx->app; __efc_d_initiate_shutdown() local
317 struct efc_node *node = ctx->app; __efc_d_wait_loop() local
343 efc_send_ls_acc_after_attach(struct efc_node *node, struct fc_frame_header *hdr, enum efc_node_send_ls_acc ls) efc_send_ls_acc_after_attach() argument
358 efc_process_prli_payload(struct efc_node *node, void *prli) efc_process_prli_payload() argument
374 struct efc_node *node = ctx->app; __efc_d_wait_plogi_acc_cmpl() local
411 struct efc_node *node = ctx->app; __efc_d_wait_logo_rsp() local
450 efc_node_init_device(struct efc_node *node, bool send_plogi) efc_node_init_device() argument
463 efc_d_check_plogi_topology(struct efc_node *node, u32 d_id) efc_d_check_plogi_topology() argument
507 struct efc_node *node = ctx->app; __efc_d_init() local
692 struct efc_node *node = ctx->app; __efc_d_wait_plogi_rsp() local
814 struct efc_node *node = ctx->app; __efc_d_wait_plogi_rsp_recvd_prli() local
879 struct efc_node *node = ctx->app; __efc_d_wait_domain_attach() local
915 struct efc_node *node = ctx->app; __efc_d_wait_topology_notify() local
981 struct efc_node *node = ctx->app; __efc_d_wait_node_attach() local
1061 struct efc_node *node = ctx->app; __efc_d_wait_attach_evt_shutdown() local
1113 struct efc_node *node = ctx->app; __efc_d_port_logged_in() local
1262 struct efc_node *node = ctx->app; __efc_d_wait_logo_acc_cmpl() local
1295 struct efc_node *node = ctx->app; __efc_d_device_ready() local
1427 struct efc_node *node = ctx->app; __efc_d_device_gone() local
1550 struct efc_node *node = ctx->app; __efc_d_wait_adisc_rsp() local
[all...]
H A Defc_node.c14 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 allocatio in efc_node_alloc()
120 efc_node_free(struct efc_node *node) efc_node_free() argument
192 efc_node_attach(struct efc_node *node) efc_node_attach() argument
246 efc_node_update_display_name(struct efc_node *node) efc_node_update_display_name() argument
259 efc_node_send_ls_io_cleanup(struct efc_node *node) efc_node_send_ls_io_cleanup() argument
270 efc_node_handle_implicit_logo(struct efc_node *node) efc_node_handle_implicit_logo() argument
292 efc_node_handle_explicit_logo(struct efc_node *node) efc_node_handle_explicit_logo() argument
346 efc_node_purge_pending(struct efc_node *node) efc_node_purge_pending() argument
366 struct efc_node *node = ctx->app; __efc_node_shutdown() local
425 efc_node_check_els_quiesced(struct efc_node *node) efc_node_check_els_quiesced() argument
451 efc_node_initiate_cleanup(struct efc_node *node) efc_node_initiate_cleanup() argument
468 struct efc_node *node = ctx->app; __efc_node_wait_els_shutdown() local
542 struct efc_node *node = ctx->app; __efc_node_wait_node_free() local
591 struct efc_node *node = ctx->app; __efc_node_wait_ios_shutdown() local
648 struct efc_node *node = NULL; __efc_node_common() local
763 efc_node_save_sparms(struct efc_node *node, void *payload) efc_node_save_sparms() argument
769 efc_node_post_event(struct efc_node *node, enum efc_sm_event evt, void *arg) efc_node_post_event() argument
801 efc_node_transition(struct efc_node *node, void (*state)(struct efc_sm_ctx *, enum efc_sm_event, void *), void *data) efc_node_transition() argument
825 efc_node_get_wwpn(struct efc_node *node) efc_node_get_wwpn() argument
834 efc_node_get_wwnn(struct efc_node *node) efc_node_get_wwnn() argument
861 efc_els_io_list_empty(struct efc_node *node, struct list_head *list) efc_els_io_list_empty() argument
873 efc_node_pause(struct efc_node *node, void (*state)(struct efc_sm_ctx *, enum efc_sm_event, void *)) efc_node_pause() argument
886 struct efc_node *node = ctx->app; __efc_node_paused() local
925 efc_node_recv_els_frame(struct efc_node *node, struct efc_hw_sequence *seq) efc_node_recv_els_frame() argument
966 efc_node_recv_ct_frame(struct efc_node *node, struct efc_hw_sequence *seq) efc_node_recv_ct_frame() argument
981 efc_node_recv_fcp_cmd(struct efc_node *node, struct efc_hw_sequence *seq) efc_node_recv_fcp_cmd() argument
993 efc_process_node_pending(struct efc_node *node) efc_process_node_pending() argument
1037 efc_scsi_sess_reg_complete(struct efc_node *node, u32 status) efc_scsi_sess_reg_complete() argument
1053 efc_scsi_del_initiator_complete(struct efc *efc, struct efc_node *node) efc_scsi_del_initiator_complete() argument
1064 efc_scsi_del_target_complete(struct efc *efc, struct efc_node *node) efc_scsi_del_target_complete() argument
1075 efc_scsi_io_list_empty(struct efc *efc, struct efc_node *node) efc_scsi_io_list_empty() argument
1084 efc_node_post_els_resp(struct efc_node *node, u32 evt, void *arg) efc_node_post_els_resp() argument
1094 efc_node_post_shutdown(struct efc_node *node, void *arg) efc_node_post_shutdown() argument
[all...]
H A Defc_fabric.c8 * This file implements remote node state machines for:
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()
37 rc = efc_cmd_node_detach(efc, &node->rnode); in efc_fabric_initiate_shutdown()
39 node_printf(node, "Failed freeing HW node, r in efc_fabric_initiate_shutdown()
54 struct efc_node *node = NULL; __efc_fabric_common() local
76 struct efc_node *node = ctx->app; __efc_fabric_init() local
100 efc_fabric_set_topology(struct efc_node *node, enum efc_nport_topology topology) efc_fabric_set_topology() argument
107 efc_fabric_notify_topology(struct efc_node *node) efc_fabric_notify_topology() argument
135 struct efc_node *node = ctx->app; __efc_fabric_flogi_wait_rsp() local
240 struct efc_node *node = ctx->app; __efc_vport_fabric_init() local
263 struct efc_node *node = ctx->app; __efc_fabric_fdisc_wait_rsp() local
356 struct efc_node *node = ctx->app; __efc_fabric_wait_domain_attach() local
397 struct efc_node *node = ctx->app; __efc_fabric_idle() local
414 struct efc_node *node = ctx->app; __efc_ns_init() local
436 struct efc_node *node = ctx->app; __efc_ns_plogi_wait_rsp() local
471 struct efc_node *node = ctx->app; __efc_ns_wait_node_attach() local
525 struct efc_node *node = ctx->app; __efc_fabric_wait_attach_evt_shutdown() local
569 struct efc_node *node = ctx->app; __efc_ns_rftid_wait_rsp() local
604 struct efc_node *node = ctx->app; __efc_ns_rffid_wait_rsp() local
647 efc_process_gidpt_payload(struct efc_node *node, void *data, u32 gidpt_len) efc_process_gidpt_payload() argument
791 struct efc_node *node = ctx->app; __efc_ns_gidpt_wait_rsp() local
840 struct efc_node *node = ctx->app; __efc_ns_idle() local
889 struct efc_node *node = from_timer(node, t, gidpt_delay_timer); gidpt_delay_timer_cb() local
900 struct efc_node *node = ctx->app; __efc_ns_gidpt_delay() local
951 struct efc_node *node = ctx->app; __efc_fabctl_init() local
975 struct efc_node *node = ctx->app; __efc_fabctl_wait_scr_rsp() local
1002 efc_process_rscn(struct efc_node *node, struct efc_node_cb *cbdata) efc_process_rscn() argument
1021 struct efc_node *node = ctx->app; __efc_fabctl_ready() local
1057 struct efc_node *node = ctx->app; __efc_fabctl_wait_ls_acc_cmpl() local
1121 struct efc_node *node = ctx->app; __efc_p2p_wait_domain_attach() local
1211 struct efc_node *node = ctx->app; __efc_p2p_rnode_init() local
1240 struct efc_node *node = ctx->app; __efc_p2p_wait_flogi_acc_cmpl() local
1316 struct efc_node *node = ctx->app; __efc_p2p_wait_plogi_rsp() local
1393 struct efc_node *node = ctx->app; __efc_p2p_wait_plogi_rsp_recvd_prli() local
1461 struct efc_node *node = ctx->app; __efc_p2p_wait_node_attach() local
[all...]
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Drbtree.py15 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
[all...]
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Drbtree.py15 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
[all...]
/kernel/linux/linux-6.6/scripts/dtc/
H A Dchecks.c29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
62 struct node *node, in check_msg()
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 in check_msg()
61 check_msg(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const char *fmt, ...) check_msg() argument
134 check_nodes_props(struct check *c, struct dt_info *dti, struct node *node) check_nodes_props() argument
199 check_always_fail(struct check *c, struct dt_info *dti, struct node *node) check_always_fail() argument
206 check_is_string(struct check *c, struct dt_info *dti, struct node *node) check_is_string() argument
224 check_is_string_list(struct check *c, struct dt_info *dti, struct node *node) check_is_string_list() argument
253 check_is_cell(struct check *c, struct dt_info *dti, struct node *node) check_is_cell() argument
275 check_duplicate_node_names(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_node_names() argument
289 check_duplicate_property_names(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_property_names() argument
312 check_node_name_chars(struct check *c, struct dt_info *dti, struct node *node) check_node_name_chars() argument
323 check_node_name_chars_strict(struct check *c, struct dt_info *dti, struct node *node) check_node_name_chars_strict() argument
334 check_node_name_format(struct check *c, struct dt_info *dti, struct node *node) check_node_name_format() argument
342 check_node_name_vs_property_name(struct check *c, struct dt_info *dti, struct node *node) check_node_name_vs_property_name() argument
356 check_unit_address_vs_reg(struct check *c, struct dt_info *dti, struct node *node) check_unit_address_vs_reg() argument
383 check_property_name_chars(struct check *c, struct dt_info *dti, struct node *node) check_property_name_chars() argument
398 check_property_name_chars_strict(struct check *c, struct dt_info *dti, struct node *node) check_property_name_chars_strict() argument
437 check_duplicate_label(struct check *c, struct dt_info *dti, const char *label, struct node *node, struct property *prop, struct marker *mark) check_duplicate_label() argument
464 check_duplicate_label_node(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_label_node() argument
485 check_phandle_prop(struct check *c, struct dt_info *dti, struct node *node, const char *propname) check_phandle_prop() argument
532 check_explicit_phandles(struct check *c, struct dt_info *dti, struct node *node) check_explicit_phandles() argument
568 check_name_properties(struct check *c, struct dt_info *dti, struct node *node) check_name_properties() argument
602 fixup_phandle_references(struct check *c, struct dt_info *dti, struct node *node) fixup_phandle_references() argument
637 fixup_path_references(struct check *c, struct dt_info *dti, struct node *node) fixup_path_references() argument
668 fixup_omit_unused_nodes(struct check *c, struct dt_info *dti, struct node *node) fixup_omit_unused_nodes() argument
691 check_names_is_string_list(struct check *c, struct dt_info *dti, struct node *node) check_names_is_string_list() argument
706 check_alias_paths(struct check *c, struct dt_info *dti, struct node *node) check_alias_paths() argument
731 fixup_addr_size_cells(struct check *c, struct dt_info *dti, struct node *node) fixup_addr_size_cells() argument
755 check_reg_format(struct check *c, struct dt_info *dti, struct node *node) check_reg_format() argument
784 check_ranges_format(struct check *c, struct dt_info *dti, struct node *node) check_ranges_format() argument
832 check_pci_bridge(struct check *c, struct dt_info *dti, struct node *node) check_pci_bridge() argument
873 check_pci_device_bus_num(struct check *c, struct dt_info *dti, struct node *node) check_pci_device_bus_num() argument
903 check_pci_device_reg(struct check *c, struct dt_info *dti, struct node *node) check_pci_device_reg() argument
950 node_is_compatible(struct node *node, const char *compat) node_is_compatible() argument
967 check_simple_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_simple_bus_bridge() argument
975 check_simple_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_simple_bus_reg() argument
1018 check_i2c_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_i2c_bus_bridge() argument
1047 check_i2c_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_i2c_bus_reg() argument
1095 check_spi_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_spi_bus_bridge() argument
1136 check_spi_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_spi_bus_reg() argument
1167 check_unit_address_format(struct check *c, struct dt_info *dti, struct node *node) check_unit_address_format() argument
1192 check_avoid_default_addr_size(struct check *c, struct dt_info *dti, struct node *node) check_avoid_default_addr_size() argument
1215 check_avoid_unnecessary_addr_size(struct check *c, struct dt_info *dti, struct node *node) check_avoid_unnecessary_addr_size() argument
1239 node_is_disabled(struct node *node) node_is_disabled() argument
1253 check_unique_unit_address_common(struct check *c, struct dt_info *dti, struct node *node, bool disable_check) check_unique_unit_address_common() argument
1290 check_unique_unit_address(struct check *c, struct dt_info *dti, struct node *node) check_unique_unit_address() argument
1297 check_unique_unit_address_if_enabled(struct check *c, struct dt_info *dti, struct node *node) check_unique_unit_address_if_enabled() argument
1305 check_obsolete_chosen_interrupt_controller(struct check *c, struct dt_info *dti, struct node *node) check_obsolete_chosen_interrupt_controller() argument
1329 check_chosen_node_is_root(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_is_root() argument
1340 check_chosen_node_bootargs(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_bootargs() argument
1357 check_chosen_node_stdout_path(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_stdout_path() argument
1384 check_property_phandle_args(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const struct provider *provider) check_property_phandle_args() argument
1464 check_provider_cells_property(struct check *c, struct dt_info *dti, struct node *node) check_provider_cells_property() argument
1514 check_gpios_property(struct check *c, struct dt_info *dti, struct node *node) check_gpios_property() argument
1539 check_deprecated_gpio_property(struct check *c, struct dt_info *dti, struct node *node) check_deprecated_gpio_property() argument
1559 node_is_interrupt_provider(struct node *node) node_is_interrupt_provider() argument
1574 check_interrupt_provider(struct check *c, struct dt_info *dti, struct node *node) check_interrupt_provider() argument
1596 check_interrupt_map(struct check *c, struct dt_info *dti, struct node *node) check_interrupt_map() argument
1680 check_interrupts_property(struct check *c, struct dt_info *dti, struct node *node) check_interrupts_property() argument
1758 check_graph_nodes(struct check *c, struct dt_info *dti, struct node *node) check_graph_nodes() argument
1781 check_graph_child_address(struct check *c, struct dt_info *dti, struct node *node) check_graph_child_address() argument
1806 check_graph_reg(struct check *c, struct dt_info *dti, struct node *node) check_graph_reg() argument
1837 check_graph_port(struct check *c, struct dt_info *dti, struct node *node) check_graph_port() argument
1854 struct node *node; get_remote_endpoint() local
1873 check_graph_endpoint(struct check *c, struct dt_info *dti, struct node *node) check_graph_endpoint() argument
[all...]
H A Dlivetree.c88 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 in name_node()
128 omit_node_if_unused(struct node *node) omit_node_if_unused() argument
135 reference_node(struct node *node) reference_node() argument
231 struct node *node; add_orphan_node() local
266 add_property(struct node *node, struct property *prop) add_property() argument
279 delete_property_by_name(struct node *node, char *name) delete_property_by_name() argument
314 struct node *node = parent->children; delete_node_by_name() local
325 delete_node(struct node *node) delete_node() argument
338 append_to_property(struct node *node, char *name, const void *data, int len, enum markertype type) append_to_property() argument
416 get_unitname(struct node *node) get_unitname() argument
424 get_property(struct node *node, const char *propname) get_property() argument
447 get_property_by_label(struct node *tree, const char *label, struct node **node) get_property_by_label() argument
473 get_marker_label(struct node *tree, const char *label, struct node **node, struct property **prop) get_marker_label() argument
501 get_subnode(struct node *node, const char *nodename) get_subnode() argument
540 struct node *child, *node; get_node_by_label() local
560 struct node *child, *node; get_node_by_phandle() local
619 get_node_phandle(struct node *root, struct node *node) get_node_phandle() argument
732 sort_properties(struct node *node) sort_properties() argument
768 sort_subnodes(struct node *node) sort_subnodes() argument
794 sort_node(struct node *node) sort_node() argument
813 struct node *node; build_and_name_child_node() local
836 any_label_tree(struct dt_info *dti, struct node *node) any_label_tree() argument
850 generate_label_tree_internal(struct dt_info *dti, struct node *an, struct node *node, bool allocph) generate_label_tree_internal() argument
891 any_fixup_tree(struct dt_info *dti, struct node *node) any_fixup_tree() argument
913 add_fixup_entry(struct dt_info *dti, struct node *fn, struct node *node, struct property *prop, struct marker *m) add_fixup_entry() argument
939 generate_fixups_tree_internal(struct dt_info *dti, struct node *fn, struct node *node) generate_fixups_tree_internal() argument
962 any_local_fixup_tree(struct dt_info *dti, struct node *node) any_local_fixup_tree() argument
984 add_local_fixup_entry(struct dt_info *dti, struct node *lfn, struct node *node, struct property *prop, struct marker *m, struct node *refnode) add_local_fixup_entry() argument
1020 generate_local_fixups_tree_internal(struct dt_info *dti, struct node *lfn, struct node *node) generate_local_fixups_tree_internal() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Dbootconfig.c42 * 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).
111 * xbc_root_node() - Get the root node of extended boot config
113 * Return the address of root node of extended boot config. If the
125 * xbc_node_index() - Get the index of XBC node
126 * @node
130 xbc_node_index(struct xbc_node *node) xbc_node_index() argument
142 xbc_node_get_parent(struct xbc_node *node) xbc_node_get_parent() argument
154 xbc_node_get_child(struct xbc_node *node) xbc_node_get_child() argument
168 xbc_node_get_next(struct xbc_node *node) xbc_node_get_next() argument
180 xbc_node_get_data(struct xbc_node *node) xbc_node_get_data() argument
191 xbc_node_match_prefix(struct xbc_node *node, const char **prefix) xbc_node_match_prefix() argument
221 struct xbc_node *node; xbc_node_find_subkey() local
259 struct xbc_node *node = xbc_node_find_subkey(parent, key); xbc_node_find_value() local
290 xbc_node_compose_key_after(struct xbc_node *root, struct xbc_node *node, char *buf, size_t size) xbc_node_compose_key_after() argument
339 xbc_node_find_next_leaf(struct xbc_node *root, struct xbc_node *node) xbc_node_find_next_leaf() argument
409 xbc_init_node(struct xbc_node *node, char *data, uint32_t flag) xbc_init_node() argument
425 struct xbc_node *node; xbc_add_node() local
437 xbc_last_sibling(struct xbc_node *node) xbc_last_sibling() argument
445 xbc_last_child(struct xbc_node *node) xbc_last_child() argument
455 struct xbc_node *sib, *node = xbc_add_node(data, flag); __xbc_add_sibling() local
492 struct xbc_node *node = xbc_add_sibling(data, flag); xbc_add_child() local
611 struct xbc_node *node; xbc_parse_array() local
634 find_match_node(struct xbc_node *node, char *k) find_match_node() argument
646 struct xbc_node *node, *child; __xbc_add_key() local
[all...]
/kernel/linux/linux-5.10/kernel/gcov/
H A Dfs.c33 * @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 in get_accumulated_info()
180 struct gcov_node *node = inode->i_private; gcov_seq_open() local
240 struct gcov_node *node; get_node_by_name() local
255 reset_node(struct gcov_node *node) reset_node() argument
277 struct gcov_node *node; gcov_seq_write() local
366 add_links(struct gcov_node *node, struct dentry *parent) add_links() argument
410 init_node(struct gcov_node *node, struct gcov_info *info, const char *name, struct gcov_node *parent) init_node() argument
432 struct gcov_node *node; new_node() local
464 remove_links(struct gcov_node *node) remove_links() argument
480 release_node(struct gcov_node *node) release_node() argument
493 remove_node(struct gcov_node *node) remove_node() argument
511 struct gcov_node *node; get_child_by_name() local
528 struct gcov_node *node; reset_write() local
570 struct gcov_node *node; add_node() local
614 add_info(struct gcov_node *node, struct gcov_info *info) add_info() argument
667 get_info_index(struct gcov_node *node, struct gcov_info *info) get_info_index() argument
681 save_info(struct gcov_node *node, struct gcov_info *info) save_info() argument
699 remove_info(struct gcov_node *node, struct gcov_info *info) remove_info() argument
730 struct gcov_node *node; gcov_event() local
[all...]
/kernel/linux/linux-5.10/scripts/dtc/
H A Dchecks.c29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
62 struct node *node, in check_msg()
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 in check_msg()
61 check_msg(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const char *fmt, ...) check_msg() argument
134 check_nodes_props(struct check *c, struct dt_info *dti, struct node *node) check_nodes_props() argument
191 check_always_fail(struct check *c, struct dt_info *dti, struct node *node) check_always_fail() argument
198 check_is_string(struct check *c, struct dt_info *dti, struct node *node) check_is_string() argument
216 check_is_string_list(struct check *c, struct dt_info *dti, struct node *node) check_is_string_list() argument
245 check_is_cell(struct check *c, struct dt_info *dti, struct node *node) check_is_cell() argument
267 check_duplicate_node_names(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_node_names() argument
281 check_duplicate_property_names(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_property_names() argument
303 check_node_name_chars(struct check *c, struct dt_info *dti, struct node *node) check_node_name_chars() argument
314 check_node_name_chars_strict(struct check *c, struct dt_info *dti, struct node *node) check_node_name_chars_strict() argument
325 check_node_name_format(struct check *c, struct dt_info *dti, struct node *node) check_node_name_format() argument
333 check_unit_address_vs_reg(struct check *c, struct dt_info *dti, struct node *node) check_unit_address_vs_reg() argument
360 check_property_name_chars(struct check *c, struct dt_info *dti, struct node *node) check_property_name_chars() argument
375 check_property_name_chars_strict(struct check *c, struct dt_info *dti, struct node *node) check_property_name_chars_strict() argument
414 check_duplicate_label(struct check *c, struct dt_info *dti, const char *label, struct node *node, struct property *prop, struct marker *mark) check_duplicate_label() argument
441 check_duplicate_label_node(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_label_node() argument
462 check_phandle_prop(struct check *c, struct dt_info *dti, struct node *node, const char *propname) check_phandle_prop() argument
509 check_explicit_phandles(struct check *c, struct dt_info *dti, struct node *node) check_explicit_phandles() argument
545 check_name_properties(struct check *c, struct dt_info *dti, struct node *node) check_name_properties() argument
579 fixup_phandle_references(struct check *c, struct dt_info *dti, struct node *node) fixup_phandle_references() argument
614 fixup_path_references(struct check *c, struct dt_info *dti, struct node *node) fixup_path_references() argument
645 fixup_omit_unused_nodes(struct check *c, struct dt_info *dti, struct node *node) fixup_omit_unused_nodes() argument
669 check_names_is_string_list(struct check *c, struct dt_info *dti, struct node *node) check_names_is_string_list() argument
685 check_alias_paths(struct check *c, struct dt_info *dti, struct node *node) check_alias_paths() argument
710 fixup_addr_size_cells(struct check *c, struct dt_info *dti, struct node *node) fixup_addr_size_cells() argument
734 check_reg_format(struct check *c, struct dt_info *dti, struct node *node) check_reg_format() argument
763 check_ranges_format(struct check *c, struct dt_info *dti, struct node *node) check_ranges_format() argument
811 check_pci_bridge(struct check *c, struct dt_info *dti, struct node *node) check_pci_bridge() argument
852 check_pci_device_bus_num(struct check *c, struct dt_info *dti, struct node *node) check_pci_device_bus_num() argument
882 check_pci_device_reg(struct check *c, struct dt_info *dti, struct node *node) check_pci_device_reg() argument
929 node_is_compatible(struct node *node, const char *compat) node_is_compatible() argument
946 check_simple_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_simple_bus_bridge() argument
954 check_simple_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_simple_bus_reg() argument
997 check_i2c_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_i2c_bus_bridge() argument
1026 check_i2c_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_i2c_bus_reg() argument
1074 check_spi_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_spi_bus_bridge() argument
1115 check_spi_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_spi_bus_reg() argument
1146 check_unit_address_format(struct check *c, struct dt_info *dti, struct node *node) check_unit_address_format() argument
1171 check_avoid_default_addr_size(struct check *c, struct dt_info *dti, struct node *node) check_avoid_default_addr_size() argument
1194 check_avoid_unnecessary_addr_size(struct check *c, struct dt_info *dti, struct node *node) check_avoid_unnecessary_addr_size() argument
1218 node_is_disabled(struct node *node) node_is_disabled() argument
1232 check_unique_unit_address_common(struct check *c, struct dt_info *dti, struct node *node, bool disable_check) check_unique_unit_address_common() argument
1269 check_unique_unit_address(struct check *c, struct dt_info *dti, struct node *node) check_unique_unit_address() argument
1276 check_unique_unit_address_if_enabled(struct check *c, struct dt_info *dti, struct node *node) check_unique_unit_address_if_enabled() argument
1284 check_obsolete_chosen_interrupt_controller(struct check *c, struct dt_info *dti, struct node *node) check_obsolete_chosen_interrupt_controller() argument
1308 check_chosen_node_is_root(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_is_root() argument
1319 check_chosen_node_bootargs(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_bootargs() argument
1336 check_chosen_node_stdout_path(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_stdout_path() argument
1363 check_property_phandle_args(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const struct provider *provider) check_property_phandle_args() argument
1440 check_provider_cells_property(struct check *c, struct dt_info *dti, struct node *node) check_provider_cells_property() argument
1496 check_gpios_property(struct check *c, struct dt_info *dti, struct node *node) check_gpios_property() argument
1521 check_deprecated_gpio_property(struct check *c, struct dt_info *dti, struct node *node) check_deprecated_gpio_property() argument
1544 node_is_interrupt_provider(struct node *node) node_is_interrupt_provider() argument
1559 check_interrupt_provider(struct check *c, struct dt_info *dti, struct node *node) check_interrupt_provider() argument
1580 check_interrupts_property(struct check *c, struct dt_info *dti, struct node *node) check_interrupts_property() argument
1658 check_graph_nodes(struct check *c, struct dt_info *dti, struct node *node) check_graph_nodes() argument
1681 check_graph_child_address(struct check *c, struct dt_info *dti, struct node *node) check_graph_child_address() argument
1706 check_graph_reg(struct check *c, struct dt_info *dti, struct node *node) check_graph_reg() argument
1737 check_graph_port(struct check *c, struct dt_info *dti, struct node *node) check_graph_port() argument
1754 struct node *node; get_remote_endpoint() local
1773 check_graph_endpoint(struct check *c, struct dt_info *dti, struct node *node) check_graph_endpoint() argument
[all...]
H A Dlivetree.c88 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 in name_node()
128 omit_node_if_unused(struct node *node) omit_node_if_unused() argument
135 reference_node(struct node *node) reference_node() argument
231 struct node *node; add_orphan_node() local
266 add_property(struct node *node, struct property *prop) add_property() argument
279 delete_property_by_name(struct node *node, char *name) delete_property_by_name() argument
314 struct node *node = parent->children; delete_node_by_name() local
325 delete_node(struct node *node) delete_node() argument
338 append_to_property(struct node *node, char *name, const void *data, int len, enum markertype type) append_to_property() argument
416 get_unitname(struct node *node) get_unitname() argument
424 get_property(struct node *node, const char *propname) get_property() argument
447 get_property_by_label(struct node *tree, const char *label, struct node **node) get_property_by_label() argument
473 get_marker_label(struct node *tree, const char *label, struct node **node, struct property **prop) get_marker_label() argument
501 get_subnode(struct node *node, const char *nodename) get_subnode() argument
540 struct node *child, *node; get_node_by_label() local
560 struct node *child, *node; get_node_by_phandle() local
592 get_node_phandle(struct node *root, struct node *node) get_node_phandle() argument
705 sort_properties(struct node *node) sort_properties() argument
741 sort_subnodes(struct node *node) sort_subnodes() argument
767 sort_node(struct node *node) sort_node() argument
786 struct node *node; build_and_name_child_node() local
809 any_label_tree(struct dt_info *dti, struct node *node) any_label_tree() argument
823 generate_label_tree_internal(struct dt_info *dti, struct node *an, struct node *node, bool allocph) generate_label_tree_internal() argument
864 any_fixup_tree(struct dt_info *dti, struct node *node) any_fixup_tree() argument
886 add_fixup_entry(struct dt_info *dti, struct node *fn, struct node *node, struct property *prop, struct marker *m) add_fixup_entry() argument
906 generate_fixups_tree_internal(struct dt_info *dti, struct node *fn, struct node *node) generate_fixups_tree_internal() argument
929 any_local_fixup_tree(struct dt_info *dti, struct node *node) any_local_fixup_tree() argument
951 add_local_fixup_entry(struct dt_info *dti, struct node *lfn, struct node *node, struct property *prop, struct marker *m, struct node *refnode) add_local_fixup_entry() argument
987 generate_local_fixups_tree_internal(struct dt_info *dti, struct node *lfn, struct node *node) generate_local_fixups_tree_internal() argument
[all...]
/kernel/linux/linux-5.10/fs/hfs/
H A Dbnode.c9 * 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, voi argument
76 hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) hfs_bnode_write() argument
88 hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) hfs_bnode_write_u16() argument
95 hfs_bnode_write_u8(struct hfs_bnode *node, int off, u8 data) hfs_bnode_write_u8() argument
101 hfs_bnode_clear(struct hfs_bnode *node, int off, int len) hfs_bnode_clear() argument
132 hfs_bnode_move(struct hfs_bnode *node, int dst, int src, int len) hfs_bnode_move() argument
149 hfs_bnode_dump(struct hfs_bnode *node) hfs_bnode_dump() argument
186 hfs_bnode_unlink(struct hfs_bnode *node) hfs_bnode_unlink() argument
235 struct hfs_bnode *node; hfs_bnode_findhash() local
253 struct hfs_bnode *node, *node2; __hfs_bnode_create() local
313 hfs_bnode_unhash(struct hfs_bnode *node) hfs_bnode_unhash() argument
330 struct hfs_bnode *node; hfs_bnode_find() local
411 hfs_bnode_free(struct hfs_bnode *node) hfs_bnode_free() argument
423 struct hfs_bnode *node; hfs_bnode_create() local
459 hfs_bnode_get(struct hfs_bnode *node) hfs_bnode_get() argument
470 hfs_bnode_put(struct hfs_bnode *node) hfs_bnode_put() argument
[all...]
/kernel/linux/linux-5.10/lib/
H A Dbootconfig.c21 * 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
65 xbc_node_index(struct xbc_node *node) xbc_node_index() argument
77 xbc_node_get_parent(struct xbc_node *node) xbc_node_get_parent() argument
89 xbc_node_get_child(struct xbc_node *node) xbc_node_get_child() argument
103 xbc_node_get_next(struct xbc_node *node) xbc_node_get_next() argument
115 xbc_node_get_data(struct xbc_node *node) xbc_node_get_data() argument
126 xbc_node_match_prefix(struct xbc_node *node, const char **prefix) xbc_node_match_prefix() argument
156 struct xbc_node *node; xbc_node_find_child() local
194 struct xbc_node *node = xbc_node_find_child(parent, key); xbc_node_find_value() local
225 xbc_node_compose_key_after(struct xbc_node *root, struct xbc_node *node, char *buf, size_t size) xbc_node_compose_key_after() argument
274 xbc_node_find_next_leaf(struct xbc_node *root, struct xbc_node *node) xbc_node_find_next_leaf() argument
334 xbc_init_node(struct xbc_node *node, char *data, u32 flag) xbc_init_node() argument
350 struct xbc_node *node; xbc_add_node() local
362 xbc_last_sibling(struct xbc_node *node) xbc_last_sibling() argument
372 struct xbc_node *sib, *node = xbc_add_node(data, flag); xbc_add_sibling() local
397 struct xbc_node *node = xbc_add_sibling(data, flag); xbc_add_child() local
516 struct xbc_node *node; xbc_parse_array() local
536 find_match_node(struct xbc_node *node, char *k) find_match_node() argument
548 struct xbc_node *node, *child; __xbc_add_key() local
[all...]
/kernel/linux/linux-6.6/fs/dlm/
H A Dmidcomms.c29 * 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 want
200 struct midcomms_node *node; global() member
255 dlm_midcomms_state(struct midcomms_node *node) dlm_midcomms_state() argument
260 dlm_midcomms_flags(struct midcomms_node *node) dlm_midcomms_flags() argument
265 dlm_midcomms_send_queue_cnt(struct midcomms_node *node) dlm_midcomms_send_queue_cnt() argument
270 dlm_midcomms_version(struct midcomms_node *node) dlm_midcomms_version() argument
277 struct midcomms_node *node; __find_node() local
295 dlm_mhandle_delete(struct midcomms_node *node, struct dlm_mhandle *mh) dlm_mhandle_delete() argument
303 dlm_send_queue_flush(struct midcomms_node *node) dlm_send_queue_flush() argument
318 midcomms_node_reset(struct midcomms_node *node) midcomms_node_reset() argument
341 struct midcomms_node *node; dlm_midcomms_addr() local
402 dlm_send_ack_threshold(struct midcomms_node *node, uint32_t threshold) dlm_send_ack_threshold() argument
424 dlm_send_fin(struct midcomms_node *node, void (*ack_rcv)(struct midcomms_node *node)) dlm_send_fin() argument
452 dlm_receive_ack(struct midcomms_node *node, uint32_t seq) dlm_receive_ack() argument
480 dlm_pas_fin_ack_rcv(struct midcomms_node *node) dlm_pas_fin_ack_rcv() argument
520 dlm_midcomms_receive_buffer(const union dlm_packet *p, struct midcomms_node *node, uint32_t seq) dlm_midcomms_receive_buffer() argument
662 struct midcomms_node *node; dlm_midcomms_receive_buffer_3_2() local
790 struct midcomms_node *node; dlm_midcomms_receive_buffer_3_1() local
922 struct midcomms_node *node; dlm_midcomms_unack_msg_resend() local
1008 struct midcomms_node *node; dlm_midcomms_get_mhandle() local
1159 struct midcomms_node *node = container_of(rcu, struct midcomms_node, rcu); midcomms_node_release() local
1168 struct midcomms_node *node; dlm_midcomms_exit() local
1188 dlm_act_fin_ack_rcv(struct midcomms_node *node) dlm_act_fin_ack_rcv() argument
1221 struct midcomms_node *node; dlm_midcomms_add_member() local
1266 struct midcomms_node *node; dlm_midcomms_remove_member() local
1328 struct midcomms_node *node; dlm_midcomms_version_wait() local
1347 midcomms_shutdown(struct midcomms_node *node) midcomms_shutdown() argument
1398 struct midcomms_node *node; dlm_midcomms_shutdown() local
1422 struct midcomms_node *node; dlm_midcomms_close() local
1470 struct midcomms_node *node; global() member
1495 dlm_midcomms_rawmsg_send(struct midcomms_node *node, void *buf, int buflen) dlm_midcomms_rawmsg_send() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Drbtree.h33 #define RB_EMPTY_NODE(node) \
34 ((node)->__rb_parent_color == (unsigned long)(node))
35 #define RB_CLEAR_NODE(node) \
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 in rb_link_node()
68 rb_link_node_rcu(struct rb_node *node, struct rb_node *parent, struct rb_node **rb_link) rb_link_node_rcu() argument
108 rb_insert_color_cached(struct rb_node *node, struct rb_root_cached *root, bool leftmost) rb_insert_color_cached() argument
119 rb_erase_cached(struct rb_node *node, struct rb_root_cached *root) rb_erase_cached() argument
165 rb_add_cached(struct rb_node *node, struct rb_root_cached *tree, bool (*less)(struct rb_node *, const struct rb_node *)) rb_add_cached() argument
195 rb_add(struct rb_node *node, struct rb_root *tree, bool (*less)(struct rb_node *, const struct rb_node *)) rb_add() argument
223 rb_find_add(struct rb_node *node, struct rb_root *tree, int (*cmp)(struct rb_node *, const struct rb_node *)) rb_find_add() argument
259 struct rb_node *node = tree->rb_node; rb_find() local
287 struct rb_node *node = tree->rb_node; rb_find_first() local
314 rb_next_match(const void *key, struct rb_node *node, int (*cmp)(const void *key, const struct rb_node *)) rb_next_match() argument
[all...]
/kernel/linux/linux-6.6/kernel/gcov/
H A Dfs.c34 * @list: list head for child node list
37 * @parent: parent node
251 * Return a profiling data set associated with the given node. This is
255 static struct gcov_info *get_node_info(struct gcov_node *node) in get_node_info() argument
257 if (node->num_loaded > 0) in get_node_info()
258 return node->loaded_info[0]; in get_node_info()
260 return node->unloaded_info; in get_node_info()
265 * all profiling data associated with the given node.
267 static struct gcov_info *get_accumulated_info(struct gcov_node *node) in get_accumulated_info() argument
272 if (node in get_accumulated_info()
290 struct gcov_node *node = inode->i_private; gcov_seq_open() local
350 struct gcov_node *node; get_node_by_name() local
365 reset_node(struct gcov_node *node) reset_node() argument
387 struct gcov_node *node; gcov_seq_write() local
476 add_links(struct gcov_node *node, struct dentry *parent) add_links() argument
520 init_node(struct gcov_node *node, struct gcov_info *info, const char *name, struct gcov_node *parent) init_node() argument
542 struct gcov_node *node; new_node() local
574 remove_links(struct gcov_node *node) remove_links() argument
590 release_node(struct gcov_node *node) release_node() argument
603 remove_node(struct gcov_node *node) remove_node() argument
621 struct gcov_node *node; get_child_by_name() local
638 struct gcov_node *node; reset_write() local
680 struct gcov_node *node; add_node() local
724 add_info(struct gcov_node *node, struct gcov_info *info) add_info() argument
777 get_info_index(struct gcov_node *node, struct gcov_info *info) get_info_index() argument
791 save_info(struct gcov_node *node, struct gcov_info *info) save_info() argument
809 remove_info(struct gcov_node *node, struct gcov_info *info) remove_info() argument
840 struct gcov_node *node; gcov_event() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireguard/
H A Dallowedips.c23 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 in choose()
58 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { root_free_rcu() local
71 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { root }; root_remove_peer_lists() local
87 common_bits(const struct allowedips_node *node, const u8 *key, u8 bits) common_bits() argument
99 prefix_matches(const struct allowedips_node *node, const u8 *key, u8 bits) prefix_matches() argument
114 struct allowedips_node *node = trie, *found = NULL; find_node() local
132 struct allowedips_node *node; lookup() local
153 struct allowedips_node *node = rcu_dereference_protected(trie, lockdep_is_held(lock)); node_placement() local
169 connect_node(struct allowedips_node __rcu **parent, u8 bit, struct allowedips_node *node) connect_node() argument
175 choose_and_connect_node(struct allowedips_node *parent, struct allowedips_node *node) choose_and_connect_node() argument
184 struct allowedips_node *node, *parent, *down, *newnode; add() local
266 struct allowedips_node *node = rcu_dereference_protected(old4, wg_allowedips_free() local
273 struct allowedips_node *node = rcu_dereference_protected(old6, wg_allowedips_free() local
306 struct allowedips_node *node, *child, **parent_bit, *parent, *tmp; wg_allowedips_remove_by_peer() local
343 wg_allowedips_read_node(struct allowedips_node *node, u8 ip[16], u8 *cidr) wg_allowedips_read_node() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireguard/
H A Dallowedips.c23 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 in choose()
58 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { root_free_rcu() local
71 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { root }; root_remove_peer_lists() local
87 common_bits(const struct allowedips_node *node, const u8 *key, u8 bits) common_bits() argument
99 prefix_matches(const struct allowedips_node *node, const u8 *key, u8 bits) prefix_matches() argument
114 struct allowedips_node *node = trie, *found = NULL; find_node() local
132 struct allowedips_node *node; lookup() local
153 struct allowedips_node *node = rcu_dereference_protected(trie, lockdep_is_held(lock)); node_placement() local
169 connect_node(struct allowedips_node __rcu **parent, u8 bit, struct allowedips_node *node) connect_node() argument
175 choose_and_connect_node(struct allowedips_node *parent, struct allowedips_node *node) choose_and_connect_node() argument
184 struct allowedips_node *node, *parent, *down, *newnode; add() local
266 struct allowedips_node *node = rcu_dereference_protected(old4, wg_allowedips_free() local
273 struct allowedips_node *node = rcu_dereference_protected(old6, wg_allowedips_free() local
306 struct allowedips_node *node, *child, **parent_bit, *parent, *tmp; wg_allowedips_remove_by_peer() local
343 wg_allowedips_read_node(struct allowedips_node *node, u8 ip[16], u8 *cidr) wg_allowedips_read_node() argument
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dbnode.c9 * 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, voi argument
75 hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) hfs_bnode_write() argument
98 hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) hfs_bnode_write_u16() argument
105 hfs_bnode_clear(struct hfs_bnode *node, int off, int len) hfs_bnode_clear() argument
185 hfs_bnode_move(struct hfs_bnode *node, int dst, int src, int len) hfs_bnode_move() argument
298 hfs_bnode_dump(struct hfs_bnode *node) hfs_bnode_dump() argument
335 hfs_bnode_unlink(struct hfs_bnode *node) hfs_bnode_unlink() argument
385 struct hfs_bnode *node; hfs_bnode_findhash() local
402 struct hfs_bnode *node, *node2; __hfs_bnode_create() local
463 hfs_bnode_unhash(struct hfs_bnode *node) hfs_bnode_unhash() argument
480 struct hfs_bnode *node; hfs_bnode_find() local
563 hfs_bnode_free(struct hfs_bnode *node) hfs_bnode_free() argument
575 struct hfs_bnode *node; hfs_bnode_create() local
611 hfs_bnode_get(struct hfs_bnode *node) hfs_bnode_get() argument
622 hfs_bnode_put(struct hfs_bnode *node) hfs_bnode_put() argument
[all...]
/kernel/linux/linux-6.6/tools/include/linux/
H A Drbtree.h42 #define RB_EMPTY_NODE(node) \
43 ((node)->__rb_parent_color == (unsigned long)(node))
44 #define RB_CLEAR_NODE(node) \
45 ((node)->__rb_parent_color = (unsigned long)(node))
62 /* Fast replacement of a single node without remove/rebalance/add/rebalance */
66 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node() argument
69 node->__rb_parent_color = (unsigned long)parent; in rb_link_node()
70 node in rb_link_node()
129 rb_insert_color_cached(struct rb_node *node, struct rb_root_cached *root, bool leftmost) rb_insert_color_cached() argument
138 rb_erase_cached(struct rb_node *node, struct rb_root_cached *root) rb_erase_cached() argument
178 rb_add_cached(struct rb_node *node, struct rb_root_cached *tree, bool (*less)(struct rb_node *, const struct rb_node *)) rb_add_cached() argument
206 rb_add(struct rb_node *node, struct rb_root *tree, bool (*less)(struct rb_node *, const struct rb_node *)) rb_add() argument
234 rb_find_add(struct rb_node *node, struct rb_root *tree, int (*cmp)(struct rb_node *, const struct rb_node *)) rb_find_add() argument
270 struct rb_node *node = tree->rb_node; rb_find() local
298 struct rb_node *node = tree->rb_node; rb_find_first() local
325 rb_next_match(const void *key, struct rb_node *node, int (*cmp)(const void *key, const struct rb_node *)) rb_next_match() argument
[all...]
/kernel/linux/linux-5.10/fs/hmdfs/comm/
H A Dconnection.c81 body->case_sensitive = conn_impl->node->sbi->s_case_sensitive; in hs_fill_case_sense_data()
88 __u8 sensitive = conn_impl->node->sbi->s_case_sensitive ? 1 : 0; in hs_parse_case_sense_data()
111 body->features = cpu_to_le64(conn_impl->node->sbi->s_features); in hs_fill_feature_data()
125 conn_impl->node->features = le64_to_cpu(body->features); in hs_parse_feature_data()
286 data_len, conn_impl->node->device_id); in hs_proc_msg_data()
295 req_len, data_len, conn_impl->node->device_id); in hs_proc_msg_data()
306 ops, data_len, conn_impl->node->device_id, hs_req->len); in hs_proc_msg_data()
409 static int hmdfs_node_waiting_evt_sum(const struct hmdfs_peer *node) in hmdfs_node_waiting_evt_sum() argument
415 sum += node->waiting_evt[i]; in hmdfs_node_waiting_evt_sum()
420 static int hmdfs_update_node_waiting_evt(struct hmdfs_peer *node, in argument
462 hmdfs_run_evt_cb_verbosely(struct hmdfs_peer *node, int raw_evt, bool sync, unsigned int seq) hmdfs_run_evt_cb_verbosely() argument
477 struct hmdfs_peer *node = hmdfs_node_evt_work() local
519 hmdfs_queue_raw_node_evt(struct hmdfs_peer *node, int evt) hmdfs_queue_raw_node_evt() argument
569 connection_handshake_notify(struct hmdfs_peer *node, int notify_type) connection_handshake_notify() argument
593 connection_to_working(struct hmdfs_peer *node) connection_to_working() argument
823 hmdfs_dump_deleting_list(struct hmdfs_peer *node) hmdfs_dump_deleting_list() argument
840 hmdfs_conn_deleting_list_empty(struct hmdfs_peer *node) hmdfs_conn_deleting_list_empty() argument
851 hmdfs_disconnect_node(struct hmdfs_peer *node) hmdfs_disconnect_node() argument
906 hmdfs_run_simple_evt_cb(struct hmdfs_peer *node, int evt) hmdfs_run_simple_evt_cb() argument
915 hmdfs_del_peer(struct hmdfs_peer *node) hmdfs_del_peer() argument
934 struct hmdfs_peer *node = NULL; hmdfs_connections_stop() local
948 get_conn_impl(struct hmdfs_peer *node, int connect_type) get_conn_impl() argument
969 set_conn_sock_quickack(struct hmdfs_peer *node) set_conn_sock_quickack() argument
1033 struct hmdfs_peer *node = NULL; lookup_peer_by_cid_unsafe() local
1068 struct hmdfs_peer *node = kzalloc(sizeof(*node), GFP_KERNEL); alloc_peer() local
[all...]
/kernel/linux/linux-6.6/fs/hmdfs/comm/
H A Dconnection.c81 body->case_sensitive = conn_impl->node->sbi->s_case_sensitive; in hs_fill_case_sense_data()
88 __u8 sensitive = conn_impl->node->sbi->s_case_sensitive ? 1 : 0; in hs_parse_case_sense_data()
111 body->features = cpu_to_le64(conn_impl->node->sbi->s_features); in hs_fill_feature_data()
125 conn_impl->node->features = le64_to_cpu(body->features); in hs_parse_feature_data()
286 data_len, conn_impl->node->device_id); in hs_proc_msg_data()
295 req_len, data_len, conn_impl->node->device_id); in hs_proc_msg_data()
306 ops, data_len, conn_impl->node->device_id, hs_req->len); in hs_proc_msg_data()
409 static int hmdfs_node_waiting_evt_sum(const struct hmdfs_peer *node) in hmdfs_node_waiting_evt_sum() argument
415 sum += node->waiting_evt[i]; in hmdfs_node_waiting_evt_sum()
420 static int hmdfs_update_node_waiting_evt(struct hmdfs_peer *node, in argument
462 hmdfs_run_evt_cb_verbosely(struct hmdfs_peer *node, int raw_evt, bool sync, unsigned int seq) hmdfs_run_evt_cb_verbosely() argument
477 struct hmdfs_peer *node = hmdfs_node_evt_work() local
519 hmdfs_queue_raw_node_evt(struct hmdfs_peer *node, int evt) hmdfs_queue_raw_node_evt() argument
569 connection_handshake_notify(struct hmdfs_peer *node, int notify_type) connection_handshake_notify() argument
593 connection_to_working(struct hmdfs_peer *node) connection_to_working() argument
823 hmdfs_dump_deleting_list(struct hmdfs_peer *node) hmdfs_dump_deleting_list() argument
840 hmdfs_conn_deleting_list_empty(struct hmdfs_peer *node) hmdfs_conn_deleting_list_empty() argument
851 hmdfs_disconnect_node(struct hmdfs_peer *node) hmdfs_disconnect_node() argument
906 hmdfs_run_simple_evt_cb(struct hmdfs_peer *node, int evt) hmdfs_run_simple_evt_cb() argument
915 hmdfs_del_peer(struct hmdfs_peer *node) hmdfs_del_peer() argument
934 struct hmdfs_peer *node = NULL; hmdfs_connections_stop() local
948 get_conn_impl(struct hmdfs_peer *node, int connect_type) get_conn_impl() argument
969 set_conn_sock_quickack(struct hmdfs_peer *node) set_conn_sock_quickack() argument
1033 struct hmdfs_peer *node = NULL; lookup_peer_by_cid_unsafe() local
1068 struct hmdfs_peer *node = kzalloc(sizeof(*node), GFP_KERNEL); alloc_peer() local
[all...]
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dbnode.c9 * 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, voi argument
73 hfs_bnode_write(struct hfs_bnode *node, void *buf, int off, int len) hfs_bnode_write() argument
94 hfs_bnode_write_u16(struct hfs_bnode *node, int off, u16 data) hfs_bnode_write_u16() argument
101 hfs_bnode_clear(struct hfs_bnode *node, int off, int len) hfs_bnode_clear() argument
175 hfs_bnode_move(struct hfs_bnode *node, int dst, int src, int len) hfs_bnode_move() argument
291 hfs_bnode_dump(struct hfs_bnode *node) hfs_bnode_dump() argument
328 hfs_bnode_unlink(struct hfs_bnode *node) hfs_bnode_unlink() argument
378 struct hfs_bnode *node; hfs_bnode_findhash() local
395 struct hfs_bnode *node, *node2; __hfs_bnode_create() local
452 hfs_bnode_unhash(struct hfs_bnode *node) hfs_bnode_unhash() argument
469 struct hfs_bnode *node; hfs_bnode_find() local
552 hfs_bnode_free(struct hfs_bnode *node) hfs_bnode_free() argument
564 struct hfs_bnode *node; hfs_bnode_create() local
598 hfs_bnode_get(struct hfs_bnode *node) hfs_bnode_get() argument
609 hfs_bnode_put(struct hfs_bnode *node) hfs_bnode_put() argument
[all...]

Completed in 20 milliseconds

12345678910>>...278