/lib/ |
D | devres.c | 16 void devm_ioremap_release(struct device *dev, void *res) in devm_ioremap_release() argument 21 static int devm_ioremap_match(struct device *dev, void *res, void *match_data) in devm_ioremap_match() argument 26 static void __iomem *__devm_ioremap(struct device *dev, resource_size_t offset, in __devm_ioremap() argument 53 devres_add(dev, ptr); in __devm_ioremap() 68 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, in devm_ioremap() argument 71 return __devm_ioremap(dev, offset, size, DEVM_IOREMAP); in devm_ioremap() 83 void __iomem *devm_ioremap_uc(struct device *dev, resource_size_t offset, in devm_ioremap_uc() argument 86 return __devm_ioremap(dev, offset, size, DEVM_IOREMAP_UC); in devm_ioremap_uc() 98 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset, in devm_ioremap_wc() argument 101 return __devm_ioremap(dev, offset, size, DEVM_IOREMAP_WC); in devm_ioremap_wc() [all …]
|
D | pci_iomap.c | 28 void __iomem *pci_iomap_range(struct pci_dev *dev, in pci_iomap_range() argument 33 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range() 34 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range() 35 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_range() 44 return __pci_ioport_map(dev, start, len); in pci_iomap_range() 68 void __iomem *pci_iomap_wc_range(struct pci_dev *dev, in pci_iomap_wc_range() argument 73 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_wc_range() 74 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range() 75 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range() 111 void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument [all …]
|
D | test_kmod.c | 133 struct device *dev; member 159 static struct miscdevice *dev_to_misc_dev(struct device *dev) in dev_to_misc_dev() argument 161 return dev_get_drvdata(dev); in dev_to_misc_dev() 169 static struct kmod_test_device *dev_to_test_dev(struct device *dev) in dev_to_test_dev() argument 173 misc_dev = dev_to_misc_dev(dev); in dev_to_test_dev() 185 dev_dbg(test_dev->dev, "Done thread count: %u\n", test_dev->done); in kmod_test_done_check() 188 dev_info(test_dev->dev, "Done: %u threads have all run now\n", in kmod_test_done_check() 190 dev_info(test_dev->dev, "Last thread to run: %u\n", idx); in kmod_test_done_check() 237 dev_dbg(test_dev->dev, "Ran thread %u\n", info->thread_idx); in run_request() 263 dev_info(test_dev->dev, in tally_work_test() [all …]
|
D | test_firmware.c | 48 struct device *dev; member 217 static ssize_t reset_store(struct device *dev, in reset_store() argument 245 static ssize_t config_show(struct device *dev, in config_show() argument 255 dev_name(dev)); in config_show() 295 static ssize_t config_name_store(struct device *dev, in config_name_store() argument 413 static ssize_t config_name_show(struct device *dev, in config_name_show() argument 421 static ssize_t config_num_requests_store(struct device *dev, in config_num_requests_store() argument 443 static ssize_t config_num_requests_show(struct device *dev, in config_num_requests_show() argument 451 static ssize_t config_into_buf_store(struct device *dev, in config_into_buf_store() argument 460 static ssize_t config_into_buf_show(struct device *dev, in config_into_buf_show() argument [all …]
|
D | dynamic_debug.c | 622 const struct device *dev, const char *fmt, ...) in __dynamic_dev_dbg() argument 635 if (!dev) { in __dynamic_dev_dbg() 640 dev_printk_emit(LOGLEVEL_DEBUG, dev, "%s%s %s: %pV", in __dynamic_dev_dbg() 642 dev_driver_string(dev), dev_name(dev), in __dynamic_dev_dbg() 653 const struct net_device *dev, const char *fmt, ...) in __dynamic_netdev_dbg() argument 666 if (dev && dev->dev.parent) { in __dynamic_netdev_dbg() 669 dev_printk_emit(LOGLEVEL_DEBUG, dev->dev.parent, in __dynamic_netdev_dbg() 672 dev_driver_string(dev->dev.parent), in __dynamic_netdev_dbg() 673 dev_name(dev->dev.parent), in __dynamic_netdev_dbg() 674 netdev_name(dev), netdev_reg_state(dev), in __dynamic_netdev_dbg() [all …]
|
D | genalloc.c | 780 static void devm_gen_pool_release(struct device *dev, void *res) in devm_gen_pool_release() argument 785 static int devm_gen_pool_match(struct device *dev, void *res, void *data) in devm_gen_pool_match() argument 806 struct gen_pool *gen_pool_get(struct device *dev, const char *name) in gen_pool_get() argument 810 p = devres_find(dev, devm_gen_pool_release, devm_gen_pool_match, in gen_pool_get() 829 struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, in devm_gen_pool_create() argument 836 if (gen_pool_get(dev, name)) in devm_gen_pool_create() 855 devres_add(dev, ptr); in devm_gen_pool_create() 903 pool = gen_pool_get(&pdev->dev, name); in of_gen_pool_get()
|
D | test_overflow.c | 561 struct device *dev; in test_overflow_allocation() local 565 dev = root_device_register(device_name); in test_overflow_allocation() 566 if (IS_ERR(dev)) { in test_overflow_allocation() 583 err |= test_devm_kmalloc(dev); in test_overflow_allocation() 584 err |= test_devm_kzalloc(dev); in test_overflow_allocation() 586 device_unregister(dev); in test_overflow_allocation()
|
D | test_blackhole_dev.c | 69 skb->dev = blackhole_netdev; in test_blackholedev_init()
|
D | Kconfig.kasan | 46 See Documentation/dev-tools/kasan.rst for details. 66 See Documentation/dev-tools/kasan.rst for details about each mode. 192 to the KUnit documentation in Documentation/dev-tools/kunit/.
|
D | bitmap.c | 1414 unsigned long *devm_bitmap_alloc(struct device *dev, in devm_bitmap_alloc() argument 1424 ret = devm_add_action_or_reset(dev, devm_bitmap_free, bitmap); in devm_bitmap_alloc() 1432 unsigned long *devm_bitmap_zalloc(struct device *dev, in devm_bitmap_zalloc() argument 1435 return devm_bitmap_alloc(dev, nbits, flags | __GFP_ZERO); in devm_bitmap_zalloc()
|
D | Kconfig.debug | 15 to /dev/kmsg. This flag just specifies if the timestamp should 356 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst 736 allocations. See Documentation/dev-tools/kmemleak.rst for more 1769 bool "Filter access to /dev/mem" 1778 enabled, even in this case there are restrictions on /dev/mem 1781 If this option is switched on, and IO_STRICT_DEVMEM=n, the /dev/mem 1784 users of /dev/mem. 1789 bool "Filter I/O access to /dev/mem" 1797 If this option is switched on, the /dev/mem file only allows 1799 may break traditional users of /dev/mem (dosemu, legacy X, etc...) [all …]
|
D | Kconfig.kfence | 17 See <file:Documentation/dev-tools/kfence.rst> for more details.
|
D | test_hmm.c | 1226 dev_t dev; in dmirror_device_init() local 1229 dev = MKDEV(MAJOR(dmirror_dev), id); in dmirror_device_init() 1235 ret = cdev_add(&mdevice->cdevice, dev, 1); in dmirror_device_init()
|
D | Kconfig.kcsan | 11 <file:Documentation/dev-tools/kcsan.rst>. 39 See <file:Documentation/dev-tools/kcsan.rst> for more details.
|
D | iomap.c | 380 void pci_iounmap(struct pci_dev *dev, void __iomem * addr) in pci_iounmap() argument
|
D | Kconfig.ubsan | 11 Documentation/dev-tools/ubsan.rst
|
D | Kconfig.kgdb | 22 as well as in Documentation/dev-tools/kgdb.rst. If
|
D | test_bpf.c | 8418 static struct net_device dev; variable 8443 dev_net_set(&dev, &init_net); in populate_skb() 8444 skb->dev = &dev; in populate_skb() 8445 skb->dev->ifindex = SKB_DEV_IFINDEX; in populate_skb() 8446 skb->dev->type = SKB_DEV_TYPE; in populate_skb()
|
/lib/pldmfw/ |
D | pldmfw.c | 68 struct device *dev = data->context->dev; in pldm_check_fw_space() local 71 dev_dbg(dev, "Firmware file size smaller than expected. Got %zu bytes, needed %zu bytes\n", in pldm_check_fw_space() 126 struct device *dev = data->context->dev; in pldm_parse_header() local 139 dev_dbg(dev, "Invalid package header identifier. Expected UUID %pUB, but got %pUB\n", in pldm_parse_header() 145 dev_dbg(dev, "Invalid package header revision. Expected revision %u but got %u\n", in pldm_parse_header() 161 dev_dbg(dev, "Invalid component bitmap length. The length is %u, which is not a multiple of 8\n", in pldm_parse_header() 205 struct device *dev = data->context->dev; in pldm_check_desc_tlv_len() local 234 dev_dbg(dev, "Found unrecognized TLV type 0x%04x\n", type); in pldm_check_desc_tlv_len() 239 …dev_dbg(dev, "Found TLV type 0x%04x with unexpected length. Got %u bytes, but expected %u bytes\n", in pldm_check_desc_tlv_len() 383 …dev_dbg(data->context->dev, "Unexpected record length. Measured record length is %zu bytes, expect… in pldm_parse_one_record() [all …]
|
/lib/raid6/test/ |
D | Makefile | 18 ARCH := $(shell uname -m 2>/dev/null | sed -e /s/i.86/i386/) 41 gcc -c -x assembler - >/dev/null 2>&1 && \ 48 gcc -c -x c - >/dev/null && rm ./-.o && echo yes)
|
/lib/kunit/ |
D | Kconfig | 14 Documentation/dev-tools/kunit/. 58 to the KUnit documentation in Documentation/dev-tools/kunit/.
|