attach           2048 arch/ia64/hp/common/sba_iommu.c 	.attach	= acpi_sba_ioc_attach,
attach            120 drivers/acpi/acpi_amba.c 	.attach = amba_handler_attach,
attach            254 drivers/acpi/acpi_apd.c 	.attach = acpi_apd_create_device,
attach             80 drivers/acpi/acpi_cmos_rtc.c 	.attach = acpi_install_cmos_rtc_space_handler,
attach           1339 drivers/acpi/acpi_lpss.c 	.attach = acpi_lpss_create_device,
attach             50 drivers/acpi/acpi_memhotplug.c 	.attach = acpi_memory_device_add,
attach            344 drivers/acpi/acpi_memhotplug.c 		memory_device_handler.attach = NULL;
attach            357 drivers/acpi/acpi_pnp.c 	.attach = acpi_pnp_attach,
attach            558 drivers/acpi/acpi_processor.c 	.attach = acpi_processor_add,
attach            580 drivers/acpi/acpi_processor.c 	.attach = acpi_processor_container_attach,
attach             94 drivers/acpi/container.c 	.attach = container_device_attach,
attach             44 drivers/acpi/dptf/int340x_thermal.c 	.attach = int340x_thermal_handler_attach,
attach             49 drivers/acpi/pci_link.c 	.attach = acpi_pci_link_add,
attach             53 drivers/acpi/pci_root.c 	.attach = acpi_pci_root_add,
attach           1932 drivers/acpi/scan.c 	.attach = acpi_generic_device_attach,
attach           1946 drivers/acpi/scan.c 			if (!handler->attach) {
attach           1951 drivers/acpi/scan.c 			ret = handler->attach(device, devid);
attach            940 drivers/acpi/sleep.c 	.attach = lps0_device_attach,
attach            177 drivers/bluetooth/btrsi.c 	.attach	= rsi_hci_attach,
attach           4275 drivers/char/pcmcia/synclink_cs.c 	hdlc->attach = hdlcdev_attach;
attach            670 drivers/dma-buf/dma-buf.c 	struct dma_buf_attachment *attach;
attach            676 drivers/dma-buf/dma-buf.c 	attach = kzalloc(sizeof(*attach), GFP_KERNEL);
attach            677 drivers/dma-buf/dma-buf.c 	if (!attach)
attach            680 drivers/dma-buf/dma-buf.c 	attach->dev = dev;
attach            681 drivers/dma-buf/dma-buf.c 	attach->dmabuf = dmabuf;
attach            685 drivers/dma-buf/dma-buf.c 	if (dmabuf->ops->attach) {
attach            686 drivers/dma-buf/dma-buf.c 		ret = dmabuf->ops->attach(dmabuf, attach);
attach            690 drivers/dma-buf/dma-buf.c 	list_add(&attach->node, &dmabuf->attachments);
attach            694 drivers/dma-buf/dma-buf.c 	return attach;
attach            697 drivers/dma-buf/dma-buf.c 	kfree(attach);
attach            711 drivers/dma-buf/dma-buf.c void dma_buf_detach(struct dma_buf *dmabuf, struct dma_buf_attachment *attach)
attach            713 drivers/dma-buf/dma-buf.c 	if (WARN_ON(!dmabuf || !attach))
attach            716 drivers/dma-buf/dma-buf.c 	if (attach->sgt)
attach            717 drivers/dma-buf/dma-buf.c 		dmabuf->ops->unmap_dma_buf(attach, attach->sgt, attach->dir);
attach            720 drivers/dma-buf/dma-buf.c 	list_del(&attach->node);
attach            722 drivers/dma-buf/dma-buf.c 		dmabuf->ops->detach(dmabuf, attach);
attach            725 drivers/dma-buf/dma-buf.c 	kfree(attach);
attach            744 drivers/dma-buf/dma-buf.c struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *attach,
attach            751 drivers/dma-buf/dma-buf.c 	if (WARN_ON(!attach || !attach->dmabuf))
attach            754 drivers/dma-buf/dma-buf.c 	if (attach->sgt) {
attach            759 drivers/dma-buf/dma-buf.c 		if (attach->dir != direction &&
attach            760 drivers/dma-buf/dma-buf.c 		    attach->dir != DMA_BIDIRECTIONAL)
attach            763 drivers/dma-buf/dma-buf.c 		return attach->sgt;
attach            766 drivers/dma-buf/dma-buf.c 	sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction);
attach            770 drivers/dma-buf/dma-buf.c 	if (!IS_ERR(sg_table) && attach->dmabuf->ops->cache_sgt_mapping) {
attach            771 drivers/dma-buf/dma-buf.c 		attach->sgt = sg_table;
attach            772 drivers/dma-buf/dma-buf.c 		attach->dir = direction;
attach            789 drivers/dma-buf/dma-buf.c void dma_buf_unmap_attachment(struct dma_buf_attachment *attach,
attach            795 drivers/dma-buf/dma-buf.c 	if (WARN_ON(!attach || !attach->dmabuf || !sg_table))
attach            798 drivers/dma-buf/dma-buf.c 	if (attach->sgt == sg_table)
attach            801 drivers/dma-buf/dma-buf.c 	attach->dmabuf->ops->unmap_dma_buf(attach, sg_table, direction);
attach            194 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 				     struct dma_buf_attachment *attach)
attach            201 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	r = drm_gem_map_attach(dma_buf, attach);
attach            210 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	if (attach->dev->driver != adev->dev->driver) {
attach            229 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	if (attach->dev->driver != adev->dev->driver)
attach            237 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 		drm_gem_map_detach(dma_buf, attach);
attach            250 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 				      struct dma_buf_attachment *attach)
attach            262 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	if (attach->dev->driver != adev->dev->driver && bo->prime_shared_count)
attach            267 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	drm_gem_map_detach(dma_buf, attach);
attach            311 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	.attach = amdgpu_dma_buf_map_attach,
attach            367 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 				 struct dma_buf_attachment *attach,
attach            370 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	struct dma_resv *resv = attach->dmabuf->resv;
attach            377 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	bp.size = attach->dmabuf->size;
attach            392 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c 	if (attach->dmabuf->ops != &amdgpu_dmabuf_ops)
attach             31 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.h 				 struct dma_buf_attachment *attach,
attach            375 drivers/gpu/drm/armada/armada_gem.c armada_gem_prime_map_dma_buf(struct dma_buf_attachment *attach,
attach            378 drivers/gpu/drm/armada/armada_gem.c 	struct drm_gem_object *obj = attach->dmabuf->priv;
attach            410 drivers/gpu/drm/armada/armada_gem.c 		if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0) {
attach            421 drivers/gpu/drm/armada/armada_gem.c 		if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0)
attach            444 drivers/gpu/drm/armada/armada_gem.c static void armada_gem_prime_unmap_dma_buf(struct dma_buf_attachment *attach,
attach            447 drivers/gpu/drm/armada/armada_gem.c 	struct drm_gem_object *obj = attach->dmabuf->priv;
attach            452 drivers/gpu/drm/armada/armada_gem.c 		dma_unmap_sg(attach->dev, sgt->sgl, sgt->nents, dir);
attach            505 drivers/gpu/drm/armada/armada_gem.c 	struct dma_buf_attachment *attach;
attach            520 drivers/gpu/drm/armada/armada_gem.c 	attach = dma_buf_attach(buf, dev->dev);
attach            521 drivers/gpu/drm/armada/armada_gem.c 	if (IS_ERR(attach))
attach            522 drivers/gpu/drm/armada/armada_gem.c 		return ERR_CAST(attach);
attach            526 drivers/gpu/drm/armada/armada_gem.c 		dma_buf_detach(buf, attach);
attach            530 drivers/gpu/drm/armada/armada_gem.c 	dobj->obj.import_attach = attach;
attach            891 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c 	.attach = adv7511_bridge_attach,
attach           1122 drivers/gpu/drm/bridge/analogix-anx78xx.c 	.attach = anx78xx_bridge_attach,
attach           1253 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	if (dp->plat_data->attach) {
attach           1254 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 		ret = dp->plat_data->attach(dp->plat_data, bridge, connector);
attach           1570 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 	.attach = analogix_dp_bridge_attach,
attach            917 drivers/gpu/drm/bridge/cdns-dsi.c 	.attach = cdns_dsi_bridge_attach,
attach           1138 drivers/gpu/drm/bridge/cdns-dsi.c 	.attach = cdns_dsi_attach,
attach            150 drivers/gpu/drm/bridge/dumb-vga-dac.c 	.attach		= dumb_vga_attach,
attach             52 drivers/gpu/drm/bridge/lvds-encoder.c 	.attach = lvds_encoder_attach,
attach            251 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c 	.attach = ge_b850v3_lvds_attach,
attach            274 drivers/gpu/drm/bridge/nxp-ptn3460.c 	.attach = ptn3460_bridge_attach,
attach            123 drivers/gpu/drm/bridge/panel.c 	.attach = panel_bridge_attach,
attach            514 drivers/gpu/drm/bridge/parade-ps8622.c 	.attach = ps8622_attach,
attach            433 drivers/gpu/drm/bridge/sii902x.c 	.attach = sii902x_bridge_attach,
attach           2274 drivers/gpu/drm/bridge/sil-sii8620.c 	.attach = sii8620_attach,
attach           2342 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 	.attach = dw_hdmi_bridge_attach,
attach            328 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 	if (pdata->host_ops && pdata->host_ops->attach) {
attach            329 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 		ret = pdata->host_ops->attach(pdata->priv_data, device);
attach            508 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 	.attach = dw_mipi_dsi_host_attach,
attach            947 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 	.attach	      = dw_mipi_dsi_bridge_attach,
attach            394 drivers/gpu/drm/bridge/tc358764.c 	.attach = tc358764_attach,
attach           1425 drivers/gpu/drm/bridge/tc358767.c 	.attach = tc_bridge_attach,
attach            113 drivers/gpu/drm/bridge/thc63lvd1024.c 	.attach	= thc63_attach,
attach            600 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	.attach = ti_sn_bridge_attach,
attach            170 drivers/gpu/drm/bridge/ti-tfp410.c 	.attach		= tfp410_attach,
attach            131 drivers/gpu/drm/drm_bridge.c 	if (bridge->funcs->attach) {
attach            132 drivers/gpu/drm/drm_bridge.c 		ret = bridge->funcs->attach(bridge);
attach            469 drivers/gpu/drm/drm_gem_cma_helper.c 				  struct dma_buf_attachment *attach,
attach            496 drivers/gpu/drm/drm_gem_cma_helper.c 	cma_obj = __drm_gem_cma_create(dev, attach->dmabuf->size);
attach            503 drivers/gpu/drm/drm_gem_cma_helper.c 	DRM_DEBUG_PRIME("dma_addr = %pad, size = %zu\n", &cma_obj->paddr, attach->dmabuf->size);
attach            632 drivers/gpu/drm/drm_gem_cma_helper.c 				       struct dma_buf_attachment *attach,
attach            639 drivers/gpu/drm/drm_gem_cma_helper.c 	vaddr = dma_buf_vmap(attach->dmabuf);
attach            645 drivers/gpu/drm/drm_gem_cma_helper.c 	obj = drm_gem_cma_prime_import_sg_table(dev, attach, sgt);
attach            647 drivers/gpu/drm/drm_gem_cma_helper.c 		dma_buf_vunmap(attach->dmabuf, vaddr);
attach            657 drivers/gpu/drm/drm_gem_shmem_helper.c 				    struct dma_buf_attachment *attach,
attach            660 drivers/gpu/drm/drm_gem_shmem_helper.c 	size_t size = PAGE_ALIGN(attach->dmabuf->size);
attach            326 drivers/gpu/drm/drm_mipi_dsi.c 	if (!ops || !ops->attach)
attach            329 drivers/gpu/drm/drm_mipi_dsi.c 	return ops->attach(dsi->host, dsi);
attach            575 drivers/gpu/drm/drm_prime.c 		       struct dma_buf_attachment *attach)
attach            593 drivers/gpu/drm/drm_prime.c 			struct dma_buf_attachment *attach)
attach            613 drivers/gpu/drm/drm_prime.c struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
attach            616 drivers/gpu/drm/drm_prime.c 	struct drm_gem_object *obj = attach->dmabuf->priv;
attach            627 drivers/gpu/drm/drm_prime.c 	if (!dma_map_sg_attrs(attach->dev, sgt->sgl, sgt->nents, dir,
attach            646 drivers/gpu/drm/drm_prime.c void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
attach            653 drivers/gpu/drm/drm_prime.c 	dma_unmap_sg_attrs(attach->dev, sgt->sgl, sgt->nents, dir,
attach            772 drivers/gpu/drm/drm_prime.c 	.attach = drm_gem_map_attach,
attach            861 drivers/gpu/drm/drm_prime.c 	struct dma_buf_attachment *attach;
attach            881 drivers/gpu/drm/drm_prime.c 	attach = dma_buf_attach(dma_buf, attach_dev);
attach            882 drivers/gpu/drm/drm_prime.c 	if (IS_ERR(attach))
attach            883 drivers/gpu/drm/drm_prime.c 		return ERR_CAST(attach);
attach            887 drivers/gpu/drm/drm_prime.c 	sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL);
attach            893 drivers/gpu/drm/drm_prime.c 	obj = dev->driver->gem_prime_import_sg_table(dev, attach, sgt);
attach            899 drivers/gpu/drm/drm_prime.c 	obj->import_attach = attach;
attach            905 drivers/gpu/drm/drm_prime.c 	dma_buf_unmap_attachment(attach, sgt, DMA_BIDIRECTIONAL);
attach            907 drivers/gpu/drm/drm_prime.c 	dma_buf_detach(dma_buf, attach);
attach            990 drivers/gpu/drm/drm_prime.c 	struct dma_buf_attachment *attach;
attach            992 drivers/gpu/drm/drm_prime.c 	attach = obj->import_attach;
attach            994 drivers/gpu/drm/drm_prime.c 		dma_buf_unmap_attachment(attach, sg, DMA_BIDIRECTIONAL);
attach            995 drivers/gpu/drm/drm_prime.c 	dma_buf = attach->dmabuf;
attach            996 drivers/gpu/drm/drm_prime.c 	dma_buf_detach(attach->dmabuf, attach);
attach             59 drivers/gpu/drm/etnaviv/etnaviv_drv.h 	struct dma_buf_attachment *attach, struct sg_table *sg);
attach            107 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c 	struct dma_buf_attachment *attach, struct sg_table *sgt)
attach            110 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c 	size_t size = PAGE_ALIGN(attach->dmabuf->size);
attach            244 drivers/gpu/drm/exynos/exynos_dp.c 	dp->plat_data.attach = exynos_dp_bridge_attach;
attach           1630 drivers/gpu/drm/exynos/exynos_drm_dsi.c 	.attach = exynos_dsi_host_attach,
attach            474 drivers/gpu/drm/exynos/exynos_drm_gem.c 				     struct dma_buf_attachment *attach,
attach            481 drivers/gpu/drm/exynos/exynos_drm_gem.c 	exynos_gem = exynos_drm_gem_init(dev, attach->dmabuf->size);
attach            116 drivers/gpu/drm/exynos/exynos_drm_gem.h 				     struct dma_buf_attachment *attach,
attach            752 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c 	.attach = dsi_host_attach,
attach           1669 drivers/gpu/drm/i2c/tda998x_drv.c 	.attach = tda998x_bridge_attach,
attach           1414 drivers/gpu/drm/i915/display/icl_dsi.c 	.attach = gen11_dsi_host_attach,
attach            202 drivers/gpu/drm/i915/display/vlv_dsi.c 	.attach = intel_dsi_host_attach,
attach            259 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c 	struct dma_buf_attachment *attach;
attach            277 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c 	attach = dma_buf_attach(dma_buf, dev->dev);
attach            278 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c 	if (IS_ERR(attach))
attach            279 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c 		return ERR_CAST(attach);
attach            291 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c 	obj->base.import_attach = attach;
attach            307 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c 	dma_buf_detach(dma_buf, attach);
attach             15 drivers/gpu/drm/lima/lima_gem_prime.c 	struct drm_device *dev, struct dma_buf_attachment *attach,
attach             21 drivers/gpu/drm/lima/lima_gem_prime.c 	bo = lima_bo_create(ldev, attach->dmabuf->size, 0, sgt);
attach              8 drivers/gpu/drm/lima/lima_gem_prime.h 	struct drm_device *dev, struct dma_buf_attachment *attach,
attach            321 drivers/gpu/drm/mcde/mcde_dsi.c 	.attach = mcde_dsi_host_attach,
attach            880 drivers/gpu/drm/mcde/mcde_dsi.c 	.attach = mcde_dsi_bridge_attach,
attach            212 drivers/gpu/drm/mediatek/mtk_drm_gem.c 			struct dma_buf_attachment *attach, struct sg_table *sg)
attach            220 drivers/gpu/drm/mediatek/mtk_drm_gem.c 	mtk_gem = mtk_drm_gem_init(dev, attach->dmabuf->size);
attach             47 drivers/gpu/drm/mediatek/mtk_drm_gem.h 			struct dma_buf_attachment *attach, struct sg_table *sg);
attach           1034 drivers/gpu/drm/mediatek/mtk_dsi.c 	.attach = mtk_dsi_host_attach,
attach           1428 drivers/gpu/drm/mediatek/mtk_hdmi.c 	.attach = mtk_hdmi_bridge_attach,
attach            755 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	ret = aspace->mmu->funcs->attach(aspace->mmu, iommu_ports,
attach            527 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c 		ret = aspace->mmu->funcs->attach(aspace->mmu, iommu_ports,
attach            740 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c 		ret = aspace->mmu->funcs->attach(aspace->mmu, iommu_ports,
attach           1638 drivers/gpu/drm/msm/dsi/dsi_host.c 	.attach = dsi_host_attach,
attach            293 drivers/gpu/drm/msm/msm_drv.h 		struct dma_buf_attachment *attach, struct sg_table *sg);
attach             47 drivers/gpu/drm/msm/msm_gem_prime.c 		struct dma_buf_attachment *attach, struct sg_table *sg)
attach             49 drivers/gpu/drm/msm/msm_gem_prime.c 	return msm_gem_import(dev, attach->dmabuf, sg);
attach            842 drivers/gpu/drm/msm/msm_gpu.c 	ret = aspace->mmu->funcs->attach(aspace->mmu, NULL, 0);
attach             90 drivers/gpu/drm/msm/msm_gpummu.c 		.attach = msm_gpummu_attach,
attach             71 drivers/gpu/drm/msm/msm_iommu.c 		.attach = msm_iommu_attach,
attach             13 drivers/gpu/drm/msm/msm_mmu.h 	int (*attach)(struct msm_mmu *mmu, const char * const *names, int cnt);
attach             59 drivers/gpu/drm/nouveau/nouveau_prime.c 							 struct dma_buf_attachment *attach,
attach             65 drivers/gpu/drm/nouveau/nouveau_prime.c 	struct dma_resv *robj = attach->dmabuf->resv;
attach             66 drivers/gpu/drm/nouveau/nouveau_prime.c 	u64 size = attach->dmabuf->size;
attach            150 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 	struct dma_buf_attachment *attach;
attach            167 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 	attach = dma_buf_attach(dma_buf, dev->dev);
attach            168 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 	if (IS_ERR(attach))
attach            169 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 		return ERR_CAST(attach);
attach            173 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 	sgt = dma_buf_map_attachment(attach, DMA_TO_DEVICE);
attach            185 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 	obj->import_attach = attach;
attach            190 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 	dma_buf_unmap_attachment(attach, sgt, DMA_TO_DEVICE);
attach            192 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c 	dma_buf_detach(dma_buf, attach);
attach            273 drivers/gpu/drm/panfrost/panfrost_gem.c 				   struct dma_buf_attachment *attach,
attach            279 drivers/gpu/drm/panfrost/panfrost_gem.c 	obj = drm_gem_shmem_prime_import_sg_table(dev, attach, sgt);
attach             68 drivers/gpu/drm/panfrost/panfrost_gem.h 				   struct dma_buf_attachment *attach,
attach            208 drivers/gpu/drm/pl111/pl111_drv.c 			  struct dma_buf_attachment *attach,
attach            221 drivers/gpu/drm/pl111/pl111_drv.c 	return drm_gem_cma_prime_import_sg_table(dev, attach, sgt);
attach            451 drivers/gpu/drm/qxl/qxl_drv.h 	struct drm_device *dev, struct dma_buf_attachment *attach,
attach             51 drivers/gpu/drm/qxl/qxl_prime.c 	struct drm_device *dev, struct dma_buf_attachment *attach,
attach             63 drivers/gpu/drm/radeon/radeon_prime.c 							struct dma_buf_attachment *attach,
attach             66 drivers/gpu/drm/radeon/radeon_prime.c 	struct dma_resv *resv = attach->dmabuf->resv;
attach             72 drivers/gpu/drm/radeon/radeon_prime.c 	ret = radeon_bo_create(rdev, attach->dmabuf->size, PAGE_SIZE, false,
attach            648 drivers/gpu/drm/rcar-du/rcar_lvds.c 	.attach = rcar_lvds_attach,
attach            883 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c 	.attach = dw_mipi_dsi_rockchip_host_attach,
attach            481 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 			  struct dma_buf_attachment *attach,
attach            491 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 			struct dma_buf_attachment *attach,
attach            500 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	if (rockchip_sg_get_contiguous_size(sg, count) < attach->dmabuf->size) {
attach            514 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 				   struct dma_buf_attachment *attach,
attach            521 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 	rk_obj = rockchip_gem_alloc_object(drm, attach->dmabuf->size);
attach            526 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 		ret = rockchip_gem_iommu_map_sg(drm, attach, sg, rk_obj);
attach            528 drivers/gpu/drm/rockchip/rockchip_drm_gem.c 		ret = rockchip_gem_dma_map_sg(drm, attach, sg, rk_obj);
attach             32 drivers/gpu/drm/rockchip/rockchip_drm_gem.h 				   struct dma_buf_attachment *attach,
attach           1007 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 	.attach		= sun6i_dsi_attach,
attach           1442 drivers/gpu/drm/tegra/dsi.c 	.attach = tegra_dsi_host_attach,
attach            336 drivers/gpu/drm/tegra/gem.c 	struct dma_buf_attachment *attach;
attach            344 drivers/gpu/drm/tegra/gem.c 	attach = dma_buf_attach(buf, drm->dev);
attach            345 drivers/gpu/drm/tegra/gem.c 	if (IS_ERR(attach)) {
attach            346 drivers/gpu/drm/tegra/gem.c 		err = PTR_ERR(attach);
attach            352 drivers/gpu/drm/tegra/gem.c 	bo->sgt = dma_buf_map_attachment(attach, DMA_TO_DEVICE);
attach            371 drivers/gpu/drm/tegra/gem.c 	bo->gem.import_attach = attach;
attach            377 drivers/gpu/drm/tegra/gem.c 		dma_buf_unmap_attachment(attach, bo->sgt, DMA_TO_DEVICE);
attach            379 drivers/gpu/drm/tegra/gem.c 	dma_buf_detach(buf, attach);
attach            499 drivers/gpu/drm/tegra/gem.c tegra_gem_prime_map_dma_buf(struct dma_buf_attachment *attach,
attach            502 drivers/gpu/drm/tegra/gem.c 	struct drm_gem_object *gem = attach->dmabuf->priv;
attach            520 drivers/gpu/drm/tegra/gem.c 		if (dma_map_sg(attach->dev, sgt->sgl, sgt->nents, dir) == 0)
attach            538 drivers/gpu/drm/tegra/gem.c static void tegra_gem_prime_unmap_dma_buf(struct dma_buf_attachment *attach,
attach            542 drivers/gpu/drm/tegra/gem.c 	struct drm_gem_object *gem = attach->dmabuf->priv;
attach            546 drivers/gpu/drm/tegra/gem.c 		dma_unmap_sg(attach->dev, sgt->sgl, sgt->nents, dir);
attach             22 drivers/gpu/drm/udl/udl_dmabuf.c 			      struct dma_buf_attachment *attach)
attach             26 drivers/gpu/drm/udl/udl_dmabuf.c 	DRM_DEBUG_PRIME("[DEV:%s] size:%zd\n", dev_name(attach->dev),
attach             27 drivers/gpu/drm/udl/udl_dmabuf.c 			attach->dmabuf->size);
attach             34 drivers/gpu/drm/udl/udl_dmabuf.c 	attach->priv = udl_attach;
attach             40 drivers/gpu/drm/udl/udl_dmabuf.c 			       struct dma_buf_attachment *attach)
attach             42 drivers/gpu/drm/udl/udl_dmabuf.c 	struct udl_drm_dmabuf_attachment *udl_attach = attach->priv;
attach             48 drivers/gpu/drm/udl/udl_dmabuf.c 	DRM_DEBUG_PRIME("[DEV:%s] size:%zd\n", dev_name(attach->dev),
attach             49 drivers/gpu/drm/udl/udl_dmabuf.c 			attach->dmabuf->size);
attach             54 drivers/gpu/drm/udl/udl_dmabuf.c 		dma_unmap_sg(attach->dev, sgt->sgl, sgt->nents,
attach             59 drivers/gpu/drm/udl/udl_dmabuf.c 	attach->priv = NULL;
attach             62 drivers/gpu/drm/udl/udl_dmabuf.c static struct sg_table *udl_map_dma_buf(struct dma_buf_attachment *attach,
attach             65 drivers/gpu/drm/udl/udl_dmabuf.c 	struct udl_drm_dmabuf_attachment *udl_attach = attach->priv;
attach             66 drivers/gpu/drm/udl/udl_dmabuf.c 	struct udl_gem_object *obj = to_udl_bo(attach->dmabuf->priv);
attach             75 drivers/gpu/drm/udl/udl_dmabuf.c 	DRM_DEBUG_PRIME("[DEV:%s] size:%zd dir=%d\n", dev_name(attach->dev),
attach             76 drivers/gpu/drm/udl/udl_dmabuf.c 			attach->dmabuf->size, dir);
attach            116 drivers/gpu/drm/udl/udl_dmabuf.c 		nents = dma_map_sg(attach->dev, sgt->sgl, sgt->orig_nents, dir);
attach            127 drivers/gpu/drm/udl/udl_dmabuf.c 	attach->priv = udl_attach;
attach            134 drivers/gpu/drm/udl/udl_dmabuf.c static void udl_unmap_dma_buf(struct dma_buf_attachment *attach,
attach            139 drivers/gpu/drm/udl/udl_dmabuf.c 	DRM_DEBUG_PRIME("[DEV:%s] size:%zd dir:%d\n", dev_name(attach->dev),
attach            140 drivers/gpu/drm/udl/udl_dmabuf.c 			attach->dmabuf->size, dir);
attach            165 drivers/gpu/drm/udl/udl_dmabuf.c 	.attach			= udl_attach_dma_buf,
attach            218 drivers/gpu/drm/udl/udl_dmabuf.c 	struct dma_buf_attachment *attach;
attach            225 drivers/gpu/drm/udl/udl_dmabuf.c 	attach = dma_buf_attach(dma_buf, dev->dev);
attach            226 drivers/gpu/drm/udl/udl_dmabuf.c 	if (IS_ERR(attach)) {
attach            228 drivers/gpu/drm/udl/udl_dmabuf.c 		return ERR_CAST(attach);
attach            233 drivers/gpu/drm/udl/udl_dmabuf.c 	sg = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL);
attach            243 drivers/gpu/drm/udl/udl_dmabuf.c 	uobj->base.import_attach = attach;
attach            249 drivers/gpu/drm/udl/udl_dmabuf.c 	dma_buf_unmap_attachment(attach, sg, DMA_BIDIRECTIONAL);
attach            251 drivers/gpu/drm/udl/udl_dmabuf.c 	dma_buf_detach(dma_buf, attach);
attach            150 drivers/gpu/drm/v3d/v3d_bo.c 			  struct dma_buf_attachment *attach,
attach            156 drivers/gpu/drm/v3d/v3d_bo.c 	obj = drm_gem_shmem_prime_import_sg_table(dev, attach, sgt);
attach            300 drivers/gpu/drm/v3d/v3d_drv.h 						 struct dma_buf_attachment *attach,
attach            784 drivers/gpu/drm/vc4/vc4_bo.c 			  struct dma_buf_attachment *attach,
attach            789 drivers/gpu/drm/vc4/vc4_bo.c 	obj = drm_gem_cma_prime_import_sg_table(dev, attach, sgt);
attach            734 drivers/gpu/drm/vc4/vc4_drv.h 						 struct dma_buf_attachment *attach,
attach           1287 drivers/gpu/drm/vc4/vc4_dsi.c 	.attach = vc4_dsi_host_attach,
attach            361 drivers/gpu/drm/vgem/vgem_drv.c 			struct dma_buf_attachment *attach, struct sg_table *sg)
attach            366 drivers/gpu/drm/vgem/vgem_drv.c 	obj = __vgem_gem_create(dev, attach->dmabuf->size);
attach            370 drivers/gpu/drm/vgem/vgem_drv.c 	npages = PAGE_ALIGN(attach->dmabuf->size) / PAGE_SIZE;
attach            372 drivers/gpu/drm/virtio/virtgpu_drv.h 	struct drm_device *dev, struct dma_buf_attachment *attach,
attach             46 drivers/gpu/drm/virtio/virtgpu_prime.c 	struct drm_device *dev, struct dma_buf_attachment *attach,
attach             43 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c 				struct dma_buf_attachment *attach)
attach             49 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c 				 struct dma_buf_attachment *attach)
attach             53 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c static struct sg_table *vmw_prime_map_dma_buf(struct dma_buf_attachment *attach,
attach             59 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c static void vmw_prime_unmap_dma_buf(struct dma_buf_attachment *attach,
attach             94 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c 	.attach = vmw_prime_map_attach,
attach            187 drivers/gpu/drm/xen/xen_drm_front_gem.c 				  struct dma_buf_attachment *attach,
attach            195 drivers/gpu/drm/xen/xen_drm_front_gem.c 	size = attach->dmabuf->size;
attach             26 drivers/gpu/drm/xen/xen_drm_front_gem.h 				  struct dma_buf_attachment *attach,
attach             56 drivers/md/bcache/sysfs.c write_attribute(attach);
attach            666 drivers/media/common/b2c2/flexcop-fe-tuner.c 	int (*attach)(struct flexcop_device *, struct i2c_adapter *);
attach            685 drivers/media/common/b2c2/flexcop-fe-tuner.c 		if (!flexcop_frontends[i].attach)
attach            690 drivers/media/common/b2c2/flexcop-fe-tuner.c 		if (flexcop_frontends[i].attach(fc, &fc->fc_i2c_adap[0].i2c_adap))
attach            458 drivers/media/common/saa7146/saa7146_core.c 	if (ext->attach(dev, pci_ext)) {
attach            222 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	struct vb2_dc_attachment *attach;
attach            229 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	attach = kzalloc(sizeof(*attach), GFP_KERNEL);
attach            230 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	if (!attach)
attach            233 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	sgt = &attach->sgt;
attach            239 drivers/media/common/videobuf2/videobuf2-dma-contig.c 		kfree(attach);
attach            251 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	attach->dma_dir = DMA_NONE;
attach            252 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	dbuf_attach->priv = attach;
attach            260 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	struct vb2_dc_attachment *attach = db_attach->priv;
attach            263 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	if (!attach)
attach            266 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	sgt = &attach->sgt;
attach            269 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	if (attach->dma_dir != DMA_NONE)
attach            277 drivers/media/common/videobuf2/videobuf2-dma-contig.c 				   attach->dma_dir, DMA_ATTR_SKIP_CPU_SYNC);
attach            279 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	kfree(attach);
attach            286 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	struct vb2_dc_attachment *attach = db_attach->priv;
attach            293 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	sgt = &attach->sgt;
attach            295 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	if (attach->dma_dir == dma_dir) {
attach            301 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	if (attach->dma_dir != DMA_NONE) {
attach            303 drivers/media/common/videobuf2/videobuf2-dma-contig.c 				   attach->dma_dir, DMA_ATTR_SKIP_CPU_SYNC);
attach            304 drivers/media/common/videobuf2/videobuf2-dma-contig.c 		attach->dma_dir = DMA_NONE;
attach            319 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	attach->dma_dir = dma_dir;
attach            359 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	.attach = vb2_dc_dmabuf_ops_attach,
attach            366 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	struct vb2_dma_sg_attachment *attach;
attach            373 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	attach = kzalloc(sizeof(*attach), GFP_KERNEL);
attach            374 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	if (!attach)
attach            377 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	sgt = &attach->sgt;
attach            383 drivers/media/common/videobuf2/videobuf2-dma-sg.c 		kfree(attach);
attach            395 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	attach->dma_dir = DMA_NONE;
attach            396 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	dbuf_attach->priv = attach;
attach            404 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	struct vb2_dma_sg_attachment *attach = db_attach->priv;
attach            407 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	if (!attach)
attach            410 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	sgt = &attach->sgt;
attach            413 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	if (attach->dma_dir != DMA_NONE)
attach            415 drivers/media/common/videobuf2/videobuf2-dma-sg.c 			attach->dma_dir);
attach            417 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	kfree(attach);
attach            424 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	struct vb2_dma_sg_attachment *attach = db_attach->priv;
attach            431 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	sgt = &attach->sgt;
attach            433 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	if (attach->dma_dir == dma_dir) {
attach            439 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	if (attach->dma_dir != DMA_NONE) {
attach            441 drivers/media/common/videobuf2/videobuf2-dma-sg.c 			attach->dma_dir);
attach            442 drivers/media/common/videobuf2/videobuf2-dma-sg.c 		attach->dma_dir = DMA_NONE;
attach            454 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	attach->dma_dir = dma_dir;
attach            494 drivers/media/common/videobuf2/videobuf2-dma-sg.c 	.attach = vb2_dma_sg_dmabuf_ops_attach,
attach            214 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	struct vb2_vmalloc_attachment *attach;
attach            223 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	attach = kzalloc(sizeof(*attach), GFP_KERNEL);
attach            224 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	if (!attach)
attach            227 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	sgt = &attach->sgt;
attach            230 drivers/media/common/videobuf2/videobuf2-vmalloc.c 		kfree(attach);
attach            238 drivers/media/common/videobuf2/videobuf2-vmalloc.c 			kfree(attach);
attach            245 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	attach->dma_dir = DMA_NONE;
attach            246 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	dbuf_attach->priv = attach;
attach            253 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	struct vb2_vmalloc_attachment *attach = db_attach->priv;
attach            256 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	if (!attach)
attach            259 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	sgt = &attach->sgt;
attach            262 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	if (attach->dma_dir != DMA_NONE)
attach            264 drivers/media/common/videobuf2/videobuf2-vmalloc.c 			attach->dma_dir);
attach            266 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	kfree(attach);
attach            273 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	struct vb2_vmalloc_attachment *attach = db_attach->priv;
attach            280 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	sgt = &attach->sgt;
attach            282 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	if (attach->dma_dir == dma_dir) {
attach            288 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	if (attach->dma_dir != DMA_NONE) {
attach            290 drivers/media/common/videobuf2/videobuf2-vmalloc.c 			attach->dma_dir);
attach            291 drivers/media/common/videobuf2/videobuf2-vmalloc.c 		attach->dma_dir = DMA_NONE;
attach            303 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	attach->dma_dir = dma_dir;
attach            343 drivers/media/common/videobuf2/videobuf2-vmalloc.c 	.attach = vb2_vmalloc_dmabuf_ops_attach,
attach            393 drivers/media/pci/saa7146/hexium_gemini.c 	.attach = hexium_attach,
attach            463 drivers/media/pci/saa7146/hexium_orion.c 	.attach = hexium_attach,
attach            840 drivers/media/pci/saa7146/mxb.c 	.attach		= mxb_attach,
attach           2891 drivers/media/pci/ttpci/av7110.c 	.attach		= av7110_attach,
attach           1600 drivers/media/pci/ttpci/budget-av.c 	.attach = budget_av_attach,
attach           1551 drivers/media/pci/ttpci/budget-ci.c 	.attach = budget_ci_attach,
attach            653 drivers/media/pci/ttpci/budget-patch.c 	.attach         = budget_patch_attach,
attach            861 drivers/media/pci/ttpci/budget.c 	.attach		= budget_attach,
attach            140 drivers/misc/fastrpc.c 	struct dma_buf_attachment *attach;
attach            215 drivers/misc/fastrpc.c 		dma_buf_unmap_attachment(map->attach, map->table,
attach            217 drivers/misc/fastrpc.c 		dma_buf_detach(map->buf, map->attach);
attach            501 drivers/misc/fastrpc.c static void fastrpc_unmap_dma_buf(struct dma_buf_attachment *attach,
attach            505 drivers/misc/fastrpc.c 	dma_unmap_sg(attach->dev, table->sgl, table->nents, dir);
attach            583 drivers/misc/fastrpc.c 	.attach = fastrpc_dma_buf_attach,
attach            616 drivers/misc/fastrpc.c 	map->attach = dma_buf_attach(map->buf, sess->dev);
attach            617 drivers/misc/fastrpc.c 	if (IS_ERR(map->attach)) {
attach            619 drivers/misc/fastrpc.c 		err = PTR_ERR(map->attach);
attach            623 drivers/misc/fastrpc.c 	map->table = dma_buf_map_attachment(map->attach, DMA_BIDIRECTIONAL);
attach            644 drivers/misc/fastrpc.c 	dma_buf_detach(map->buf, map->attach);
attach            845 drivers/misc/vmw_vmci/vmci_queue_pair.c static int qp_notify_peer_local(bool attach, struct vmci_handle handle)
attach            855 drivers/misc/vmw_vmci/vmci_queue_pair.c 	    attach ? VMCI_EVENT_QP_PEER_ATTACH : VMCI_EVENT_QP_PEER_DETACH;
attach           1443 drivers/misc/vmw_vmci/vmci_queue_pair.c static int qp_notify_peer(bool attach,
attach           1467 drivers/misc/vmw_vmci/vmci_queue_pair.c 	ev.msg.event_data.event = attach ?
attach           1476 drivers/misc/vmw_vmci/vmci_queue_pair.c 			attach ? "ATTACH" : "DETACH", peer_id);
attach            261 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 				u16 lf, bool attach)
attach            283 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	block->fn_map[lf] = attach ? pcifunc : 0;
attach            287 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		pfvf->npalf = attach ? true : false;
attach            291 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		pfvf->nixlf = attach ? true : false;
attach            295 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		attach ? pfvf->sso++ : pfvf->sso--;
attach            299 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		attach ? pfvf->ssow++ : pfvf->ssow--;
attach            303 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		attach ? pfvf->timlfs++ : pfvf->timlfs--;
attach            307 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		attach ? pfvf->cptlfs++ : pfvf->cptlfs--;
attach           1175 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 					     struct rsrc_attach *attach,
attach           1178 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	u16 pcifunc = attach->hdr.pcifunc;
attach           1182 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (!attach->modify)
attach           1188 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	err = rvu_check_rsrc_availability(rvu, attach, pcifunc);
attach           1193 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (attach->npalf)
attach           1196 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (attach->nixlf)
attach           1199 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (attach->sso) {
attach           1205 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (attach->modify)
attach           1207 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rvu_attach_block(rvu, pcifunc, BLKTYPE_SSO, attach->sso);
attach           1210 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (attach->ssow) {
attach           1211 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (attach->modify)
attach           1213 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rvu_attach_block(rvu, pcifunc, BLKTYPE_SSOW, attach->ssow);
attach           1216 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (attach->timlfs) {
attach           1217 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (attach->modify)
attach           1219 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rvu_attach_block(rvu, pcifunc, BLKTYPE_TIM, attach->timlfs);
attach           1222 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	if (attach->cptlfs) {
attach           1223 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		if (attach->modify)
attach           1225 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rvu_attach_block(rvu, pcifunc, BLKTYPE_CPT, attach->cptlfs);
attach           1336 drivers/net/ethernet/mellanox/mlx4/mcg.c 			  u8 gid[16], u8 attach, u8 block_loopback,
attach           1353 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (attach && block_loopback)
attach           1356 drivers/net/ethernet/mellanox/mlx4/mcg.c 	err = mlx4_cmd(dev, mailbox->dma, qpn, attach,
attach           1361 drivers/net/ethernet/mellanox/mlx4/mcg.c 	if (err && !attach &&
attach           4150 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int attach = vhcr->op_modifier;
attach           4161 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (attach) {
attach             71 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (intf->attach)
attach            122 drivers/net/ethernet/mellanox/mlx5/core/dev.c 	if (intf->attach) {
attach            125 drivers/net/ethernet/mellanox/mlx5/core/dev.c 		if (intf->attach(dev, dev_ctx->context))
attach           5503 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	.attach    = mlx5e_attach,
attach            173 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c 	.attach			= __qlcnic_dcb_attach,
attach            186 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c 	.attach			= __qlcnic_dcb_attach,
attach             31 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h 	int (*attach) (struct qlcnic_dcb *);
attach             66 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h 	if (dcb && dcb->ops->attach)
attach             67 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h 		return dcb->ops->attach(dcb);
attach           3673 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 			goto attach;
attach           3677 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c attach:
attach            199 drivers/net/ethernet/ti/netcp.h 	int	(*attach)(void *inst_priv, struct net_device *ndev,
attach            322 drivers/net/ethernet/ti/netcp_core.c 		ret = module->attach(inst_modpriv->module_priv,
attach           3833 drivers/net/ethernet/ti/netcp_ethss.c 	.attach		= gbe_attach,
attach           3850 drivers/net/ethernet/ti/netcp_ethss.c 	.attach		= gbe_attach,
attach           1817 drivers/net/phy/phylink.c 	.attach = phylink_sfp_attach,
attach            350 drivers/net/phy/sfp-bus.c 	bus->socket_ops->attach(bus->sfp);
attach            353 drivers/net/phy/sfp-bus.c 	bus->upstream_ops->attach(bus->upstream, bus);
attach           1767 drivers/net/phy/sfp.c 	.attach = sfp_attach,
attach             10 drivers/net/phy/sfp.h 	void (*attach)(struct sfp *sfp);
attach            373 drivers/net/wan/c101.c 	hdlc->attach = sca_attach;
attach            571 drivers/net/wan/cosa.c 		dev_to_hdlc(chan->netdev)->attach = cosa_net_attach;
attach           2519 drivers/net/wan/farsync.c                 hdlc->attach = fst_attach;
attach           1234 drivers/net/wan/fsl_ucc_hdlc.c 	hdlc->attach = ucc_hdlc_attach;
attach            361 drivers/net/wan/hdlc_cisco.c 		result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
attach           1226 drivers/net/wan/hdlc_fr.c 		result=hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
attach            669 drivers/net/wan/hdlc_ppp.c 		result = hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
attach             73 drivers/net/wan/hdlc_raw.c 		result = hdlc->attach(dev, new_settings.encoding,
attach             89 drivers/net/wan/hdlc_raw_eth.c 		result = hdlc->attach(dev, new_settings.encoding,
attach            215 drivers/net/wan/hdlc_x25.c 		result=hdlc->attach(dev, ENCODING_NRZ,PARITY_CRC16_PR1_CCITT);
attach            279 drivers/net/wan/hostess_sv11.c 	dev_to_hdlc(netdev)->attach = hostess_attach;
attach           1347 drivers/net/wan/ixp4xx_hss.c 	hdlc->attach = hss_hdlc_attach;
attach            846 drivers/net/wan/lmc/lmc_main.c 	dev_to_hdlc(dev)->attach = lmc_attach;
attach            467 drivers/net/wan/n2.c 		hdlc->attach = sca_attach;
attach            453 drivers/net/wan/pc300too.c 		hdlc->attach = sca_attach;
attach            391 drivers/net/wan/pci200syn.c 		hdlc->attach = sca_attach;
attach            182 drivers/net/wan/sealevel.c 	dev_to_hdlc(dev)->attach = sealevel_attach;
attach            779 drivers/net/wan/wanxl.c 		hdlc->attach = wanxl_attach;
attach           1256 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	struct obj_attachment *attach;
attach           1265 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	alen = sizeof(*attach) + priv->wpa_ie_len;
attach           1266 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	attach = kzalloc(alen, GFP_KERNEL);
attach           1267 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	if (attach == NULL)
attach           1275 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	attach->type = (WLAN_FC_TYPE_MGMT << 2) |
attach           1277 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	attach->id = -1;
attach           1278 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	attach->size = priv->wpa_ie_len;
attach           1279 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	memcpy(attach->data, extra, priv->wpa_ie_len);
attach           1281 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	ret = mgt_set_varlen(priv, DOT11_OID_ATTACHMENT, attach,
attach           1284 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		attach->type = (WLAN_FC_TYPE_MGMT << 2) |
attach           1287 drivers/net/wireless/intersil/prism54/isl_ioctl.c 		ret = mgt_set_varlen(priv, DOT11_OID_ATTACHMENT, attach,
attach           1294 drivers/net/wireless/intersil/prism54/isl_ioctl.c 	kfree(attach);
attach            319 drivers/net/wireless/intersil/prism54/oid_mgt.c 			struct obj_attachment *attach = data;
attach            320 drivers/net/wireless/intersil/prism54/oid_mgt.c 			attach->id = le16_to_cpu(attach->id);
attach            321 drivers/net/wireless/intersil/prism54/oid_mgt.c 			attach->size = le16_to_cpu(attach->size);
attach            388 drivers/net/wireless/intersil/prism54/oid_mgt.c 			struct obj_attachment *attach = data;
attach            389 drivers/net/wireless/intersil/prism54/oid_mgt.c 			attach->id = cpu_to_le16(attach->id);
attach            390 drivers/net/wireless/intersil/prism54/oid_mgt.c 			attach->size = cpu_to_le16(attach->size);
attach            845 drivers/net/wireless/intersil/prism54/oid_mgt.c 			struct obj_attachment *attach = r->ptr;
attach            848 drivers/net/wireless/intersil/prism54/oid_mgt.c 					attach->id,
attach            849 drivers/net/wireless/intersil/prism54/oid_mgt.c 					attach->size);
attach            213 drivers/net/wireless/rsi/rsi_91x_main.c 				if (rsi_bt_ops.attach(common, &g_proto_ops))
attach             43 drivers/nvdimm/claim.c bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
attach             46 drivers/nvdimm/claim.c 	struct nvdimm_bus *nvdimm_bus = walk_to_nvdimm_bus(&attach->dev);
attach             48 drivers/nvdimm/claim.c 	if (attach->claim)
attach             52 drivers/nvdimm/claim.c 	attach->claim = dev;
attach             53 drivers/nvdimm/claim.c 	*_ndns = attach;
attach             54 drivers/nvdimm/claim.c 	get_device(&attach->dev);
attach             58 drivers/nvdimm/claim.c bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
attach             63 drivers/nvdimm/claim.c 	nvdimm_bus_lock(&attach->dev);
attach             64 drivers/nvdimm/claim.c 	claimed = __nd_attach_ndns(dev, attach, _ndns);
attach             65 drivers/nvdimm/claim.c 	nvdimm_bus_unlock(&attach->dev);
attach            164 drivers/nvdimm/nd-core.h bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
attach            166 drivers/nvdimm/nd-core.h bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
attach            171 drivers/parport/share.c 		drv->attach(port);
attach            318 drivers/parport/share.c 			drv->attach(port);
attach           1318 drivers/scsi/cxlflash/superpipe.c 				struct dk_cxlflash_attach *attach)
attach           1330 drivers/scsi/cxlflash/superpipe.c 	u64 irqs = attach->num_interrupts;
attach           1360 drivers/scsi/cxlflash/superpipe.c 	if (attach->hdr.flags & DK_CXLFLASH_ATTACH_REUSE_CONTEXT) {
attach           1361 drivers/scsi/cxlflash/superpipe.c 		rctxid = attach->context_id;
attach           1442 drivers/scsi/cxlflash/superpipe.c 	perms = SISL_RHT_PERM(attach->hdr.flags + 1);
attach           1472 drivers/scsi/cxlflash/superpipe.c 	attach->hdr.return_flags = flags;
attach           1473 drivers/scsi/cxlflash/superpipe.c 	attach->context_id = ctxi->ctxid;
attach           1474 drivers/scsi/cxlflash/superpipe.c 	attach->block_size = gli->blk_len;
attach           1475 drivers/scsi/cxlflash/superpipe.c 	attach->mmio_size = sizeof(afu->afu_map->hosts[0].harea);
attach           1476 drivers/scsi/cxlflash/superpipe.c 	attach->last_lba = gli->max_lba;
attach           1477 drivers/scsi/cxlflash/superpipe.c 	attach->max_xfer = sdev->host->max_sectors * MAX_SECTOR_UNIT;
attach           1478 drivers/scsi/cxlflash/superpipe.c 	attach->max_xfer /= gli->blk_len;
attach           1481 drivers/scsi/cxlflash/superpipe.c 	attach->adap_fd = fd;
attach           1487 drivers/scsi/cxlflash/superpipe.c 		__func__, ctxid, fd, attach->block_size, rc, attach->last_lba);
attach           1165 drivers/scsi/device_handler/scsi_dh_alua.c 	.attach = alua_bus_attach,
attach            516 drivers/scsi/device_handler/scsi_dh_emc.c 	.attach		= clariion_bus_attach,
attach            240 drivers/scsi/device_handler/scsi_dh_hp_sw.c 	.attach		= hp_sw_bus_attach,
attach            794 drivers/scsi/device_handler/scsi_dh_rdac.c 	.attach = rdac_bus_attach,
attach            131 drivers/scsi/scsi_dh.c 	error = scsi_dh->attach(sdev);
attach            203 drivers/scsi/scsi_dh.c 	if (!scsi_dh->attach || !scsi_dh->detach)
attach            348 drivers/staging/android/ion/ion.c 	.attach = ion_dma_buf_attach,
attach            443 drivers/staging/comedi/comedidev.h 	int (*attach)(struct comedi_device *dev, struct comedi_devconfig *it);
attach            984 drivers/staging/comedi/drivers.c 	if (!driv->attach) {
attach            996 drivers/staging/comedi/drivers.c 	ret = driv->attach(dev, it);
attach            118 drivers/staging/comedi/drivers/8255.c 	.attach		= dev_8255_attach,
attach           1702 drivers/staging/comedi/drivers/adl_pci9118.c 	.attach		= pci9118_attach,
attach            236 drivers/staging/comedi/drivers/adq12b.c 	.attach		= adq12b_attach,
attach            267 drivers/staging/comedi/drivers/aio_aio12_8.c 	.attach		= aio_aio12_8_attach,
attach            228 drivers/staging/comedi/drivers/aio_iiro_16.c 	.attach		= aio_iiro_16_attach,
attach            255 drivers/staging/comedi/drivers/amplc_dio200.c 	.attach		= dio200_attach,
attach             65 drivers/staging/comedi/drivers/amplc_pc236.c 	.attach = pc236_attach,
attach             91 drivers/staging/comedi/drivers/amplc_pc263.c 	.attach		= pc263_attach,
attach            291 drivers/staging/comedi/drivers/c6xdigio.c 	.attach		= c6xdigio_attach,
attach            340 drivers/staging/comedi/drivers/comedi_bond.c 	.attach		= bonding_attach,
attach            298 drivers/staging/comedi/drivers/comedi_parport.c 	.attach		= parport_attach,
attach            780 drivers/staging/comedi/drivers/comedi_test.c 	.attach		= waveform_attach,
attach            130 drivers/staging/comedi/drivers/dac02.c 	.attach		= dac02_attach,
attach            180 drivers/staging/comedi/drivers/das08_isa.c 	.attach		= das08_isa_attach,
attach           1190 drivers/staging/comedi/drivers/das16.c 	.attach		= das16_attach,
attach            615 drivers/staging/comedi/drivers/das16m1.c 	.attach		= das16m1_attach,
attach           1354 drivers/staging/comedi/drivers/das1800.c 	.attach		= das1800_attach,
attach            659 drivers/staging/comedi/drivers/das6402.c 	.attach		= das6402_attach,
attach            734 drivers/staging/comedi/drivers/das800.c 	.attach		= das800_attach,
attach            609 drivers/staging/comedi/drivers/dmm32at.c 	.attach		= dmm32at_attach,
attach            638 drivers/staging/comedi/drivers/dt2801.c 	.attach		= dt2801_attach,
attach            635 drivers/staging/comedi/drivers/dt2811.c 	.attach		= dt2811_attach,
attach            283 drivers/staging/comedi/drivers/dt2814.c 	.attach		= dt2814_attach,
attach            210 drivers/staging/comedi/drivers/dt2815.c 	.attach		= dt2815_attach,
attach            133 drivers/staging/comedi/drivers/dt2817.c 	.attach		= dt2817_attach,
attach           1190 drivers/staging/comedi/drivers/dt282x.c 	.attach		= dt282x_attach,
attach            136 drivers/staging/comedi/drivers/fl512.c 	.attach		= fl512_attach,
attach            517 drivers/staging/comedi/drivers/ii_pci20kc.c 	.attach		= ii20k_attach,
attach            304 drivers/staging/comedi/drivers/mpc624.c 	.attach		= mpc624_attach,
attach            325 drivers/staging/comedi/drivers/multiq3.c 	.attach		= multiq3_attach,
attach            775 drivers/staging/comedi/drivers/ni_at_a2150.c 	.attach		= a2150_attach,
attach            364 drivers/staging/comedi/drivers/ni_at_ao.c 	.attach		= atao_attach,
attach            352 drivers/staging/comedi/drivers/ni_atmio.c 	.attach		= ni_atmio_attach,
attach            729 drivers/staging/comedi/drivers/ni_atmio16d.c 	.attach		= atmio16d_attach,
attach            106 drivers/staging/comedi/drivers/ni_labpc.c 	.attach		= labpc_attach,
attach            503 drivers/staging/comedi/drivers/pcl711.c 	.attach		= pcl711_attach,
attach            143 drivers/staging/comedi/drivers/pcl724.c 	.attach		= pcl724_attach,
attach            413 drivers/staging/comedi/drivers/pcl726.c 	.attach		= pcl726_attach,
attach            340 drivers/staging/comedi/drivers/pcl730.c 	.attach		= pcl730_attach,
attach           1326 drivers/staging/comedi/drivers/pcl812.c 	.attach		= pcl812_attach,
attach            686 drivers/staging/comedi/drivers/pcl816.c 	.attach		= pcl816_attach,
attach           1127 drivers/staging/comedi/drivers/pcl818.c 	.attach		= pcl818_attach,
attach            220 drivers/staging/comedi/drivers/pcm3724.c 	.attach		= pcm3724_attach,
attach            139 drivers/staging/comedi/drivers/pcmad.c 	.attach		= pcmad_attach,
attach            158 drivers/staging/comedi/drivers/pcmda12.c 	.attach		= pcmda12_attach,
attach            770 drivers/staging/comedi/drivers/pcmmio.c 	.attach		= pcmmio_attach,
attach            614 drivers/staging/comedi/drivers/pcmuio.c 	.attach		= pcmuio_attach,
attach            347 drivers/staging/comedi/drivers/rti800.c 	.attach		= rti800_attach,
attach            113 drivers/staging/comedi/drivers/rti802.c 	.attach		= rti802_attach,
attach            622 drivers/staging/comedi/drivers/s526.c 	.attach		= s526_attach,
attach            173 drivers/staging/comedi/drivers/ssv_dnp.c 	.attach		= dnp_attach,
attach           2045 drivers/target/iscsi/iscsi_target.c 			goto attach;
attach           2053 drivers/target/iscsi/iscsi_target.c 			goto attach;
attach           2063 drivers/target/iscsi/iscsi_target.c 			goto attach;
attach           2069 drivers/target/iscsi/iscsi_target.c 			goto attach;
attach           2089 drivers/target/iscsi/iscsi_target.c 		goto attach;
attach           2095 drivers/target/iscsi/iscsi_target.c attach:
attach             56 drivers/tee/tee_shm.c 			*attach, enum dma_data_direction dir)
attach             61 drivers/tee/tee_shm.c static void tee_shm_op_unmap_dma_buf(struct dma_buf_attachment *attach,
attach           7945 drivers/tty/synclink.c 	hdlc->attach = hdlcdev_attach;
attach           1787 drivers/tty/synclink_gt.c 	hdlc->attach = hdlcdev_attach;
attach           1915 drivers/tty/synclinkmp.c 	hdlc->attach = hdlcdev_attach;
attach            277 drivers/usb/serial/cp210x.c 	.attach			= cp210x_attach,
attach            288 drivers/usb/serial/digi_acceleport.c 	.attach =			digi_startup,
attach            318 drivers/usb/serial/digi_acceleport.c 	.attach =			digi_startup,
attach             54 drivers/usb/serial/empeg.c 	.attach =		empeg_startup,
attach           3106 drivers/usb/serial/io_edgeport.c 	.attach			= edge_startup,
attach           3142 drivers/usb/serial/io_edgeport.c 	.attach			= edge_startup,
attach           3178 drivers/usb/serial/io_edgeport.c 	.attach			= edge_startup,
attach           3214 drivers/usb/serial/io_edgeport.c 	.attach			= edge_startup,
attach           2716 drivers/usb/serial/io_ti.c 	.attach			= edge_startup,
attach           2755 drivers/usb/serial/io_ti.c 	.attach			= edge_startup,
attach            507 drivers/usb/serial/ipaq.c 	.attach =		ipaq_startup,
attach            296 drivers/usb/serial/ipw.c 	.attach =		ipw_attach,
attach             80 drivers/usb/serial/ir-usb.c 	.attach			= ir_startup,
attach           3030 drivers/usb/serial/keyspan.c 	.attach			= keyspan_fake_startup,
attach           3050 drivers/usb/serial/keyspan.c 	.attach			= keyspan_startup,
attach           3074 drivers/usb/serial/keyspan.c 	.attach			= keyspan_startup,
attach           3098 drivers/usb/serial/keyspan.c 	.attach			= keyspan_startup,
attach            747 drivers/usb/serial/keyspan_pda.c 	.attach =		keyspan_pda_fake_startup,
attach            760 drivers/usb/serial/keyspan_pda.c 	.attach =		keyspan_pda_fake_startup,
attach           1946 drivers/usb/serial/mos7720.c 	.attach			= mos7720_startup,
attach           1297 drivers/usb/serial/mxuport.c 	.attach			= mxuport_attach,
attach           2058 drivers/usb/serial/option.c 	.attach            = option_attach,
attach           1064 drivers/usb/serial/pl2303.c 	.attach =		pl2303_startup,
attach            466 drivers/usb/serial/qcserial.c 	.attach              = qc_attach,
attach            988 drivers/usb/serial/quatech2.c 	.attach              = qt2_attach,
attach            294 drivers/usb/serial/safe_serial.c 	.attach =		safe_startup,
attach           1062 drivers/usb/serial/sierra.c 	.attach            = sierra_startup,
attach            540 drivers/usb/serial/ssu100.c 	.attach              = ssu100_attach,
attach            425 drivers/usb/serial/ti_usb_3410_5052.c 	.attach			= ti_startup,
attach            459 drivers/usb/serial/ti_usb_3410_5052.c 	.attach			= ti_startup,
attach           1026 drivers/usb/serial/usb-serial.c 	if (type->attach) {
attach           1027 drivers/usb/serial/usb-serial.c 		retval = type->attach(serial);
attach            214 drivers/usb/serial/visor.c 	.attach =		clie_3_5_startup,
attach            104 drivers/usb/serial/whiteheat.c 	.attach =		whiteheat_firmware_attach,
attach            117 drivers/usb/serial/whiteheat.c 	.attach =		whiteheat_attach,
attach            398 drivers/usb/usbip/vhci_sysfs.c static DEVICE_ATTR_WO(attach);
attach            519 drivers/vhost/vhost.c 	struct vhost_attach_cgroups_struct attach;
attach            521 drivers/vhost/vhost.c 	attach.owner = current;
attach            522 drivers/vhost/vhost.c 	vhost_work_init(&attach.work, vhost_attach_cgroups_work);
attach            523 drivers/vhost/vhost.c 	vhost_work_queue(dev, &attach.work);
attach            524 drivers/vhost/vhost.c 	vhost_work_flush(dev, &attach.work);
attach            525 drivers/vhost/vhost.c 	return attach.ret;
attach            876 drivers/w1/w1.c void w1_reconnect_slaves(struct w1_family *f, int attach)
attach            893 drivers/w1/w1.c 			if ((attach && sl->family->fid == W1_FAMILY_DEFAULT
attach            895 drivers/w1/w1.c 				(!attach && sl->family->fid == f->fid)) {
attach             56 drivers/w1/w1_internal.h void w1_reconnect_slaves(struct w1_family *f, int attach);
attach             53 drivers/xen/gntdev-dmabuf.c 			struct dma_buf_attachment *attach;
attach            226 drivers/xen/gntdev-dmabuf.c 				 struct dma_buf_attachment *attach)
attach            236 drivers/xen/gntdev-dmabuf.c 	attach->priv = gntdev_dmabuf_attach;
attach            241 drivers/xen/gntdev-dmabuf.c 				  struct dma_buf_attachment *attach)
attach            243 drivers/xen/gntdev-dmabuf.c 	struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach = attach->priv;
attach            250 drivers/xen/gntdev-dmabuf.c 				dma_unmap_sg_attrs(attach->dev, sgt->sgl,
attach            259 drivers/xen/gntdev-dmabuf.c 		attach->priv = NULL;
attach            264 drivers/xen/gntdev-dmabuf.c dmabuf_exp_ops_map_dma_buf(struct dma_buf_attachment *attach,
attach            267 drivers/xen/gntdev-dmabuf.c 	struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach = attach->priv;
attach            268 drivers/xen/gntdev-dmabuf.c 	struct gntdev_dmabuf *gntdev_dmabuf = attach->dmabuf->priv;
attach            272 drivers/xen/gntdev-dmabuf.c 		 attach->dev);
attach            291 drivers/xen/gntdev-dmabuf.c 		if (!dma_map_sg_attrs(attach->dev, sgt->sgl, sgt->nents, dir,
attach            302 drivers/xen/gntdev-dmabuf.c 		pr_debug("Failed to map sg table for dev %p\n", attach->dev);
attach            306 drivers/xen/gntdev-dmabuf.c static void dmabuf_exp_ops_unmap_dma_buf(struct dma_buf_attachment *attach,
attach            366 drivers/xen/gntdev-dmabuf.c 	.attach = dmabuf_exp_ops_attach,
attach            612 drivers/xen/gntdev-dmabuf.c 	struct dma_buf_attachment *attach;
attach            630 drivers/xen/gntdev-dmabuf.c 	attach = dma_buf_attach(dma_buf, dev);
attach            631 drivers/xen/gntdev-dmabuf.c 	if (IS_ERR(attach)) {
attach            632 drivers/xen/gntdev-dmabuf.c 		ret = ERR_CAST(attach);
attach            636 drivers/xen/gntdev-dmabuf.c 	gntdev_dmabuf->u.imp.attach = attach;
attach            638 drivers/xen/gntdev-dmabuf.c 	sgt = dma_buf_map_attachment(attach, DMA_BIDIRECTIONAL);
attach            645 drivers/xen/gntdev-dmabuf.c 	if (attach->dmabuf->size != gntdev_dmabuf->nr_pages << PAGE_SHIFT) {
attach            648 drivers/xen/gntdev-dmabuf.c 			 attach->dmabuf->size, gntdev_dmabuf->nr_pages);
attach            688 drivers/xen/gntdev-dmabuf.c 	dma_buf_unmap_attachment(attach, sgt, DMA_BIDIRECTIONAL);
attach            690 drivers/xen/gntdev-dmabuf.c 	dma_buf_detach(dma_buf, attach);
attach            723 drivers/xen/gntdev-dmabuf.c 	struct dma_buf_attachment *attach;
attach            735 drivers/xen/gntdev-dmabuf.c 	attach = gntdev_dmabuf->u.imp.attach;
attach            738 drivers/xen/gntdev-dmabuf.c 		dma_buf_unmap_attachment(attach, gntdev_dmabuf->u.imp.sgt,
attach            740 drivers/xen/gntdev-dmabuf.c 	dma_buf = attach->dmabuf;
attach            741 drivers/xen/gntdev-dmabuf.c 	dma_buf_detach(attach->dmabuf, attach);
attach            125 include/acpi/acpi_bus.h 	int (*attach)(struct acpi_device *dev, const struct acpi_device_id *id);
attach             35 include/drm/bridge/analogix_dp.h 	int (*attach)(struct analogix_dp_plat_data *, struct drm_bridge *,
attach             33 include/drm/bridge/dw_mipi_dsi.h 	int (*attach)(void *priv_data,
attach             51 include/drm/drm_bridge.h 	int (*attach)(struct drm_bridge *bridge);
attach            626 include/drm/drm_drv.h 				struct dma_buf_attachment *attach,
attach            102 include/drm/drm_gem_cma_helper.h 				  struct dma_buf_attachment *attach,
attach            130 include/drm/drm_gem_cma_helper.h 				       struct dma_buf_attachment *attach,
attach            169 include/drm/drm_gem_shmem_helper.h 				    struct dma_buf_attachment *attach,
attach             84 include/drm/drm_mipi_dsi.h 	int (*attach)(struct mipi_dsi_host *host,
attach             79 include/drm/drm_prime.h 		       struct dma_buf_attachment *attach);
attach             81 include/drm/drm_prime.h 			struct dma_buf_attachment *attach);
attach             82 include/drm/drm_prime.h struct sg_table *drm_gem_map_dma_buf(struct dma_buf_attachment *attach,
attach             84 include/drm/drm_prime.h void drm_gem_unmap_dma_buf(struct dma_buf_attachment *attach,
attach             14 include/linux/atm_tcp.h 	int (*attach)(struct atm_vcc *vcc,int itf);
attach            642 include/linux/cgroup-defs.h 	void (*attach)(struct cgroup_taskset *tset);
attach             71 include/linux/dma-buf.h 	int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
attach             37 include/linux/hdlc.h 	int (*attach)(struct net_device *dev,
attach           1064 include/linux/mlx5/driver.h 	int			(*attach)(struct mlx5_core_dev *dev, void *context);
attach            260 include/linux/parport.h 	void (*attach) (struct parport *);
attach            487 include/linux/sfp.h 	void (*attach)(void *priv, struct sfp_bus *bus);
attach            258 include/linux/usb/serial.h 	int (*attach)(struct usb_serial *serial);
attach            104 include/media/drv-intf/saa7146.h 	int (*attach)(struct saa7146_dev *, struct saa7146_pci_extension_data *);
attach             50 include/net/rsi_91x.h 	int (*attach)(void *priv, struct rsi_proto_ops *ops);
attach            255 include/net/sch_generic.h 	void			(*attach)(struct Qdisc *sch);
attach             56 include/scsi/scsi_dh.h 	int (*attach)(struct scsi_device *);
attach            172 include/uapi/scsi/cxlflash_ioctl.h 	struct dk_cxlflash_attach attach;
attach           2523 kernel/cgroup/cgroup.c 			if (ss->attach) {
attach           2525 kernel/cgroup/cgroup.c 				ss->attach(tset);
attach           2876 kernel/cgroup/cpuset.c 	.attach		= cpuset_attach,
attach            478 kernel/cgroup/legacy_freezer.c 	.attach		= freezer_attach,
attach           12347 kernel/events/core.c 	.attach		= perf_cgroup_attach,
attach           7905 kernel/sched/core.c 	.attach		= cpu_cgroup_attach,
attach            150 net/core/netclassid_cgroup.c 	.attach			= cgrp_attach,
attach            267 net/core/netprio_cgroup.c 	.attach		= net_prio_attach,
attach            561 net/netfilter/core.c 	void (*attach)(struct sk_buff *, const struct sk_buff *);
attach            565 net/netfilter/core.c 		attach = rcu_dereference(ip_ct_attach);
attach            566 net/netfilter/core.c 		if (attach)
attach            567 net/netfilter/core.c 			attach(new, skb);
attach           1048 net/sched/sch_api.c 		if (new && new->ops->attach)
attach           1069 net/sched/sch_api.c 			if (new && !new->ops->attach)
attach           1073 net/sched/sch_api.c 			if (new && new->ops->attach)
attach           1074 net/sched/sch_api.c 				new->ops->attach(new);
attach           1070 net/sched/sch_generic.c 			qdisc->ops->attach(qdisc);
attach            290 net/sched/sch_mq.c 	.attach		= mq_attach,
attach            625 net/sched/sch_mqprio.c 	.attach		= mqprio_attach,
attach             83 samples/bpf/xdp_fwd_user.c 	int attach = 1;
attach             89 samples/bpf/xdp_fwd_user.c 			attach = 0;
attach            105 samples/bpf/xdp_fwd_user.c 	if (attach) {
attach            147 samples/bpf/xdp_fwd_user.c 		if (!attach) {
attach           1093 security/apparmor/apparmorfs.c 	if (profile->attach)
attach           1094 security/apparmor/apparmorfs.c 		seq_printf(seq, "%s\n", profile->attach);
attach           1123 security/apparmor/apparmorfs.c SEQ_PROFILE_FOPS(attach);
attach            136 security/apparmor/include/policy.h 	const char *attach;
attach            712 security/apparmor/policy_unpack.c 	(void) unpack_str(e, &profile->attach, "attach");
attach             93 sound/aoa/core/core.c 		goto attach;
attach            106 sound/aoa/core/core.c  attach:
attach            739 sound/soc/sh/rcar/dma.c 	int (*attach)(struct rsnd_dai_stream *io, struct rsnd_dma *dma,
attach            758 sound/soc/sh/rcar/dma.c 		attach	= rsnd_dmapp_attach;
attach            763 sound/soc/sh/rcar/dma.c 		attach	= rsnd_dmaen_attach;
attach            771 sound/soc/sh/rcar/dma.c 		attach	= rsnd_dmaen_attach;
attach            792 sound/soc/sh/rcar/dma.c 	ret = attach(io, dma, mod_from, mod_to);
attach            163 tools/perf/tests/event-times.c static int test_times(int (attach)(struct evlist *),
attach            188 tools/perf/tests/event-times.c 	err = attach(evlist);
attach            223 tools/perf/tests/event-times.c #define _T(attach, detach)			\
attach            224 tools/perf/tests/event-times.c 	err = test_times(attach, detach);	\
attach             60 tools/testing/selftests/bpf/flow_dissector_load.c 	bool attach = false;
attach             69 tools/testing/selftests/bpf/flow_dissector_load.c 			attach = true;
attach             72 tools/testing/selftests/bpf/flow_dissector_load.c 			if (attach)