/linux-6.8/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 73 const struct in6_addr *addr) in __ip_vs_addr_is_local_v6() argument 76 .daddr = *addr, in __ip_vs_addr_is_local_v6() 315 const union nf_inet_addr *addr, __be16 port) in ip_vs_svc_hashkey() argument 318 __be32 addr_fold = addr->ip; in ip_vs_svc_hashkey() 323 addr_fold = addr->ip6[0]^addr->ip6[1]^ in ip_vs_svc_hashkey() 324 addr->ip6[2]^addr->ip6[3]; in ip_vs_svc_hashkey() 361 &svc->addr, svc->port); in ip_vs_svc_hash() 419 && ip_vs_addr_equal(af, &svc->addr, vaddr) in __ip_vs_service_find() 531 IP_VS_DBG_ADDR(svc->af, &svc->addr), in __ip_vs_svc_put() 542 const union nf_inet_addr *addr, in ip_vs_rs_hashkey() argument [all …]
|
/linux-6.8/scripts/gdb/linux/ |
D | symbols.py | 98 attrs = sect_attrs['attrs'] 100 attrs[n]['battr']['attr']['name'].string(): attrs[n]['address'] 103 textaddr = section_name_to_address.get(".text", module_addr) 107 address = section_name_to_address.get(section_name) 110 name=section_name, addr=str(address))) 131 addr=module_addr, filename=module_file))
|
/linux-6.8/arch/powerpc/include/asm/ |
D | iommu.h | 25 #define IOMMU_PAGE_ALIGN_4K(addr) ALIGN(addr, IOMMU_PAGE_SIZE_4K) argument 29 #define IOMMU_PAGE_ALIGN(addr, tblptr) ALIGN(addr, IOMMU_PAGE_SIZE(tblptr)) argument 47 unsigned long attrs); 68 unsigned long (*get)(struct iommu_table *tbl, long index); member 255 unsigned long attrs); 260 unsigned long attrs); 271 unsigned long attrs); 274 unsigned long attrs);
|
/linux-6.8/drivers/iio/dac/ |
D | ad5504.c | 27 #define AD5504_ADDR(addr) ((addr) << 12) argument 68 static int ad5504_spi_write(struct ad5504_state *st, u8 addr, u16 val) in ad5504_spi_write() argument 70 st->data[0] = cpu_to_be16(AD5504_CMD_WRITE | AD5504_ADDR(addr) | in ad5504_spi_write() 76 static int ad5504_spi_read(struct ad5504_state *st, u8 addr) in ad5504_spi_read() argument 85 st->data[0] = cpu_to_be16(AD5504_CMD_READ | AD5504_ADDR(addr)); in ad5504_spi_read() 164 .get = ad5504_get_powerdown_mode, 214 .attrs = ad5504_ev_attributes,
|
/linux-6.8/kernel/ |
D | workqueue.c | 193 struct workqueue_attrs *attrs; /* I: worker attributes */ member 520 static void *work_debug_hint(void *addr) in work_debug_hint() argument 522 return ((struct work_struct *) addr)->func; in work_debug_hint() 525 static bool work_is_static_object(void *addr) in work_is_static_object() argument 527 struct work_struct *work = addr; in work_is_static_object() 536 static bool work_fixup_init(void *addr, enum debug_obj_state state) in work_fixup_init() argument 538 struct work_struct *work = addr; in work_fixup_init() 554 static bool work_fixup_free(void *addr, enum debug_obj_state state) in work_fixup_free() argument 556 struct work_struct *work = addr; in work_fixup_free() 1140 if (!pool->attrs->affn_strict && in kick_pool() [all …]
|
/linux-6.8/drivers/nvme/target/ |
D | rdma.c | 122 struct sockaddr_storage addr; member 152 .get = param_get_int, 273 ib_dma_unmap_page(ndev->device, sge->addr, in nvmet_rdma_free_inline_pages() 302 sge->addr = ib_dma_map_page(ndev->device, in nvmet_rdma_alloc_inline_pages() 304 if (ib_dma_mapping_error(ndev->device, sge->addr)) in nvmet_rdma_alloc_inline_pages() 315 ib_dma_unmap_page(ndev->device, sge->addr, in nvmet_rdma_alloc_inline_pages() 331 c->sge[0].addr = ib_dma_map_single(ndev->device, c->nvme_cmd, in nvmet_rdma_alloc_cmd() 333 if (ib_dma_mapping_error(ndev->device, c->sge[0].addr)) in nvmet_rdma_alloc_cmd() 351 ib_dma_unmap_single(ndev->device, c->sge[0].addr, in nvmet_rdma_alloc_cmd() 365 ib_dma_unmap_single(ndev->device, c->sge[0].addr, in nvmet_rdma_free_cmd() [all …]
|
/linux-6.8/virt/kvm/ |
D | kvm_main.c | 2442 unsigned long attrs) in kvm_range_has_memory_attributes() argument 2451 if (!attrs) { in kvm_range_has_memory_attributes() 2462 if (xas.xa_index != index || xa_to_value(entry) != attrs) { in kvm_range_has_memory_attributes() 2602 struct kvm_memory_attributes *attrs) in kvm_vm_ioctl_set_mem_attributes() argument 2607 if (attrs->flags) in kvm_vm_ioctl_set_mem_attributes() 2609 if (attrs->attributes & ~kvm_supported_mem_attributes(kvm)) in kvm_vm_ioctl_set_mem_attributes() 2611 if (attrs->size == 0 || attrs->address + attrs->size < attrs->address) in kvm_vm_ioctl_set_mem_attributes() 2613 if (!PAGE_ALIGNED(attrs->address) || !PAGE_ALIGNED(attrs->size)) in kvm_vm_ioctl_set_mem_attributes() 2616 start = attrs->address >> PAGE_SHIFT; in kvm_vm_ioctl_set_mem_attributes() 2617 end = (attrs->address + attrs->size) >> PAGE_SHIFT; in kvm_vm_ioctl_set_mem_attributes() [all …]
|
/linux-6.8/drivers/acpi/ |
D | sysfs.c | 143 .get = param_get_debug_layer, 148 .get = param_get_debug_level, 206 .get = param_get_trace_method_name, 211 .get = param_get_uint, 318 u64 addr; member 434 base = acpi_os_map_iomem(data_attr->addr, size); in acpi_data_show() 454 data_attr->addr = bert->address; in acpi_bert_data_init() 470 data_attr->addr = ccel->log_area_start_address; in acpi_ccel_data_init() 923 interrupt_stats_attr_group.attrs = all_attrs; in acpi_irq_stats_init()
|
/linux-6.8/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 184 virtual address space and the physical address space. You can get the list of 197 You can set and get what type of monitoring operations DAMON will use for the 213 (``update_us``) exist. You can set and get the values in micro-seconds by 218 controls the monitoring overhead, exist. You can set and get the values by 275 can set and get the start and end addresses of the initial monitoring target 287 <damon_design_damos>`). Users can get and set the schemes by reading from and 340 exist. You can set and get the access pattern for the given scheme by writing 386 ``current_value``. Users can set and get any number to those files to set the 404 get the five values by writing to the files, respectively. 430 ``memcg`` for specific memory cgroup, ``addr`` for specific address range (an [all …]
|
/linux-6.8/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 95 .get = param_get_uint, 215 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in iser_initialize_task_headers() 645 u32 sig_caps = ib_dev->attrs.sig_prot_cap; in iscsi_iser_session_create() 653 if (!(ib_dev->attrs.kernel_cap_flags & IBK_SG_GAPS_REG)) in iscsi_iser_session_create() 774 &iser_conn->ib_conn.cma_id->route.addr.dst_addr, in iscsi_iser_get_ep_param()
|
/linux-6.8/drivers/hid/ |
D | hid-cp2112.c | 503 u8 *addr, int addr_length, in cp2112_i2c_write_read_req() argument 516 memcpy(report->target_address, addr, addr_length); in cp2112_i2c_write_read_req() 536 str_read_write(msgs->flags & I2C_M_RD), msgs->addr, msgs->len); in cp2112_i2c_xfer() 540 count = cp2112_read_req(buf, msgs->addr, msgs->len); in cp2112_i2c_xfer() 542 count = cp2112_i2c_write_req(buf, msgs->addr, in cp2112_i2c_xfer() 549 msgs[0].addr == msgs[1].addr && in cp2112_i2c_xfer() 552 msgs[0].addr, msgs[0].len, msgs[1].len); in cp2112_i2c_xfer() 555 count = cp2112_i2c_write_read_req(buf, msgs[0].addr, in cp2112_i2c_xfer() 635 static int cp2112_xfer(struct i2c_adapter *adap, u16 addr, in cp2112_xfer() argument 650 addr, flags, command, size); in cp2112_xfer() [all …]
|
/linux-6.8/Documentation/core-api/ |
D | dma-api.rst | 19 To get the dma_API, you must #include <linux/dma-mapping.h>. This 79 To get this part of the dma_API, you must #include <linux/dmapool.h> 134 dma_addr_t addr); 352 enum dma_data_direction dir, unsigned long attrs) 355 dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, 356 enum dma_data_direction dir, unsigned long attrs) 474 unsigned long attrs) 479 unsigned long attrs) 484 unsigned long attrs) 489 unsigned long attrs) [all …]
|
/linux-6.8/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 35 .get = param_get_int, 130 attr.cap.max_send_sge = device->ib_device->attrs.max_send_sge; in isert_create_qp() 175 rx_sg->addr = rx_desc->dma_addr + isert_get_hdr_offset(rx_desc); in isert_alloc_rx_descriptors() 222 ib_dev->attrs.max_send_sge, ib_dev->attrs.max_recv_sge); in isert_create_device_ib_res() 223 isert_dbg("devattr->max_sge_rd: %d\n", ib_dev->attrs.max_sge_rd); in isert_create_device_ib_res() 234 if (ib_dev->attrs.kernel_cap_flags & IBK_INTEGRITY_HANDOVER) in isert_create_device_ib_res() 386 struct ib_device_attr *attr = &isert_conn->device->ib_device->attrs; in isert_set_nego_params() 854 tx_desc->tx_sg[0].addr = tx_desc->dma_addr; in isert_init_tx_hdrs() 859 tx_desc->tx_sg[0].addr, tx_desc->tx_sg[0].length, in isert_init_tx_hdrs() 894 sge.addr = isert_conn->login_desc->dma_addr + in isert_login_post_recv() [all …]
|
/linux-6.8/drivers/block/ |
D | ublk_drv.c | 124 __u64 addr; member 421 iod->addr = io->addr; in ublk_setup_iod_zoned() 506 blk_queue_write_cache(q, p->attrs & UBLK_ATTR_VOLATILE_CACHE, in ublk_dev_param_basic_apply() 507 p->attrs & UBLK_ATTR_FUA); in ublk_dev_param_basic_apply() 508 if (p->attrs & UBLK_ATTR_ROTATIONAL) in ublk_dev_param_basic_apply() 517 if (p->attrs & UBLK_ATTR_READ_ONLY) in ublk_dev_param_basic_apply() 898 import_ubuf(dir, u64_to_user_ptr(io->addr), rq_bytes, &iter); in ublk_map_io() 919 import_ubuf(dir, u64_to_user_ptr(io->addr), io->res, &iter); in ublk_unmap_io() 990 iod->addr = io->addr; in ublk_setup_iod() 1126 ublk_get_iod(ubq, req->tag)->addr); in __ublk_rq_task_work() [all …]
|
/linux-6.8/drivers/target/ |
D | target_core_user.c | 260 .get = tcmu_get_global_max_data_area, 297 .get = tcmu_get_block_netlink, 378 if (!info->attrs[TCMU_ATTR_CMD_STATUS] || in tcmu_genl_cmd_done() 379 !info->attrs[TCMU_ATTR_DEVICE_ID]) { in tcmu_genl_cmd_done() 384 dev_id = nla_get_u32(info->attrs[TCMU_ATTR_DEVICE_ID]); in tcmu_genl_cmd_done() 385 rc = nla_get_s32(info->attrs[TCMU_ATTR_CMD_STATUS]); in tcmu_genl_cmd_done() 439 if (info->attrs[TCMU_ATTR_SUPP_KERN_CMD_REPLY]) { in tcmu_genl_set_features() 441 nla_get_u8(info->attrs[TCMU_ATTR_SUPP_KERN_CMD_REPLY]); in tcmu_genl_set_features() 757 memcpy(data_addr, sg_iter.addr, cp_len); in tcmu_copy_data() 759 memcpy(sg_iter.addr, data_addr, cp_len); in tcmu_copy_data() [all …]
|
/linux-6.8/arch/x86/kvm/mmu/ |
D | mmu.c | 79 .get = get_nx_huge_pages, 84 .get = param_get_uint, 156 u64 addr; member 2368 u64 addr) in shadow_walk_init_using_root() argument 2370 iterator->addr = addr; in shadow_walk_init_using_root() 2387 = vcpu->arch.mmu->pae_root[(addr >> 30) & 3]; in shadow_walk_init_using_root() 2396 struct kvm_vcpu *vcpu, u64 addr) in shadow_walk_init() argument 2399 addr); in shadow_walk_init() 2407 iterator->index = SPTE_INDEX(iterator->addr, iterator->level); in shadow_walk_okay() 3247 for_each_shadow_entry(vcpu, fault->addr, it) { in direct_map() [all …]
|
/linux-6.8/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 197 .get = srp_tmo_get, 428 if (device->attrs.kernel_cap_flags & IBK_SG_GAPS_REG) in srp_create_fr_pool() 527 const struct ib_device_attr *attr = &dev->dev->attrs; in srp_create_ch_ib() 1028 for (attr = (*g)->attrs; *attr; ++attr) { in srp_del_scsi_host_attr() 1674 sge[i].addr = sg_dma_address(sg); in srp_map_data() 1897 iu->sge[0].addr = iu->dma; in srp_post_send() 1919 list.addr = iu->dma; in srp_post_recv() 3294 char *addr_end, *addr = kstrdup(addr_port_str, GFP_KERNEL); in srp_parse_in() local 3298 if (!addr) in srp_parse_in() 3300 port_str = strrchr(addr, ':'); in srp_parse_in() [all …]
|
/linux-6.8/drivers/ptp/ |
D | ptp_ocp.c | 411 #define EEPROM_ENTRY(addr, member) \ argument 412 .off = addr, \ 433 uintptr_t addr = (uintptr_t)(bp) + (res)->bp_offset; \ 434 *(typeof(val) *)addr = val; \ 923 u32 (*get)(struct ptp_ocp *bp, int sma_nr); member 937 return bp->sma_op->get(bp, sma_nr); in ptp_ocp_sma_get() 1616 erase.addr = base + off; in ptp_ocp_devlink_flash() 2346 .get = ptp_ocp_sma_fb_get, 2562 .get = ptp_ocp_art_sma_get, 3347 .attrs = fb_timecard_signal##_nr##_attrs, \ [all …]
|
/linux-6.8/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 1068 u64 window_size, table_size, tce_count, addr; in pnv_pci_ioda_dma_64bit_bypass() local 1096 for (addr = 0; addr < memory_hotplug_max(); addr += (1 << tce_order)) { in pnv_pci_ioda_dma_64bit_bypass() 1097 tces[(addr + (1ULL << 32)) >> tce_order] = in pnv_pci_ioda_dma_64bit_bypass() 1098 cpu_to_be64(addr | TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda_dma_64bit_bypass() 1246 unsigned long attrs) in pnv_ioda2_tce_build() argument 1249 attrs); in pnv_ioda2_tce_build() 1273 .get = pnv_tce_get,
|
/linux-6.8/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 103 .get = panic_op_read_handler 661 static int is_lan_addr(struct ipmi_addr *addr) in is_lan_addr() argument 663 return addr->addr_type == IPMI_LAN_ADDR_TYPE; in is_lan_addr() 666 static int is_ipmb_addr(struct ipmi_addr *addr) in is_ipmb_addr() argument 668 return addr->addr_type == IPMI_IPMB_ADDR_TYPE; in is_ipmb_addr() 671 static int is_ipmb_bcast_addr(struct ipmi_addr *addr) in is_ipmb_bcast_addr() argument 673 return addr->addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE; in is_ipmb_bcast_addr() 676 static int is_ipmb_direct_addr(struct ipmi_addr *addr) in is_ipmb_direct_addr() argument 678 return addr->addr_type == IPMI_IPMB_DIRECT_ADDR_TYPE; in is_ipmb_direct_addr() 854 int ipmi_validate_addr(struct ipmi_addr *addr, int len) in ipmi_validate_addr() argument [all …]
|
/linux-6.8/fs/nfs/ |
D | nfs4proc.c | 318 unsigned int attrs = FATTR4_WORD0_FILEID | FATTR4_WORD0_TYPE; in nfs4_setup_readdir() local 349 *p++ = htonl(attrs); /* bitmap */ in nfs4_setup_readdir() 362 *p++ = htonl(attrs); /* bitmap */ in nfs4_setup_readdir() 1419 p->o_arg.u.attrs = &p->attrs; in nfs4_opendata_alloc() 1420 memcpy(&p->attrs, c->sattr, sizeof(p->attrs)); in nfs4_opendata_alloc() 3205 unsigned attrs = nfs4_exclusive_attrset(opendata, sattr, &label); in _nfs4_do_open() local 3210 if (attrs || label) { in _nfs4_do_open() 3213 sattr->ia_valid = attrs; in _nfs4_do_open() 3989 struct sockaddr_storage addr; in test_fs_location_for_trunking() local 4008 &addr, sizeof(addr), in test_fs_location_for_trunking() [all …]
|
/linux-6.8/drivers/nvme/host/ |
D | pci.c | 71 .get = param_get_uint, 91 .get = param_get_uint, 672 sge->addr = cpu_to_le64(sg_dma_address(sg)); in nvme_pci_sgl_set_data() 680 sge->addr = cpu_to_le64(dma_addr); in nvme_pci_sgl_set_seg() 763 cmnd->dptr.sgl.addr = cpu_to_le64(iod->first_dma); in nvme_setup_sgl_simple() 1920 le64_to_cpu(desc->addr), in nvme_free_host_mem() 1968 descs[i].addr = cpu_to_le64(dma_addr); in __nvme_alloc_host_mem() 1988 le64_to_cpu(descs[i].addr), in __nvme_alloc_host_mem() 2159 .attrs = nvme_pci_attrs,
|
/linux-6.8/drivers/net/ |
D | virtio_net.c | 138 dma_addr_t addr; member 642 virtqueue_dma_sync_single_range_for_cpu(rq->vq, dma->addr, in virtnet_rq_unmap() 650 virtqueue_dma_unmap_single_attrs(rq->vq, dma->addr, dma->len, in virtnet_rq_unmap() 669 dma_addr_t addr; in virtnet_rq_init_one_sg() local 684 addr = dma->addr - sizeof(*dma) + offset; in virtnet_rq_init_one_sg() 687 rq->sg[0].dma_address = addr; in virtnet_rq_init_one_sg() 696 dma_addr_t addr; in virtnet_rq_alloc() local 719 addr = virtqueue_dma_map_single_attrs(rq->vq, dma + 1, in virtnet_rq_alloc() 721 if (virtqueue_dma_mapping_error(rq->vq, addr)) in virtnet_rq_alloc() 724 dma->addr = addr; in virtnet_rq_alloc() [all …]
|
/linux-6.8/drivers/usb/serial/ |
D | ftdi_sio.c | 1727 .attrs = ftdi_attrs, 1952 static int ftdi_read_eeprom(struct usb_serial *serial, void *dst, u16 addr, in ftdi_read_eeprom() argument 1957 if (addr % 2 != 0) in ftdi_read_eeprom() 1970 0, (addr + read) / 2, dst + read, 2, in ftdi_read_eeprom() 2124 priv->gc.get = ftdi_gpio_get; in ftdi_gpio_init()
|