| /linux/fs/ubifs/ |
| H A D | lpt.c | 341 struct ubifs_pnode *pnode) in ubifs_pack_pnode() argument 349 pack_bits(c, &addr, &pos, pnode->num, c->pcnt_bits); in ubifs_pack_pnode() 351 pack_bits(c, &addr, &pos, pnode->lprops[i].free >> 3, in ubifs_pack_pnode() 353 pack_bits(c, &addr, &pos, pnode->lprops[i].dirty >> 3, in ubifs_pack_pnode() 355 if (pnode->lprops[i].flags & LPROPS_INDEX) in ubifs_pack_pnode() 505 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt() argument 507 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt() 604 struct ubifs_pnode *pnode = NULL; in ubifs_create_dflt_lpt() local 628 pnode = kzalloc(sizeof(struct ubifs_pnode), GFP_KERNEL); in ubifs_create_dflt_lpt() 633 if (!pnode || !nnode || !buf || !ltab || !lsave) { in ubifs_create_dflt_lpt() [all …]
|
| H A D | lpt_commit.c | 553 struct ubifs_pnode *pnode) in next_pnode_to_dirty() argument 559 nnode = pnode->parent; in next_pnode_to_dirty() 560 for (iip = pnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty() 614 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt() argument 616 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt() 625 static void do_make_pnode_dirty(struct ubifs_info *c, struct ubifs_pnode *pnode) in do_make_pnode_dirty() argument 628 if (!test_and_set_bit(DIRTY_CNODE, &pnode->flags)) { in do_make_pnode_dirty() 632 add_pnode_dirt(c, pnode); in do_make_pnode_dirty() 634 nnode = pnode->parent; in do_make_pnode_dirty() 659 struct ubifs_pnode *pnode; in make_tree_dirty() local [all …]
|
| H A D | lprops.c | 492 struct ubifs_pnode *pnode; in is_lprops_dirty() local 496 pnode = (struct ubifs_pnode *)container_of(lprops - pos, in is_lprops_dirty() 499 return !test_bit(COW_CNODE, &pnode->flags) && in is_lprops_dirty() 500 test_bit(DIRTY_CNODE, &pnode->flags); in is_lprops_dirty()
|
| H A D | debug.c | 923 void ubifs_dump_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode, in ubifs_dump_pnode() argument 930 (size_t)pnode, (size_t)parent, (size_t)pnode->cnext); in ubifs_dump_pnode() 932 pnode->flags, iip, pnode->level, pnode->num); in ubifs_dump_pnode() 934 struct ubifs_lprops *lp = &pnode->lprops[i]; in ubifs_dump_pnode()
|
| H A D | debug.h | 260 void ubifs_dump_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode,
|
| /linux/arch/x86/include/asm/uv/ |
| H A D | uv_hub.h | 173 unsigned short pnode; member 523 static inline int uv_pnode_to_socket(int pnode) in uv_pnode_to_socket() argument 527 return p2s ? p2s[pnode - uv_hub_info->min_pnode] : pnode; in uv_pnode_to_socket() 531 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr() argument 538 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr() 540 sockid = uv_pnode_to_socket(pnode); in uv_pnode_offset_to_vaddr() 553 int pnode = apicid >> uv_hub_info->apic_pnode_shift; in uv_apicid_to_pnode() local 556 return s2pn ? s2pn[pnode - uv_hub_info->min_socket] : pnode; in uv_apicid_to_pnode() 563 static inline unsigned long *uv_global_mmr32_address(int pnode, unsigned long offset) in uv_global_mmr32_address() argument 566 UV_GLOBAL_MMR32_PNODE_BITS(pnode) | offset); in uv_global_mmr32_address() [all …]
|
| /linux/arch/x86/platform/uv/ |
| H A D | uv_time.c | 74 int pnode; in uv_rtc_send_IPI() local 77 pnode = uv_apicid_to_pnode(apicid); in uv_rtc_send_IPI() 82 uv_write_global_mmr64(pnode, UVH_IPI_INT, val); in uv_rtc_send_IPI() 86 static int uv_intr_pending(int pnode) in uv_intr_pending() argument 88 return uv_read_global_mmr64(pnode, UVH_EVENT_OCCURRED2) & in uv_intr_pending() 97 int pnode = uv_cpu_to_pnode(cpu); in uv_setup_intr() local 99 uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, in uv_setup_intr() 101 uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); in uv_setup_intr() 103 uv_write_global_mmr64(pnode, UVH_EVENT_OCCURRED2_ALIAS, in uv_setup_intr() 110 uv_write_global_mmr64(pnode, UVH_RTC1_INT_CONFIG, val); in uv_setup_intr() [all …]
|
| H A D | uv_irq.c | 24 int pnode; member 45 uv_write_global_mmr64(info->pnode, info->offset, mmr_value); in uv_program_mmr() 96 chip_data->pnode = uv_blade_to_pnode(info->uv.blade); in uv_domain_alloc()
|
| /linux/drivers/macintosh/ |
| H A D | macio_asic.c | 459 struct device_node *np, *pnode; in macio_pci_add_devices() local 471 pnode = of_node_get(chip->of_node); in macio_pci_add_devices() 472 if (pnode == NULL) in macio_pci_add_devices() 476 rdev = macio_add_one_device(chip, parent, pnode, NULL, root_res); in macio_pci_add_devices() 482 for_each_child_of_node(pnode, np) { in macio_pci_add_devices() 498 pnode = mbdev->ofdev.dev.of_node; in macio_pci_add_devices() 499 for_each_child_of_node(pnode, np) { in macio_pci_add_devices() 511 pnode = sdev->ofdev.dev.of_node; in macio_pci_add_devices() 512 for_each_child_of_node(pnode, np) { in macio_pci_add_devices()
|
| /linux/drivers/pci/ |
| H A D | of_property.c | 217 struct device_node *pnode; in of_pci_prop_intr_map() local 223 pnode = pci_device_to_OF_node(pdev->bus->self); in of_pci_prop_intr_map() 224 if (!pnode) in of_pci_prop_intr_map() 225 pnode = pci_bus_to_OF_node(pdev->bus); in of_pci_prop_intr_map() 227 if (!pnode) { in of_pci_prop_intr_map() 235 out_irq[i].np = pnode; in of_pci_prop_intr_map()
|
| /linux/drivers/misc/sgi-gru/ |
| H A D | gruhandles.h | 143 static inline unsigned long gru_chiplet_paddr(unsigned long paddr, int pnode, in gru_chiplet_paddr() argument 146 return paddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_paddr() 149 static inline void *gru_chiplet_vaddr(void *vaddr, int pnode, int chiplet) in gru_chiplet_vaddr() argument 151 return vaddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_vaddr()
|
| H A D | grufile.c | 254 int pnode, nid, bid, chip; in gru_init_tables() local 265 pnode = uv_blade_to_pnode(bid); in gru_init_tables() 281 paddr = gru_chiplet_paddr(gru_base_paddr, pnode, chip); in gru_init_tables() 282 vaddr = gru_chiplet_vaddr(gru_base_vaddr, pnode, chip); in gru_init_tables()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvlan_main.c | 19 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode() 48 list_for_each_entry_continue_reverse(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode() 641 list_add_tail_rcu(&ipvlan->pnode, &port->ipvlans); in ipvlan_link_new() 669 list_del_rcu(&ipvlan->pnode); in ipvlan_link_delete() 744 list_for_each_entry(ipvlan, &port->ipvlans, pnode) in ipvlan_device_event() 766 list_for_each_entry_safe(ipvlan, next, &port->ipvlans, pnode) in ipvlan_device_event() 773 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_device_event() 780 list_for_each_entry(ipvlan, &port->ipvlans, pnode) in ipvlan_device_event() 786 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_device_event() 796 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_device_event() [all …]
|
| H A D | ipvlan.h | 64 struct list_head pnode; member
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | mm.c | 112 u32 align, struct nvkm_mm_node **pnode) in nvkm_mm_head() argument 153 *pnode = this; in nvkm_mm_head() 187 u32 align, struct nvkm_mm_node **pnode) in nvkm_mm_tail() argument 232 *pnode = this; in nvkm_mm_tail()
|
| /linux/drivers/clk/st/ |
| H A D | clk-flexgen.c | 564 struct device_node *pnode; in st_of_flexgen_setup() local 577 pnode = of_get_parent(np); in st_of_flexgen_setup() 578 if (!pnode) in st_of_flexgen_setup() 581 reg = of_iomap(pnode, 0); in st_of_flexgen_setup() 582 of_node_put(pnode); in st_of_flexgen_setup()
|
| H A D | clkgen-pll.c | 692 struct device_node *pnode; in clkgen_get_register_base() local 695 pnode = of_get_parent(np); in clkgen_get_register_base() 696 if (!pnode) in clkgen_get_register_base() 699 reg = of_iomap(pnode, 0); in clkgen_get_register_base() 701 of_node_put(pnode); in clkgen_get_register_base()
|
| /linux/drivers/pinctrl/ |
| H A D | pinconf-generic.c | 394 struct device_node *pnode; in pinconf_generic_dt_node_to_map_pinmux() local 408 pnode = of_get_parent(np); in pinconf_generic_dt_node_to_map_pinmux() 409 if (!pnode) { in pinconf_generic_dt_node_to_map_pinmux() 436 pnode->name); in pinconf_generic_dt_node_to_map_pinmux()
|
| /linux/sound/soc/codecs/ |
| H A D | sti-sas.c | 404 struct device_node *pnode = pdev->dev.of_node; in sti_sas_driver_probe() local 415 of_id = of_match_node(sti_sas_dev_match, pnode); in sti_sas_driver_probe() 436 syscon_regmap_lookup_by_phandle(pnode, "st,syscfg"); in sti_sas_driver_probe()
|
| /linux/fs/f2fs/ |
| H A D | extent_cache.c | 225 struct rb_node **pnode = &root->rb_root.rb_node; in __lookup_extent_node_ret() local 242 while (*pnode) { in __lookup_extent_node_ret() 243 parent = *pnode; in __lookup_extent_node_ret() 244 en = rb_entry(*pnode, struct extent_node, rb_node); in __lookup_extent_node_ret() 247 pnode = &(*pnode)->rb_left; in __lookup_extent_node_ret() 249 pnode = &(*pnode)->rb_right; in __lookup_extent_node_ret() 256 *insert_p = pnode; in __lookup_extent_node_ret()
|
| /linux/drivers/virtio/ |
| H A D | virtio.c | 468 struct device_node *np, *pnode = dev_of_node(dev->dev.parent); in virtio_device_of_init() local 472 if (!pnode) in virtio_device_of_init() 475 count = of_get_available_child_count(pnode); in virtio_device_of_init() 483 np = of_get_next_available_child(pnode, NULL); in virtio_device_of_init()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_scsi.h | 44 struct lpfc_nodelist *pnode; /* Pointer to the node structure. */ member
|
| /linux/lib/ |
| H A D | objagg.c | 785 struct objagg_tmp_node *pnode; in objagg_tmp_graph_create() local 815 pnode = &graph->nodes[i]; in objagg_tmp_graph_create() 818 pnode->objagg_obj->obj, in objagg_tmp_graph_create()
|
| /linux/fs/ |
| H A D | Makefile | 15 pnode.o splice.o sync.o utimes.o d_path.o \
|
| /linux/drivers/counter/ |
| H A D | stm32-timer-cnt.c | 686 struct device_node *tnode = NULL, *pnode = parent->of_node; in stm32_timer_cnt_probe_encoder() local 698 tnode = of_get_compatible_child(pnode, stm32_timer_trigger_compat[i]); in stm32_timer_cnt_probe_encoder()
|