/linux-4.19.296/drivers/of/ |
D | of_mdio.c | 48 struct device_node *child, u32 addr) in of_mdiobus_register_phy() argument 55 is_c45 = of_device_is_compatible(child, in of_mdiobus_register_phy() 58 if (!is_c45 && !of_get_phy_id(child, &phy_id)) in of_mdiobus_register_phy() 65 rc = of_irq_get(child, 0); in of_mdiobus_register_phy() 77 if (of_property_read_bool(child, "broken-turn-around")) in of_mdiobus_register_phy() 80 of_property_read_u32(child, "reset-assert-us", in of_mdiobus_register_phy() 82 of_property_read_u32(child, "reset-deassert-us", in of_mdiobus_register_phy() 87 of_node_get(child); in of_mdiobus_register_phy() 88 phy->mdio.dev.of_node = child; in of_mdiobus_register_phy() 89 phy->mdio.dev.fwnode = of_fwnode_handle(child); in of_mdiobus_register_phy() [all …]
|
D | resolver.c | 43 struct device_node *child; in adjust_overlay_phandles() local 68 for_each_child_of_node(overlay, child) in adjust_overlay_phandles() 69 adjust_overlay_phandles(child, phandle_delta); in adjust_overlay_phandles() 162 struct device_node *child, *overlay_child; in adjust_local_phandle_references() local 206 for_each_child_of_node(local_fixups, child) { in adjust_local_phandle_references() 209 if (!node_name_cmp(child, overlay_child)) in adjust_local_phandle_references() 215 err = adjust_local_phandle_references(child, overlay_child, in adjust_local_phandle_references() 259 struct device_node *child, *local_fixups, *refnode; in of_resolve_phandles() local 293 for_each_child_of_node(overlay, child) { in of_resolve_phandles() 294 if (!of_node_cmp(child->name, "__fixups__")) in of_resolve_phandles() [all …]
|
/linux-4.19.296/drivers/pwm/ |
D | sysfs.c | 27 struct device child; member 32 static struct pwm_export *child_to_pwm_export(struct device *child) in child_to_pwm_export() argument 34 return container_of(child, struct pwm_export, child); in child_to_pwm_export() 37 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device() argument 39 struct pwm_export *export = child_to_pwm_export(child); in child_to_pwm_device() 44 static ssize_t period_show(struct device *child, in period_show() argument 48 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show() 56 static ssize_t period_store(struct device *child, in period_store() argument 60 struct pwm_export *export = child_to_pwm_export(child); in period_store() 79 static ssize_t duty_cycle_show(struct device *child, in duty_cycle_show() argument [all …]
|
/linux-4.19.296/include/linux/ |
D | ptrace.h | 43 extern long arch_ptrace(struct task_struct *child, long request, 48 extern int ptrace_request(struct task_struct *child, long request, 51 extern void __ptrace_link(struct task_struct *child, 54 extern void __ptrace_unlink(struct task_struct *child); 84 static inline int ptrace_reparented(struct task_struct *child) in ptrace_reparented() argument 86 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 89 static inline void ptrace_unlink(struct task_struct *child) in ptrace_unlink() argument 91 if (unlikely(child->ptrace)) in ptrace_unlink() 92 __ptrace_unlink(child); in ptrace_unlink() 195 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task() argument [all …]
|
D | property.h | 85 const struct fwnode_handle *fwnode, struct fwnode_handle *child); 87 const struct fwnode_handle *fwnode, struct fwnode_handle *child); 89 #define fwnode_for_each_child_node(fwnode, child) \ argument 90 for (child = fwnode_get_next_child_node(fwnode, NULL); child; \ 91 child = fwnode_get_next_child_node(fwnode, child)) 93 #define fwnode_for_each_available_child_node(fwnode, child) \ argument 94 for (child = fwnode_get_next_available_child_node(fwnode, NULL); child;\ 95 child = fwnode_get_next_available_child_node(fwnode, child)) 98 struct device *dev, struct fwnode_handle *child); 100 #define device_for_each_child_node(dev, child) \ argument [all …]
|
/linux-4.19.296/fs/ |
D | pnode.c | 228 struct mount *child; in propagate_one() local 265 child = copy_tree(last_source, last_source->mnt.mnt_root, type); in propagate_one() 266 if (IS_ERR(child)) in propagate_one() 267 return PTR_ERR(child); in propagate_one() 268 child->mnt.mnt_flags &= ~MNT_LOCKED; in propagate_one() 270 mnt_set_mountpoint(m, mp, child); in propagate_one() 275 last_source = child; in propagate_one() 276 hlist_add_head(&child->mnt_hash, list); in propagate_one() 277 return count_mounts(m->mnt_ns, child); in propagate_one() 345 struct mount *child; in find_topper() local [all …]
|
/linux-4.19.296/crypto/ |
D | ecb.c | 22 struct crypto_cipher *child; member 29 struct crypto_cipher *child = ctx->child; in crypto_ecb_setkey() local 32 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_ecb_setkey() 33 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_ecb_setkey() 35 err = crypto_cipher_setkey(child, key, keylen); in crypto_ecb_setkey() 36 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_ecb_setkey() 76 struct crypto_cipher *child = ctx->child; in crypto_ecb_encrypt() local 79 return crypto_ecb_crypt(desc, &walk, child, in crypto_ecb_encrypt() 80 crypto_cipher_alg(child)->cia_encrypt); in crypto_ecb_encrypt() 90 struct crypto_cipher *child = ctx->child; in crypto_ecb_decrypt() local [all …]
|
D | cryptd.c | 70 struct crypto_blkcipher *child; member 79 struct crypto_skcipher *child; member 88 struct crypto_shash *child; member 98 struct crypto_aead *child; member 223 struct crypto_blkcipher *child = ctx->child; in cryptd_blkcipher_setkey() local 226 crypto_blkcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in cryptd_blkcipher_setkey() 227 crypto_blkcipher_set_flags(child, crypto_ablkcipher_get_flags(parent) & in cryptd_blkcipher_setkey() 229 err = crypto_blkcipher_setkey(child, key, keylen); in cryptd_blkcipher_setkey() 230 crypto_ablkcipher_set_flags(parent, crypto_blkcipher_get_flags(child) & in cryptd_blkcipher_setkey() 236 struct crypto_blkcipher *child, in cryptd_blkcipher_crypt() argument [all …]
|
D | ctr.c | 25 struct crypto_cipher *child; member 29 struct crypto_skcipher *child; member 42 struct crypto_cipher *child = ctx->child; in crypto_ctr_setkey() local 45 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_ctr_setkey() 46 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_ctr_setkey() 48 err = crypto_cipher_setkey(child, key, keylen); in crypto_ctr_setkey() 49 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_ctr_setkey() 133 struct crypto_cipher *child = ctx->child; in crypto_ctr_crypt() local 134 unsigned int bsize = crypto_cipher_blocksize(child); in crypto_ctr_crypt() 142 nbytes = crypto_ctr_crypt_inplace(&walk, child); in crypto_ctr_crypt() [all …]
|
D | keywrap.c | 91 struct crypto_cipher *child; member 133 struct crypto_cipher *child = ctx->child; in crypto_kw_decrypt() local 173 crypto_cipher_decrypt_one(child, (u8*)&block, in crypto_kw_decrypt() 205 struct crypto_cipher *child = ctx->child; in crypto_kw_encrypt() local 247 crypto_cipher_encrypt_one(child, (u8 *)&block, in crypto_kw_encrypt() 277 struct crypto_cipher *child = ctx->child; in crypto_kw_setkey() local 280 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_kw_setkey() 281 crypto_cipher_set_flags(child, crypto_tfm_get_flags(parent) & in crypto_kw_setkey() 283 err = crypto_cipher_setkey(child, key, keylen); in crypto_kw_setkey() 284 crypto_tfm_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_kw_setkey() [all …]
|
D | pcbc.c | 27 struct crypto_cipher *child; member 34 struct crypto_cipher *child = ctx->child; in crypto_pcbc_setkey() local 37 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_pcbc_setkey() 38 crypto_cipher_set_flags(child, crypto_skcipher_get_flags(parent) & in crypto_pcbc_setkey() 40 err = crypto_cipher_setkey(child, key, keylen); in crypto_pcbc_setkey() 41 crypto_skcipher_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_pcbc_setkey() 94 struct crypto_cipher *child = ctx->child; in crypto_pcbc_encrypt() local 104 child); in crypto_pcbc_encrypt() 107 child); in crypto_pcbc_encrypt() 162 struct crypto_cipher *child = ctx->child; in crypto_pcbc_decrypt() local [all …]
|
D | cbc.c | 24 struct crypto_cipher *child; member 31 struct crypto_cipher *child = ctx->child; in crypto_cbc_setkey() local 34 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in crypto_cbc_setkey() 35 crypto_cipher_set_flags(child, crypto_skcipher_get_flags(parent) & in crypto_cbc_setkey() 37 err = crypto_cipher_setkey(child, key, keylen); in crypto_cbc_setkey() 38 crypto_skcipher_set_flags(parent, crypto_cipher_get_flags(child) & in crypto_cbc_setkey() 48 crypto_cipher_encrypt_one(ctx->child, dst, src); in crypto_cbc_encrypt_one() 61 crypto_cipher_decrypt_one(ctx->child, dst, src); in crypto_cbc_decrypt_one() 92 ctx->child = cipher; in crypto_cbc_init_tfm() 100 crypto_free_cipher(ctx->child); in crypto_cbc_exit_tfm()
|
D | simd.c | 47 struct crypto_skcipher *child = &ctx->cryptd_tfm->base; in simd_skcipher_setkey() local 50 crypto_skcipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); in simd_skcipher_setkey() 51 crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(tfm) & in simd_skcipher_setkey() 53 err = crypto_skcipher_setkey(child, key, key_len); in simd_skcipher_setkey() 54 crypto_skcipher_set_flags(tfm, crypto_skcipher_get_flags(child) & in simd_skcipher_setkey() 64 struct crypto_skcipher *child; in simd_skcipher_encrypt() local 71 child = &ctx->cryptd_tfm->base; in simd_skcipher_encrypt() 73 child = cryptd_skcipher_child(ctx->cryptd_tfm); in simd_skcipher_encrypt() 75 skcipher_request_set_tfm(subreq, child); in simd_skcipher_encrypt() 85 struct crypto_skcipher *child; in simd_skcipher_decrypt() local [all …]
|
/linux-4.19.296/drivers/bus/ |
D | tegra-gmi.c | 91 struct device_node *child; in tegra_gmi_parse_dt() local 95 child = of_get_next_available_child(gmi->dev->of_node, NULL); in tegra_gmi_parse_dt() 96 if (!child) { in tegra_gmi_parse_dt() 109 if (of_property_read_bool(child, "nvidia,snor-data-width-32bit")) in tegra_gmi_parse_dt() 112 if (of_property_read_bool(child, "nvidia,snor-mux-mode")) in tegra_gmi_parse_dt() 115 if (of_property_read_bool(child, "nvidia,snor-rdy-active-before-data")) in tegra_gmi_parse_dt() 118 if (of_property_read_bool(child, "nvidia,snor-rdy-active-high")) in tegra_gmi_parse_dt() 121 if (of_property_read_bool(child, "nvidia,snor-adv-active-high")) in tegra_gmi_parse_dt() 124 if (of_property_read_bool(child, "nvidia,snor-oe-active-high")) in tegra_gmi_parse_dt() 127 if (of_property_read_bool(child, "nvidia,snor-cs-active-high")) in tegra_gmi_parse_dt() [all …]
|
/linux-4.19.296/drivers/pci/ |
D | remove.c | 68 struct pci_dev *child, *tmp; in pci_stop_bus_device() local 77 list_for_each_entry_safe_reverse(child, tmp, in pci_stop_bus_device() 79 pci_stop_bus_device(child); in pci_stop_bus_device() 88 struct pci_dev *child, *tmp; in pci_remove_bus_device() local 91 list_for_each_entry_safe(child, tmp, in pci_remove_bus_device() 93 pci_remove_bus_device(child); in pci_remove_bus_device() 131 struct pci_dev *child, *tmp; in pci_stop_root_bus() local 138 list_for_each_entry_safe_reverse(child, tmp, in pci_stop_root_bus() 140 pci_stop_bus_device(child); in pci_stop_root_bus() 149 struct pci_dev *child, *tmp; in pci_remove_root_bus() local [all …]
|
D | probe.c | 402 static void pci_read_bridge_io(struct pci_bus *child) in pci_read_bridge_io() argument 404 struct pci_dev *dev = child->self; in pci_read_bridge_io() 418 res = child->resource[0]; in pci_read_bridge_io() 442 static void pci_read_bridge_mmio(struct pci_bus *child) in pci_read_bridge_mmio() argument 444 struct pci_dev *dev = child->self; in pci_read_bridge_mmio() 450 res = child->resource[1]; in pci_read_bridge_mmio() 464 static void pci_read_bridge_mmio_pref(struct pci_bus *child) in pci_read_bridge_mmio_pref() argument 466 struct pci_dev *dev = child->self; in pci_read_bridge_mmio_pref() 473 res = child->resource[2]; in pci_read_bridge_mmio_pref() 517 void pci_read_bridge_bases(struct pci_bus *child) in pci_read_bridge_bases() argument [all …]
|
/linux-4.19.296/fs/ceph/ |
D | export.c | 124 struct dentry *child, u64 ino) in __get_parent() argument 137 if (child) { in __get_parent() 138 req->r_inode = d_inode(child); in __get_parent() 139 ihold(d_inode(child)); in __get_parent() 169 static struct dentry *ceph_get_parent(struct dentry *child) in ceph_get_parent() argument 172 if (ceph_snap(d_inode(child)) != CEPH_NOSNAP) in ceph_get_parent() 176 child, ceph_vinop(d_inode(child))); in ceph_get_parent() 177 return __get_parent(child->d_sb, child, 0); in ceph_get_parent() 203 struct dentry *child) in ceph_get_name() argument 209 mdsc = ceph_inode_to_client(d_inode(child))->mdsc; in ceph_get_name() [all …]
|
/linux-4.19.296/drivers/pci/pcie/ |
D | aspm.c | 155 struct pci_dev *child; in pcie_set_clkpm_nocheck() local 159 list_for_each_entry(child, &linkbus->devices, bus_list) in pcie_set_clkpm_nocheck() 160 pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, in pcie_set_clkpm_nocheck() 185 struct pci_dev *child; in pcie_clkpm_cap_init() local 189 list_for_each_entry(child, &linkbus->devices, bus_list) { in pcie_clkpm_cap_init() 190 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, ®32); in pcie_clkpm_cap_init() 196 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_clkpm_cap_init() 264 struct pci_dev *child, *parent = link->pdev; in pcie_aspm_configure_common_clock() local 270 child = list_entry(linkbus->devices.next, struct pci_dev, bus_list); in pcie_aspm_configure_common_clock() 271 BUG_ON(!pci_is_pcie(child)); in pcie_aspm_configure_common_clock() [all …]
|
/linux-4.19.296/fs/openpromfs/ |
D | inode.c | 182 struct device_node *dp, *child; in openpromfs_lookup() local 200 child = dp->child; in openpromfs_lookup() 201 while (child) { in openpromfs_lookup() 202 int n = strlen(child->path_component_name); in openpromfs_lookup() 205 !strncmp(child->path_component_name, name, len)) { in openpromfs_lookup() 207 ent_data.node = child; in openpromfs_lookup() 208 ino = child->unique_id; in openpromfs_lookup() 211 child = child->sibling; in openpromfs_lookup() 267 struct device_node *child; in openpromfs_readdir() local 289 child = dp->child; in openpromfs_readdir() [all …]
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | pnv_php.c | 131 struct device_node *child; in pnv_php_rmv_pdns() local 133 for_each_child_of_node(dn, child) { in pnv_php_rmv_pdns() 134 pnv_php_rmv_pdns(child); in pnv_php_rmv_pdns() 136 pci_remove_device_node_info(child); in pnv_php_rmv_pdns() 185 php_slot->dn->child = NULL; in pnv_php_rmv_devtree() 197 struct device_node *child, *next; in pnv_php_reverse_nodes() local 200 for_each_child_of_node(parent, child) in pnv_php_reverse_nodes() 201 pnv_php_reverse_nodes(child); in pnv_php_reverse_nodes() 204 child = parent->child; in pnv_php_reverse_nodes() 205 parent->child = NULL; in pnv_php_reverse_nodes() [all …]
|
/linux-4.19.296/drivers/iio/multiplexer/ |
D | iio-mux.c | 38 struct mux_child *child; member 43 struct mux_child *child = &mux->child[idx]; in iio_mux_select() local 62 cache = &child->ext_info_cache[i]; in iio_mux_select() 232 devm_kfree(dev, mux->child[idx].ext_info_cache[private].data); in mux_write_ext_info() 233 mux->child[idx].ext_info_cache[private].data = new; in mux_write_ext_info() 234 mux->child[idx].ext_info_cache[private].size = len; in mux_write_ext_info() 244 struct mux_child *child = &mux->child[idx]; in mux_configure_channel() local 284 child->ext_info_cache = devm_kcalloc(dev, in mux_configure_channel() 286 sizeof(*child->ext_info_cache), in mux_configure_channel() 288 if (!child->ext_info_cache) in mux_configure_channel() [all …]
|
/linux-4.19.296/drivers/regulator/ |
D | of_regulator.c | 315 struct device_node *child; in of_regulator_match() local 338 for_each_child_of_node(node, child) { in of_regulator_match() 339 name = of_get_property(child, in of_regulator_match() 342 name = child->name; in of_regulator_match() 352 of_get_regulator_init_data(dev, child, in of_regulator_match() 357 child->name); in of_regulator_match() 358 of_node_put(child); in of_regulator_match() 361 match->of_node = of_node_get(child); in of_regulator_match() 376 struct device_node *search, *child; in regulator_of_get_init_data() local 395 for_each_available_child_of_node(search, child) { in regulator_of_get_init_data() [all …]
|
/linux-4.19.296/fs/crypto/ |
D | policy.c | 158 int fscrypt_has_permitted_context(struct inode *parent, struct inode *child) in fscrypt_has_permitted_context() argument 166 if (!S_ISREG(child->i_mode) && !S_ISDIR(child->i_mode) && in fscrypt_has_permitted_context() 167 !S_ISLNK(child->i_mode)) in fscrypt_has_permitted_context() 175 if (!IS_ENCRYPTED(child)) in fscrypt_has_permitted_context() 196 res = fscrypt_get_encryption_info(child); in fscrypt_has_permitted_context() 200 child_ci = child->i_crypt_info; in fscrypt_has_permitted_context() 215 res = cops->get_context(child, &child_ctx, sizeof(child_ctx)); in fscrypt_has_permitted_context() 239 int fscrypt_inherit_context(struct inode *parent, struct inode *child, in fscrypt_inherit_context() argument 262 res = parent->i_sb->s_cop->set_context(child, &ctx, in fscrypt_inherit_context() 266 return preload ? fscrypt_get_encryption_info(child): 0; in fscrypt_inherit_context()
|
/linux-4.19.296/lib/ |
D | radix-tree.c | 687 struct radix_tree_node *child; in radix_tree_shrink() local 700 child = rcu_dereference_raw(node->slots[0]); in radix_tree_shrink() 701 if (!child) in radix_tree_shrink() 703 if (!radix_tree_is_internal_node(child) && node->shift) in radix_tree_shrink() 706 if (radix_tree_is_internal_node(child)) in radix_tree_shrink() 707 entry_to_node(child)->parent = NULL; in radix_tree_shrink() 716 root->rnode = (void __rcu *)child; in radix_tree_shrink() 739 if (!radix_tree_is_internal_node(child)) { in radix_tree_shrink() 815 struct radix_tree_node *node = NULL, *child; in __radix_tree_create() local 822 shift = radix_tree_load_root(root, &child, &maxindex); in __radix_tree_create() [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-pxa-pci.c | 29 struct device_node *child; in add_i2c_device() local 44 for_each_child_of_node(dev->dev.of_node, child) { in add_i2c_device() 49 ret = of_address_to_resource(child, 0, &r); in add_i2c_device() 59 prop = of_get_property(child, "fast-mode", NULL); in add_i2c_device() 66 if (!child) { in add_i2c_device() 75 of_node_put(child); in add_i2c_device() 80 pdev->dev.of_node = child; in add_i2c_device()
|