Home
last modified time | relevance | path

Searched refs:node_offset (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/of/
Dfdt_address.c163 static u64 __init fdt_translate_address(const void *blob, int node_offset) in fdt_translate_address() argument
173 fdt_get_name(blob, node_offset, NULL)); in fdt_translate_address()
175 reg = fdt_getprop(blob, node_offset, "reg", &len); in fdt_translate_address()
178 fdt_get_name(blob, node_offset, NULL)); in fdt_translate_address()
183 parent = fdt_parent_offset(blob, node_offset); in fdt_translate_address()
192 fdt_get_name(blob, node_offset, NULL)); in fdt_translate_address()
204 node_offset = parent; in fdt_translate_address()
205 parent = fdt_parent_offset(blob, node_offset); in fdt_translate_address()
219 fdt_get_name(blob, node_offset, NULL)); in fdt_translate_address()
227 if (fdt_translate_one(blob, node_offset, bus, pbus, in fdt_translate_address()
/linux-6.6.21/arch/arm/boot/compressed/
Datags_to_fdt.c15 static int node_offset(void *fdt, const char *node_path) in node_offset() function
27 int offset = node_offset(fdt, node_path); in setprop()
36 int offset = node_offset(fdt, node_path); in setprop_string()
45 int offset = node_offset(fdt, node_path); in setprop_cell()
/linux-6.6.21/kernel/bpf/
Dbpf_lru_list.c565 u32 node_offset, u32 elem_size, in bpf_common_lru_populate() argument
574 node = (struct bpf_lru_node *)(buf + node_offset); in bpf_common_lru_populate()
583 u32 node_offset, u32 elem_size, in bpf_percpu_lru_populate() argument
599 node = (struct bpf_lru_node *)(buf + node_offset); in bpf_percpu_lru_populate()
613 void bpf_lru_populate(struct bpf_lru *lru, void *buf, u32 node_offset, in bpf_lru_populate() argument
617 bpf_percpu_lru_populate(lru, buf, node_offset, elem_size, in bpf_lru_populate()
620 bpf_common_lru_populate(lru, buf, node_offset, elem_size, in bpf_lru_populate()
Dbpf_lru_list.h73 void bpf_lru_populate(struct bpf_lru *lru, void *buf, u32 node_offset,
Dhelpers.c1850 obj -= field->graph_root.node_offset; in bpf_list_head_free()
1891 obj -= field->graph_root.node_offset; in bpf_rb_root_free()
Dverifier.c2207 regs[regno].off = ds_head->node_offset; in mark_reg_graph_node()
11214 field->graph_root.node_offset, in __process_kf_arg_ptr_to_graph_node()
11222 if (node_off != field->graph_root.node_offset) { in __process_kf_arg_ptr_to_graph_node()
11225 field->graph_root.node_offset, in __process_kf_arg_ptr_to_graph_node()
Dbtf.c3692 field->graph_root.node_offset = offset; in btf_parse_graph_root()
/linux-6.6.21/arch/powerpc/kexec/
Dfile_load_64.c1031 static int add_node_props(void *fdt, int node_offset, const struct device_node *dn) in add_node_props() argument
1040 ret = fdt_setprop(fdt, node_offset, pp->name, pp->value, pp->length); in add_node_props()
1109 static int copy_property(void *fdt, int node_offset, const struct device_node *dn, in copy_property() argument
1116 fdtprop = fdt_getprop(fdt, node_offset, propname, &fdtlen); in copy_property()
1119 return fdt_delprop(fdt, node_offset, propname); in copy_property()
1121 return fdt_setprop(fdt, node_offset, propname, prop, len); in copy_property()
/linux-6.6.21/drivers/acpi/riscv/
Drhct.c60 for (node = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->node_offset); in acpi_get_riscv_isa()
/linux-6.6.21/drivers/acpi/
Dviot.c62 max_t(size_t, sizeof(*viot), viot->node_offset)); in viot_check_bounds()
295 node = ACPI_ADD_PTR(struct acpi_viot_header, viot, viot->node_offset); in acpi_viot_init()
/linux-6.6.21/drivers/md/
Dmd-bitmap.c953 unsigned long node_offset = 0; in md_bitmap_file_set_bit() local
956 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_set_bit()
972 set_page_attr(bitmap, index - node_offset, BITMAP_PAGE_DIRTY); in md_bitmap_file_set_bit()
983 unsigned long node_offset = 0; in md_bitmap_file_clear_bit() local
986 node_offset = bitmap->cluster_slot * store->file_pages; in md_bitmap_file_clear_bit()
998 if (!test_page_attr(bitmap, index - node_offset, BITMAP_PAGE_NEEDWRITE)) { in md_bitmap_file_clear_bit()
999 set_page_attr(bitmap, index - node_offset, BITMAP_PAGE_PENDING); in md_bitmap_file_clear_bit()
1112 unsigned long node_offset = 0; in md_bitmap_init_from_disk() local
1142 node_offset = bitmap->cluster_slot * (DIV_ROUND_UP(store->bytes, PAGE_SIZE)); in md_bitmap_init_from_disk()
1157 ret = read_sb_page(mddev, 0, page, i + node_offset, in md_bitmap_init_from_disk()
/linux-6.6.21/drivers/firmware/efi/libstub/
Defistub.h101 #define fdt_setprop_inplace_var(fdt, node_offset, name, var) \ argument
102 fdt_setprop_inplace((fdt), (node_offset), (name), &(var), sizeof(var))
106 #define fdt_setprop_var(fdt, node_offset, name, var) \ argument
107 fdt_setprop((fdt), (node_offset), (name), &(var), sizeof(var))
/linux-6.6.21/drivers/acpi/arm64/
Diort.c241 iort->node_offset); in iort_scan_node()
1050 iort->node_offset); in iort_find_rmrs()
1924 iort->node_offset); in iort_init_platform_devices()
2000 node = ACPI_ADD_PTR(struct acpi_iort_node, iort, iort->node_offset); in acpi_iort_dma_get_max_cpu_address()
/linux-6.6.21/include/acpi/
Dactbl3.h506 u16 node_offset; member
Dactbl2.h386 u32 node_offset; member
2784 u32 node_offset; member
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_lib.c2260 int node_offset, max_agg_nodes = 0; in ice_set_agg_vsi() local
2304 for (node_offset = 0; node_offset < max_agg_nodes; node_offset++) { in ice_set_agg_vsi()
2323 agg_id = node_offset + agg_node_id_start; in ice_set_agg_vsi()
/linux-6.6.21/include/linux/
Dbpf.h212 u32 node_offset; member