/linux-master/net/netfilter/ |
H A D | nf_conntrack_standalone.c | 1031 struct nf_dccp_net *dn = nf_dccp_pernet(net); local 1033 #define XASSIGN(XNAME, dn) \ 1035 &(dn)->dccp_timeout[CT_DCCP_ ## XNAME] 1037 XASSIGN(REQUEST, dn); 1038 XASSIGN(RESPOND, dn); 1039 XASSIGN(PARTOPEN, dn); 1040 XASSIGN(OPEN, dn); 1041 XASSIGN(CLOSEREQ, dn); 1042 XASSIGN(CLOSING, dn); 1043 XASSIGN(TIMEWAIT, dn); [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-core.c | 303 struct device_node *dn; local 339 dn = of_find_node_by_name(NULL, "ibm,opal"); 340 if (dn) { 341 ret = of_property_read_u64(dn, "opal-base-address", 344 ret |= of_property_read_u64(dn, "opal-boot-address", 348 if (!dn || ret) 351 of_node_put(dn);
|
H A D | pci-ioda-tce.c | 23 struct device_node *dn = hose->dn; local 28 count = of_property_count_u32_elems(dn, "ibm,supported-tce-sizes"); 39 rc = of_property_read_u32_index(dn, "ibm,supported-tce-sizes",
|
/linux-master/arch/arm64/kernel/ |
H A D | smp.c | 635 struct device_node *dn; local 637 for_each_of_cpu_node(dn) { 638 u64 hwid = of_get_cpu_hwid(dn, 0); 645 dn); 658 dn); 663 early_map_cpu_to_node(0, of_node_to_nid(dn)); 680 early_map_cpu_to_node(cpu_count, of_node_to_nid(dn));
|
/linux-master/fs/ubifs/ |
H A D | journal.c | 1604 * @dn: data node to re-compress 1606 * @dn_size: size of the data node @dn in memory 1612 unsigned int block, struct ubifs_data_node *dn, 1618 out_len = le32_to_cpu(dn->size); 1623 dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; 1625 compr_type = le16_to_cpu(dn->compr_type); 1628 err = ubifs_decrypt(inode, dn, &dlen, block); 1636 err = ubifs_decompress(c, &dn->data, dlen, buf, &out_len, compr_type); 1640 ubifs_compress(c, buf, *new_len, &dn->data, &out_len, &compr_type); 1644 err = ubifs_encrypt(inode, dn, out_le 1611 truncate_data_node(const struct ubifs_info *c, const struct inode *inode, unsigned int block, struct ubifs_data_node *dn, int *new_len, int dn_size) argument 1684 struct ubifs_data_node *dn; local [all...] |
/linux-master/fs/f2fs/ |
H A D | f2fs.h | 984 static inline void set_new_dnode(struct dnode_of_data *dn, struct inode *inode, argument 987 memset(dn, 0, sizeof(*dn)); 988 dn->inode = inode; 989 dn->inode_page = ipage; 990 dn->node_page = npage; 991 dn->nid = nid; 2796 static inline void f2fs_put_dnode(struct dnode_of_data *dn) argument 2798 if (dn->node_page) 2799 f2fs_put_page(dn 2922 f2fs_data_blkaddr(struct dnode_of_data *dn) argument 4359 f2fs_cluster_blocks_are_contiguous( struct dnode_of_data *dn, unsigned int ofs_in_node) argument 4361 f2fs_sanity_check_cluster(struct dnode_of_data *dn) argument [all...] |
H A D | gc.c | 1175 struct dnode_of_data dn; local 1194 &dn.data_blkaddr)) { 1195 if (unlikely(!f2fs_is_valid_blkaddr(sbi, dn.data_blkaddr, 1203 set_new_dnode(&dn, inode, NULL, NULL, 0); 1204 err = f2fs_get_dnode_of_data(&dn, index, LOOKUP_NODE); 1207 f2fs_put_dnode(&dn); 1209 if (!__is_valid_data_blkaddr(dn.data_blkaddr)) { 1213 if (unlikely(!f2fs_is_valid_blkaddr(sbi, dn.data_blkaddr, 1221 fio.new_blkaddr = fio.old_blkaddr = dn.data_blkaddr; 1229 f2fs_wait_on_block_writeback(inode, dn 1273 struct dnode_of_data dn; local [all...] |
H A D | segment.c | 218 struct dnode_of_data dn; local 223 set_new_dnode(&dn, inode, NULL, NULL, 0); 224 err = f2fs_get_dnode_of_data(&dn, index, ALLOC_NODE); 233 err = f2fs_get_node_info(sbi, dn.nid, &ni, false); 235 f2fs_put_dnode(&dn); 240 /* dn.data_blkaddr is always valid */ 244 f2fs_invalidate_blocks(sbi, dn.data_blkaddr); 245 f2fs_update_data_blkaddr(&dn, new_addr); 247 f2fs_replace_block(sbi, &dn, dn 306 struct dnode_of_data dn; local 3717 f2fs_outplace_write_data(struct dnode_of_data *dn, struct f2fs_io_info *fio) argument 3889 f2fs_replace_block(struct f2fs_sb_info *sbi, struct dnode_of_data *dn, block_t old_addr, block_t new_addr, unsigned char version, bool recover_curseg, bool recover_newaddr) argument [all...] |
/linux-master/drivers/gpio/ |
H A D | gpiolib-of.c | 881 if (!of_property_read_bool(rd->dn, "gpio-hog")) 884 if (of_node_test_and_set_flag(rd->dn, OF_POPULATED)) 887 gdev = of_find_gpio_device_by_node(rd->dn->parent); 891 ret = of_gpiochip_add_hog(gpio_device_get_chip(gdev), rd->dn); 894 rd->dn); 895 of_node_clear_flag(rd->dn, OF_POPULATED); 901 if (!of_node_check_flag(rd->dn, OF_POPULATED)) 904 gdev = of_find_gpio_device_by_node(rd->dn->parent); 908 of_gpiochip_remove_hog(gpio_device_get_chip(gdev), rd->dn); 909 of_node_clear_flag(rd->dn, OF_POPULATE [all...] |
/linux-master/drivers/ata/ |
H A D | pata_amd.c | 51 int dn = ap->port_no * 2 + adev->devno; local 86 t = (t & ~(3 << ((3 - dn) << 1))) | ((clamp_val(at.setup, 1, 4) - 1) << ((3 - dn) << 1)); 90 pci_write_config_byte(pdev, offset + 0x0E + (1 - (dn >> 1)), 94 pci_write_config_byte(pdev, offset + 0x08 + (3 - dn), 120 pci_write_config_byte(pdev, offset + 0x10 + (3 - dn), t);
|
/linux-master/drivers/pci/ |
H A D | of.c | 427 struct device_node *dn, *ppnode = NULL; local 437 dn = pci_device_to_OF_node(pdev); 438 if (dn) { 439 rc = of_irq_parse_one(dn, 0, out_irq); 457 if (of_property_present(dn, "interrupt-map")) { 459 ppnode = dn;
|
H A D | bus.c | 336 struct device_node *dn = dev->dev.of_node; local 351 dev->match_driver = !dn || of_device_is_available(dn);
|
/linux-master/drivers/of/ |
H A D | dynamic.c | 90 of_changeset_action_debug("notify: ", action, pr->dn, pr->prop); 116 prop = of_find_property(pr->dn, "status", NULL); 194 pr.dn = np; 244 rd.dn = np; 298 rd.dn = np; 585 rd.dn = ce->np;
|
/linux-master/drivers/media/rc/ |
H A D | sunxi-cir.c | 257 struct device_node *dn = dev->of_node; local 287 of_property_read_u32(dn, "clock-frequency", &b_clk_freq); 322 ir->map_name = of_get_property(dn, "linux,rc-map-name", NULL);
|
/linux-master/drivers/phy/broadcom/ |
H A D | phy-bcm-sr-usb.c | 301 struct device_node *dn = dev->of_node; local 312 of_id = of_match_node(bcm_usb_phy_of_match, dn); 318 ret = bcm_usb_phy_create(dev, dn, regs, version);
|
/linux-master/drivers/usb/mtu3/ |
H A D | mtu3_host.c | 115 struct device_node *dn) 121 ssusb->uwk_en = of_property_read_bool(dn, "wakeup-source"); 125 ret = of_parse_phandle_with_fixed_args(dn, 114 ssusb_wakeup_of_property_parse(struct ssusb_mtk *ssusb, struct device_node *dn) argument
|
/linux-master/arch/powerpc/include/asm/ |
H A D | prom.h | 66 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window,
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-ipq806x.c | 275 struct device_node *dn; local 287 dn = of_get_child_by_name(pdev->dev.of_node, "fixed-link"); 288 ret = of_property_read_u32(dn, "speed", &link_speed); 289 of_node_put(dn);
|
/linux-master/arch/powerpc/kernel/ |
H A D | pci-common.c | 71 static int get_phb_number(struct device_node *dn) argument 83 ret = of_get_pci_domain_nr(dn); 89 ret = of_property_read_u64(dn, "ibm,opal-phbid", &prop); 92 ret = of_alias_get_id(dn, "pci"); 100 ret = of_property_read_u32_index(dn, "reg", 1, &prop_32); 138 phb->dn = of_node_get(dev); 161 of_node_put(phb->dn); 357 if (hose->dn == node) 1541 hose->dn, hose->global_number); 1638 return of_node_get(hose->dn); [all...] |
H A D | pci_64.c | 112 pr_debug("IO unmapping for PHB %pOF\n", hose->dn); 179 pr_debug("IO mapping for PHB %pOF\n", hose->dn);
|
H A D | setup_64.c | 130 struct device_node *dn; local 152 dn = of_find_node_by_path("/options"); 153 if (dn) { 154 smt_option = of_get_property(dn, "ibm,smt-enabled", 164 of_node_put(dn);
|
/linux-master/drivers/amba/ |
H A D | tegra-ahb.c | 137 int tegra_ahb_enable_smmu(struct device_node *dn) argument 143 dev = driver_find_device_by_of_node(&tegra_ahb_driver.driver, dn);
|
/linux-master/net/caif/ |
H A D | caif_usb.c | 75 return layr->dn->transmit(layr->dn, pkt);
|
/linux-master/drivers/soc/qcom/ |
H A D | rpmh-rsc.c | 968 struct device_node *dn = pdev->dev.of_node; local 973 ret = of_property_read_u32(dn, "qcom,tcs-offset", &offset); 987 n = of_property_count_u32_elems(dn, "qcom,tcs-config"); 992 ret = of_property_read_u32_index(dn, "qcom,tcs-config", 999 ret = of_property_read_u32_index(dn, "qcom,tcs-config", 1035 struct device_node *dn = pdev->dev.of_node; local 1058 ret = of_property_read_u32(dn, "qcom,drv-id", &drv->id); 1062 drv->name = of_get_property(dn, "label", NULL);
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-platform.c | 171 struct device_node *dn; local 176 dn = of_parse_phandle(dev->of_node, "cpu", 0); 177 if (!dn) 180 cpu = of_cpu_node_to_id(dn); 181 of_node_put(dn);
|