attrs             365 arch/alpha/kernel/pci_iommu.c 				     unsigned long attrs)
attrs             385 arch/alpha/kernel/pci_iommu.c 				 unsigned long attrs)
attrs             449 arch/alpha/kernel/pci_iommu.c 				      unsigned long attrs)
attrs             494 arch/alpha/kernel/pci_iommu.c 				    unsigned long attrs)
attrs             667 arch/alpha/kernel/pci_iommu.c 			    unsigned long attrs)
attrs             745 arch/alpha/kernel/pci_iommu.c 			       unsigned long attrs)
attrs              39 arch/arc/kernel/perf_event.c 	struct attribute		**attrs;
attrs             481 arch/arc/kernel/perf_event.c 	.attrs = arc_pmu_format_attrs,
attrs             510 arch/arc/kernel/perf_event.c 	arc_pmu->attrs[j] = &(arc_pmu->attr[j].attr.attr);
attrs             520 arch/arc/kernel/perf_event.c 	arc_pmu->attrs = devm_kmalloc_array(dev, arc_pmu->n_events + 1,
attrs             521 arch/arc/kernel/perf_event.c 		sizeof(*arc_pmu->attrs), GFP_KERNEL | __GFP_ZERO);
attrs             522 arch/arc/kernel/perf_event.c 	if (!arc_pmu->attrs)
attrs             624 arch/arc/kernel/perf_event.c 	arc_pmu_events_attr_gr.attrs = arc_pmu->attrs;
attrs             717 arch/arm/common/bL_switcher.c 	.attrs = bL_switcher_attrs,
attrs             245 arch/arm/common/dmabounce.c 				    unsigned long attrs)
attrs             265 arch/arm/common/dmabounce.c 	    !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) {
attrs             276 arch/arm/common/dmabounce.c 				unsigned long attrs)
attrs             288 arch/arm/common/dmabounce.c 	    !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) {
attrs             315 arch/arm/common/dmabounce.c 		unsigned long attrs)
attrs             339 arch/arm/common/dmabounce.c 	return map_single(dev, page_address(page) + offset, size, dir, attrs);
attrs             349 arch/arm/common/dmabounce.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             362 arch/arm/common/dmabounce.c 	unmap_single(dev, buf, size, dir, attrs);
attrs             106 arch/arm/include/asm/dma-mapping.h 			   gfp_t gfp, unsigned long attrs);
attrs             123 arch/arm/include/asm/dma-mapping.h 			 dma_addr_t handle, unsigned long attrs);
attrs             140 arch/arm/include/asm/dma-mapping.h 			unsigned long attrs);
attrs             187 arch/arm/include/asm/dma-mapping.h 		enum dma_data_direction, unsigned long attrs);
attrs             189 arch/arm/include/asm/dma-mapping.h 		enum dma_data_direction, unsigned long attrs);
attrs             196 arch/arm/include/asm/dma-mapping.h 		unsigned long attrs);
attrs             544 arch/arm/kernel/perf_event_v7.c 	.attrs = armv7_pmu_format_attrs,
attrs             597 arch/arm/kernel/perf_event_v7.c 	.attrs = armv7_pmuv1_event_attrs,
attrs             648 arch/arm/kernel/perf_event_v7.c 	.attrs = armv7_pmuv2_event_attrs,
attrs             139 arch/arm/mach-imx/mmdc.c 	.attrs = mmdc_pmu_cpumask_attrs,
attrs             158 arch/arm/mach-imx/mmdc.c 	.attrs = mmdc_pmu_events_attrs,
attrs             172 arch/arm/mach-imx/mmdc.c 	.attrs = mmdc_pmu_format_attrs,
attrs             386 arch/arm/mm/cache-l2x0-pmu.c 	.attrs = l2x0_pmu_event_attrs,
attrs             405 arch/arm/mm/cache-l2x0-pmu.c 	.attrs = l2x0_pmu_cpumask_attrs,
attrs              35 arch/arm/mm/dma-mapping-nommu.c 				 unsigned long attrs)
attrs              56 arch/arm/mm/dma-mapping-nommu.c 			       unsigned long attrs)
attrs              65 arch/arm/mm/dma-mapping-nommu.c 			      unsigned long attrs)
attrs             100 arch/arm/mm/dma-mapping-nommu.c 					 unsigned long attrs)
attrs             111 arch/arm/mm/dma-mapping-nommu.c 				     unsigned long attrs)
attrs             119 arch/arm/mm/dma-mapping-nommu.c 				unsigned long attrs)
attrs             135 arch/arm/mm/dma-mapping-nommu.c 				   unsigned long attrs)
attrs             130 arch/arm/mm/dma-mapping.c 	     unsigned long attrs)
attrs             132 arch/arm/mm/dma-mapping.c 	if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0)
attrs             139 arch/arm/mm/dma-mapping.c 	     unsigned long attrs)
attrs             159 arch/arm/mm/dma-mapping.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             161 arch/arm/mm/dma-mapping.c 	if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0)
attrs             202 arch/arm/mm/dma-mapping.c 	dma_addr_t *handle, gfp_t gfp, unsigned long attrs);
attrs             204 arch/arm/mm/dma-mapping.c 				  dma_addr_t handle, unsigned long attrs);
attrs             207 arch/arm/mm/dma-mapping.c 		 unsigned long attrs);
attrs             592 arch/arm/mm/dma-mapping.c static inline pgprot_t __get_dma_pgprot(unsigned long attrs, pgprot_t prot)
attrs             594 arch/arm/mm/dma-mapping.c 	prot = (attrs & DMA_ATTR_WRITE_COMBINE) ?
attrs             689 arch/arm/mm/dma-mapping.c 			 unsigned long attrs, const void *caller)
attrs             702 arch/arm/mm/dma-mapping.c 		.want_vaddr = ((attrs & DMA_ATTR_NO_KERNEL_MAPPING) == 0),
attrs             772 arch/arm/mm/dma-mapping.c 		    gfp_t gfp, unsigned long attrs)
attrs             774 arch/arm/mm/dma-mapping.c 	pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL);
attrs             777 arch/arm/mm/dma-mapping.c 			   attrs, __builtin_return_address(0));
attrs             781 arch/arm/mm/dma-mapping.c 	dma_addr_t *handle, gfp_t gfp, unsigned long attrs)
attrs             784 arch/arm/mm/dma-mapping.c 			   attrs, __builtin_return_address(0));
attrs             789 arch/arm/mm/dma-mapping.c 		 unsigned long attrs)
attrs             815 arch/arm/mm/dma-mapping.c 		 unsigned long attrs)
attrs             817 arch/arm/mm/dma-mapping.c 	return __arm_dma_mmap(dev, vma, cpu_addr, dma_addr, size, attrs);
attrs             822 arch/arm/mm/dma-mapping.c 		 unsigned long attrs)
attrs             824 arch/arm/mm/dma-mapping.c 	vma->vm_page_prot = __get_dma_pgprot(attrs, vma->vm_page_prot);
attrs             825 arch/arm/mm/dma-mapping.c 	return __arm_dma_mmap(dev, vma, cpu_addr, dma_addr, size, attrs);
attrs             832 arch/arm/mm/dma-mapping.c 			   dma_addr_t handle, unsigned long attrs,
attrs             842 arch/arm/mm/dma-mapping.c 		.want_vaddr = ((attrs & DMA_ATTR_NO_KERNEL_MAPPING) == 0),
attrs             854 arch/arm/mm/dma-mapping.c 		  dma_addr_t handle, unsigned long attrs)
attrs             856 arch/arm/mm/dma-mapping.c 	__arm_dma_free(dev, size, cpu_addr, handle, attrs, false);
attrs             860 arch/arm/mm/dma-mapping.c 				  dma_addr_t handle, unsigned long attrs)
attrs             862 arch/arm/mm/dma-mapping.c 	__arm_dma_free(dev, size, cpu_addr, handle, attrs, true);
attrs             867 arch/arm/mm/dma-mapping.c 		 unsigned long attrs)
attrs            1007 arch/arm/mm/dma-mapping.c 		enum dma_data_direction dir, unsigned long attrs)
attrs            1018 arch/arm/mm/dma-mapping.c 						s->length, dir, attrs);
attrs            1026 arch/arm/mm/dma-mapping.c 		ops->unmap_page(dev, sg_dma_address(s), sg_dma_len(s), dir, attrs);
attrs            1041 arch/arm/mm/dma-mapping.c 		enum dma_data_direction dir, unsigned long attrs)
attrs            1049 arch/arm/mm/dma-mapping.c 		ops->unmap_page(dev, sg_dma_address(s), sg_dma_len(s), dir, attrs);
attrs            1117 arch/arm/mm/dma-mapping.c static int __dma_info_to_prot(enum dma_data_direction dir, unsigned long attrs)
attrs            1121 arch/arm/mm/dma-mapping.c 	if (attrs & DMA_ATTR_PRIVILEGED)
attrs            1237 arch/arm/mm/dma-mapping.c 					  gfp_t gfp, unsigned long attrs,
attrs            1253 arch/arm/mm/dma-mapping.c 	if (attrs & DMA_ATTR_FORCE_CONTIGUOUS)
attrs            1272 arch/arm/mm/dma-mapping.c 	if (attrs & DMA_ATTR_ALLOC_SINGLE_PAGES)
attrs            1328 arch/arm/mm/dma-mapping.c 			       size_t size, unsigned long attrs)
attrs            1333 arch/arm/mm/dma-mapping.c 	if (attrs & DMA_ATTR_FORCE_CONTIGUOUS) {
attrs            1350 arch/arm/mm/dma-mapping.c 		       unsigned long attrs)
attrs            1375 arch/arm/mm/dma-mapping.c 				__dma_info_to_prot(DMA_BIDIRECTIONAL, attrs));
attrs            1415 arch/arm/mm/dma-mapping.c static struct page **__iommu_get_pages(void *cpu_addr, unsigned long attrs)
attrs            1420 arch/arm/mm/dma-mapping.c 	if (attrs & DMA_ATTR_NO_KERNEL_MAPPING)
attrs            1428 arch/arm/mm/dma-mapping.c 				  unsigned long attrs)
attrs            1440 arch/arm/mm/dma-mapping.c 	*handle = __iommu_create_mapping(dev, &page, size, attrs);
attrs            1462 arch/arm/mm/dma-mapping.c 	    dma_addr_t *handle, gfp_t gfp, unsigned long attrs,
attrs            1465 arch/arm/mm/dma-mapping.c 	pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL);
attrs            1474 arch/arm/mm/dma-mapping.c 					    coherent_flag, attrs);
attrs            1485 arch/arm/mm/dma-mapping.c 	pages = __iommu_alloc_buffer(dev, size, gfp, attrs, coherent_flag);
attrs            1489 arch/arm/mm/dma-mapping.c 	*handle = __iommu_create_mapping(dev, pages, size, attrs);
attrs            1493 arch/arm/mm/dma-mapping.c 	if (attrs & DMA_ATTR_NO_KERNEL_MAPPING)
attrs            1506 arch/arm/mm/dma-mapping.c 	__iommu_free_buffer(dev, pages, size, attrs);
attrs            1511 arch/arm/mm/dma-mapping.c 	    dma_addr_t *handle, gfp_t gfp, unsigned long attrs)
attrs            1513 arch/arm/mm/dma-mapping.c 	return __arm_iommu_alloc_attrs(dev, size, handle, gfp, attrs, NORMAL);
attrs            1517 arch/arm/mm/dma-mapping.c 		    dma_addr_t *handle, gfp_t gfp, unsigned long attrs)
attrs            1519 arch/arm/mm/dma-mapping.c 	return __arm_iommu_alloc_attrs(dev, size, handle, gfp, attrs, COHERENT);
attrs            1524 arch/arm/mm/dma-mapping.c 		    unsigned long attrs)
attrs            1526 arch/arm/mm/dma-mapping.c 	struct page **pages = __iommu_get_pages(cpu_addr, attrs);
attrs            1544 arch/arm/mm/dma-mapping.c 		dma_addr_t dma_addr, size_t size, unsigned long attrs)
attrs            1546 arch/arm/mm/dma-mapping.c 	vma->vm_page_prot = __get_dma_pgprot(attrs, vma->vm_page_prot);
attrs            1548 arch/arm/mm/dma-mapping.c 	return __arm_iommu_mmap_attrs(dev, vma, cpu_addr, dma_addr, size, attrs);
attrs            1553 arch/arm/mm/dma-mapping.c 		dma_addr_t dma_addr, size_t size, unsigned long attrs)
attrs            1555 arch/arm/mm/dma-mapping.c 	return __arm_iommu_mmap_attrs(dev, vma, cpu_addr, dma_addr, size, attrs);
attrs            1563 arch/arm/mm/dma-mapping.c 	dma_addr_t handle, unsigned long attrs, int coherent_flag)
attrs            1573 arch/arm/mm/dma-mapping.c 	pages = __iommu_get_pages(cpu_addr, attrs);
attrs            1579 arch/arm/mm/dma-mapping.c 	if ((attrs & DMA_ATTR_NO_KERNEL_MAPPING) == 0)
attrs            1583 arch/arm/mm/dma-mapping.c 	__iommu_free_buffer(dev, pages, size, attrs);
attrs            1587 arch/arm/mm/dma-mapping.c 		    void *cpu_addr, dma_addr_t handle, unsigned long attrs)
attrs            1589 arch/arm/mm/dma-mapping.c 	__arm_iommu_free_attrs(dev, size, cpu_addr, handle, attrs, NORMAL);
attrs            1593 arch/arm/mm/dma-mapping.c 		    void *cpu_addr, dma_addr_t handle, unsigned long attrs)
attrs            1595 arch/arm/mm/dma-mapping.c 	__arm_iommu_free_attrs(dev, size, cpu_addr, handle, attrs, COHERENT);
attrs            1600 arch/arm/mm/dma-mapping.c 				 size_t size, unsigned long attrs)
attrs            1603 arch/arm/mm/dma-mapping.c 	struct page **pages = __iommu_get_pages(cpu_addr, attrs);
attrs            1617 arch/arm/mm/dma-mapping.c 			  enum dma_data_direction dir, unsigned long attrs,
attrs            1638 arch/arm/mm/dma-mapping.c 		if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0)
attrs            1641 arch/arm/mm/dma-mapping.c 		prot = __dma_info_to_prot(dir, attrs);
attrs            1659 arch/arm/mm/dma-mapping.c 		     enum dma_data_direction dir, unsigned long attrs,
attrs            1676 arch/arm/mm/dma-mapping.c 			    dir, attrs, is_coherent) < 0)
attrs            1689 arch/arm/mm/dma-mapping.c 	if (__map_sg_chunk(dev, start, size, &dma->dma_address, dir, attrs,
attrs            1717 arch/arm/mm/dma-mapping.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs            1719 arch/arm/mm/dma-mapping.c 	return __iommu_map_sg(dev, sg, nents, dir, attrs, true);
attrs            1735 arch/arm/mm/dma-mapping.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs            1737 arch/arm/mm/dma-mapping.c 	return __iommu_map_sg(dev, sg, nents, dir, attrs, false);
attrs            1742 arch/arm/mm/dma-mapping.c 		unsigned long attrs, bool is_coherent)
attrs            1751 arch/arm/mm/dma-mapping.c 		if (!is_coherent && (attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0)
attrs            1769 arch/arm/mm/dma-mapping.c 		unsigned long attrs)
attrs            1771 arch/arm/mm/dma-mapping.c 	__iommu_unmap_sg(dev, sg, nents, dir, attrs, true);
attrs            1786 arch/arm/mm/dma-mapping.c 			unsigned long attrs)
attrs            1788 arch/arm/mm/dma-mapping.c 	__iommu_unmap_sg(dev, sg, nents, dir, attrs, false);
attrs            1839 arch/arm/mm/dma-mapping.c 	     unsigned long attrs)
attrs            1849 arch/arm/mm/dma-mapping.c 	prot = __dma_info_to_prot(dir, attrs);
attrs            1873 arch/arm/mm/dma-mapping.c 	     unsigned long attrs)
attrs            1875 arch/arm/mm/dma-mapping.c 	if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0)
attrs            1878 arch/arm/mm/dma-mapping.c 	return arm_coherent_iommu_map_page(dev, page, offset, size, dir, attrs);
attrs            1891 arch/arm/mm/dma-mapping.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs            1915 arch/arm/mm/dma-mapping.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs            1926 arch/arm/mm/dma-mapping.c 	if ((attrs & DMA_ATTR_SKIP_CPU_SYNC) == 0)
attrs            1942 arch/arm/mm/dma-mapping.c 		enum dma_data_direction dir, unsigned long attrs)
attrs            1955 arch/arm/mm/dma-mapping.c 	prot = __dma_info_to_prot(dir, attrs) | IOMMU_MMIO;
attrs            1976 arch/arm/mm/dma-mapping.c 		unsigned long attrs)
attrs            2356 arch/arm/mm/dma-mapping.c 		gfp_t gfp, unsigned long attrs)
attrs            2359 arch/arm/mm/dma-mapping.c 			   __get_dma_pgprot(attrs, PAGE_KERNEL), false,
attrs            2360 arch/arm/mm/dma-mapping.c 			   attrs, __builtin_return_address(0));
attrs            2364 arch/arm/mm/dma-mapping.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs            2366 arch/arm/mm/dma-mapping.c 	__arm_dma_free(dev, size, cpu_addr, dma_handle, attrs, false);
attrs             247 arch/arm64/kernel/cpuinfo.c 	.attrs = cpuregs_id_attrs,
attrs             316 arch/arm64/kernel/perf_event.c 	.attrs = armv8_pmuv3_event_attrs,
attrs             336 arch/arm64/kernel/perf_event.c 	.attrs = armv8_pmuv3_format_attrs,
attrs              75 arch/c6x/mm/dma-coherent.c 		gfp_t gfp, unsigned long attrs)
attrs             103 arch/c6x/mm/dma-coherent.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs              20 arch/hexagon/kernel/dma.c 		gfp_t flag, unsigned long attrs)
attrs              53 arch/hexagon/kernel/dma.c 		dma_addr_t dma_addr, unsigned long attrs)
attrs             915 arch/ia64/hp/common/sba_iommu.c 			       unsigned long attrs)
attrs            1034 arch/ia64/hp/common/sba_iommu.c 			   enum dma_data_direction dir, unsigned long attrs)
attrs            1112 arch/ia64/hp/common/sba_iommu.c 		   gfp_t flags, unsigned long attrs)
attrs            1168 arch/ia64/hp/common/sba_iommu.c 			      dma_addr_t dma_handle, unsigned long attrs)
attrs            1419 arch/ia64/hp/common/sba_iommu.c 			       unsigned long attrs);
attrs            1432 arch/ia64/hp/common/sba_iommu.c 			    unsigned long attrs)
attrs            1461 arch/ia64/hp/common/sba_iommu.c 				sglist->offset, sglist->length, dir, attrs);
attrs            1489 arch/ia64/hp/common/sba_iommu.c 		sba_unmap_sg_attrs(dev, sglist, nents, dir, attrs);
attrs            1531 arch/ia64/hp/common/sba_iommu.c 			       unsigned long attrs)
attrs            1553 arch/ia64/hp/common/sba_iommu.c 			       dir, attrs);
attrs              12 arch/ia64/kernel/dma-mapping.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs              14 arch/ia64/kernel/dma-mapping.c 	return dma_direct_alloc_pages(dev, size, dma_handle, gfp, attrs);
attrs              18 arch/ia64/kernel/dma-mapping.c 		dma_addr_t dma_addr, unsigned long attrs)
attrs              20 arch/ia64/kernel/dma-mapping.c 	dma_direct_free_pages(dev, size, cpu_addr, dma_addr, attrs);
attrs             223 arch/ia64/kernel/err_inject.c 	.attrs = default_attrs,
attrs              41 arch/m68k/kernel/dma.c 		gfp_t gfp, unsigned long attrs)
attrs              57 arch/m68k/kernel/dma.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             229 arch/mips/alchemy/devboards/pm.c 	.attrs	= db1x_pmattrs,
attrs              41 arch/mips/include/asm/maar.h 				   phys_addr_t upper, unsigned attrs)
attrs              49 arch/mips/include/asm/maar.h 	attrs |= MIPS_MAAR_VL;
attrs              54 arch/mips/include/asm/maar.h 	write_c0_maar(((upper >> 4) & MIPS_MAAR_ADDR) | attrs);
attrs              60 arch/mips/include/asm/maar.h 	write_c0_maar((lower >> 4) | attrs);
attrs              89 arch/mips/include/asm/maar.h 	unsigned attrs;
attrs             109 arch/mips/include/asm/maar.h 		write_maar_pair(i, cfg[i].lower, cfg[i].upper, cfg[i].attrs);
attrs             564 arch/mips/jazz/jazzdma.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             568 arch/mips/jazz/jazzdma.c 	ret = dma_direct_alloc_pages(dev, size, dma_handle, gfp, attrs);
attrs             574 arch/mips/jazz/jazzdma.c 		dma_direct_free_pages(dev, size, ret, *dma_handle, attrs);
attrs             582 arch/mips/jazz/jazzdma.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             585 arch/mips/jazz/jazzdma.c 	dma_direct_free_pages(dev, size, vaddr, dma_handle, attrs);
attrs             590 arch/mips/jazz/jazzdma.c 		unsigned long attrs)
attrs             594 arch/mips/jazz/jazzdma.c 	if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             600 arch/mips/jazz/jazzdma.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             602 arch/mips/jazz/jazzdma.c 	if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             608 arch/mips/jazz/jazzdma.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             614 arch/mips/jazz/jazzdma.c 		if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             627 arch/mips/jazz/jazzdma.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             633 arch/mips/jazz/jazzdma.c 		if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             290 arch/mips/mm/init.c 	cfg->attrs = MIPS_MAAR_S;
attrs             387 arch/mips/mm/init.c 			recorded.cfgs[recorded.used].attrs = attr;
attrs            1013 arch/nds32/kernel/perf_event_cpu.c 	.attrs = nds32_arch_formats_attr,
attrs            1031 arch/nds32/kernel/perf_event_cpu.c 	.attrs = nds32_pmu_common_attrs,
attrs              88 arch/openrisc/kernel/dma.c 		gfp_t gfp, unsigned long attrs)
attrs             117 arch/openrisc/kernel/dma.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             398 arch/parisc/kernel/pci-dma.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             428 arch/parisc/kernel/pci-dma.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs              44 arch/powerpc/include/asm/iommu.h 			unsigned long attrs);
attrs             256 arch/powerpc/include/asm/iommu.h 			    unsigned long attrs);
attrs             261 arch/powerpc/include/asm/iommu.h 			       unsigned long attrs);
attrs             272 arch/powerpc/include/asm/iommu.h 				 unsigned long attrs);
attrs             275 arch/powerpc/include/asm/iommu.h 			     unsigned long attrs);
attrs             266 arch/powerpc/include/asm/spu.h int spu_add_dev_attr_group(struct attribute_group *attrs);
attrs             267 arch/powerpc/include/asm/spu.h void spu_remove_dev_attr_group(struct attribute_group *attrs);
attrs              28 arch/powerpc/kernel/dma-iommu.c 		unsigned long attrs)
attrs              31 arch/powerpc/kernel/dma-iommu.c 		(!iommu_fixed_is_weak || (attrs & DMA_ATTR_WEAK_ORDERING));
attrs              40 arch/powerpc/kernel/dma-iommu.c 				      unsigned long attrs)
attrs              43 arch/powerpc/kernel/dma-iommu.c 		return dma_direct_alloc(dev, size, dma_handle, flag, attrs);
attrs              51 arch/powerpc/kernel/dma-iommu.c 				    unsigned long attrs)
attrs              54 arch/powerpc/kernel/dma-iommu.c 		dma_direct_free(dev, size, vaddr, dma_handle, attrs);
attrs              68 arch/powerpc/kernel/dma-iommu.c 				     unsigned long attrs)
attrs              70 arch/powerpc/kernel/dma-iommu.c 	if (dma_iommu_map_bypass(dev, attrs))
attrs              72 arch/powerpc/kernel/dma-iommu.c 				attrs);
attrs              74 arch/powerpc/kernel/dma-iommu.c 			      size, dma_get_mask(dev), direction, attrs);
attrs              80 arch/powerpc/kernel/dma-iommu.c 				 unsigned long attrs)
attrs              82 arch/powerpc/kernel/dma-iommu.c 	if (!dma_iommu_map_bypass(dev, attrs))
attrs              84 arch/powerpc/kernel/dma-iommu.c 				direction,  attrs);
attrs              86 arch/powerpc/kernel/dma-iommu.c 		dma_direct_unmap_page(dev, dma_handle, size, direction, attrs);
attrs              92 arch/powerpc/kernel/dma-iommu.c 			    unsigned long attrs)
attrs              94 arch/powerpc/kernel/dma-iommu.c 	if (dma_iommu_map_bypass(dev, attrs))
attrs              95 arch/powerpc/kernel/dma-iommu.c 		return dma_direct_map_sg(dev, sglist, nelems, direction, attrs);
attrs              97 arch/powerpc/kernel/dma-iommu.c 				dma_get_mask(dev), direction, attrs);
attrs             102 arch/powerpc/kernel/dma-iommu.c 		unsigned long attrs)
attrs             104 arch/powerpc/kernel/dma-iommu.c 	if (!dma_iommu_map_bypass(dev, attrs))
attrs             106 arch/powerpc/kernel/dma-iommu.c 			   direction, attrs);
attrs             108 arch/powerpc/kernel/dma-iommu.c 		dma_direct_unmap_sg(dev, sglist, nelems, direction, attrs);
attrs             297 arch/powerpc/kernel/iommu.c 			      unsigned long attrs)
attrs             314 arch/powerpc/kernel/iommu.c 				      IOMMU_PAGE_MASK(tbl), direction, attrs);
attrs             421 arch/powerpc/kernel/iommu.c 		     unsigned long attrs)
attrs             469 arch/powerpc/kernel/iommu.c 			if (!(attrs & DMA_ATTR_NO_WARN) &&
attrs             488 arch/powerpc/kernel/iommu.c 					      direction, attrs);
attrs             565 arch/powerpc/kernel/iommu.c 			unsigned long attrs)
attrs             797 arch/powerpc/kernel/iommu.c 			  unsigned long attrs)
attrs             818 arch/powerpc/kernel/iommu.c 					 attrs);
attrs             820 arch/powerpc/kernel/iommu.c 			if (!(attrs & DMA_ATTR_NO_WARN) &&
attrs             835 arch/powerpc/kernel/iommu.c 		      unsigned long attrs)
attrs             740 arch/powerpc/kernel/sysfs.c 	struct device_attribute *attrs, *pmc_attrs;
attrs             756 arch/powerpc/kernel/sysfs.c 		attrs = ibm_common_attrs;
attrs             763 arch/powerpc/kernel/sysfs.c 		attrs = g4_common_attrs;
attrs             771 arch/powerpc/kernel/sysfs.c 		attrs = pa6t_attrs;
attrs             777 arch/powerpc/kernel/sysfs.c 		attrs = NULL;
attrs             783 arch/powerpc/kernel/sysfs.c 		device_create_file(s, &attrs[i]);
attrs             831 arch/powerpc/kernel/sysfs.c 	struct device_attribute *attrs, *pmc_attrs;
attrs             845 arch/powerpc/kernel/sysfs.c 		attrs = ibm_common_attrs;
attrs             852 arch/powerpc/kernel/sysfs.c 		attrs = g4_common_attrs;
attrs             860 arch/powerpc/kernel/sysfs.c 		attrs = pa6t_attrs;
attrs             866 arch/powerpc/kernel/sysfs.c 		attrs = NULL;
attrs             872 arch/powerpc/kernel/sysfs.c 		device_remove_file(s, &attrs[i]);
attrs             952 arch/powerpc/kernel/sysfs.c int cpu_add_dev_attr_group(struct attribute_group *attrs)
attrs             962 arch/powerpc/kernel/sysfs.c 		ret = sysfs_create_group(&dev->kobj, attrs);
attrs             986 arch/powerpc/kernel/sysfs.c void cpu_remove_dev_attr_group(struct attribute_group *attrs)
attrs             995 arch/powerpc/kernel/sysfs.c 		sysfs_remove_group(&dev->kobj, attrs);
attrs              61 arch/powerpc/perf/generic-compat-pmu.c 	.attrs = generic_compat_events_attr,
attrs              83 arch/powerpc/perf/generic-compat-pmu.c 	.attrs = generic_compat_pmu_format_attr,
attrs             147 arch/powerpc/perf/hv-24x7.c 	.attrs = format_attrs,
attrs             516 arch/powerpc/perf/hv-24x7.c static int event_data_to_attrs(unsigned ix, struct attribute **attrs,
attrs             519 arch/powerpc/perf/hv-24x7.c 	*attrs = event_to_attr(ix, event, event->domain, nonce);
attrs             520 arch/powerpc/perf/hv-24x7.c 	if (!*attrs)
attrs            1051 arch/powerpc/perf/hv-24x7.c 	.attrs = if_attrs,
attrs            1607 arch/powerpc/perf/hv-24x7.c 	r = create_events_from_catalog(&event_group.attrs,
attrs            1608 arch/powerpc/perf/hv-24x7.c 				   &event_desc_group.attrs,
attrs            1609 arch/powerpc/perf/hv-24x7.c 				   &event_long_desc_group.attrs);
attrs              68 arch/powerpc/perf/hv-gpci.c 	.attrs = format_attrs,
attrs              73 arch/powerpc/perf/hv-gpci.c 	.attrs = hv_gpci_event_attrs,
attrs             116 arch/powerpc/perf/hv-gpci.c 	.attrs = interface_attrs,
attrs              66 arch/powerpc/perf/imc-pmu.c 	.attrs = imc_format_attrs,
attrs              85 arch/powerpc/perf/imc-pmu.c .attrs = trace_imc_format_attrs,
attrs             119 arch/powerpc/perf/imc-pmu.c 	.attrs = imc_pmu_cpumask_attrs,
attrs             212 arch/powerpc/perf/imc-pmu.c 	struct attribute **attrs, *dev_str;
attrs             273 arch/powerpc/perf/imc-pmu.c 	attrs = kcalloc(((ct * 3) + 1), sizeof(struct attribute *), GFP_KERNEL);
attrs             274 arch/powerpc/perf/imc-pmu.c 	if (!attrs) {
attrs             281 arch/powerpc/perf/imc-pmu.c 	attr_group->attrs = attrs;
attrs             288 arch/powerpc/perf/imc-pmu.c 		attrs[j++] = dev_str;
attrs             295 arch/powerpc/perf/imc-pmu.c 			attrs[j++] = dev_str;
attrs             304 arch/powerpc/perf/imc-pmu.c 			attrs[j++] = dev_str;
attrs            1470 arch/powerpc/perf/imc-pmu.c 		kfree(pmu_ptr->attr_groups[IMC_EVENT_ATTR]->attrs);
attrs              42 arch/powerpc/perf/isa207-common.c 	.attrs = isa207_pmu_format_attr,
attrs             406 arch/powerpc/perf/power7-pmu.c 	.attrs = power7_events_attr,
attrs             418 arch/powerpc/perf/power7-pmu.c 	.attrs = power7_pmu_format_attr,
attrs             187 arch/powerpc/perf/power8-pmu.c 	.attrs = power8_events_attr,
attrs             208 arch/powerpc/perf/power9-pmu.c 	.attrs = power9_events_attr,
attrs             244 arch/powerpc/perf/power9-pmu.c 	.attrs = power9_pmu_format_attr,
attrs             260 arch/powerpc/platforms/cell/cbe_thermal.c 	.attrs	= spu_attributes,
attrs             288 arch/powerpc/platforms/cell/cbe_thermal.c 	.attrs	= ppe_attributes,
attrs             156 arch/powerpc/platforms/cell/iommu.c 		unsigned long attrs)
attrs             183 arch/powerpc/platforms/cell/iommu.c 	if (unlikely(attrs & DMA_ATTR_WEAK_ORDERING))
attrs             493 arch/powerpc/platforms/cell/spu_base.c int spu_add_dev_attr_group(struct attribute_group *attrs)
attrs             500 arch/powerpc/platforms/cell/spu_base.c 		rc = sysfs_create_group(&spu->dev.kobj, attrs);
attrs             505 arch/powerpc/platforms/cell/spu_base.c 					__func__, attrs->name);
attrs             509 arch/powerpc/platforms/cell/spu_base.c 				sysfs_remove_group(&spu->dev.kobj, attrs);
attrs             532 arch/powerpc/platforms/cell/spu_base.c void spu_remove_dev_attr_group(struct attribute_group *attrs)
attrs             538 arch/powerpc/platforms/cell/spu_base.c 		sysfs_remove_group(&spu->dev.kobj, attrs);
attrs              79 arch/powerpc/platforms/pasemi/iommu.c 			 unsigned long attrs)
attrs             149 arch/powerpc/platforms/powernv/opal-dump.c 	.attrs = initiate_attrs,
attrs             516 arch/powerpc/platforms/powernv/opal-flash.c 	.attrs = image_op_attrs,
attrs             190 arch/powerpc/platforms/powernv/opal-powercap.c 		pcaps[i].pg.attrs = kcalloc(j + 1, sizeof(struct attribute *),
attrs             192 arch/powerpc/platforms/powernv/opal-powercap.c 		if (!pcaps[i].pg.attrs) {
attrs             202 arch/powerpc/platforms/powernv/opal-powercap.c 			pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr;
attrs             209 arch/powerpc/platforms/powernv/opal-powercap.c 			pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr;
attrs             218 arch/powerpc/platforms/powernv/opal-powercap.c 			pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr;
attrs             235 arch/powerpc/platforms/powernv/opal-powercap.c 		kfree(pcaps[i].pg.attrs);
attrs             139 arch/powerpc/platforms/powernv/opal-sensor-groups.c 				sg->sg.attrs[count] =
attrs             198 arch/powerpc/platforms/powernv/opal-sensor-groups.c 		sgs[i].sg.attrs = kcalloc(nr_attrs + 1,
attrs             199 arch/powerpc/platforms/powernv/opal-sensor-groups.c 					  sizeof(*sgs[i].sg.attrs),
attrs             202 arch/powerpc/platforms/powernv/opal-sensor-groups.c 		if (!sgs[i].sg.attrs) {
attrs             231 arch/powerpc/platforms/powernv/opal-sensor-groups.c 		kfree(sgs[i].sg.attrs);
attrs              98 arch/powerpc/platforms/powernv/pci-ioda-tce.c 		unsigned long attrs)
attrs            1941 arch/powerpc/platforms/powernv/pci-ioda.c 		unsigned long attrs)
attrs            1944 arch/powerpc/platforms/powernv/pci-ioda.c 			attrs);
attrs            2092 arch/powerpc/platforms/powernv/pci-ioda.c 		unsigned long attrs)
attrs            2095 arch/powerpc/platforms/powernv/pci-ioda.c 			attrs);
attrs             227 arch/powerpc/platforms/powernv/pci.h 		unsigned long attrs);
attrs             509 arch/powerpc/platforms/ps3/system-bus.c 				 unsigned long attrs)
attrs             546 arch/powerpc/platforms/ps3/system-bus.c 			      dma_addr_t dma_handle, unsigned long attrs)
attrs             562 arch/powerpc/platforms/ps3/system-bus.c 	unsigned long attrs)
attrs             585 arch/powerpc/platforms/ps3/system-bus.c 				    unsigned long attrs)
attrs             619 arch/powerpc/platforms/ps3/system-bus.c 	size_t size, enum dma_data_direction direction, unsigned long attrs)
attrs             633 arch/powerpc/platforms/ps3/system-bus.c 	int nents, enum dma_data_direction direction, unsigned long attrs)
attrs             663 arch/powerpc/platforms/ps3/system-bus.c 			   unsigned long attrs)
attrs             670 arch/powerpc/platforms/ps3/system-bus.c 	int nents, enum dma_data_direction direction, unsigned long attrs)
attrs             679 arch/powerpc/platforms/ps3/system-bus.c 			    unsigned long attrs)
attrs              68 arch/powerpc/platforms/pseries/ibmebus.c 				    unsigned long attrs)
attrs              81 arch/powerpc/platforms/pseries/ibmebus.c 				  unsigned long attrs)
attrs              91 arch/powerpc/platforms/pseries/ibmebus.c 				   unsigned long attrs)
attrs             100 arch/powerpc/platforms/pseries/ibmebus.c 			       unsigned long attrs)
attrs             108 arch/powerpc/platforms/pseries/ibmebus.c 			  unsigned long attrs)
attrs             124 arch/powerpc/platforms/pseries/ibmebus.c 			     unsigned long attrs)
attrs              91 arch/powerpc/platforms/pseries/iommu.c 			      unsigned long attrs)
attrs             141 arch/powerpc/platforms/pseries/iommu.c 				unsigned long attrs)
attrs             184 arch/powerpc/platforms/pseries/iommu.c 				     unsigned long attrs)
attrs             198 arch/powerpc/platforms/pseries/iommu.c 		                           direction, attrs);
attrs             215 arch/powerpc/platforms/pseries/iommu.c 					npages, uaddr, direction, attrs);
attrs              55 arch/powerpc/platforms/pseries/power.c         .attrs = g,
attrs             481 arch/powerpc/platforms/pseries/vio.c 					  unsigned long attrs)
attrs             504 arch/powerpc/platforms/pseries/vio.c 					unsigned long attrs)
attrs             515 arch/powerpc/platforms/pseries/vio.c                                          unsigned long attrs)
attrs             524 arch/powerpc/platforms/pseries/vio.c 			direction, attrs);
attrs             539 arch/powerpc/platforms/pseries/vio.c 				     unsigned long attrs)
attrs             544 arch/powerpc/platforms/pseries/vio.c 	iommu_unmap_page(tbl, dma_handle, size, direction, attrs);
attrs             550 arch/powerpc/platforms/pseries/vio.c                                 unsigned long attrs)
attrs             564 arch/powerpc/platforms/pseries/vio.c 			direction, attrs);
attrs             584 arch/powerpc/platforms/pseries/vio.c 		unsigned long attrs)
attrs             595 arch/powerpc/platforms/pseries/vio.c 	ppc_iommu_unmap_sg(tbl, sglist, nelems, direction, attrs);
attrs             175 arch/powerpc/sysdev/dart_iommu.c 		       unsigned long attrs)
attrs             812 arch/s390/crypto/prng.c 	.attrs = prng_sha512_dev_attrs
attrs             815 arch/s390/crypto/prng.c 	.attrs = prng_tdes_dev_attrs
attrs              96 arch/s390/include/asm/eadm.h 	} __packed attrs;
attrs             395 arch/s390/kernel/ipl.c 	.attrs = ipl_fcp_attrs,
attrs             421 arch/s390/kernel/ipl.c 	.attrs = ipl_ccw_attrs_vm,
attrs             425 arch/s390/kernel/ipl.c 	.attrs = ipl_ccw_attrs_lpar
attrs             436 arch/s390/kernel/ipl.c 	.attrs = ipl_unknown_attrs,
attrs             705 arch/s390/kernel/ipl.c 	.attrs = reipl_fcp_attrs,
attrs             759 arch/s390/kernel/ipl.c 	.attrs = reipl_ccw_attrs_vm,
attrs             764 arch/s390/kernel/ipl.c 	.attrs = reipl_ccw_attrs_lpar,
attrs             830 arch/s390/kernel/ipl.c 	.attrs = reipl_nss_attrs,
attrs            1118 arch/s390/kernel/ipl.c 	.attrs = dump_fcp_attrs,
attrs            1131 arch/s390/kernel/ipl.c 	.attrs = dump_ccw_attrs,
attrs            1316 arch/s390/kernel/ipl.c 	.attrs = vmcmd_attrs,
attrs            1554 arch/s390/kernel/ipl.c 	.attrs = shutdown_action_attrs,
attrs             618 arch/s390/kernel/perf_cpum_cf_diag.c 	.attrs = cf_diag_events_attr,
attrs             622 arch/s390/kernel/perf_cpum_cf_diag.c 	.attrs = cf_diag_format_attr,
attrs             534 arch/s390/kernel/perf_cpum_cf_events.c 	.attrs = cpumcf_pmu_format_attr,
attrs             638 arch/s390/kernel/perf_cpum_cf_events.c 		cpumcf_pmu_events_group.attrs = combined;
attrs            1994 arch/s390/kernel/perf_cpum_sf.c 	.attrs = cpumsf_pmu_events_attr,
attrs            1999 arch/s390/kernel/perf_cpum_sf.c 	.attrs = cpumsf_pmu_format_attr,
attrs            1117 arch/s390/kernel/smp.c 	.attrs = cpu_common_attrs,
attrs            1127 arch/s390/kernel/smp.c 	.attrs = cpu_online_attrs,
attrs             445 arch/s390/kernel/topology.c 	.attrs = topology_cpu_attrs,
attrs             467 arch/s390/kernel/topology.c 	.attrs = topology_extra_cpu_attrs,
attrs             338 arch/s390/pci/pci_dma.c 				     unsigned long attrs)
attrs             378 arch/s390/pci/pci_dma.c 				 unsigned long attrs)
attrs             399 arch/s390/pci/pci_dma.c 			    unsigned long attrs)
attrs             426 arch/s390/pci/pci_dma.c 			  unsigned long attrs)
attrs             486 arch/s390/pci/pci_dma.c 			   unsigned long attrs)
attrs             526 arch/s390/pci/pci_dma.c 				     dir, attrs);
attrs             533 arch/s390/pci/pci_dma.c 			      unsigned long attrs)
attrs             541 arch/s390/pci/pci_dma.c 					     dir, attrs);
attrs             152 arch/s390/pci/pci_sysfs.c 	.attrs = zpci_dev_attrs,
attrs             165 arch/s390/pci/pci_sysfs.c 	.attrs = pfip_attrs,
attrs              13 arch/sh/kernel/dma-coherent.c 		gfp_t gfp, unsigned long attrs)
attrs              47 arch/sh/kernel/dma-coherent.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             199 arch/sparc/kernel/iommu.c 				   unsigned long attrs)
attrs             248 arch/sparc/kernel/iommu.c 				 unsigned long attrs)
attrs             266 arch/sparc/kernel/iommu.c 				  unsigned long attrs)
attrs             388 arch/sparc/kernel/iommu.c 			      unsigned long attrs)
attrs             418 arch/sparc/kernel/iommu.c 	if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             434 arch/sparc/kernel/iommu.c 			 unsigned long attrs)
attrs             610 arch/sparc/kernel/iommu.c 			    unsigned long attrs)
attrs             643 arch/sparc/kernel/iommu.c 		if (strbuf->strbuf_enabled && !(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             319 arch/sparc/kernel/ioport.c 		gfp_t gfp, unsigned long attrs)
attrs             357 arch/sparc/kernel/ioport.c 		dma_addr_t dma_addr, unsigned long attrs)
attrs             181 arch/sparc/kernel/pci_sun4v.c 				   unsigned long attrs)
attrs             200 arch/sparc/kernel/pci_sun4v.c 	if (attrs & DMA_ATTR_WEAK_ORDERING)
attrs             322 arch/sparc/kernel/pci_sun4v.c 				 dma_addr_t dvma, unsigned long attrs)
attrs             356 arch/sparc/kernel/pci_sun4v.c 				  unsigned long attrs)
attrs             397 arch/sparc/kernel/pci_sun4v.c 	if (attrs & DMA_ATTR_WEAK_ORDERING)
attrs             429 arch/sparc/kernel/pci_sun4v.c 			      unsigned long attrs)
attrs             469 arch/sparc/kernel/pci_sun4v.c 			 unsigned long attrs)
attrs             495 arch/sparc/kernel/pci_sun4v.c 	if (attrs & DMA_ATTR_WEAK_ORDERING)
attrs             627 arch/sparc/kernel/pci_sun4v.c 			    unsigned long attrs)
attrs              98 arch/sparc/kernel/sysfs.c 	.attrs = mmu_stat_attrs,
attrs            1895 arch/sparc/kernel/traps_64.c static void sun4v_emit_err_attr_strings(u32 attrs)
attrs            1924 arch/sparc/kernel/traps_64.c 		if (attrs & (1U << i)) {
attrs            1931 arch/sparc/kernel/traps_64.c 	sp_state = ((attrs & SUN4V_ERR_ATTRS_SPSTATE_MSK) >>
attrs            1935 arch/sparc/kernel/traps_64.c 	mode = ((attrs & SUN4V_ERR_ATTRS_MODE_MSK) >>
attrs            1939 arch/sparc/kernel/traps_64.c 	if (attrs & SUN4V_ERR_ATTRS_RES_QUEUE_FULL)
attrs            1970 arch/sparc/kernel/traps_64.c 	u32 attrs;
attrs            1987 arch/sparc/kernel/traps_64.c 	attrs = ent->err_attrs;
attrs            1988 arch/sparc/kernel/traps_64.c 	printk("%s: attrs [0x%08x] < ", pfx, attrs);
attrs            1989 arch/sparc/kernel/traps_64.c 	sun4v_emit_err_attr_strings(attrs);
attrs            1995 arch/sparc/kernel/traps_64.c 	if (attrs & (SUN4V_ERR_ATTRS_MEMORY |
attrs            2004 arch/sparc/kernel/traps_64.c 	if (attrs & (SUN4V_ERR_ATTRS_MEMORY | SUN4V_ERR_ATTRS_ASI))
attrs            2007 arch/sparc/kernel/traps_64.c 	if (attrs & (SUN4V_ERR_ATTRS_PROCESSOR |
attrs            2013 arch/sparc/kernel/traps_64.c 	if (attrs & SUN4V_ERR_ATTRS_ASI)
attrs            2016 arch/sparc/kernel/traps_64.c 	if ((attrs & (SUN4V_ERR_ATTRS_INT_REGISTERS |
attrs            2158 arch/sparc/kernel/traps_64.c 	unsigned int attrs = ent->err_attrs;
attrs            2160 arch/sparc/kernel/traps_64.c 	if (attrs & SUN4V_ERR_ATTRS_MEMORY) {
attrs            2186 arch/sparc/kernel/traps_64.c 	if (attrs & SUN4V_ERR_ATTRS_PIO) {
attrs             145 arch/sparc/mm/io-unit.c 		unsigned long attrs)
attrs             162 arch/sparc/mm/io-unit.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             180 arch/sparc/mm/io-unit.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             195 arch/sparc/mm/io-unit.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             215 arch/sparc/mm/io-unit.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             271 arch/sparc/mm/io-unit.c 		dma_addr_t dma_addr, unsigned long attrs)
attrs             230 arch/sparc/mm/iommu.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             238 arch/sparc/mm/iommu.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             244 arch/sparc/mm/iommu.c 		int nents, enum dma_data_direction dir, unsigned long attrs,
attrs             262 arch/sparc/mm/iommu.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             265 arch/sparc/mm/iommu.c 	return __sbus_iommu_map_sg(dev, sgl, nents, dir, attrs, false);
attrs             269 arch/sparc/mm/iommu.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             271 arch/sparc/mm/iommu.c 	return __sbus_iommu_map_sg(dev, sgl, nents, dir, attrs, true);
attrs             275 arch/sparc/mm/iommu.c 		size_t len, enum dma_data_direction dir, unsigned long attrs)
attrs             294 arch/sparc/mm/iommu.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             301 arch/sparc/mm/iommu.c 				attrs);
attrs             308 arch/sparc/mm/iommu.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             392 arch/sparc/mm/iommu.c 			       dma_addr_t busa, unsigned long attrs)
attrs             716 arch/x86/events/amd/ibs.c 		perf_ibs->format_group.attrs	= perf_ibs->format_attrs;
attrs              73 arch/x86/events/amd/iommu.c 	.attrs = iommu_format_attrs,
attrs             149 arch/x86/events/amd/iommu.c 	.attrs = iommu_cpumask_attrs,
attrs             377 arch/x86/events/amd/iommu.c 	struct attribute **attrs;
attrs             382 arch/x86/events/amd/iommu.c 	attrs = kcalloc(i + 1, sizeof(struct attribute **), GFP_KERNEL);
attrs             383 arch/x86/events/amd/iommu.c 	if (!attrs)
attrs             387 arch/x86/events/amd/iommu.c 		attrs[j] = &amd_iommu_v2_event_descs[j].attr.attr;
attrs             389 arch/x86/events/amd/iommu.c 	amd_iommu_events_group.attrs = attrs;
attrs             474 arch/x86/events/amd/iommu.c 		kfree(amd_iommu_events_group.attrs);
attrs             164 arch/x86/events/amd/power.c 	.attrs = pmu_attrs,
attrs             187 arch/x86/events/amd/power.c 	.attrs	= events_attr,
attrs             199 arch/x86/events/amd/power.c 	.attrs	= formats_attr,
attrs             256 arch/x86/events/amd/uncore.c 	.attrs = amd_uncore_attrs,
attrs             283 arch/x86/events/amd/uncore.c 	.attrs = amd_uncore_format_attr_##_name,			     \
attrs            1644 arch/x86/events/core.c 	.attrs = NULL,
attrs            1733 arch/x86/events/core.c 	.attrs = events_attr,
attrs            1828 arch/x86/events/core.c 	x86_pmu_format_group.attrs = x86_pmu.format_attrs;
attrs            1831 arch/x86/events/core.c 		x86_pmu_events_group.attrs = &empty_attrs;
attrs            2221 arch/x86/events/core.c 	.attrs = x86_pmu_attrs,
attrs            2240 arch/x86/events/core.c 	.attrs = x86_pmu_caps_attrs,
attrs            4475 arch/x86/events/intel/core.c 	.attrs = intel_pmu_caps_attrs,
attrs            4480 arch/x86/events/intel/core.c 	.attrs	    = lbr_attrs,
attrs            4495 arch/x86/events/intel/core.c 	.attrs      = intel_pmu_attrs,
attrs            5088 arch/x86/events/intel/core.c 	group_events_td.attrs  = td_attr;
attrs            5089 arch/x86/events/intel/core.c 	group_events_mem.attrs = mem_attr;
attrs            5090 arch/x86/events/intel/core.c 	group_events_tsx.attrs = tsx_attr;
attrs            5091 arch/x86/events/intel/core.c 	group_format_extra.attrs = extra_attr;
attrs            5092 arch/x86/events/intel/core.c 	group_format_extra_skl.attrs = extra_skl_attr;
attrs             189 arch/x86/events/intel/cstate.c 	.attrs = attrs_empty,
attrs             200 arch/x86/events/intel/cstate.c 	.attrs = core_format_attrs,
attrs             212 arch/x86/events/intel/cstate.c 	.attrs = cstate_cpumask_attrs,
attrs             268 arch/x86/events/intel/cstate.c 	.attrs = attrs_empty,
attrs             278 arch/x86/events/intel/cstate.c 	.attrs = pkg_format_attrs,
attrs             133 arch/x86/events/intel/pt.c 	.attrs	= pt_formats_attr,
attrs             169 arch/x86/events/intel/pt.c 	.attrs	= pt_timing_attr,
attrs             182 arch/x86/events/intel/pt.c 	struct attribute **attrs;
attrs             229 arch/x86/events/intel/pt.c 	attrs = NULL;
attrs             241 arch/x86/events/intel/pt.c 	attrs = kzalloc(size, GFP_KERNEL);
attrs             242 arch/x86/events/intel/pt.c 	if (!attrs)
attrs             261 arch/x86/events/intel/pt.c 		attrs[i] = &de_attr->attr.attr;
attrs             264 arch/x86/events/intel/pt.c 	pt_cap_group.attrs = attrs;
attrs             269 arch/x86/events/intel/pt.c 	kfree(attrs);
attrs             395 arch/x86/events/intel/rapl.c 	.attrs = rapl_pmu_attrs,
attrs             430 arch/x86/events/intel/rapl.c 	.attrs = attrs_empty,
attrs             441 arch/x86/events/intel/rapl.c 	.attrs = rapl_formats_attr,
attrs             460 arch/x86/events/intel/rapl.c 	.attrs = rapl_events_cores,
attrs             472 arch/x86/events/intel/rapl.c 	.attrs = rapl_events_pkg,
attrs             484 arch/x86/events/intel/rapl.c 	.attrs = rapl_events_ram,
attrs             496 arch/x86/events/intel/rapl.c 	.attrs = rapl_events_gpu,
attrs             508 arch/x86/events/intel/rapl.c 	.attrs = rapl_events_psys,
attrs             825 arch/x86/events/intel/uncore.c 	.attrs = uncore_pmu_attrs,
attrs             937 arch/x86/events/intel/uncore.c 			struct attribute *attrs[];
attrs             941 arch/x86/events/intel/uncore.c 		attr_group = kzalloc(struct_size(attr_group, attrs, i + 1),
attrs             947 arch/x86/events/intel/uncore.c 		attr_group->group.attrs = attr_group->attrs;
attrs             950 arch/x86/events/intel/uncore.c 			attr_group->attrs[j] = &type->event_descs[j].attr.attr;
attrs             278 arch/x86/events/intel/uncore_nhmex.c 	.attrs		= nhmex_uncore_ubox_formats_attr,
attrs             305 arch/x86/events/intel/uncore_nhmex.c 	.attrs = nhmex_uncore_cbox_formats_attr,
attrs             413 arch/x86/events/intel/uncore_nhmex.c 	.attrs = nhmex_uncore_bbox_formats_attr,
attrs             490 arch/x86/events/intel/uncore_nhmex.c 	.attrs			= nhmex_uncore_sbox_formats_attr,
attrs             904 arch/x86/events/intel/uncore_nhmex.c 	.attrs		= nhmex_uncore_mbox_formats_attr,
attrs            1169 arch/x86/events/intel/uncore_nhmex.c 	.attrs = nhmex_uncore_rbox_formats_attr,
attrs             172 arch/x86/events/intel/uncore_snb.c 	.attrs		= snb_uncore_formats_attr,
attrs             324 arch/x86/events/intel/uncore_snb.c 	.attrs = icl_uncore_clock_formats_attr,
attrs             408 arch/x86/events/intel/uncore_snb.c 	.attrs = snb_uncore_imc_formats_attr,
attrs             954 arch/x86/events/intel/uncore_snb.c 	.attrs = nhm_uncore_formats_attr,
attrs             671 arch/x86/events/intel/uncore_snbep.c 	.attrs = snbep_uncore_formats_attr,
attrs             676 arch/x86/events/intel/uncore_snbep.c 	.attrs = snbep_uncore_ubox_formats_attr,
attrs             681 arch/x86/events/intel/uncore_snbep.c 	.attrs = snbep_uncore_cbox_formats_attr,
attrs             686 arch/x86/events/intel/uncore_snbep.c 	.attrs = snbep_uncore_pcu_formats_attr,
attrs             691 arch/x86/events/intel/uncore_snbep.c 	.attrs = snbep_uncore_qpi_formats_attr,
attrs            1503 arch/x86/events/intel/uncore_snbep.c 	.attrs = ivbep_uncore_formats_attr,
attrs            1508 arch/x86/events/intel/uncore_snbep.c 	.attrs = ivbep_uncore_ubox_formats_attr,
attrs            1513 arch/x86/events/intel/uncore_snbep.c 	.attrs = ivbep_uncore_cbox_formats_attr,
attrs            1518 arch/x86/events/intel/uncore_snbep.c 	.attrs = ivbep_uncore_pcu_formats_attr,
attrs            1523 arch/x86/events/intel/uncore_snbep.c 	.attrs = ivbep_uncore_qpi_formats_attr,
attrs            1959 arch/x86/events/intel/uncore_snbep.c 	.attrs = knl_uncore_ubox_formats_attr,
attrs            1999 arch/x86/events/intel/uncore_snbep.c 	.attrs = knl_uncore_cha_formats_attr,
attrs            2109 arch/x86/events/intel/uncore_snbep.c 	.attrs = knl_uncore_pcu_formats_attr,
attrs            2259 arch/x86/events/intel/uncore_snbep.c 	.attrs = knl_uncore_irp_formats_attr,
attrs            2457 arch/x86/events/intel/uncore_snbep.c 	.attrs = hswep_uncore_ubox_formats_attr,
attrs            2511 arch/x86/events/intel/uncore_snbep.c 	.attrs = hswep_uncore_cbox_formats_attr,
attrs            2693 arch/x86/events/intel/uncore_snbep.c 	.attrs = hswep_uncore_sbox_formats_attr,
attrs            3434 arch/x86/events/intel/uncore_snbep.c 	.attrs = skx_uncore_cha_formats_attr,
attrs            3548 arch/x86/events/intel/uncore_snbep.c 	.attrs = skx_uncore_iio_formats_attr,
attrs            3662 arch/x86/events/intel/uncore_snbep.c 	.attrs = skx_uncore_iio_freerunning_formats_attr,
attrs            3687 arch/x86/events/intel/uncore_snbep.c 	.attrs = skx_uncore_formats_attr,
attrs            3721 arch/x86/events/intel/uncore_snbep.c 	.attrs = skx_uncore_pcu_formats_attr,
attrs            3812 arch/x86/events/intel/uncore_snbep.c 	.attrs = skx_upi_uncore_formats_attr,
attrs            4064 arch/x86/events/intel/uncore_snbep.c 	.attrs = snr_uncore_cha_formats_attr,
attrs            4129 arch/x86/events/intel/uncore_snbep.c 	.attrs = snr_uncore_iio_formats_attr,
attrs            4309 arch/x86/events/intel/uncore_snbep.c 	.attrs = snr_m2m_uncore_formats_attr,
attrs             138 arch/x86/events/msr.c 	.attrs = attrs_therm,
attrs             159 arch/x86/events/msr.c 	.attrs = events_attrs,
attrs             169 arch/x86/events/msr.c 	.attrs = format_attrs,
attrs              26 arch/x86/events/probe.h 	.attrs = attrs_##_name,				\
attrs              10 arch/x86/include/asm/xen/page-coherent.h 		unsigned long attrs)
attrs              19 arch/x86/include/asm/xen/page-coherent.h 		unsigned long attrs)
attrs             231 arch/x86/kernel/amd_gart_64.c 				unsigned long attrs)
attrs             250 arch/x86/kernel/amd_gart_64.c 			    unsigned long attrs)
attrs             280 arch/x86/kernel/amd_gart_64.c 			  enum dma_data_direction dir, unsigned long attrs)
attrs             381 arch/x86/kernel/amd_gart_64.c 		       enum dma_data_direction dir, unsigned long attrs)
attrs             468 arch/x86/kernel/amd_gart_64.c 		    gfp_t flag, unsigned long attrs)
attrs             472 arch/x86/kernel/amd_gart_64.c 	vaddr = dma_direct_alloc_pages(dev, size, dma_addr, flag, attrs);
attrs             484 arch/x86/kernel/amd_gart_64.c 	dma_direct_free_pages(dev, size, vaddr, *dma_addr, attrs);
attrs             491 arch/x86/kernel/amd_gart_64.c 		   dma_addr_t dma_addr, unsigned long attrs)
attrs             494 arch/x86/kernel/amd_gart_64.c 	dma_direct_free_pages(dev, size, vaddr, dma_addr, attrs);
attrs             558 arch/x86/kernel/cpu/cacheinfo.c 	cache_private_group.attrs = amd_l3_attrs;
attrs             171 arch/x86/kernel/cpu/intel_epb.c 	.attrs =  intel_epb_attrs
attrs             130 arch/x86/kernel/cpu/mce/therm_throt.c 	.attrs	= thermal_throttle_attrs,
attrs             679 arch/x86/kernel/cpu/microcode/core.c 	.attrs			= mc_default_attrs,
attrs             827 arch/x86/kernel/cpu/microcode/core.c 	.attrs = cpu_root_microcode_attrs,
attrs             205 arch/x86/kernel/cpu/umwait.c 	.attrs = umwait_attrs,
attrs              58 arch/x86/kernel/ksysfs.c 	.attrs = boot_params_version_attrs,
attrs             205 arch/x86/kernel/ksysfs.c 	.attrs = setup_data_type_attrs,
attrs             327 arch/x86/kernel/pci-calgary_64.c 			     unsigned long attrs)
attrs             351 arch/x86/kernel/pci-calgary_64.c 			  unsigned long attrs)
attrs             394 arch/x86/kernel/pci-calgary_64.c 				   unsigned long attrs)
attrs             409 arch/x86/kernel/pci-calgary_64.c 			       unsigned long attrs)
attrs             419 arch/x86/kernel/pci-calgary_64.c 	dma_addr_t *dma_handle, gfp_t flag, unsigned long attrs)
attrs             451 arch/x86/kernel/pci-calgary_64.c 				  unsigned long attrs)
attrs             206 arch/x86/platform/ts5500/ts5500.c 	.attrs = ts5500_attributes,
attrs             142 arch/xtensa/kernel/pci-dma.c 		gfp_t flag, unsigned long attrs)
attrs             186 arch/xtensa/kernel/pci-dma.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             786 block/blk-sysfs.c 	.attrs = queue_attrs,
attrs            1237 block/genhd.c  	.attrs = disk_attrs,
attrs             212 block/partition-generic.c 	.attrs = part_attrs,
attrs              41 crypto/algboss.c 	} attrs[CRYPTO_MAX_ATTRS];
attrs             145 crypto/algboss.c 			param->attrs[i].alg.attr.rta_len =
attrs             146 crypto/algboss.c 				sizeof(param->attrs[i].alg);
attrs             147 crypto/algboss.c 			param->attrs[i].alg.attr.rta_type = CRYPTOA_ALG;
attrs             148 crypto/algboss.c 			memcpy(param->attrs[i].alg.data.name, name, len);
attrs             150 crypto/algboss.c 			param->attrs[i].nu32.attr.rta_len =
attrs             151 crypto/algboss.c 				sizeof(param->attrs[i].nu32);
attrs             152 crypto/algboss.c 			param->attrs[i].nu32.attr.rta_type = CRYPTOA_U32;
attrs             153 crypto/algboss.c 			param->attrs[i].nu32.data.num =
attrs             157 crypto/algboss.c 		param->tb[i + 1] = &param->attrs[i].attr;
attrs             185 crypto/crypto_user_base.c 			 struct nlattr **attrs)
attrs             261 crypto/crypto_user_base.c 			     struct nlattr **attrs)
attrs             265 crypto/crypto_user_base.c 	struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL];
attrs             297 crypto/crypto_user_base.c 			  struct nlattr **attrs)
attrs             334 crypto/crypto_user_base.c 			  struct nlattr **attrs)
attrs             340 crypto/crypto_user_base.c 	struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL];
attrs             382 crypto/crypto_user_base.c 			  struct nlattr **attrs)
attrs             425 crypto/crypto_user_base.c 	struct nlattr *attrs[CRYPTOCFGA_MAX+1];
attrs             461 crypto/crypto_user_base.c 	err = nlmsg_parse_deprecated(nlh, crypto_msg_min[type], attrs,
attrs             469 crypto/crypto_user_base.c 	return link->doit(skb, nlh, attrs);
attrs             300 crypto/crypto_user_stat.c 		      struct nlattr **attrs)
attrs             796 drivers/acpi/acpi_lpss.c 	.attrs = lpss_attrs,
attrs             247 drivers/acpi/acpi_tad.c 	.attrs	= acpi_tad_time_attrs,
attrs             491 drivers/acpi/acpi_tad.c 	.attrs	= acpi_tad_attrs,
attrs             549 drivers/acpi/acpi_tad.c 	.attrs	= acpi_tad_dc_attrs,
attrs              77 drivers/acpi/bgrt.c 	.attrs = bgrt_attributes,
attrs             577 drivers/acpi/dock.c 	.attrs = dock_attributes
attrs              59 drivers/acpi/dptf/dptf_power.c 	.attrs = dptf_power_attrs,
attrs             329 drivers/acpi/hmat/hmat.c 	u32 attrs;
attrs             337 drivers/acpi/hmat/hmat.c 	attrs = cache->cache_attributes;
attrs             339 drivers/acpi/hmat/hmat.c 		cache->memory_PD, cache->cache_size, attrs,
attrs             353 drivers/acpi/hmat/hmat.c 	tcache->cache_attrs.level = (attrs & ACPI_HMAT_CACHE_LEVEL) >> 4;
attrs             354 drivers/acpi/hmat/hmat.c 	tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16;
attrs             356 drivers/acpi/hmat/hmat.c 	switch ((attrs & ACPI_HMAT_CACHE_ASSOCIATIVITY) >> 8) {
attrs             369 drivers/acpi/hmat/hmat.c 	switch ((attrs & ACPI_HMAT_WRITE_POLICY) >> 12) {
attrs            1403 drivers/acpi/nfit/core.c 	.attrs = acpi_nfit_attributes,
attrs            1697 drivers/acpi/nfit/core.c 	.attrs = acpi_nfit_dimm_attributes,
attrs            2197 drivers/acpi/nfit/core.c 	.attrs = acpi_nfit_region_attributes,
attrs             494 drivers/acpi/power.c static struct attribute *attrs[] = {
attrs             501 drivers/acpi/power.c 		.attrs = attrs,
attrs             505 drivers/acpi/power.c 		.attrs = attrs,
attrs             509 drivers/acpi/power.c 		.attrs = attrs,
attrs             513 drivers/acpi/power.c 		.attrs = attrs,
attrs             519 drivers/acpi/power.c 	.attrs = attrs,
attrs             922 drivers/acpi/sysfs.c 	interrupt_stats_attr_group.attrs = all_attrs;
attrs             722 drivers/ata/libata-transport.c 	i->t.host_attrs.ac.attrs = &i->port_attrs[0];
attrs             728 drivers/ata/libata-transport.c 	i->link_attr_cont.ac.attrs = &i->link_attrs[0];
attrs             733 drivers/ata/libata-transport.c 	i->dev_attr_cont.ac.attrs = &i->dev_attrs[0];
attrs              77 drivers/atm/adummy.c 	.attrs = adummy_attrs
attrs             603 drivers/atm/solos-pci.c 	.attrs = solos_attrs,
attrs             620 drivers/atm/solos-pci.c 	.attrs = gpio_attrs,
attrs             318 drivers/base/attribute_container.c 	struct device_attribute **attrs = cont->attrs;
attrs             321 drivers/base/attribute_container.c 	BUG_ON(attrs && cont->grp);
attrs             323 drivers/base/attribute_container.c 	if (!attrs && !cont->grp)
attrs             329 drivers/base/attribute_container.c 	for (i = 0; attrs[i]; i++) {
attrs             330 drivers/base/attribute_container.c 		sysfs_attr_init(&attrs[i]->attr);
attrs             331 drivers/base/attribute_container.c 		error = device_create_file(classdev, attrs[i]);
attrs             383 drivers/base/attribute_container.c 	struct device_attribute **attrs = cont->attrs;
attrs             386 drivers/base/attribute_container.c 	if (!attrs && !cont->grp)
attrs             394 drivers/base/attribute_container.c 	for (i = 0; attrs[i]; i++)
attrs             395 drivers/base/attribute_container.c 		device_remove_file(classdev, attrs[i]);
attrs             523 drivers/base/cacheinfo.c 	.attrs = cache_default_attrs,
attrs             182 drivers/base/cpu.c 	.attrs = crash_note_cpu_attrs,
attrs             488 drivers/base/cpu.c 	.attrs = cpu_root_attrs,
attrs             601 drivers/base/cpu.c 	.attrs = cpu_root_vulnerabilities_attrs,
attrs             452 drivers/base/firmware_loader/fallback.c 	.attrs = fw_dev_attrs,
attrs             599 drivers/base/memory.c 	.attrs = memory_memblk_attrs,
attrs             774 drivers/base/memory.c 	.attrs = memory_root_attrs,
attrs              91 drivers/base/node.c 	.attrs	= node_init_access_node_attrs,
attrs              96 drivers/base/node.c 	.attrs	= node_targ_access_node_attrs,
attrs             995 drivers/base/node.c 	.attrs = node_state_attrs,
attrs             576 drivers/base/power/sysfs.c 	.attrs	= power_attrs,
attrs             598 drivers/base/power/sysfs.c 	.attrs	= wakeup_attrs,
attrs             613 drivers/base/power/sysfs.c 	.attrs	= runtime_attrs,
attrs             622 drivers/base/power/sysfs.c 	.attrs	= pm_qos_resume_latency_attrs,
attrs             631 drivers/base/power/sysfs.c 	.attrs	= pm_qos_latency_tolerance_attrs,
attrs             640 drivers/base/power/sysfs.c 	.attrs	= pm_qos_flags_attrs,
attrs             103 drivers/base/soc.c 	.attrs = soc_attr,
attrs             116 drivers/base/topology.c 	.attrs = default_attrs,
attrs             181 drivers/block/aoe/aoeblk.c 	.attrs = aoe_attrs,
attrs             191 drivers/block/drbd/drbd_nl.c 	if (info->attrs[DRBD_NLA_CFG_CONTEXT]) {
attrs             201 drivers/block/drbd/drbd_nl.c 				info->attrs[DRBD_NLA_CFG_CONTEXT]->nla_len,
attrs             202 drivers/block/drbd/drbd_nl.c 				info->attrs[DRBD_NLA_CFG_CONTEXT]);
attrs             782 drivers/block/drbd/drbd_nl.c 	if (info->attrs[DRBD_NLA_SET_ROLE_PARMS]) {
attrs            2241 drivers/block/drbd/drbd_nl.c 	if (info->attrs[DRBD_NLA_DETACH_PARMS]) {
attrs            2800 drivers/block/drbd/drbd_nl.c 	if (info->attrs[DRBD_NLA_DISCONNECT_PARMS]) {
attrs            2866 drivers/block/drbd/drbd_nl.c 	if (info->attrs[DRBD_NLA_RESIZE_PARMS]) {
attrs            4152 drivers/block/drbd/drbd_nl.c 	if (info->attrs[DRBD_NLA_START_OV_PARMS]) {
attrs            4197 drivers/block/drbd/drbd_nl.c 	if (info->attrs[DRBD_NLA_NEW_C_UUID_PARMS]) {
attrs             845 drivers/block/loop.c 	.attrs= loop_attrs,
attrs            1791 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_SIZE_BYTES])
attrs            1792 drivers/block/nbd.c 		bytes = nla_get_u64(info->attrs[NBD_ATTR_SIZE_BYTES]);
attrs            1794 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_BLOCK_SIZE_BYTES]) {
attrs            1795 drivers/block/nbd.c 		bsize = nla_get_u64(info->attrs[NBD_ATTR_BLOCK_SIZE_BYTES]);
attrs            1821 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_INDEX])
attrs            1822 drivers/block/nbd.c 		index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]);
attrs            1823 drivers/block/nbd.c 	if (!info->attrs[NBD_ATTR_SOCKETS]) {
attrs            1827 drivers/block/nbd.c 	if (!info->attrs[NBD_ATTR_SIZE_BYTES]) {
attrs            1912 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_TIMEOUT])
attrs            1914 drivers/block/nbd.c 				    nla_get_u64(info->attrs[NBD_ATTR_TIMEOUT]));
attrs            1915 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_DEAD_CONN_TIMEOUT]) {
attrs            1917 drivers/block/nbd.c 			nla_get_u64(info->attrs[NBD_ATTR_DEAD_CONN_TIMEOUT]);
attrs            1920 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_SERVER_FLAGS])
attrs            1922 drivers/block/nbd.c 			nla_get_u64(info->attrs[NBD_ATTR_SERVER_FLAGS]);
attrs            1923 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_CLIENT_FLAGS]) {
attrs            1924 drivers/block/nbd.c 		u64 flags = nla_get_u64(info->attrs[NBD_ATTR_CLIENT_FLAGS]);
attrs            1939 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_SOCKETS]) {
attrs            1943 drivers/block/nbd.c 		nla_for_each_nested(attr, info->attrs[NBD_ATTR_SOCKETS],
attrs            2008 drivers/block/nbd.c 	if (!info->attrs[NBD_ATTR_INDEX]) {
attrs            2012 drivers/block/nbd.c 	index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]);
attrs            2049 drivers/block/nbd.c 	if (!info->attrs[NBD_ATTR_INDEX]) {
attrs            2053 drivers/block/nbd.c 	index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]);
attrs            2091 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_TIMEOUT])
attrs            2093 drivers/block/nbd.c 				    nla_get_u64(info->attrs[NBD_ATTR_TIMEOUT]));
attrs            2094 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_DEAD_CONN_TIMEOUT]) {
attrs            2096 drivers/block/nbd.c 			nla_get_u64(info->attrs[NBD_ATTR_DEAD_CONN_TIMEOUT]);
attrs            2099 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_CLIENT_FLAGS]) {
attrs            2100 drivers/block/nbd.c 		u64 flags = nla_get_u64(info->attrs[NBD_ATTR_CLIENT_FLAGS]);
attrs            2122 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_SOCKETS]) {
attrs            2126 drivers/block/nbd.c 		nla_for_each_nested(attr, info->attrs[NBD_ATTR_SOCKETS],
attrs            2249 drivers/block/nbd.c 	if (info->attrs[NBD_ATTR_INDEX])
attrs            2250 drivers/block/nbd.c 		index = nla_get_u32(info->attrs[NBD_ATTR_INDEX]);
attrs             567 drivers/block/rbd.c 	.attrs = rbd_bus_attrs,
attrs            5441 drivers/block/rbd.c 	.attrs = rbd_attrs,
attrs             743 drivers/block/virtio_blk.c 	.attrs = virtblk_attrs,
attrs             396 drivers/block/xen-blkback/xenbus.c 	.attrs = xen_vbdstat_attrs,
attrs            1863 drivers/block/zram/zram_drv.c 	.attrs = zram_disk_attrs,
attrs             301 drivers/bus/brcmstb_gisb.c 	.attrs = gisb_arb_sysfs_attrs,
attrs              78 drivers/bus/moxtet.c 	.attrs = moxtet_dev_attrs,
attrs             138 drivers/char/hw_random/s390-trng.c 	.attrs = trng_dev_attrs
attrs            2820 drivers/char/ipmi/ipmi_msghandler.c 	.attrs		= bmc_dev_attrs,
attrs            1686 drivers/char/ipmi/ipmi_si_intf.c 	.attrs		= ipmi_si_dev_attrs,
attrs            1284 drivers/char/ipmi/ipmi_ssif.c 	.attrs		= ipmi_ssif_dev_attrs,
attrs             771 drivers/char/tlclk.c 	.attrs = tlclk_sysfs_entries,
attrs             501 drivers/char/tpm/tpm-chip.c 	for (i = chip->groups[0]->attrs; *i != NULL; ++i)
attrs             523 drivers/char/tpm/tpm-chip.c 	for (i = chip->groups[0]->attrs; *i != NULL; ++i) {
attrs             327 drivers/char/tpm/tpm-sysfs.c 	.attrs = tpm_dev_attrs,
attrs             928 drivers/char/tpm/tpm2-cmd.c 	__be32 *attrs;
attrs             971 drivers/char/tpm/tpm2-cmd.c 	attrs = (__be32 *)&buf.data[TPM_HEADER_SIZE + 9];
attrs             972 drivers/char/tpm/tpm2-cmd.c 	for (i = 0; i < nr_commands; i++, attrs++) {
attrs             973 drivers/char/tpm/tpm2-cmd.c 		chip->cc_attrs_tbl[i] = be32_to_cpup(attrs);
attrs             240 drivers/char/tpm/tpm2-space.c 	u32 attrs;
attrs             248 drivers/char/tpm/tpm2-space.c 	attrs = chip->cc_attrs_tbl[i];
attrs             249 drivers/char/tpm/tpm2-space.c 	nr_handles = (attrs >> TPM2_CC_ATTR_CHANDLES) & GENMASK(2, 0);
attrs             269 drivers/char/tpm/tpm2-space.c 	u32 attrs;
attrs             284 drivers/char/tpm/tpm2-space.c 	attrs = chip->cc_attrs_tbl[i];
attrs             286 drivers/char/tpm/tpm2-space.c 		4 * ((attrs >> TPM2_CC_ATTR_CHANDLES) & GENMASK(2, 0));
attrs             377 drivers/char/tpm/tpm2-space.c 	u32 attrs;
attrs             388 drivers/char/tpm/tpm2-space.c 	attrs = chip->cc_attrs_tbl[i];
attrs             389 drivers/char/tpm/tpm2-space.c 	if (!((attrs >> TPM2_CC_ATTR_RHANDLE) & 1))
attrs             363 drivers/char/tpm/tpm_ppi.c 	.attrs = ppi_attrs
attrs            1296 drivers/char/virtio_console.c 	.attrs = port_sysfs_entries,
attrs            1270 drivers/counter/counter.c 		kfree(group->attr_group.attrs);
attrs            1346 drivers/counter/counter.c 		group->attr_group.attrs = kcalloc(group->num_attr + 1,
attrs            1347 drivers/counter/counter.c 			sizeof(*group->attr_group.attrs), GFP_KERNEL);
attrs            1348 drivers/counter/counter.c 		if (!group->attr_group.attrs) {
attrs            1356 drivers/counter/counter.c 			group->attr_group.attrs[j++] = &p->dev_attr.attr;
attrs            1369 drivers/counter/counter.c 		kfree(group->attr_group.attrs);
attrs            1370 drivers/counter/counter.c 		group->attr_group.attrs = NULL;
attrs             140 drivers/cpufreq/cpufreq_stats.c 	.attrs = default_attrs,
attrs            1240 drivers/cpufreq/intel_pstate.c 	.attrs = intel_pstate_attributes,
attrs             428 drivers/cpufreq/powernv-cpufreq.c 	.attrs	= throttle_attrs,
attrs             139 drivers/cpuidle/sysfs.c 	.attrs = cpuidle_default_attrs,
attrs             149 drivers/cpuidle/sysfs.c 		cpuidle_attr_group.attrs = cpuidle_switch_attrs;
attrs             367 drivers/cpuidle/sysfs.c 	.attrs	= cpuidle_state_s2idle_attrs,
attrs             942 drivers/crypto/nx/nx-842-pseries.c 	.attrs = nx842_sysfs_entries,
attrs            1117 drivers/crypto/omap-aes.c 	.attrs = omap_aes_attrs,
attrs            2079 drivers/crypto/omap-sham.c 	.attrs = omap_sham_attrs,
attrs              98 drivers/crypto/talitos.c 				     unsigned long attrs)
attrs             100 drivers/crypto/talitos.c 	dma_addr_t dma_addr = dma_map_single_attrs(dev, data, len, dir, attrs);
attrs             197 drivers/dax/bus.c 	.attrs = dax_region_attributes,
attrs             346 drivers/dax/bus.c 	.attrs = dev_dax_attributes,
attrs             280 drivers/dax/super.c 	.attrs = dax_attributes,
attrs              80 drivers/devfreq/governor_userspace.c 	.attrs	= dev_entries,
attrs             640 drivers/dma/qcom/hidma.c 	struct device_attribute *attrs;
attrs             643 drivers/dma/qcom/hidma.c 	attrs = devm_kmalloc(dev->ddev.dev, sizeof(struct device_attribute),
attrs             645 drivers/dma/qcom/hidma.c 	if (!attrs)
attrs             652 drivers/dma/qcom/hidma.c 	attrs->attr.name = name_copy;
attrs             653 drivers/dma/qcom/hidma.c 	attrs->attr.mode = mode;
attrs             654 drivers/dma/qcom/hidma.c 	attrs->show = hidma_show_values;
attrs             655 drivers/dma/qcom/hidma.c 	sysfs_attr_init(&attrs->attr);
attrs             657 drivers/dma/qcom/hidma.c 	return attrs;
attrs             187 drivers/dma/qcom/hidma_mgmt_sys.c 	struct device_attribute *attrs;
attrs             190 drivers/dma/qcom/hidma_mgmt_sys.c 	attrs = devm_kmalloc(&dev->pdev->dev,
attrs             192 drivers/dma/qcom/hidma_mgmt_sys.c 	if (!attrs)
attrs             199 drivers/dma/qcom/hidma_mgmt_sys.c 	attrs->attr.name = name_copy;
attrs             200 drivers/dma/qcom/hidma_mgmt_sys.c 	attrs->attr.mode = mode;
attrs             201 drivers/dma/qcom/hidma_mgmt_sys.c 	attrs->show = show_values;
attrs             202 drivers/dma/qcom/hidma_mgmt_sys.c 	attrs->store = set_values;
attrs             203 drivers/dma/qcom/hidma_mgmt_sys.c 	sysfs_attr_init(&attrs->attr);
attrs             205 drivers/dma/qcom/hidma_mgmt_sys.c 	return device_create_file(&dev->pdev->dev, attrs);
attrs              54 drivers/edac/amd64_edac_dbg.c 	.attrs = amd64_edac_dbg_attrs,
attrs             233 drivers/edac/amd64_edac_inj.c 	.attrs = amd64_edac_inj_attrs,
attrs             269 drivers/edac/edac_mc_sysfs.c 	.attrs	= csrow_attrs,
attrs             375 drivers/edac/edac_mc_sysfs.c 	.attrs = dynamic_csrow_dimm_attr,
attrs             380 drivers/edac/edac_mc_sysfs.c 	.attrs = dynamic_csrow_ce_count_attr,
attrs             609 drivers/edac/edac_mc_sysfs.c 	.attrs	= dimm_attrs,
attrs             891 drivers/edac/edac_mc_sysfs.c 	.attrs	= mci_attrs,
attrs            1081 drivers/edac/i7core_edac.c 	.attrs	= i7core_addrmatch_attrs,
attrs            1112 drivers/edac/i7core_edac.c 	.attrs	= i7core_udimm_counters_attrs,
attrs             467 drivers/edac/thunderx_edac.c 					  struct debugfs_entry *attrs[],
attrs             481 drivers/edac/thunderx_edac.c 		ent = edac_debugfs_create_file(attrs[i]->name, attrs[i]->mode,
attrs             482 drivers/edac/thunderx_edac.c 					       parent, data, &attrs[i]->fops);
attrs             208 drivers/extcon/extcon.c 	struct attribute *attrs[3]; /* to be fed to attr_g.attrs */
attrs            1144 drivers/extcon/extcon.c 			cable->attrs[0] = &cable->attr_name.attr;
attrs            1145 drivers/extcon/extcon.c 			cable->attrs[1] = &cable->attr_state.attr;
attrs            1146 drivers/extcon/extcon.c 			cable->attrs[2] = NULL;
attrs            1148 drivers/extcon/extcon.c 			cable->attr_g.attrs = cable->attrs;
attrs            1206 drivers/extcon/extcon.c 		edev->attr_g_muex.attrs = edev->attrs_muex;
attrs             334 drivers/firewire/core-device.c 				    struct device_attribute *attrs,
attrs             340 drivers/firewire/core-device.c 	for (j = 0; attrs[j].attr.name != NULL; j++)
attrs             341 drivers/firewire/core-device.c 		group->attrs[j] = &attrs[j].attr;
attrs             347 drivers/firewire/core-device.c 		group->attrs[j++] = &attr->attr;
attrs             350 drivers/firewire/core-device.c 	group->attrs[j] = NULL;
attrs             353 drivers/firewire/core-device.c 	group->group.attrs = group->attrs;
attrs             715 drivers/firewire/core-device.c 		BUILD_BUG_ON(ARRAY_SIZE(unit->attribute_group.attrs) <
attrs            1042 drivers/firewire/core-device.c 	BUILD_BUG_ON(ARRAY_SIZE(device->attribute_group.attrs) <
attrs             141 drivers/firmware/dmi-id.c 	.attrs = sys_dmi_attributes,
attrs             197 drivers/firmware/efi/efi.c 	.attrs = efi_subsys_attrs,
attrs             232 drivers/firmware/efi/esrt.c 	.attrs = esrt_attrs,
attrs             261 drivers/firmware/meson/meson_sm.c 	.attrs = meson_sm_sysfs_attributes,
attrs             204 drivers/fpga/dfl-afu-error.c 	.attrs      = port_err_attrs,
attrs             399 drivers/fpga/dfl-afu-main.c 	.attrs      = port_hdr_attrs,
attrs             486 drivers/fpga/dfl-afu-main.c 	.attrs      = port_afu_attrs,
attrs             310 drivers/fpga/dfl-fme-error.c 	.attrs      = fme_global_err_attrs,
attrs             132 drivers/fpga/dfl-fme-main.c 	.attrs = fme_hdr_attrs,
attrs             884 drivers/fsi/fsi-core.c 	.attrs = cfam_attr,
attrs             396 drivers/gpio/gpiolib-sysfs.c 	.attrs = gpio_attrs,
attrs            2417 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c 	.attrs = hwmon_attributes,
attrs             797 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	struct attribute *attrs[] = {
attrs             807 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 		.attrs = attrs,
attrs             829 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	sysfs_attr_init(attrs[0]);
attrs             838 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 	struct attribute *attrs[] = {
attrs             848 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 		.attrs = attrs,
attrs             431 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 	.attrs = fw_attrs
attrs              49 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	.attrs = df_v3_6_format_attrs,
attrs              86 drivers/gpu/drm/amd/amdgpu/df_v3_6.c 	.attrs = df_v3_6_event_attrs
attrs             379 drivers/gpu/drm/amd/amdkfd/kfd_topology.c static ssize_t perf_show(struct kobject *kobj, struct kobj_attribute *attrs,
attrs             385 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	attr = container_of(attrs, struct kfd_perf_attr, attr);
attrs             601 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	struct attribute **attrs;
attrs             722 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		attrs = (struct attribute **)(perf->attr_group + 1);
attrs             730 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 				attrs[i] = &perf_attr_iommu[i].attr.attr;
attrs             733 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		perf->attr_group->attrs = attrs;
attrs             101 drivers/gpu/drm/arm/display/komeda/komeda_dev.c 	.attrs = komeda_sysfs_entries,
attrs             267 drivers/gpu/drm/drm_sysfs.c 	.attrs = connector_dev_attrs,
attrs            1204 drivers/gpu/drm/i915/display/intel_overlay.c static int check_gamma(struct drm_intel_overlay_attrs *attrs)
attrs            1206 drivers/gpu/drm/i915/display/intel_overlay.c 	if (!check_gamma_bounds(0, attrs->gamma0) ||
attrs            1207 drivers/gpu/drm/i915/display/intel_overlay.c 	    !check_gamma_bounds(attrs->gamma0, attrs->gamma1) ||
attrs            1208 drivers/gpu/drm/i915/display/intel_overlay.c 	    !check_gamma_bounds(attrs->gamma1, attrs->gamma2) ||
attrs            1209 drivers/gpu/drm/i915/display/intel_overlay.c 	    !check_gamma_bounds(attrs->gamma2, attrs->gamma3) ||
attrs            1210 drivers/gpu/drm/i915/display/intel_overlay.c 	    !check_gamma_bounds(attrs->gamma3, attrs->gamma4) ||
attrs            1211 drivers/gpu/drm/i915/display/intel_overlay.c 	    !check_gamma_bounds(attrs->gamma4, attrs->gamma5) ||
attrs            1212 drivers/gpu/drm/i915/display/intel_overlay.c 	    !check_gamma_bounds(attrs->gamma5, 0x00ffffff))
attrs            1215 drivers/gpu/drm/i915/display/intel_overlay.c 	if (!check_gamma5_errata(attrs->gamma5))
attrs            1224 drivers/gpu/drm/i915/display/intel_overlay.c 	struct drm_intel_overlay_attrs *attrs = data;
attrs            1239 drivers/gpu/drm/i915/display/intel_overlay.c 	if (!(attrs->flags & I915_OVERLAY_UPDATE_ATTRS)) {
attrs            1240 drivers/gpu/drm/i915/display/intel_overlay.c 		attrs->color_key  = overlay->color_key;
attrs            1241 drivers/gpu/drm/i915/display/intel_overlay.c 		attrs->brightness = overlay->brightness;
attrs            1242 drivers/gpu/drm/i915/display/intel_overlay.c 		attrs->contrast   = overlay->contrast;
attrs            1243 drivers/gpu/drm/i915/display/intel_overlay.c 		attrs->saturation = overlay->saturation;
attrs            1246 drivers/gpu/drm/i915/display/intel_overlay.c 			attrs->gamma0 = I915_READ(OGAMC0);
attrs            1247 drivers/gpu/drm/i915/display/intel_overlay.c 			attrs->gamma1 = I915_READ(OGAMC1);
attrs            1248 drivers/gpu/drm/i915/display/intel_overlay.c 			attrs->gamma2 = I915_READ(OGAMC2);
attrs            1249 drivers/gpu/drm/i915/display/intel_overlay.c 			attrs->gamma3 = I915_READ(OGAMC3);
attrs            1250 drivers/gpu/drm/i915/display/intel_overlay.c 			attrs->gamma4 = I915_READ(OGAMC4);
attrs            1251 drivers/gpu/drm/i915/display/intel_overlay.c 			attrs->gamma5 = I915_READ(OGAMC5);
attrs            1254 drivers/gpu/drm/i915/display/intel_overlay.c 		if (attrs->brightness < -128 || attrs->brightness > 127)
attrs            1256 drivers/gpu/drm/i915/display/intel_overlay.c 		if (attrs->contrast > 255)
attrs            1258 drivers/gpu/drm/i915/display/intel_overlay.c 		if (attrs->saturation > 1023)
attrs            1261 drivers/gpu/drm/i915/display/intel_overlay.c 		overlay->color_key  = attrs->color_key;
attrs            1262 drivers/gpu/drm/i915/display/intel_overlay.c 		overlay->brightness = attrs->brightness;
attrs            1263 drivers/gpu/drm/i915/display/intel_overlay.c 		overlay->contrast   = attrs->contrast;
attrs            1264 drivers/gpu/drm/i915/display/intel_overlay.c 		overlay->saturation = attrs->saturation;
attrs            1268 drivers/gpu/drm/i915/display/intel_overlay.c 		if (attrs->flags & I915_OVERLAY_UPDATE_GAMMA) {
attrs            1277 drivers/gpu/drm/i915/display/intel_overlay.c 			ret = check_gamma(attrs);
attrs            1281 drivers/gpu/drm/i915/display/intel_overlay.c 			I915_WRITE(OGAMC0, attrs->gamma0);
attrs            1282 drivers/gpu/drm/i915/display/intel_overlay.c 			I915_WRITE(OGAMC1, attrs->gamma1);
attrs            1283 drivers/gpu/drm/i915/display/intel_overlay.c 			I915_WRITE(OGAMC2, attrs->gamma2);
attrs            1284 drivers/gpu/drm/i915/display/intel_overlay.c 			I915_WRITE(OGAMC3, attrs->gamma3);
attrs            1285 drivers/gpu/drm/i915/display/intel_overlay.c 			I915_WRITE(OGAMC4, attrs->gamma4);
attrs            1286 drivers/gpu/drm/i915/display/intel_overlay.c 			I915_WRITE(OGAMC5, attrs->gamma5);
attrs            1289 drivers/gpu/drm/i915/display/intel_overlay.c 	overlay->color_key_enabled = (attrs->flags & I915_OVERLAY_DISABLE_DEST_COLORKEY) == 0;
attrs             145 drivers/gpu/drm/i915/gvt/gvt.c 		group->attrs = gvt_type_attrs;
attrs            1593 drivers/gpu/drm/i915/gvt/kvmgt.c 	.attrs = intel_vgpu_attrs,
attrs            1000 drivers/gpu/drm/i915/i915_drv.h 	struct attribute *attrs[2];
attrs            3290 drivers/gpu/drm/i915/i915_perf.c 	oa_config->attrs[0] = &oa_config->sysfs_metric_id.attr;
attrs            3291 drivers/gpu/drm/i915/i915_perf.c 	oa_config->attrs[1] = NULL;
attrs            3294 drivers/gpu/drm/i915/i915_perf.c 	oa_config->sysfs_metric.attrs = oa_config->attrs;
attrs             751 drivers/gpu/drm/i915/i915_pmu.c 	.attrs = i915_pmu_format_attrs,
attrs             789 drivers/gpu/drm/i915/i915_pmu.c 	.attrs = i915_cpumask_attrs,
attrs             972 drivers/gpu/drm/i915/i915_pmu.c 	struct attribute **attr_iter = i915_pmu_events_attr_group.attrs;
attrs             977 drivers/gpu/drm/i915/i915_pmu.c 	kfree(i915_pmu_events_attr_group.attrs);
attrs             981 drivers/gpu/drm/i915/i915_pmu.c 	i915_pmu_events_attr_group.attrs = NULL;
attrs            1060 drivers/gpu/drm/i915/i915_pmu.c 	i915_pmu_events_attr_group.attrs = create_event_attributes(pmu);
attrs            1061 drivers/gpu/drm/i915/i915_pmu.c 	if (!i915_pmu_events_attr_group.attrs) {
attrs             120 drivers/gpu/drm/i915/i915_sysfs.c 	.attrs =  rc6_attrs
attrs             131 drivers/gpu/drm/i915/i915_sysfs.c 	.attrs =  rc6p_attrs
attrs             141 drivers/gpu/drm/i915/i915_sysfs.c 	.attrs =  media_rc6_attrs
attrs              83 drivers/gpu/drm/i915/oa/i915_oa_bdw.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              85 drivers/gpu/drm/i915/oa/i915_oa_bdw.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              81 drivers/gpu/drm/i915/oa/i915_oa_bxt.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              83 drivers/gpu/drm/i915/oa/i915_oa_bxt.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              82 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              84 drivers/gpu/drm/i915/oa/i915_oa_cflgt2.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              82 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              84 drivers/gpu/drm/i915/oa/i915_oa_cflgt3.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              82 drivers/gpu/drm/i915/oa/i915_oa_chv.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              84 drivers/gpu/drm/i915/oa/i915_oa_chv.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              94 drivers/gpu/drm/i915/oa/i915_oa_cnl.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              96 drivers/gpu/drm/i915/oa/i915_oa_cnl.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              81 drivers/gpu/drm/i915/oa/i915_oa_glk.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              83 drivers/gpu/drm/i915/oa/i915_oa_glk.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs             111 drivers/gpu/drm/i915/oa/i915_oa_hsw.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs             113 drivers/gpu/drm/i915/oa/i915_oa_hsw.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              91 drivers/gpu/drm/i915/oa/i915_oa_icl.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              93 drivers/gpu/drm/i915/oa/i915_oa_icl.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              82 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              84 drivers/gpu/drm/i915/oa/i915_oa_kblgt2.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              82 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              84 drivers/gpu/drm/i915/oa/i915_oa_kblgt3.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              81 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              83 drivers/gpu/drm/i915/oa/i915_oa_sklgt2.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              82 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              84 drivers/gpu/drm/i915/oa/i915_oa_sklgt3.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs              82 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.c 	dev_priv->perf.test_config.sysfs_metric.attrs = dev_priv->perf.test_config.attrs;
attrs              84 drivers/gpu/drm/i915/oa/i915_oa_sklgt4.c 	dev_priv->perf.test_config.attrs[0] = &dev_priv->perf.test_config.sysfs_metric_id.attr;
attrs             268 drivers/gpu/drm/msm/msm_drv.c 		unsigned long attrs = DMA_ATTR_NO_KERNEL_MAPPING;
attrs             271 drivers/gpu/drm/msm/msm_drv.c 			       priv->vram.paddr, attrs);
attrs             353 drivers/gpu/drm/msm/msm_drv.c 		unsigned long attrs = 0;
attrs             361 drivers/gpu/drm/msm/msm_drv.c 		attrs |= DMA_ATTR_NO_KERNEL_MAPPING;
attrs             362 drivers/gpu/drm/msm/msm_drv.c 		attrs |= DMA_ATTR_WRITE_COMBINE;
attrs             368 drivers/gpu/drm/msm/msm_drv.c 				&priv->vram.paddr, GFP_KERNEL, attrs);
attrs             199 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	.attrs = pwm_fan_sensor_attrs,
attrs             209 drivers/gpu/drm/nouveau/nouveau_hwmon.c 	.attrs = temp1_auto_point_sensor_attrs,
attrs             111 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 	unsigned long attrs;
attrs             305 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		       node->base.vaddr, node->handle, imem->attrs);
attrs             399 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 					   imem->attrs);
attrs             597 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c 		imem->attrs = DMA_ATTR_NON_CONSISTENT |
attrs             577 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c 	.attrs = dsicm_attrs,
attrs             262 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	.attrs = acx565akm_cabc_attrs,
attrs             293 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c 	.attrs = td043mtea1_attrs,
attrs             776 drivers/gpu/drm/radeon/radeon_pm.c 	.attrs = hwmon_attributes,
attrs             288 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	unsigned long attrs = 0;
attrs             292 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		attrs = DMA_ATTR_NO_WARN;
attrs             294 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	dma_free_attrs(pool->dev, pool->size, (void *)d_page->vaddr, dma, attrs);
attrs             302 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 	unsigned long attrs = 0;
attrs             310 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 		attrs = DMA_ATTR_NO_WARN;
attrs             313 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 				pool->gfp_flags, attrs);
attrs             666 drivers/greybus/interface.c 	.attrs		= interface_unipro_attrs,
attrs             671 drivers/greybus/interface.c 	.attrs		= interface_greybus_attrs,
attrs             676 drivers/greybus/interface.c 	.attrs		= interface_power_attrs,
attrs             680 drivers/greybus/interface.c 	.attrs		= interface_common_attrs,
attrs            2328 drivers/hid/hid-core.c 	.attrs = hid_dev_attrs,
attrs             416 drivers/hid/hid-corsair.c 	.attrs = k90_attrs,
attrs            1025 drivers/hid/hid-cp2112.c 	.attrs = (struct attribute *[]){
attrs            1057 drivers/hid/hid-cp2112.c 	for (attr = cp2112_attr_group.attrs; *attr; ++attr) {
attrs             214 drivers/hid/hid-gt683r.c 	.attrs = gt683r_led_attrs,
attrs             334 drivers/hid/hid-lenovo.c 	.attrs = lenovo_attributes_cptkbd,
attrs             642 drivers/hid/hid-lenovo.c 	.attrs = lenovo_attributes_tpkbd,
attrs            3468 drivers/hid/hid-logitech-hidpp.c 	.attrs = sysfs_attrs
attrs             422 drivers/hid/hid-multitouch.c 	.attrs = sysfs_attrs
attrs             445 drivers/hid/hid-ntrig.c 	.attrs = sysfs_attrs
attrs             262 drivers/hid/hid-roccat-arvo.c 	.attrs = arvo_attrs,
attrs             242 drivers/hid/hid-roccat-isku.c 	.attrs = isku_attrs,
attrs             642 drivers/hid/hid-roccat-kone.c 	.attrs = kone_attrs,
attrs             350 drivers/hid/hid-roccat-koneplus.c 	.attrs = koneplus_attrs,
attrs             403 drivers/hid/hid-roccat-kovaplus.c 	.attrs = kovaplus_attrs,
attrs             360 drivers/hid/hid-roccat-pyra.c 	.attrs = pyra_attrs,
attrs              31 drivers/hid/hid-sensor-custom.c 	struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS];
attrs             270 drivers/hid/hid-sensor-custom.c 	.attrs = enable_sensor_attrs,
attrs             596 drivers/hid/hid-sensor-custom.c 			sensor_inst->fields[i].attrs[j] = &device_attr->attr;
attrs             599 drivers/hid/hid-sensor-custom.c 		sensor_inst->fields[i].attrs[j] = NULL;
attrs             600 drivers/hid/hid-sensor-custom.c 		sensor_inst->fields[i].hid_custom_attribute_group.attrs =
attrs             601 drivers/hid/hid-sensor-custom.c 						sensor_inst->fields[i].attrs;
attrs            1178 drivers/hid/wacom_sys.c 	.attrs = cintiq_led_attrs,
attrs            1199 drivers/hid/wacom_sys.c 	.attrs = intuos4_led_attrs,
attrs            1210 drivers/hid/wacom_sys.c 	.attrs = intuos5_led_attrs,
attrs            1221 drivers/hid/wacom_sys.c 	.attrs = generic_led_attrs,
attrs            1852 drivers/hid/wacom_sys.c 	.attrs = remote##SET_ID##_serial_attrs,				\
attrs             677 drivers/hv/vmbus_drv.c 	.attrs = vmbus_dev_attrs,
attrs            1750 drivers/hv/vmbus_drv.c 	.attrs = vmbus_chan_attrs,
attrs             352 drivers/hwmon/abx500.c 	.attrs = abx500_temp_attributes,
attrs             619 drivers/hwmon/acpi_power_meter.c 			  struct sensor_template *attrs)
attrs             626 drivers/hwmon/acpi_power_meter.c 	while (attrs->label) {
attrs             627 drivers/hwmon/acpi_power_meter.c 		sensors->dev_attr.attr.name = attrs->label;
attrs             629 drivers/hwmon/acpi_power_meter.c 		sensors->dev_attr.show = attrs->show;
attrs             630 drivers/hwmon/acpi_power_meter.c 		sensors->index = attrs->index;
attrs             632 drivers/hwmon/acpi_power_meter.c 		if (attrs->set) {
attrs             634 drivers/hwmon/acpi_power_meter.c 			sensors->dev_attr.store = attrs->set;
attrs             645 drivers/hwmon/acpi_power_meter.c 		attrs++;
attrs             354 drivers/hwmon/adc128d818.c 	.attrs = adc128_attrs,
attrs             306 drivers/hwmon/adm1021.c 	.attrs = adm1021_attributes,
attrs             318 drivers/hwmon/adm1021.c 	.attrs = adm1021_min_attributes,
attrs             425 drivers/hwmon/adm1025.c 	.attrs = adm1025_attributes,
attrs             437 drivers/hwmon/adm1025.c 	.attrs = adm1025_attributes_in4,
attrs            1530 drivers/hwmon/adm1026.c 	.attrs = adm1026_attributes,
attrs            1550 drivers/hwmon/adm1026.c 	.attrs = adm1026_attributes_temp3,
attrs            1566 drivers/hwmon/adm1026.c 	.attrs = adm1026_attributes_in8_9,
attrs             940 drivers/hwmon/adm1031.c 	.attrs = adm1031_attributes,
attrs             968 drivers/hwmon/adm1031.c 	.attrs = adm1031_attributes_opt,
attrs            1300 drivers/hwmon/adt7475.c static const struct attribute_group adt7475_attr_group = { .attrs = adt7475_attrs };
attrs            1301 drivers/hwmon/adt7475.c static const struct attribute_group fan4_attr_group = { .attrs = fan4_attrs };
attrs            1302 drivers/hwmon/adt7475.c static const struct attribute_group pwm2_attr_group = { .attrs = pwm2_attrs };
attrs            1303 drivers/hwmon/adt7475.c static const struct attribute_group in0_attr_group = { .attrs = in0_attrs };
attrs            1304 drivers/hwmon/adt7475.c static const struct attribute_group in3_attr_group = { .attrs = in3_attrs };
attrs            1305 drivers/hwmon/adt7475.c static const struct attribute_group in4_attr_group = { .attrs = in4_attrs };
attrs            1306 drivers/hwmon/adt7475.c static const struct attribute_group in5_attr_group = { .attrs = in5_attrs };
attrs            1307 drivers/hwmon/adt7475.c static const struct attribute_group vid_attr_group = { .attrs = vid_attrs };
attrs             356 drivers/hwmon/adt7x10.c 	.attrs = adt7x10_attributes,
attrs             666 drivers/hwmon/asb100.c 	.attrs = asb100_attributes,
attrs             663 drivers/hwmon/aspeed-pwm-tacho.c 	.attrs = pwm_dev_attrs,
attrs             704 drivers/hwmon/aspeed-pwm-tacho.c 	.attrs = fan_dev_attrs,
attrs            1164 drivers/hwmon/asus_atk0110.c 	struct attribute **attrs;
attrs            1169 drivers/hwmon/asus_atk0110.c 	attrs = devm_kcalloc(dev, len, sizeof(struct attribute *), GFP_KERNEL);
attrs            1170 drivers/hwmon/asus_atk0110.c 	if (!attrs)
attrs            1174 drivers/hwmon/asus_atk0110.c 		attrs[i++] = &s->input_attr.attr;
attrs            1175 drivers/hwmon/asus_atk0110.c 		attrs[i++] = &s->label_attr.attr;
attrs            1176 drivers/hwmon/asus_atk0110.c 		attrs[i++] = &s->limit1_attr.attr;
attrs            1177 drivers/hwmon/asus_atk0110.c 		attrs[i++] = &s->limit2_attr.attr;
attrs            1180 drivers/hwmon/asus_atk0110.c 	data->attr_group.attrs = attrs;
attrs              85 drivers/hwmon/coretemp.c 	struct attribute *attrs[TOTAL_ATTRS + 1];
attrs             400 drivers/hwmon/coretemp.c 		tdata->attrs[i] = &tdata->sd_attrs[i].dev_attr.attr;
attrs             402 drivers/hwmon/coretemp.c 	tdata->attr_group.attrs = tdata->attrs;
attrs             382 drivers/hwmon/da9052-hwmon.c 	.attrs = da9052_attrs,
attrs             845 drivers/hwmon/dell-smm-hwmon.c 	.attrs = i8k_attrs,
attrs            1708 drivers/hwmon/dme1737.c 	.attrs = dme1737_attr,
attrs            1724 drivers/hwmon/dme1737.c 	.attrs = dme1737_temp_offset_attr,
attrs            1739 drivers/hwmon/dme1737.c 	.attrs = dme1737_vid_attr,
attrs            1756 drivers/hwmon/dme1737.c 	.attrs = dme1737_zone3_attr,
attrs            1773 drivers/hwmon/dme1737.c 	.attrs = dme1737_zone_hyst_attr,
attrs            1790 drivers/hwmon/dme1737.c 	.attrs = dme1737_in7_attr,
attrs            1842 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm1_attr },
attrs            1843 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm2_attr },
attrs            1844 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm3_attr },
attrs            1845 drivers/hwmon/dme1737.c 	{ .attrs = NULL },
attrs            1846 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm5_attr },
attrs            1847 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm6_attr },
attrs            1910 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_fan1_attr },
attrs            1911 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_fan2_attr },
attrs            1912 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_fan3_attr },
attrs            1913 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_fan4_attr },
attrs            1914 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_fan5_attr },
attrs            1915 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_fan6_attr },
attrs            1933 drivers/hwmon/dme1737.c 	.attrs = dme1737_zone_chmod_attr,
attrs            1949 drivers/hwmon/dme1737.c 	.attrs = dme1737_zone3_chmod_attr,
attrs            1993 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm1_chmod_attr },
attrs            1994 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm2_chmod_attr },
attrs            1995 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm3_chmod_attr },
attrs            1996 drivers/hwmon/dme1737.c 	{ .attrs = NULL },
attrs            1997 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm5_chmod_attr },
attrs            1998 drivers/hwmon/dme1737.c 	{ .attrs = dme1737_pwm6_chmod_attr },
attrs            2058 drivers/hwmon/dme1737.c 	for (attr = group->attrs; *attr; attr++)
attrs             340 drivers/hwmon/ds1621.c 	.attrs = ds1621_attributes,
attrs             236 drivers/hwmon/emc1403.c 		.attrs = emc1402_attrs,
attrs             264 drivers/hwmon/emc1403.c 	.attrs = emc1403_attrs,
attrs             283 drivers/hwmon/emc1403.c 	.attrs = emc1404_attrs,
attrs             316 drivers/hwmon/emc1403.c 	.attrs = emc1402_alarm_attrs,
attrs             542 drivers/hwmon/emc2103.c 	.attrs = emc2103_attributes,
attrs             546 drivers/hwmon/emc2103.c 	.attrs = emc2103_attributes_temp3,
attrs             550 drivers/hwmon/emc2103.c 	.attrs = emc2103_attributes_temp4,
attrs            1275 drivers/hwmon/f71805f.c 	.attrs = f71805f_attributes,
attrs            1307 drivers/hwmon/f71805f.c 	{ .attrs = f71805f_attributes_optin[0] },
attrs            1308 drivers/hwmon/f71805f.c 	{ .attrs = f71805f_attributes_optin[1] },
attrs            1309 drivers/hwmon/f71805f.c 	{ .attrs = f71805f_attributes_optin[2] },
attrs            1310 drivers/hwmon/f71805f.c 	{ .attrs = f71805f_attributes_optin[3] },
attrs            1325 drivers/hwmon/f71805f.c 	.attrs = f71805f_attributes_pwm_freq,
attrs             750 drivers/hwmon/f75375s.c 	.attrs = f75375_attributes,
attrs             328 drivers/hwmon/fam15h_power.c 	data->group.attrs = fam15h_power_attrs;
attrs             690 drivers/hwmon/ftsteutates.c 	.attrs = fts_voltage_attrs
attrs             694 drivers/hwmon/ftsteutates.c 	.attrs = fts_temp_attrs
attrs             698 drivers/hwmon/ftsteutates.c 	.attrs = fts_fan_attrs
attrs             551 drivers/hwmon/gl518sm.c 	.attrs = gl518_attributes,
attrs             562 drivers/hwmon/gl518sm.c 	.attrs = gl518_attributes_r80,
attrs             763 drivers/hwmon/gl520sm.c 	.attrs = gl520_attributes,
attrs             785 drivers/hwmon/gl520sm.c 	.attrs = gl520_attributes_in4,
attrs             789 drivers/hwmon/gl520sm.c 	.attrs = gl520_attributes_temp2,
attrs             326 drivers/hwmon/gpio-fan.c 	.attrs = gpio_fan_attributes,
attrs              90 drivers/hwmon/hwmon.c 	.attrs		= hwmon_dev_attrs,
attrs              99 drivers/hwmon/hwmon.c static void hwmon_free_attrs(struct attribute **attrs)
attrs             103 drivers/hwmon/hwmon.c 	for (i = 0; attrs[i]; i++) {
attrs             104 drivers/hwmon/hwmon.c 		struct device_attribute *dattr = to_dev_attr(attrs[i]);
attrs             109 drivers/hwmon/hwmon.c 	kfree(attrs);
attrs             116 drivers/hwmon/hwmon.c 	if (hwdev->group.attrs)
attrs             117 drivers/hwmon/hwmon.c 		hwmon_free_attrs(hwdev->group.attrs);
attrs             512 drivers/hwmon/hwmon.c 			  struct attribute **attrs,
attrs             544 drivers/hwmon/hwmon.c 			attrs[aindex++] = a;
attrs             554 drivers/hwmon/hwmon.c 	struct attribute **attrs;
attrs             562 drivers/hwmon/hwmon.c 	attrs = kcalloc(nattrs + 1, sizeof(*attrs), GFP_KERNEL);
attrs             563 drivers/hwmon/hwmon.c 	if (!attrs)
attrs             567 drivers/hwmon/hwmon.c 		ret = hwmon_genattrs(drvdata, &attrs[aindex], chip->ops,
attrs             570 drivers/hwmon/hwmon.c 			hwmon_free_attrs(attrs);
attrs             576 drivers/hwmon/hwmon.c 	return attrs;
attrs             607 drivers/hwmon/hwmon.c 		struct attribute **attrs;
attrs             620 drivers/hwmon/hwmon.c 		attrs = __hwmon_create_attrs(drvdata, chip);
attrs             621 drivers/hwmon/hwmon.c 		if (IS_ERR(attrs)) {
attrs             622 drivers/hwmon/hwmon.c 			err = PTR_ERR(attrs);
attrs             626 drivers/hwmon/hwmon.c 		hwdev->group.attrs = attrs;
attrs             100 drivers/hwmon/i5k_amb.c 	struct i5k_device_attribute *attrs;
attrs             264 drivers/hwmon/i5k_amb.c 	data->attrs = kzalloc(array3_size(num_ambs, KNOBS_PER_AMB,
attrs             265 drivers/hwmon/i5k_amb.c 					  sizeof(*data->attrs)),
attrs             267 drivers/hwmon/i5k_amb.c 	if (!data->attrs)
attrs             282 drivers/hwmon/i5k_amb.c 			iattr = data->attrs + data->num_attrs;
attrs             297 drivers/hwmon/i5k_amb.c 			iattr = data->attrs + data->num_attrs;
attrs             312 drivers/hwmon/i5k_amb.c 			iattr = data->attrs + data->num_attrs;
attrs             328 drivers/hwmon/i5k_amb.c 			iattr = data->attrs + data->num_attrs;
attrs             344 drivers/hwmon/i5k_amb.c 			iattr = data->attrs + data->num_attrs;
attrs             360 drivers/hwmon/i5k_amb.c 			iattr = data->attrs + data->num_attrs;
attrs             391 drivers/hwmon/i5k_amb.c 		device_remove_file(&pdev->dev, &data->attrs[i].s_attr.dev_attr);
attrs             392 drivers/hwmon/i5k_amb.c 	kfree(data->attrs);
attrs             562 drivers/hwmon/i5k_amb.c 		device_remove_file(&pdev->dev, &data->attrs[i].s_attr.dev_attr);
attrs             563 drivers/hwmon/i5k_amb.c 	kfree(data->attrs);
attrs             468 drivers/hwmon/ibmpowernv.c 		sensor_groups[type].group.attrs = devm_kcalloc(&pdev->dev,
attrs             472 drivers/hwmon/ibmpowernv.c 		if (!sensor_groups[type].group.attrs)
attrs             522 drivers/hwmon/ibmpowernv.c 	pgroup->attrs[sensor_groups[type].attr_count++] = &sdata->dev_attr.attr;
attrs              31 drivers/hwmon/iio_hwmon.c 	struct attribute **attrs;
attrs              93 drivers/hwmon/iio_hwmon.c 	st->attrs = devm_kcalloc(dev,
attrs              94 drivers/hwmon/iio_hwmon.c 				 st->num_channels + 1, sizeof(*st->attrs),
attrs              96 drivers/hwmon/iio_hwmon.c 	if (st->attrs == NULL)
attrs             146 drivers/hwmon/iio_hwmon.c 		st->attrs[i] = &a->dev_attr.attr;
attrs             149 drivers/hwmon/iio_hwmon.c 	st->attr_group.attrs = st->attrs;
attrs             422 drivers/hwmon/ina2xx.c 	.attrs = ina2xx_attrs,
attrs             431 drivers/hwmon/ina2xx.c 	.attrs = ina226_attrs,
attrs            2061 drivers/hwmon/it87.c 	.attrs = it87_attributes_in,
attrs            2122 drivers/hwmon/it87.c 	.attrs = it87_attributes_temp,
attrs            2154 drivers/hwmon/it87.c 	.attrs = it87_attributes,
attrs            2225 drivers/hwmon/it87.c 	.attrs = it87_attributes_fan,
attrs            2286 drivers/hwmon/it87.c 	.attrs = it87_attributes_pwm,
attrs            2382 drivers/hwmon/it87.c 	.attrs = it87_attributes_auto_pwm,
attrs             245 drivers/hwmon/k10temp.c 	.attrs = k10temp_attrs,
attrs             395 drivers/hwmon/lineage-pem.c 	.attrs = pem_attributes,
attrs             406 drivers/hwmon/lineage-pem.c 	.attrs = pem_input_attributes,
attrs             417 drivers/hwmon/lineage-pem.c 	.attrs = pem_fan_attributes,
attrs             901 drivers/hwmon/lm63.c 	.attrs = lm63_attributes_temp2_type,
attrs             921 drivers/hwmon/lm63.c 	.attrs = lm63_attributes_extra_lut,
attrs             947 drivers/hwmon/lm63.c 	.attrs = lm63_attributes,
attrs             959 drivers/hwmon/lm63.c 	.attrs = lm63_attributes_fan1,
attrs             246 drivers/hwmon/lm83.c 	.attrs = lm83_attributes,
attrs             267 drivers/hwmon/lm83.c 	.attrs = lm83_attributes_opt,
attrs            1370 drivers/hwmon/lm85.c 	.attrs = lm85_attributes,
attrs            1381 drivers/hwmon/lm85.c 	.attrs = lm85_attributes_minctl,
attrs            1392 drivers/hwmon/lm85.c 	.attrs = lm85_attributes_temp_off,
attrs            1404 drivers/hwmon/lm85.c 	.attrs = lm85_attributes_in4,
attrs            1424 drivers/hwmon/lm85.c 	.attrs = lm85_attributes_in567,
attrs             716 drivers/hwmon/lm87.c 	.attrs = lm87_attributes,
attrs             728 drivers/hwmon/lm87.c 	.attrs = lm87_attributes_in6,
attrs             740 drivers/hwmon/lm87.c 	.attrs = lm87_attributes_fan1,
attrs             752 drivers/hwmon/lm87.c 	.attrs = lm87_attributes_in7,
attrs             764 drivers/hwmon/lm87.c 	.attrs = lm87_attributes_fan2,
attrs             778 drivers/hwmon/lm87.c 	.attrs = lm87_attributes_temp3,
attrs             794 drivers/hwmon/lm87.c 	.attrs = lm87_attributes_in0_5,
attrs             804 drivers/hwmon/lm87.c 	.attrs = lm87_attributes_vid,
attrs             566 drivers/hwmon/lm95234.c 	.attrs = lm95234_common_attrs,
attrs             588 drivers/hwmon/lm95234.c 	.attrs = lm95234_attrs,
attrs             198 drivers/hwmon/ltc2990.c 	.attrs = ltc2990_attrs,
attrs             145 drivers/hwmon/max1111.c 	.attrs	= max1111_attributes,
attrs             157 drivers/hwmon/max1111.c 	.attrs	= max1110_attributes,
attrs             478 drivers/hwmon/max16065.c 	.attrs = max16065_basic_attributes,
attrs             483 drivers/hwmon/max16065.c 	.attrs = max16065_current_attributes,
attrs             487 drivers/hwmon/max16065.c 	.attrs = max16065_min_attributes,
attrs             492 drivers/hwmon/max16065.c 	.attrs = max16065_max_attributes,
attrs             349 drivers/hwmon/max1668.c 	.attrs = max1668_attribute_common,
attrs             354 drivers/hwmon/max1668.c 	.attrs = max1668_attribute_unique,
attrs             244 drivers/hwmon/max197.c 	.attrs = (struct attribute *[]) {
attrs             349 drivers/hwmon/max6650.c 	.attrs = max6650_attrs,
attrs             464 drivers/hwmon/max6697.c 	.attrs = max6697_attributes, .is_visible = max6697_is_visible,
attrs             190 drivers/hwmon/mc13783-adc.c 	.attrs = mc13783_attr_base,
attrs             203 drivers/hwmon/mc13783-adc.c 	.attrs = mc13783_attr_16chans,
attrs             216 drivers/hwmon/mc13783-adc.c 	.attrs = mc13783_attr_ts,
attrs             403 drivers/hwmon/nct6683.c 	struct attribute **attrs;
attrs             420 drivers/hwmon/nct6683.c 	attrs = devm_kcalloc(dev, repeat * count + 1, sizeof(*attrs),
attrs             422 drivers/hwmon/nct6683.c 	if (attrs == NULL)
attrs             430 drivers/hwmon/nct6683.c 	group->attrs = attrs;
attrs             448 drivers/hwmon/nct6683.c 				*attrs = &a2->dev_attr.attr;
attrs             458 drivers/hwmon/nct6683.c 				*attrs = &a->dev_attr.attr;
attrs             460 drivers/hwmon/nct6683.c 			attrs++;
attrs            1107 drivers/hwmon/nct6683.c 	.attrs = nct6683_attributes_other,
attrs            1289 drivers/hwmon/nct6775.c 	struct attribute **attrs;
attrs            1307 drivers/hwmon/nct6775.c 	attrs = devm_kcalloc(dev, repeat * count + 1, sizeof(*attrs),
attrs            1309 drivers/hwmon/nct6775.c 	if (attrs == NULL)
attrs            1317 drivers/hwmon/nct6775.c 	group->attrs = attrs;
attrs            1335 drivers/hwmon/nct6775.c 				*attrs = &a2->dev_attr.attr;
attrs            1345 drivers/hwmon/nct6775.c 				*attrs = &a->dev_attr.attr;
attrs            1347 drivers/hwmon/nct6775.c 			attrs++;
attrs            3498 drivers/hwmon/nct6775.c 	.attrs = nct6775_attributes_other,
attrs             718 drivers/hwmon/nct7802.c 	.attrs = nct7802_temp_attrs,
attrs             804 drivers/hwmon/nct7802.c 	.attrs = nct7802_in_attrs,
attrs             870 drivers/hwmon/nct7802.c 	.attrs = nct7802_fan_attrs,
attrs             888 drivers/hwmon/nct7802.c 	.attrs = nct7802_pwm_attrs,
attrs             974 drivers/hwmon/nct7802.c 	.attrs = nct7802_auto_point_attrs,
attrs             800 drivers/hwmon/occ/common.c 	occ->attrs = devm_kzalloc(dev, sizeof(*occ->attrs) * num_attrs,
attrs             802 drivers/hwmon/occ/common.c 	if (!occ->attrs)
attrs             806 drivers/hwmon/occ/common.c 	occ->group.attrs = devm_kzalloc(dev, sizeof(*occ->group.attrs) *
attrs             808 drivers/hwmon/occ/common.c 	if (!occ->group.attrs)
attrs             811 drivers/hwmon/occ/common.c 	attr = occ->attrs;
attrs            1009 drivers/hwmon/occ/common.c 		sysfs_attr_init(&occ->attrs[i].sensor.dev_attr.attr);
attrs            1010 drivers/hwmon/occ/common.c 		occ->group.attrs[i] = &occ->attrs[i].sensor.dev_attr.attr;
attrs             106 drivers/hwmon/occ/common.h 	struct occ_attribute *attrs;
attrs             107 drivers/hwmon/occ/sysfs.c 	.attrs = occ_attributes,
attrs             387 drivers/hwmon/pc87360.c 	{ .attrs = pc8736x_fan_attr[0], },
attrs             388 drivers/hwmon/pc87360.c 	{ .attrs = pc8736x_fan_attr[1], },
attrs             389 drivers/hwmon/pc87360.c 	{ .attrs = pc8736x_fan_attr[2], },
attrs             640 drivers/hwmon/pc87360.c 	.attrs = pc8736x_vin_attr_array,
attrs             841 drivers/hwmon/pc87360.c 	.attrs = pc8736x_therm_attr_array,
attrs            1072 drivers/hwmon/pc87360.c 	{ .attrs = pc8736x_temp_attr[0] },
attrs            1073 drivers/hwmon/pc87360.c 	{ .attrs = pc8736x_temp_attr[1] },
attrs            1074 drivers/hwmon/pc87360.c 	{ .attrs = pc8736x_temp_attr[2] }
attrs             542 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[0] },
attrs             543 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[1] },
attrs             544 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[2] },
attrs             545 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[3] },
attrs             546 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[4] },
attrs             547 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[5] },
attrs             548 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[6] },
attrs             549 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_fan[7] },
attrs             685 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_pwm[0] },
attrs             686 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_pwm[1] },
attrs             687 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_pwm[2] },
attrs             688 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_pwm[3] },
attrs             913 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_temp[0] },
attrs             914 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_temp[1] },
attrs             915 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_temp[2] },
attrs             916 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_temp[3] },
attrs             917 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_temp[4] },
attrs             918 drivers/hwmon/pc87427.c 	{ .attrs = pc87427_attributes_temp[5] },
attrs             165 drivers/hwmon/pcf8591.c 	.attrs = pcf8591_attributes,
attrs             175 drivers/hwmon/pcf8591.c 	.attrs = pcf8591_attributes_opt,
attrs              98 drivers/hwmon/pmbus/isl68137.c 	.attrs = enable_attrs,
attrs             998 drivers/hwmon/pmbus/pmbus_core.c 		void *new_attrs = krealloc(data->group.attrs,
attrs            1003 drivers/hwmon/pmbus/pmbus_core.c 		data->group.attrs = new_attrs;
attrs            1007 drivers/hwmon/pmbus/pmbus_core.c 	data->group.attrs[data->num_attributes++] = attr;
attrs            1008 drivers/hwmon/pmbus/pmbus_core.c 	data->group.attrs[data->num_attributes] = NULL;
attrs            1289 drivers/hwmon/pmbus/pmbus_core.c 				  const struct pmbus_sensor_attr *attrs,
attrs            1299 drivers/hwmon/pmbus/pmbus_core.c 		bool paged = pmbus_sensor_is_paged(info, attrs);
attrs            1303 drivers/hwmon/pmbus/pmbus_core.c 			if (!(info->func[page] & attrs->func))
attrs            1307 drivers/hwmon/pmbus/pmbus_core.c 							 attrs, paged);
attrs            1312 drivers/hwmon/pmbus/pmbus_core.c 		attrs++;
attrs            2507 drivers/hwmon/pmbus/pmbus_core.c 	kfree(data->group.attrs);
attrs            2519 drivers/hwmon/pmbus/pmbus_core.c 	kfree(data->group.attrs);
attrs             161 drivers/hwmon/pwm-fan.c 	.attrs = pwm_fan_attrs,
attrs              45 drivers/hwmon/s3c-hwmon.c 	struct s3c_hwmon_attr	attrs[8];
attrs             120 drivers/hwmon/s3c-hwmon.c 	.attrs	= s3c_hwmon_attrs,
attrs             209 drivers/hwmon/s3c-hwmon.c 				 struct s3c_hwmon_attr *attrs,
attrs             215 drivers/hwmon/s3c-hwmon.c 	snprintf(attrs->in_name, sizeof(attrs->in_name), "in%d_input", channel);
attrs             217 drivers/hwmon/s3c-hwmon.c 	attr = &attrs->in;
attrs             220 drivers/hwmon/s3c-hwmon.c 	attr->dev_attr.attr.name  = attrs->in_name;
attrs             232 drivers/hwmon/s3c-hwmon.c 		snprintf(attrs->label_name, sizeof(attrs->label_name),
attrs             235 drivers/hwmon/s3c-hwmon.c 		attr = &attrs->label;
attrs             238 drivers/hwmon/s3c-hwmon.c 		attr->dev_attr.attr.name  = attrs->label_name;
attrs             244 drivers/hwmon/s3c-hwmon.c 			device_remove_file(dev, &attrs->in.dev_attr);
attrs             253 drivers/hwmon/s3c-hwmon.c 				  struct s3c_hwmon_attr *attrs)
attrs             255 drivers/hwmon/s3c-hwmon.c 	device_remove_file(dev, &attrs->in.dev_attr);
attrs             256 drivers/hwmon/s3c-hwmon.c 	device_remove_file(dev, &attrs->label.dev_attr);
attrs             323 drivers/hwmon/s3c-hwmon.c 					    &hwmon->attrs[i], i);
attrs             330 drivers/hwmon/s3c-hwmon.c 							      &hwmon->attrs[i]);
attrs             357 drivers/hwmon/s3c-hwmon.c 	for (i = 0; i < ARRAY_SIZE(hwmon->attrs); i++)
attrs             358 drivers/hwmon/s3c-hwmon.c 		s3c_hwmon_remove_attr(&dev->dev, &hwmon->attrs[i]);
attrs             437 drivers/hwmon/sch5627.c 	.attrs = sch5627_attributes,
attrs              36 drivers/hwmon/scpi-hwmon.c 	struct attribute **attrs;
attrs             158 drivers/hwmon/scpi-hwmon.c 	scpi_sensors->attrs = devm_kcalloc(dev, (nr_sensors * 2) + 1,
attrs             159 drivers/hwmon/scpi-hwmon.c 				   sizeof(*scpi_sensors->attrs), GFP_KERNEL);
attrs             160 drivers/hwmon/scpi-hwmon.c 	if (!scpi_sensors->attrs)
attrs             229 drivers/hwmon/scpi-hwmon.c 		scpi_sensors->attrs[idx << 1] = &sensor->dev_attr_input.attr;
attrs             230 drivers/hwmon/scpi-hwmon.c 		scpi_sensors->attrs[(idx << 1) + 1] = &sensor->dev_attr_label.attr;
attrs             232 drivers/hwmon/scpi-hwmon.c 		sysfs_attr_init(scpi_sensors->attrs[idx << 1]);
attrs             233 drivers/hwmon/scpi-hwmon.c 		sysfs_attr_init(scpi_sensors->attrs[(idx << 1) + 1]);
attrs             237 drivers/hwmon/scpi-hwmon.c 	scpi_sensors->group.attrs = scpi_sensors->attrs;
attrs             796 drivers/hwmon/sht15.c 	.attrs = sht15_attrs,
attrs             544 drivers/hwmon/sis5595.c 	.attrs = sis5595_attributes,
attrs             556 drivers/hwmon/sis5595.c 	.attrs = sis5595_attributes_in4,
attrs             568 drivers/hwmon/sis5595.c 	.attrs = sis5595_attributes_temp1,
attrs             461 drivers/hwmon/smsc47m1.c 	.attrs = smsc47m1_attributes_fan1,
attrs             473 drivers/hwmon/smsc47m1.c 	.attrs = smsc47m1_attributes_fan2,
attrs             485 drivers/hwmon/smsc47m1.c 	.attrs = smsc47m1_attributes_fan3,
attrs             495 drivers/hwmon/smsc47m1.c 	.attrs = smsc47m1_attributes_pwm1,
attrs             505 drivers/hwmon/smsc47m1.c 	.attrs = smsc47m1_attributes_pwm2,
attrs             515 drivers/hwmon/smsc47m1.c 	.attrs = smsc47m1_attributes_pwm3,
attrs             525 drivers/hwmon/smsc47m1.c 	.attrs = smsc47m1_attributes,
attrs             511 drivers/hwmon/smsc47m192.c 	.attrs = smsc47m192_attributes,
attrs             523 drivers/hwmon/smsc47m192.c 	.attrs = smsc47m192_attributes_in4,
attrs             288 drivers/hwmon/thmc50.c 	.attrs = thmc50_attributes,
attrs             303 drivers/hwmon/thmc50.c 	.attrs = temp3_attributes,
attrs             513 drivers/hwmon/tmp401.c 	.attrs = tmp401_attributes,
attrs             539 drivers/hwmon/tmp401.c 	.attrs = tmp411_attributes,
attrs             570 drivers/hwmon/tmp401.c 	.attrs = tmp432_attributes,
attrs             585 drivers/hwmon/tmp401.c 	.attrs = tmp461_attributes,
attrs             251 drivers/hwmon/ultra45_env.c 	.attrs = env_attributes,
attrs              97 drivers/hwmon/vexpress-hwmon.c 	.attrs = vexpress_hwmon_attrs_volt,
attrs             117 drivers/hwmon/vexpress-hwmon.c 	.attrs = vexpress_hwmon_attrs_amp,
attrs             136 drivers/hwmon/vexpress-hwmon.c 	.attrs = vexpress_hwmon_attrs_temp,
attrs             155 drivers/hwmon/vexpress-hwmon.c 	.attrs = vexpress_hwmon_attrs_power,
attrs             174 drivers/hwmon/vexpress-hwmon.c 	.attrs = vexpress_hwmon_attrs_energy,
attrs             104 drivers/hwmon/via-cputemp.c 	.attrs = via_cputemp_attributes,
attrs             654 drivers/hwmon/via686a.c 	.attrs = via686a_attributes,
attrs             949 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_in_attr[0] },
attrs             950 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_in_attr[1] },
attrs             951 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_in_attr[2] },
attrs             952 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_in_attr[3] },
attrs             953 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_in_attr[4] },
attrs             954 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_in_attr[5] }
attrs             997 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_temp_attr[0] },
attrs             998 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_temp_attr[1] },
attrs             999 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_temp_attr[2] },
attrs            1000 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_temp_attr[3] },
attrs            1001 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_temp_attr[4] },
attrs            1002 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_temp_attr[5] },
attrs            1003 drivers/hwmon/vt1211.c 	{ .attrs = vt1211_temp_attr[6] }
attrs             679 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_temps[0] },
attrs             680 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_temps[1] },
attrs             681 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_temps[2] },
attrs             682 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_temps[3] },
attrs             683 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_temps[4] },
attrs             684 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_temps[5] },
attrs             728 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_volts[0] },
attrs             729 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_volts[1] },
attrs             730 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_volts[2] },
attrs             731 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_volts[3] },
attrs             732 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_volts[4] },
attrs             733 drivers/hwmon/vt8231.c 	{ .attrs = vt8231_attributes_volts[5] },
attrs             751 drivers/hwmon/vt8231.c 	.attrs = vt8231_attributes,
attrs            1366 drivers/hwmon/w83627hf.c 	.attrs = w83627hf_attributes,
attrs            1390 drivers/hwmon/w83627hf.c 	.attrs = w83627hf_attributes_opt,
attrs             960 drivers/hwmon/w83781d.c 	.attrs = w83781d_attributes,
attrs             968 drivers/hwmon/w83781d.c 	.attrs = w83781d_attributes_in1,
attrs             977 drivers/hwmon/w83781d.c 	.attrs = w83781d_attributes_in78,
attrs             985 drivers/hwmon/w83781d.c 	.attrs = w83781d_attributes_temp3,
attrs             995 drivers/hwmon/w83781d.c 	.attrs = w83781d_attributes_pwm12,
attrs            1004 drivers/hwmon/w83781d.c 	.attrs = w83781d_attributes_pwm34,
attrs            1014 drivers/hwmon/w83781d.c 	.attrs = w83781d_attributes_other,
attrs            1238 drivers/hwmon/w83791d.c 	.attrs = w83791d_attributes,
attrs            1255 drivers/hwmon/w83791d.c 	.attrs = w83791d_attributes_fanpwm45,
attrs            1203 drivers/hwmon/w83792d.c 	{ .attrs = w83792d_attributes_fan[0] },
attrs            1204 drivers/hwmon/w83792d.c 	{ .attrs = w83792d_attributes_fan[1] },
attrs            1205 drivers/hwmon/w83792d.c 	{ .attrs = w83792d_attributes_fan[2] },
attrs            1206 drivers/hwmon/w83792d.c 	{ .attrs = w83792d_attributes_fan[3] },
attrs            1312 drivers/hwmon/w83792d.c 	.attrs = w83792d_attributes,
attrs             392 drivers/hwtracing/coresight/coresight-catu.c 	.attrs = catu_mgmt_attrs,
attrs             712 drivers/hwtracing/coresight/coresight-etb10.c 	.attrs = coresight_etb_attrs,
attrs             716 drivers/hwtracing/coresight/coresight-etb10.c 	.attrs = coresight_etb_mgmt_attrs,
attrs              49 drivers/hwtracing/coresight/coresight-etm-perf.c 	.attrs  = etm_config_formats_attr,
attrs              58 drivers/hwtracing/coresight/coresight-etm-perf.c 	.attrs  = etm_config_sinks_attr,
attrs            1284 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c 	.attrs = coresight_etm_attrs,
attrs            1288 drivers/hwtracing/coresight/coresight-etm3x-sysfs.c 	.attrs = coresight_etm_mgmt_attrs,
attrs            2157 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c 	.attrs = coresight_etmv4_attrs,
attrs            2161 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c 	.attrs = coresight_etmv4_mgmt_attrs,
attrs            2166 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c 	.attrs = coresight_etmv4_trcidr_attrs,
attrs             191 drivers/hwtracing/coresight/coresight-replicator.c 	.attrs = replicator_mgmt_attrs,
attrs             675 drivers/hwtracing/coresight/coresight-stm.c 	.attrs = coresight_stm_attrs,
attrs             679 drivers/hwtracing/coresight/coresight-stm.c 	.attrs = coresight_stm_mgmt_attrs,
attrs             356 drivers/hwtracing/coresight/coresight-tmc.c 	.attrs = coresight_tmc_attrs,
attrs             360 drivers/hwtracing/coresight/coresight-tmc.c 	.attrs = coresight_tmc_mgmt_attrs,
attrs             370 drivers/hwtracing/intel_th/gth.c 	struct attribute **attrs;
attrs             373 drivers/hwtracing/intel_th/gth.c 	attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL);
attrs             374 drivers/hwtracing/intel_th/gth.c 	if (!attrs)
attrs             397 drivers/hwtracing/intel_th/gth.c 		attrs[i] = &master_attrs[i].attr.attr;
attrs             404 drivers/hwtracing/intel_th/gth.c 	gth->master_group.attrs = attrs;
attrs             412 drivers/hwtracing/intel_th/gth.c 	struct attribute **attrs;
attrs             417 drivers/hwtracing/intel_th/gth.c 	attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL);
attrs             418 drivers/hwtracing/intel_th/gth.c 	if (!attrs)
attrs             450 drivers/hwtracing/intel_th/gth.c 			attrs[idx] = &out_attrs[idx].attr.attr;
attrs             459 drivers/hwtracing/intel_th/gth.c 	gth->output_group.attrs = attrs;
attrs             796 drivers/hwtracing/intel_th/gth.c 		if (gth->output_group.attrs)
attrs            2059 drivers/hwtracing/intel_th/msu.c 	.attrs	= msc_output_attrs,
attrs             146 drivers/hwtracing/intel_th/pti.c 	.attrs	= pti_output_attrs,
attrs             299 drivers/hwtracing/intel_th/pti.c 	.attrs	= lpp_output_attrs,
attrs             206 drivers/hwtracing/stm/policy.c get_policy_node_type(struct configfs_attribute **attrs)
attrs             216 drivers/hwtracing/stm/policy.c 	merged = memcat_p(stp_policy_node_attrs, attrs);
attrs              61 drivers/hwtracing/stm/stm.h get_policy_node_type(struct configfs_attribute **attrs);
attrs              85 drivers/ide/ide-sysfs.c 	.attrs = ide_attrs,
attrs             201 drivers/iio/accel/adxl345_core.c 	.attrs = adxl345_attrs,
attrs             205 drivers/iio/accel/adxl345_core.c 	.attrs		= &adxl345_attrs_group,
attrs             902 drivers/iio/accel/adxl372.c 	.attrs = adxl372_attributes,
attrs             907 drivers/iio/accel/adxl372.c 	.attrs = &adxl372_attrs_group,
attrs             459 drivers/iio/accel/bma180.c 	.attrs = bma180_attributes,
attrs             534 drivers/iio/accel/bma180.c 	.attrs			= &bma180_attrs_group,
attrs              66 drivers/iio/accel/bma220_spi.c 	.attrs = bma220_attributes,
attrs             188 drivers/iio/accel/bma220_spi.c 	.attrs			= &bma220_attribute_group,
attrs             962 drivers/iio/accel/bmc150-accel-core.c 	.attrs = bmc150_accel_attributes,
attrs            1080 drivers/iio/accel/bmc150-accel-core.c 	.attrs			= &bmc150_accel_attrs_group,
attrs            1090 drivers/iio/accel/bmc150-accel-core.c 	.attrs			= &bmc150_accel_attrs_group,
attrs             975 drivers/iio/accel/kxcjk-1013.c 	.attrs = kxcjk1013_attributes,
attrs            1020 drivers/iio/accel/kxcjk-1013.c 	.attrs			= &kxcjk1013_attrs_group,
attrs             316 drivers/iio/accel/kxsd9.c 	.attrs = kxsd9_attributes,
attrs             389 drivers/iio/accel/kxsd9.c 	.attrs = &kxsd9_attribute_group,
attrs             192 drivers/iio/accel/mma7455_core.c 	.attrs = mma7455_attributes,
attrs             196 drivers/iio/accel/mma7455_core.c 	.attrs = &mma7455_group,
attrs              75 drivers/iio/accel/mma7660.c 	.attrs = mma7660_attributes
attrs             169 drivers/iio/accel/mma7660.c 	.attrs			= &mma7660_attribute_group,
attrs            1186 drivers/iio/accel/mma8452.c 	.attrs = mma8452_event_attributes,
attrs            1406 drivers/iio/accel/mma8452.c 	.attrs = mma8452_attributes,
attrs            1410 drivers/iio/accel/mma8452.c 	.attrs = &mma8452_group,
attrs              89 drivers/iio/accel/mxc4005.c 	.attrs = mxc4005_attributes,
attrs             261 drivers/iio/accel/mxc4005.c 	.attrs		= &mxc4005_attrs_group,
attrs             961 drivers/iio/accel/sca3000.c 	.attrs = sca3000_attributes,
attrs            1444 drivers/iio/accel/sca3000.c 	.attrs = &sca3000_attribute_group,
attrs             976 drivers/iio/accel/st_accel_core.c 	.attrs = st_accel_attributes,
attrs             980 drivers/iio/accel/st_accel_core.c 	.attrs = &st_accel_attribute_group,
attrs             120 drivers/iio/accel/stk8312.c 	.attrs = stk8312_attributes
attrs             422 drivers/iio/accel/stk8312.c 	.attrs			= &stk8312_attribute_group,
attrs             138 drivers/iio/accel/stk8ba50.c 	.attrs = stk8ba50_attributes
attrs             308 drivers/iio/accel/stk8ba50.c 	.attrs			= &stk8ba50_attribute_group,
attrs             370 drivers/iio/adc/ad7124.c 	.attrs = ad7124_attributes,
attrs             377 drivers/iio/adc/ad7124.c 	.attrs = &ad7124_attrs_group,
attrs             318 drivers/iio/adc/ad7606.c 	.attrs = ad7606_attributes_os_and_range,
attrs             327 drivers/iio/adc/ad7606.c 	.attrs = ad7606_attributes_os,
attrs             336 drivers/iio/adc/ad7606.c 	.attrs = ad7606_attributes_range,
attrs             530 drivers/iio/adc/ad7606.c 	.attrs = &ad7606_attribute_group_os_and_range,
attrs             538 drivers/iio/adc/ad7606.c 	.attrs = &ad7606_attribute_group_os_and_range,
attrs             545 drivers/iio/adc/ad7606.c 	.attrs = &ad7606_attribute_group_os,
attrs             552 drivers/iio/adc/ad7606.c 	.attrs = &ad7606_attribute_group_range,
attrs             416 drivers/iio/adc/ad7768-1.c 	.attrs = ad7768_attributes,
attrs             420 drivers/iio/adc/ad7768-1.c 	.attrs = &ad7768_group,
attrs             308 drivers/iio/adc/ad7791.c 	.attrs = ad7791_attributes,
attrs             314 drivers/iio/adc/ad7791.c 	.attrs = &ad7791_attribute_group,
attrs             383 drivers/iio/adc/ad7793.c 	.attrs = ad7793_attributes,
attrs             392 drivers/iio/adc/ad7793.c 	.attrs = ad7797_attributes,
attrs             536 drivers/iio/adc/ad7793.c 	.attrs = &ad7793_attribute_group,
attrs             544 drivers/iio/adc/ad7793.c 	.attrs = &ad7797_attribute_group,
attrs             520 drivers/iio/adc/ad799x.c 	.attrs = ad799x_event_attributes,
attrs            1630 drivers/iio/adc/at91-sama5d2_adc.c 	.attrs = at91_adc_attributes,
attrs            1642 drivers/iio/adc/at91-sama5d2_adc.c 	.attrs = &at91_adc_attribute_group,
attrs             429 drivers/iio/adc/hx711.c 	.attrs = hx711_attributes,
attrs             436 drivers/iio/adc/hx711.c 	.attrs			= &hx711_attribute_group,
attrs             916 drivers/iio/adc/ina2xx-adc.c 	.attrs = ina219_attributes,
attrs             920 drivers/iio/adc/ina2xx-adc.c 	.attrs = ina226_attributes,
attrs             924 drivers/iio/adc/ina2xx-adc.c 	.attrs = &ina219_attribute_group,
attrs             932 drivers/iio/adc/ina2xx-adc.c 	.attrs = &ina226_attribute_group,
attrs            1008 drivers/iio/adc/max1363.c 	.attrs = max1363_event_attributes,
attrs             460 drivers/iio/adc/max9611.c 	.attrs = max9611_attributes,
attrs             465 drivers/iio/adc/max9611.c 	.attrs		= &max9611_attribute_group,
attrs             302 drivers/iio/adc/mcp3422.c 	.attrs = mcp3422_attributes,
attrs             325 drivers/iio/adc/mcp3422.c 	.attrs = &mcp3422_attribute_group,
attrs             372 drivers/iio/adc/mxs-lradc-adc.c 	.attrs = mxs_lradc_adc_attributes,
attrs             379 drivers/iio/adc/mxs-lradc-adc.c 	.attrs			= &mxs_lradc_adc_attribute_group,
attrs             108 drivers/iio/adc/nau7802.c 	.attrs = nau7802_attributes,
attrs             407 drivers/iio/adc/nau7802.c 	.attrs = &nau7802_attribute_group,
attrs             807 drivers/iio/adc/ti-ads1015.c 	.attrs = ads1015_attributes,
attrs             817 drivers/iio/adc/ti-ads1015.c 	.attrs = ads1115_attributes,
attrs             827 drivers/iio/adc/ti-ads1015.c 	.attrs          = &ads1015_attribute_group,
attrs             837 drivers/iio/adc/ti-ads1015.c 	.attrs          = &ads1115_attribute_group,
attrs             148 drivers/iio/adc/ti-ads8688.c 	.attrs = ads8688_attributes,
attrs             379 drivers/iio/adc/ti-ads8688.c 	.attrs = &ads8688_attribute_group,
attrs             619 drivers/iio/adc/vf610_adc.c 	.attrs = vf610_attributes,
attrs             792 drivers/iio/adc/vf610_adc.c 	.attrs = &vf610_attribute_group,
attrs             861 drivers/iio/chemical/bme680_core.c 	.attrs = bme680_attributes,
attrs             867 drivers/iio/chemical/bme680_core.c 	.attrs = &bme680_attribute_group,
attrs             431 drivers/iio/chemical/sps30.c 	.attrs = sps30_attrs,
attrs             435 drivers/iio/chemical/sps30.c 	.attrs = &sps30_attr_group,
attrs             141 drivers/iio/chemical/vz89x.c 	.attrs = vz89x_attributes,
attrs             318 drivers/iio/chemical/vz89x.c 	.attrs		= &vz89x_attrs_group,
attrs             307 drivers/iio/dac/ad5360.c 	.attrs = ad5360_attributes,
attrs             426 drivers/iio/dac/ad5360.c 	.attrs = &ad5360_attribute_group,
attrs             215 drivers/iio/dac/ad5504.c 	.attrs = ad5504_ev_attributes,
attrs             132 drivers/iio/dac/mcp4725.c 	.attrs = mcp4725_attributes,
attrs             357 drivers/iio/dac/mcp4725.c 	.attrs = &mcp4725_attribute_group,
attrs             174 drivers/iio/dummy/iio_dummy_evgen.c 	.attrs = iio_evgen_attrs,
attrs             627 drivers/iio/frequency/ad9523.c 	.attrs = ad9523_attributes,
attrs             755 drivers/iio/frequency/ad9523.c 	.attrs = &ad9523_attribute_group,
attrs             399 drivers/iio/gyro/adis16136.c 	.attrs = adis16136_attributes,
attrs             403 drivers/iio/gyro/adis16136.c 	.attrs = &adis16136_attribute_group,
attrs             816 drivers/iio/gyro/bmg160_core.c 	.attrs = bmg160_attributes,
attrs             861 drivers/iio/gyro/bmg160_core.c 	.attrs			= &bmg160_attrs_group,
attrs             626 drivers/iio/gyro/fxas21002c_core.c 	.attrs = fxas21002c_attributes,
attrs             659 drivers/iio/gyro/fxas21002c_core.c 	.attrs			= &fxas21002c_attrs_group,
attrs             743 drivers/iio/gyro/mpu3050-core.c 	.attrs = mpu3050_attributes,
attrs             749 drivers/iio/gyro/mpu3050-core.c 	.attrs = &mpu3050_attribute_group,
attrs             423 drivers/iio/gyro/st_gyro_core.c 	.attrs = st_gyro_attributes,
attrs             427 drivers/iio/gyro/st_gyro_core.c 	.attrs = &st_gyro_attribute_group,
attrs             209 drivers/iio/health/afe4403.c 	.attrs = afe440x_attributes
attrs             301 drivers/iio/health/afe4403.c 	.attrs = &afe440x_attribute_group,
attrs             243 drivers/iio/health/afe4404.c 	.attrs = afe440x_attributes
attrs             320 drivers/iio/health/afe4404.c 	.attrs = &afe440x_attribute_group,
attrs              81 drivers/iio/humidity/hdc100x.c 	.attrs = hdc100x_attributes,
attrs             351 drivers/iio/humidity/hdc100x.c 	.attrs = &hdc100x_attribute_group,
attrs             545 drivers/iio/humidity/hts221_core.c 	.attrs = hts221_attributes,
attrs             549 drivers/iio/humidity/hts221_core.c 	.attrs = &hts221_attribute_group,
attrs             170 drivers/iio/humidity/htu21.c 	.attrs = htu21_attributes,
attrs             176 drivers/iio/humidity/htu21.c 	.attrs = &htu21_attribute_group,
attrs             506 drivers/iio/imu/bmi160/bmi160_core.c 	.attrs = bmi160_attrs,
attrs             512 drivers/iio/imu/bmi160/bmi160_core.c 	.attrs = &bmi160_attrs_group,
attrs             958 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 	.attrs = inv_attributes
attrs             965 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c 	.attrs = &inv_attribute_group,
attrs             214 drivers/iio/imu/kmx61.c 	.attrs = kmx61_acc_attributes,
attrs             218 drivers/iio/imu/kmx61.c 	.attrs = kmx61_mag_attributes,
attrs            1004 drivers/iio/imu/kmx61.c 	.attrs			= &kmx61_acc_attribute_group,
attrs            1015 drivers/iio/imu/kmx61.c 	.attrs			= &kmx61_mag_attribute_group,
attrs            1242 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 	.attrs = st_lsm6dsx_acc_attributes,
attrs            1246 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 	.attrs = &st_lsm6dsx_acc_attribute_group,
attrs            1259 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 	.attrs = st_lsm6dsx_gyro_attributes,
attrs            1263 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c 	.attrs = &st_lsm6dsx_gyro_attribute_group,
attrs             579 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c 	.attrs = st_lsm6dsx_ext_attributes,
attrs             583 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c 	.attrs = &st_lsm6dsx_ext_attribute_group,
attrs             215 drivers/iio/industrialio-buffer.c 			 const struct attribute **attrs)
attrs             217 drivers/iio/industrialio-buffer.c 	buffer->attrs = attrs;
attrs            1252 drivers/iio/industrialio-buffer.c 	if (buffer->attrs) {
attrs            1253 drivers/iio/industrialio-buffer.c 		while (buffer->attrs[attrcount] != NULL)
attrs            1269 drivers/iio/industrialio-buffer.c 	if (buffer->attrs)
attrs            1270 drivers/iio/industrialio-buffer.c 		memcpy(&attr[ARRAY_SIZE(iio_buffer_attrs)], buffer->attrs,
attrs            1276 drivers/iio/industrialio-buffer.c 	buffer->buffer_group.attrs = attr;
attrs            1281 drivers/iio/industrialio-buffer.c 		attr = buffer->scan_el_attrs->attrs;
attrs            1315 drivers/iio/industrialio-buffer.c 	buffer->scan_el_group.attrs = kcalloc(attrcount + 1,
attrs            1316 drivers/iio/industrialio-buffer.c 					      sizeof(buffer->scan_el_group.attrs[0]),
attrs            1318 drivers/iio/industrialio-buffer.c 	if (buffer->scan_el_group.attrs == NULL) {
attrs            1323 drivers/iio/industrialio-buffer.c 		memcpy(buffer->scan_el_group.attrs, buffer->scan_el_attrs,
attrs            1324 drivers/iio/industrialio-buffer.c 		       sizeof(buffer->scan_el_group.attrs[0])*attrcount_orig);
attrs            1328 drivers/iio/industrialio-buffer.c 		buffer->scan_el_group.attrs[attrn++] = &p->dev_attr.attr;
attrs            1337 drivers/iio/industrialio-buffer.c 	kfree(indio_dev->buffer->buffer_group.attrs);
attrs            1348 drivers/iio/industrialio-buffer.c 	kfree(indio_dev->buffer->buffer_group.attrs);
attrs            1349 drivers/iio/industrialio-buffer.c 	kfree(indio_dev->buffer->scan_el_group.attrs);
attrs            1328 drivers/iio/industrialio-core.c 	if (indio_dev->info->attrs) {
attrs            1329 drivers/iio/industrialio-core.c 		attr = indio_dev->info->attrs->attrs;
attrs            1360 drivers/iio/industrialio-core.c 	indio_dev->chan_attr_group.attrs = kcalloc(attrcount + 1,
attrs            1361 drivers/iio/industrialio-core.c 						   sizeof(indio_dev->chan_attr_group.attrs[0]),
attrs            1363 drivers/iio/industrialio-core.c 	if (indio_dev->chan_attr_group.attrs == NULL) {
attrs            1368 drivers/iio/industrialio-core.c 	if (indio_dev->info->attrs)
attrs            1369 drivers/iio/industrialio-core.c 		memcpy(indio_dev->chan_attr_group.attrs,
attrs            1370 drivers/iio/industrialio-core.c 		       indio_dev->info->attrs->attrs,
attrs            1371 drivers/iio/industrialio-core.c 		       sizeof(indio_dev->chan_attr_group.attrs[0])
attrs            1376 drivers/iio/industrialio-core.c 		indio_dev->chan_attr_group.attrs[attrn++] = &p->dev_attr.attr;
attrs            1378 drivers/iio/industrialio-core.c 		indio_dev->chan_attr_group.attrs[attrn++] = &dev_attr_name.attr;
attrs            1380 drivers/iio/industrialio-core.c 		indio_dev->chan_attr_group.attrs[attrn++] = clk;
attrs            1397 drivers/iio/industrialio-core.c 	kfree(indio_dev->chan_attr_group.attrs);
attrs            1398 drivers/iio/industrialio-core.c 	indio_dev->chan_attr_group.attrs = NULL;
attrs             489 drivers/iio/industrialio-event.c 		attr = indio_dev->info->event_attrs->attrs;
attrs             502 drivers/iio/industrialio-event.c 	indio_dev->event_interface->group.attrs = kcalloc(attrcount + 1,
attrs             503 drivers/iio/industrialio-event.c 							  sizeof(indio_dev->event_interface->group.attrs[0]),
attrs             505 drivers/iio/industrialio-event.c 	if (indio_dev->event_interface->group.attrs == NULL) {
attrs             510 drivers/iio/industrialio-event.c 		memcpy(indio_dev->event_interface->group.attrs,
attrs             511 drivers/iio/industrialio-event.c 		       indio_dev->info->event_attrs->attrs,
attrs             512 drivers/iio/industrialio-event.c 		       sizeof(indio_dev->event_interface->group.attrs[0])
attrs             519 drivers/iio/industrialio-event.c 		indio_dev->event_interface->group.attrs[attrn++] =
attrs             552 drivers/iio/industrialio-event.c 	kfree(indio_dev->event_interface->group.attrs);
attrs             470 drivers/iio/industrialio-trigger.c 	.attrs = iio_trigger_consumer_attrs,
attrs              79 drivers/iio/light/al3320a.c 	.attrs = al3320a_attributes,
attrs             169 drivers/iio/light/al3320a.c 	.attrs		= &al3320a_attribute_group,
attrs             340 drivers/iio/light/apds9960.c 	.attrs = apds9960_attributes,
attrs             740 drivers/iio/light/apds9960.c 	.attrs = &apds9960_attribute_group,
attrs             213 drivers/iio/light/bh1750.c 	.attrs = bh1750_attributes,
attrs             217 drivers/iio/light/bh1750.c 	.attrs = &bh1750_attribute_group,
attrs             288 drivers/iio/light/cm32181.c 	.attrs = cm32181_attributes
attrs             294 drivers/iio/light/cm32181.c 	.attrs			= &cm32181_attribute_group,
attrs             318 drivers/iio/light/cm3232.c 	.attrs = cm3232_attributes
attrs             324 drivers/iio/light/cm3232.c 	.attrs			= &cm3232_attribute_group,
attrs              76 drivers/iio/light/cm3323.c 	.attrs = cm3323_attributes,
attrs             214 drivers/iio/light/cm3323.c 	.attrs		= &cm3323_attribute_group,
attrs             608 drivers/iio/light/cm36651.c 	.attrs = cm36651_attributes
attrs             618 drivers/iio/light/cm36651.c 	.attrs			= &cm36651_attribute_group,
attrs             518 drivers/iio/light/isl29018.c 	.attrs = isl29018_attributes,
attrs             522 drivers/iio/light/isl29018.c 	.attrs = isl29023_attributes,
attrs             619 drivers/iio/light/isl29018.c 	.attrs = &isl29018_group,
attrs             625 drivers/iio/light/isl29018.c 	.attrs = &isl29023_group,
attrs             508 drivers/iio/light/isl29028.c 	.attrs = isl29028_attributes,
attrs             527 drivers/iio/light/isl29028.c 	.attrs = &isl29108_group,
attrs             207 drivers/iio/light/isl29125.c 	.attrs = isl29125_attributes,
attrs             213 drivers/iio/light/isl29125.c 	.attrs = &isl29125_attribute_group,
attrs             690 drivers/iio/light/lm3533-als.c 	.attrs = lm3533_als_event_attributes
attrs             714 drivers/iio/light/lm3533-als.c 	.attrs = lm3533_als_attributes
attrs             824 drivers/iio/light/lm3533-als.c 	.attrs		= &lm3533_als_attribute_group,
attrs            1147 drivers/iio/light/ltr501.c 	.attrs = ltr501_attributes,
attrs            1151 drivers/iio/light/ltr501.c 	.attrs = ltr301_attributes,
attrs            1157 drivers/iio/light/ltr501.c 	.attrs = &ltr501_attribute_group,
attrs            1163 drivers/iio/light/ltr501.c 	.attrs = &ltr501_attribute_group,
attrs            1173 drivers/iio/light/ltr501.c 	.attrs = &ltr301_attribute_group,
attrs            1179 drivers/iio/light/ltr501.c 	.attrs = &ltr301_attribute_group,
attrs             458 drivers/iio/light/lv0104cs.c 	.attrs = lv0104cs_attributes,
attrs             462 drivers/iio/light/lv0104cs.c 	.attrs = &lv0104cs_attribute_group,
attrs             397 drivers/iio/light/max44000.c 	.attrs = max44000_attributes,
attrs             404 drivers/iio/light/max44000.c 	.attrs			= &max44000_attribute_group,
attrs             296 drivers/iio/light/max44009.c 	.attrs = max44009_attributes,
attrs             467 drivers/iio/light/max44009.c 	.attrs = &max44009_attribute_group,
attrs             194 drivers/iio/light/opt3001.c 	.attrs = opt3001_attributes,
attrs             580 drivers/iio/light/opt3001.c 	.attrs = &opt3001_attribute_group,
attrs              96 drivers/iio/light/pa12203001.c 	.attrs = pa12203001_attrs,
attrs             309 drivers/iio/light/pa12203001.c 	.attrs = &pa12203001_attr_group,
attrs             216 drivers/iio/light/rpr0521.c 	.attrs = rpr0521_attributes,
attrs             831 drivers/iio/light/rpr0521.c 	.attrs		= &rpr0521_attribute_group,
attrs             877 drivers/iio/light/si1133.c 	.attrs = si1133_attributes,
attrs             883 drivers/iio/light/si1133.c 	.attrs = &si1133_attribute_group,
attrs             978 drivers/iio/light/si1145.c 	.attrs = si1132_attributes,
attrs             982 drivers/iio/light/si1145.c 	.attrs = si114x_attributes,
attrs             989 drivers/iio/light/si1145.c 	.attrs = &si1132_attribute_group,
attrs             995 drivers/iio/light/si1145.c 	.attrs = &si114x_attribute_group,
attrs             175 drivers/iio/light/stk3310.c 	.attrs = stk3310_attributes
attrs             412 drivers/iio/light/stk3310.c 	.attrs			= &stk3310_attribute_group,
attrs             234 drivers/iio/light/tcs3414.c 	.attrs = tcs3414_attributes,
attrs             240 drivers/iio/light/tcs3414.c 	.attrs = &tcs3414_attribute_group,
attrs             428 drivers/iio/light/tcs3472.c 	.attrs = tcs3472_attributes,
attrs             438 drivers/iio/light/tcs3472.c 	.attrs = &tcs3472_attribute_group,
attrs             609 drivers/iio/light/tsl2583.c 	.attrs = sysfs_attrs_ctrl,
attrs             797 drivers/iio/light/tsl2583.c 	.attrs = &tsl2583_attribute_group,
attrs            1462 drivers/iio/light/tsl2772.c 		.attrs = tsl2772_ALS_device_attrs,
attrs            1465 drivers/iio/light/tsl2772.c 		.attrs = tsl2772_PRX_device_attrs,
attrs            1468 drivers/iio/light/tsl2772.c 		.attrs = tsl2772_ALSPRX_device_attrs,
attrs            1471 drivers/iio/light/tsl2772.c 		.attrs = tsl2772_PRX2_device_attrs,
attrs            1474 drivers/iio/light/tsl2772.c 		.attrs = tsl2772_ALSPRX2_device_attrs,
attrs            1480 drivers/iio/light/tsl2772.c 		.attrs = &tsl2772_device_attr_group_tbl[type], \
attrs              62 drivers/iio/light/tsl4531.c 	.attrs = tsl4531_attributes,
attrs             143 drivers/iio/light/tsl4531.c 	.attrs = &tsl4531_attribute_group,
attrs             153 drivers/iio/light/us5182d.c 	.attrs = us5182d_attrs,
attrs             711 drivers/iio/light/us5182d.c 	.attrs = &us5182d_attr_group,
attrs             330 drivers/iio/light/vcnl4035.c 	.attrs = vcnl4035_attributes,
attrs             338 drivers/iio/light/vcnl4035.c 	.attrs			= &vcnl4035_attribute_group,
attrs             349 drivers/iio/light/vl6180.c 	.attrs = vl6180_attributes,
attrs             438 drivers/iio/light/vl6180.c 	.attrs = &vl6180_attribute_group,
attrs             493 drivers/iio/light/zopt2201.c 	.attrs = zopt2201_attributes,
attrs             499 drivers/iio/light/zopt2201.c 	.attrs = &zopt2201_attribute_group,
attrs             630 drivers/iio/magnetometer/bmc150_magn.c 	.attrs = bmc150_magn_attributes,
attrs             659 drivers/iio/magnetometer/bmc150_magn.c 	.attrs = &bmc150_magn_attrs_group,
attrs             529 drivers/iio/magnetometer/hmc5843_core.c 	.attrs = hmc5843_attributes,
attrs             598 drivers/iio/magnetometer/hmc5843_core.c 	.attrs = &hmc5843_group,
attrs             454 drivers/iio/magnetometer/mag3110.c 	.attrs = mag3110_attributes,
attrs             458 drivers/iio/magnetometer/mag3110.c 	.attrs = &mag3110_group,
attrs             165 drivers/iio/magnetometer/mmc35240.c 	.attrs = mmc35240_attributes,
attrs             420 drivers/iio/magnetometer/mmc35240.c 	.attrs		= &mmc35240_attribute_group,
attrs             271 drivers/iio/magnetometer/rm3100-core.c 	.attrs = rm3100_attributes,
attrs             441 drivers/iio/magnetometer/rm3100-core.c 	.attrs = &rm3100_attribute_group,
attrs             452 drivers/iio/magnetometer/st_magn_core.c 	.attrs = st_magn_attributes,
attrs             456 drivers/iio/magnetometer/st_magn_core.c 	.attrs = &st_magn_attribute_group,
attrs             615 drivers/iio/pressure/bmp280-core.c 	.attrs = bmp280_attributes,
attrs             621 drivers/iio/pressure/bmp280-core.c 	.attrs = &bmp280_attrs_group,
attrs             344 drivers/iio/pressure/hp206c.c 	.attrs = hp206c_attributes,
attrs             348 drivers/iio/pressure/hp206c.c 	.attrs = &hp206c_attribute_group,
attrs              53 drivers/iio/pressure/ms5611_core.c 	.attrs = ms5611_attributes,
attrs             383 drivers/iio/pressure/ms5611_core.c 	.attrs = &ms5611_attribute_group,
attrs             119 drivers/iio/pressure/ms5637.c 	.attrs = ms5637_attributes,
attrs             125 drivers/iio/pressure/ms5637.c 	.attrs = &ms5637_attribute_group,
attrs             646 drivers/iio/pressure/st_pressure_core.c 	.attrs = st_press_attributes,
attrs             650 drivers/iio/pressure/st_pressure_core.c 	.attrs = &st_press_attribute_group,
attrs             202 drivers/iio/pressure/t5403.c 	.attrs = t5403_attributes,
attrs             208 drivers/iio/pressure/t5403.c 	.attrs = &t5403_attribute_group,
attrs            1473 drivers/iio/pressure/zpa2326.c 	.attrs = zpa2326_attributes,
attrs            1584 drivers/iio/pressure/zpa2326.c 	.attrs         = &zpa2326_attribute_group,
attrs             173 drivers/iio/proximity/as3935.c 	.attrs = as3935_attributes,
attrs             215 drivers/iio/proximity/as3935.c 	.attrs = &as3935_attribute_group,
attrs             587 drivers/iio/proximity/isl29501.c 	.attrs = isl29501_attributes,
attrs             908 drivers/iio/proximity/isl29501.c 	.attrs = &isl29501_attribute_group,
attrs             413 drivers/iio/proximity/srf08.c 	.attrs = srf08_attributes,
attrs             435 drivers/iio/proximity/srf08.c 	.attrs = &srf08_attribute_group,
attrs             608 drivers/iio/proximity/sx9500.c 	.attrs = sx9500_attributes,
attrs             612 drivers/iio/proximity/sx9500.c 	.attrs = &sx9500_attribute_group,
attrs             262 drivers/iio/temperature/max31856.c 	.attrs = max31856_attributes,
attrs             267 drivers/iio/temperature/max31856.c 	.attrs = &max31856_group,
attrs              91 drivers/iio/temperature/mlx90614.c 	.attrs = mlx90614_attributes,
attrs             398 drivers/iio/temperature/mlx90614.c 	.attrs = &mlx90614_attr_group,
attrs             157 drivers/iio/temperature/tmp006.c 	.attrs = tmp006_attributes,
attrs             178 drivers/iio/temperature/tmp006.c 	.attrs = &tmp006_attribute_group,
attrs             361 drivers/iio/temperature/tmp007.c 	.attrs = tmp007_attributes,
attrs             424 drivers/iio/temperature/tmp007.c 	.attrs = &tmp007_attribute_group,
attrs             115 drivers/iio/temperature/tsys02d.c 	.attrs = tsys02d_attributes,
attrs             121 drivers/iio/temperature/tsys02d.c 	.attrs = &tsys02d_attribute_group,
attrs              77 drivers/iio/trigger/iio-trig-hrtimer.c 	.attrs = iio_hrtimer_attrs,
attrs              72 drivers/iio/trigger/iio-trig-sysfs.c 	.attrs = iio_sysfs_trig_attrs,
attrs             119 drivers/iio/trigger/iio-trig-sysfs.c 	.attrs = iio_sysfs_trigger_attrs,
attrs             356 drivers/iio/trigger/stm32-timer-trigger.c 	.attrs = stm32_trigger_attrs,
attrs            4340 drivers/infiniband/core/cm.c 	cm_dev->ack_delay = ib_device->attrs.local_ca_ack_delay;
attrs            1241 drivers/infiniband/core/device.c 	memset(&device->attrs, 0, sizeof(device->attrs));
attrs            1242 drivers/infiniband/core/device.c 	ret = device->ops.query_device(device, &device->attrs, &uhw);
attrs             213 drivers/infiniband/core/fmr_pool.c 	if (!device->attrs.max_map_per_fmr)
attrs             216 drivers/infiniband/core/fmr_pool.c 		max_remaps = device->attrs.max_map_per_fmr;
attrs             235 drivers/infiniband/core/nldev.c 	BUILD_BUG_ON(sizeof(device->attrs.device_cap_flags) != sizeof(u64));
attrs             237 drivers/infiniband/core/nldev.c 			      device->attrs.device_cap_flags,
attrs             251 drivers/infiniband/core/nldev.c 			      be64_to_cpu(device->attrs.sys_image_guid),
attrs            1521 drivers/infiniband/core/nldev.c 	if (!(device->attrs.device_cap_flags & IB_DEVICE_ALLOW_USER_UNREG)) {
attrs             129 drivers/infiniband/core/rdma_core.c 				  struct uverbs_attr_bundle *attrs)
attrs             131 drivers/infiniband/core/rdma_core.c 	struct ib_uverbs_file *ufile = attrs->ufile;
attrs             140 drivers/infiniband/core/rdma_core.c 								attrs);
attrs             201 drivers/infiniband/core/rdma_core.c int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs)
attrs             203 drivers/infiniband/core/rdma_core.c 	struct ib_uverbs_file *ufile = attrs->ufile;
attrs             219 drivers/infiniband/core/rdma_core.c 	ret = uverbs_destroy_uobject(uobj, RDMA_REMOVE_DESTROY, attrs);
attrs             236 drivers/infiniband/core/rdma_core.c 				      u32 id, struct uverbs_attr_bundle *attrs)
attrs             241 drivers/infiniband/core/rdma_core.c 	uobj = rdma_lookup_get_uobject(obj, attrs->ufile, id,
attrs             242 drivers/infiniband/core/rdma_core.c 				       UVERBS_LOOKUP_DESTROY, attrs);
attrs             246 drivers/infiniband/core/rdma_core.c 	ret = uobj_destroy(uobj, attrs);
attrs             260 drivers/infiniband/core/rdma_core.c 			   struct uverbs_attr_bundle *attrs)
attrs             264 drivers/infiniband/core/rdma_core.c 	uobj = __uobj_get_destroy(obj, id, attrs);
attrs             383 drivers/infiniband/core/rdma_core.c 					   struct uverbs_attr_bundle *attrs)
attrs             421 drivers/infiniband/core/rdma_core.c 	if (attrs)
attrs             422 drivers/infiniband/core/rdma_core.c 		attrs->context = uobj->context;
attrs             485 drivers/infiniband/core/rdma_core.c 					    struct uverbs_attr_bundle *attrs)
attrs             505 drivers/infiniband/core/rdma_core.c 	if (attrs)
attrs             506 drivers/infiniband/core/rdma_core.c 		attrs->context = ret->context;
attrs             520 drivers/infiniband/core/rdma_core.c 					       struct uverbs_attr_bundle *attrs)
attrs             525 drivers/infiniband/core/rdma_core.c 	int ret = idr_type->destroy_object(uobj, why, attrs);
attrs             558 drivers/infiniband/core/rdma_core.c 					      struct uverbs_attr_bundle *attrs)
attrs             635 drivers/infiniband/core/rdma_core.c 					   struct uverbs_attr_bundle *attrs)
attrs             637 drivers/infiniband/core/rdma_core.c 	struct ib_uverbs_file *ufile = attrs->ufile;
attrs             643 drivers/infiniband/core/rdma_core.c 		uverbs_destroy_uobject(uobj, RDMA_REMOVE_ABORT, attrs);
attrs             668 drivers/infiniband/core/rdma_core.c 			      struct uverbs_attr_bundle *attrs)
attrs             673 drivers/infiniband/core/rdma_core.c 	uverbs_destroy_uobject(uobj, RDMA_REMOVE_ABORT, attrs);
attrs             774 drivers/infiniband/core/rdma_core.c 	struct uverbs_attr_bundle attrs = {
attrs             787 drivers/infiniband/core/rdma_core.c 		uverbs_destroy_uobject(uobj, RDMA_REMOVE_CLOSE, &attrs);
attrs             836 drivers/infiniband/core/rdma_core.c 	struct uverbs_attr_bundle attrs = { .ufile = ufile };
attrs             848 drivers/infiniband/core/rdma_core.c 		attrs.context = obj->context;
attrs             854 drivers/infiniband/core/rdma_core.c 		if (!uverbs_destroy_uobject(obj, reason, &attrs))
attrs             934 drivers/infiniband/core/rdma_core.c 			     s64 id, struct uverbs_attr_bundle *attrs)
attrs             937 drivers/infiniband/core/rdma_core.c 		uapi_get_object(attrs->ufile->device->uapi, object_id);
attrs             941 drivers/infiniband/core/rdma_core.c 		return rdma_lookup_get_uobject(obj, attrs->ufile, id,
attrs             942 drivers/infiniband/core/rdma_core.c 					       UVERBS_LOOKUP_READ, attrs);
attrs             945 drivers/infiniband/core/rdma_core.c 		return rdma_lookup_get_uobject(obj, attrs->ufile, id,
attrs             946 drivers/infiniband/core/rdma_core.c 					       UVERBS_LOOKUP_DESTROY, attrs);
attrs             948 drivers/infiniband/core/rdma_core.c 		return rdma_lookup_get_uobject(obj, attrs->ufile, id,
attrs             949 drivers/infiniband/core/rdma_core.c 					       UVERBS_LOOKUP_WRITE, attrs);
attrs             951 drivers/infiniband/core/rdma_core.c 		return rdma_alloc_begin_uobject(obj, attrs->ufile, attrs);
attrs             960 drivers/infiniband/core/rdma_core.c 			   struct uverbs_attr_bundle *attrs)
attrs             983 drivers/infiniband/core/rdma_core.c 			ret = rdma_alloc_commit_uobject(uobj, attrs);
attrs             985 drivers/infiniband/core/rdma_core.c 			rdma_alloc_abort_uobject(uobj, attrs);
attrs              51 drivers/infiniband/core/rdma_core.h int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs);
attrs              87 drivers/infiniband/core/rdma_core.h 			     s64 id, struct uverbs_attr_bundle *attrs);
attrs             106 drivers/infiniband/core/rdma_core.h 			   struct uverbs_attr_bundle *attrs);
attrs             113 drivers/infiniband/core/rdma_core.h struct ib_udata *uverbs_get_cleared_udata(struct uverbs_attr_bundle *attrs);
attrs             126 drivers/infiniband/core/rdma_core.h 	int(__rcu *handler)(struct uverbs_attr_bundle *attrs);
attrs             138 drivers/infiniband/core/rdma_core.h 	int (*handler)(struct uverbs_attr_bundle *attrs);
attrs              60 drivers/infiniband/core/rw.c 		max_pages = dev->attrs.max_pi_fast_reg_page_list_len;
attrs              62 drivers/infiniband/core/rw.c 		max_pages = dev->attrs.max_fast_reg_page_list_len;
attrs             651 drivers/infiniband/core/rw.c 		mr_pages = device->attrs.max_sge_rd;
attrs             686 drivers/infiniband/core/rw.c 		min_t(u32, attr->cap.max_send_wr, dev->attrs.max_qp_wr);
attrs             660 drivers/infiniband/core/sysfs.c 	.attrs  = pma_attrs
attrs             665 drivers/infiniband/core/sysfs.c 	.attrs  = pma_attrs_ext
attrs             670 drivers/infiniband/core/sysfs.c 	.attrs  = pma_attrs_noietf
attrs             679 drivers/infiniband/core/sysfs.c 	if (p->gid_group.attrs) {
attrs             680 drivers/infiniband/core/sysfs.c 		for (i = 0; (a = p->gid_group.attrs[i]); ++i)
attrs             683 drivers/infiniband/core/sysfs.c 		kfree(p->gid_group.attrs);
attrs             686 drivers/infiniband/core/sysfs.c 	if (p->pkey_group.attrs) {
attrs             687 drivers/infiniband/core/sysfs.c 		for (i = 0; (a = p->pkey_group.attrs[i]); ++i)
attrs             690 drivers/infiniband/core/sysfs.c 		kfree(p->pkey_group.attrs);
attrs             703 drivers/infiniband/core/sysfs.c 	if (g->ndev.attrs) {
attrs             704 drivers/infiniband/core/sysfs.c 		for (i = 0; (a = g->ndev.attrs[i]); ++i)
attrs             707 drivers/infiniband/core/sysfs.c 		kfree(g->ndev.attrs);
attrs             710 drivers/infiniband/core/sysfs.c 	if (g->type.attrs) {
attrs             711 drivers/infiniband/core/sysfs.c 		for (i = 0; (a = g->type.attrs[i]); ++i)
attrs             714 drivers/infiniband/core/sysfs.c 		kfree(g->type.attrs);
attrs             920 drivers/infiniband/core/sysfs.c 	for (attr = attr_group->attrs; *attr; attr++)
attrs             994 drivers/infiniband/core/sysfs.c 	hsag->attrs = (void *)hsag + sizeof(*hsag);
attrs             997 drivers/infiniband/core/sysfs.c 		hsag->attrs[i] = alloc_hsa(i, port_num, stats->names[i]);
attrs             998 drivers/infiniband/core/sysfs.c 		if (!hsag->attrs[i])
attrs            1000 drivers/infiniband/core/sysfs.c 		sysfs_attr_init(hsag->attrs[i]);
attrs            1005 drivers/infiniband/core/sysfs.c 	hsag->attrs[i] = alloc_hsa_lifespan("lifespan", port_num);
attrs            1006 drivers/infiniband/core/sysfs.c 	if (hsag->attrs[i])
attrs            1007 drivers/infiniband/core/sysfs.c 		sysfs_attr_init(hsag->attrs[i]);
attrs            1031 drivers/infiniband/core/sysfs.c 		kfree(hsag->attrs[i]);
attrs            1089 drivers/infiniband/core/sysfs.c 	p->gid_group.attrs = alloc_group_attrs(show_port_gid, attr.gid_tbl_len);
attrs            1090 drivers/infiniband/core/sysfs.c 	if (!p->gid_group.attrs) {
attrs            1100 drivers/infiniband/core/sysfs.c 	p->gid_attr_group->ndev.attrs = alloc_group_attrs(show_port_gid_attr_ndev,
attrs            1102 drivers/infiniband/core/sysfs.c 	if (!p->gid_attr_group->ndev.attrs) {
attrs            1113 drivers/infiniband/core/sysfs.c 	p->gid_attr_group->type.attrs = alloc_group_attrs(show_port_gid_attr_gid_type,
attrs            1115 drivers/infiniband/core/sysfs.c 	if (!p->gid_attr_group->type.attrs) {
attrs            1126 drivers/infiniband/core/sysfs.c 	p->pkey_group.attrs = alloc_group_attrs(show_port_pkey,
attrs            1128 drivers/infiniband/core/sysfs.c 	if (!p->pkey_group.attrs) {
attrs            1161 drivers/infiniband/core/sysfs.c 		kfree(p->pkey_group.attrs[i]);
attrs            1163 drivers/infiniband/core/sysfs.c 	kfree(p->pkey_group.attrs);
attrs            1164 drivers/infiniband/core/sysfs.c 	p->pkey_group.attrs = NULL;
attrs            1172 drivers/infiniband/core/sysfs.c 		kfree(p->gid_attr_group->type.attrs[i]);
attrs            1174 drivers/infiniband/core/sysfs.c 	kfree(p->gid_attr_group->type.attrs);
attrs            1175 drivers/infiniband/core/sysfs.c 	p->gid_attr_group->type.attrs = NULL;
attrs            1183 drivers/infiniband/core/sysfs.c 		kfree(p->gid_attr_group->ndev.attrs[i]);
attrs            1185 drivers/infiniband/core/sysfs.c 	kfree(p->gid_attr_group->ndev.attrs);
attrs            1186 drivers/infiniband/core/sysfs.c 	p->gid_attr_group->ndev.attrs = NULL;
attrs            1193 drivers/infiniband/core/sysfs.c 		kfree(p->gid_group.attrs[i]);
attrs            1195 drivers/infiniband/core/sysfs.c 	kfree(p->gid_group.attrs);
attrs            1196 drivers/infiniband/core/sysfs.c 	p->gid_group.attrs = NULL;
attrs            1234 drivers/infiniband/core/sysfs.c 		       be16_to_cpu(((__be16 *) &dev->attrs.sys_image_guid)[0]),
attrs            1235 drivers/infiniband/core/sysfs.c 		       be16_to_cpu(((__be16 *) &dev->attrs.sys_image_guid)[1]),
attrs            1236 drivers/infiniband/core/sysfs.c 		       be16_to_cpu(((__be16 *) &dev->attrs.sys_image_guid)[2]),
attrs            1237 drivers/infiniband/core/sysfs.c 		       be16_to_cpu(((__be16 *) &dev->attrs.sys_image_guid)[3]));
attrs            1303 drivers/infiniband/core/sysfs.c 	.attrs = ib_dev_attrs,
attrs             243 drivers/infiniband/core/uverbs.h 			   struct uverbs_attr_bundle *attrs);
attrs              58 drivers/infiniband/core/uverbs_cmd.c static int uverbs_response(struct uverbs_attr_bundle *attrs, const void *resp,
attrs              63 drivers/infiniband/core/uverbs_cmd.c 	if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_CORE_OUT))
attrs              65 drivers/infiniband/core/uverbs_cmd.c 			attrs, UVERBS_ATTR_CORE_OUT, resp, resp_len);
attrs              67 drivers/infiniband/core/uverbs_cmd.c 	if (copy_to_user(attrs->ucore.outbuf, resp,
attrs              68 drivers/infiniband/core/uverbs_cmd.c 			 min(attrs->ucore.outlen, resp_len)))
attrs              71 drivers/infiniband/core/uverbs_cmd.c 	if (resp_len < attrs->ucore.outlen) {
attrs              76 drivers/infiniband/core/uverbs_cmd.c 		ret = clear_user(attrs->ucore.outbuf + resp_len,
attrs              77 drivers/infiniband/core/uverbs_cmd.c 				 attrs->ucore.outlen - resp_len);
attrs              91 drivers/infiniband/core/uverbs_cmd.c static int uverbs_request(struct uverbs_attr_bundle *attrs, void *req,
attrs              94 drivers/infiniband/core/uverbs_cmd.c 	if (copy_from_user(req, attrs->ucore.inbuf,
attrs              95 drivers/infiniband/core/uverbs_cmd.c 			   min(attrs->ucore.inlen, req_len)))
attrs              98 drivers/infiniband/core/uverbs_cmd.c 	if (attrs->ucore.inlen < req_len) {
attrs              99 drivers/infiniband/core/uverbs_cmd.c 		memset(req + attrs->ucore.inlen, 0,
attrs             100 drivers/infiniband/core/uverbs_cmd.c 		       req_len - attrs->ucore.inlen);
attrs             101 drivers/infiniband/core/uverbs_cmd.c 	} else if (attrs->ucore.inlen > req_len) {
attrs             102 drivers/infiniband/core/uverbs_cmd.c 		if (!ib_is_buffer_cleared(attrs->ucore.inbuf + req_len,
attrs             103 drivers/infiniband/core/uverbs_cmd.c 					  attrs->ucore.inlen - req_len))
attrs             115 drivers/infiniband/core/uverbs_cmd.c static u32 uverbs_response_length(struct uverbs_attr_bundle *attrs,
attrs             118 drivers/infiniband/core/uverbs_cmd.c 	return min_t(size_t, attrs->ucore.outlen, resp_len);
attrs             130 drivers/infiniband/core/uverbs_cmd.c static int uverbs_request_start(struct uverbs_attr_bundle *attrs,
attrs             135 drivers/infiniband/core/uverbs_cmd.c 	if (attrs->ucore.inlen < req_len)
attrs             138 drivers/infiniband/core/uverbs_cmd.c 	if (copy_from_user(req, attrs->ucore.inbuf, req_len))
attrs             141 drivers/infiniband/core/uverbs_cmd.c 	iter->cur = attrs->ucore.inbuf + req_len;
attrs             142 drivers/infiniband/core/uverbs_cmd.c 	iter->end = attrs->ucore.inbuf + attrs->ucore.inlen;
attrs             182 drivers/infiniband/core/uverbs_cmd.c struct ib_udata *uverbs_get_cleared_udata(struct uverbs_attr_bundle *attrs)
attrs             184 drivers/infiniband/core/uverbs_cmd.c 	attrs->driver_udata = (struct ib_udata){};
attrs             185 drivers/infiniband/core/uverbs_cmd.c 	return &attrs->driver_udata;
attrs             189 drivers/infiniband/core/uverbs_cmd.c _ib_uverbs_lookup_comp_file(s32 fd, struct uverbs_attr_bundle *attrs)
attrs             192 drivers/infiniband/core/uverbs_cmd.c 					       fd, attrs);
attrs             206 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_get_context(struct uverbs_attr_bundle *attrs)
attrs             208 drivers/infiniband/core/uverbs_cmd.c 	struct ib_uverbs_file *file = attrs->ufile;
attrs             217 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             244 drivers/infiniband/core/uverbs_cmd.c 	attrs->context = ucontext;
attrs             268 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs             272 drivers/infiniband/core/uverbs_cmd.c 	ret = ib_dev->ops.alloc_ucontext(ucontext, &attrs->driver_udata);
attrs             356 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_query_device(struct uverbs_attr_bundle *attrs)
attrs             363 drivers/infiniband/core/uverbs_cmd.c 	ucontext = ib_uverbs_get_ucontext(attrs);
attrs             367 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             372 drivers/infiniband/core/uverbs_cmd.c 	copy_query_dev_fields(ucontext, &resp, &ucontext->device->attrs);
attrs             374 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs             377 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_query_port(struct uverbs_attr_bundle *attrs)
attrs             386 drivers/infiniband/core/uverbs_cmd.c 	ucontext = ib_uverbs_get_ucontext(attrs);
attrs             391 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             402 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs             405 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_alloc_pd(struct uverbs_attr_bundle *attrs)
attrs             414 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             418 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_alloc(UVERBS_OBJECT_PD, attrs, &ib_dev);
attrs             434 drivers/infiniband/core/uverbs_cmd.c 	ret = ib_dev->ops.alloc_pd(pd, &attrs->driver_udata);
attrs             443 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs             447 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(uobj, attrs);
attrs             450 drivers/infiniband/core/uverbs_cmd.c 	ib_dealloc_pd_user(pd, uverbs_get_cleared_udata(attrs));
attrs             455 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(uobj, attrs);
attrs             459 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_dealloc_pd(struct uverbs_attr_bundle *attrs)
attrs             464 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             468 drivers/infiniband/core/uverbs_cmd.c 	return uobj_perform_destroy(UVERBS_OBJECT_PD, cmd.pd_handle, attrs);
attrs             556 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_open_xrcd(struct uverbs_attr_bundle *attrs)
attrs             558 drivers/infiniband/core/uverbs_cmd.c 	struct ib_uverbs_device *ibudev = attrs->ufile->device;
attrs             569 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             597 drivers/infiniband/core/uverbs_cmd.c 	obj = (struct ib_uxrcd_object *)uobj_alloc(UVERBS_OBJECT_XRCD, attrs,
attrs             605 drivers/infiniband/core/uverbs_cmd.c 		xrcd = ib_dev->ops.alloc_xrcd(ib_dev, &attrs->driver_udata);
attrs             634 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs             643 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(&obj->uobject, attrs);
attrs             653 drivers/infiniband/core/uverbs_cmd.c 	ib_dealloc_xrcd(xrcd, uverbs_get_cleared_udata(attrs));
attrs             656 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(&obj->uobject, attrs);
attrs             667 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_close_xrcd(struct uverbs_attr_bundle *attrs)
attrs             672 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             676 drivers/infiniband/core/uverbs_cmd.c 	return uobj_perform_destroy(UVERBS_OBJECT_XRCD, cmd.xrcd_handle, attrs);
attrs             681 drivers/infiniband/core/uverbs_cmd.c 			   struct uverbs_attr_bundle *attrs)
attrs             685 drivers/infiniband/core/uverbs_cmd.c 	struct ib_uverbs_device *dev = attrs->ufile->device;
attrs             691 drivers/infiniband/core/uverbs_cmd.c 	ret = ib_dealloc_xrcd(xrcd, &attrs->driver_udata);
attrs             704 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_reg_mr(struct uverbs_attr_bundle *attrs)
attrs             714 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             725 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_alloc(UVERBS_OBJECT_MR, attrs, &ib_dev);
attrs             729 drivers/infiniband/core/uverbs_cmd.c 	pd = uobj_get_obj_read(pd, UVERBS_OBJECT_PD, cmd.pd_handle, attrs);
attrs             736 drivers/infiniband/core/uverbs_cmd.c 		if (!(pd->device->attrs.device_cap_flags &
attrs             746 drivers/infiniband/core/uverbs_cmd.c 					 &attrs->driver_udata);
attrs             769 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs             775 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(uobj, attrs);
attrs             778 drivers/infiniband/core/uverbs_cmd.c 	ib_dereg_mr_user(mr, uverbs_get_cleared_udata(attrs));
attrs             784 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(uobj, attrs);
attrs             788 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_rereg_mr(struct uverbs_attr_bundle *attrs)
attrs             798 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             810 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_get_write(UVERBS_OBJECT_MR, cmd.mr_handle, attrs);
attrs             829 drivers/infiniband/core/uverbs_cmd.c 				       attrs);
attrs             840 drivers/infiniband/core/uverbs_cmd.c 					    &attrs->driver_udata);
attrs             854 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs             866 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_dereg_mr(struct uverbs_attr_bundle *attrs)
attrs             871 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             875 drivers/infiniband/core/uverbs_cmd.c 	return uobj_perform_destroy(UVERBS_OBJECT_MR, cmd.mr_handle, attrs);
attrs             878 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_alloc_mw(struct uverbs_attr_bundle *attrs)
attrs             888 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             892 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_alloc(UVERBS_OBJECT_MW, attrs, &ib_dev);
attrs             896 drivers/infiniband/core/uverbs_cmd.c 	pd = uobj_get_obj_read(pd, UVERBS_OBJECT_PD, cmd.pd_handle, attrs);
attrs             907 drivers/infiniband/core/uverbs_cmd.c 	mw = pd->device->ops.alloc_mw(pd, cmd.mw_type, &attrs->driver_udata);
attrs             924 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs             929 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(uobj, attrs);
attrs             936 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(uobj, attrs);
attrs             940 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_dealloc_mw(struct uverbs_attr_bundle *attrs)
attrs             945 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             949 drivers/infiniband/core/uverbs_cmd.c 	return uobj_perform_destroy(UVERBS_OBJECT_MW, cmd.mw_handle, attrs);
attrs             952 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_create_comp_channel(struct uverbs_attr_bundle *attrs)
attrs             961 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs             965 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_alloc(UVERBS_OBJECT_COMP_CHANNEL, attrs, &ib_dev);
attrs             975 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs             977 drivers/infiniband/core/uverbs_cmd.c 		uobj_alloc_abort(uobj, attrs);
attrs             981 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(uobj, attrs);
attrs             984 drivers/infiniband/core/uverbs_cmd.c static struct ib_ucq_object *create_cq(struct uverbs_attr_bundle *attrs,
attrs             995 drivers/infiniband/core/uverbs_cmd.c 	if (cmd->comp_vector >= attrs->ufile->device->num_comp_vectors)
attrs             998 drivers/infiniband/core/uverbs_cmd.c 	obj = (struct ib_ucq_object *)uobj_alloc(UVERBS_OBJECT_CQ, attrs,
attrs            1004 drivers/infiniband/core/uverbs_cmd.c 		ev_file = ib_uverbs_lookup_comp_file(cmd->comp_channel, attrs);
attrs            1033 drivers/infiniband/core/uverbs_cmd.c 	ret = ib_dev->ops.create_cq(cq, &attr, &attrs->driver_udata);
attrs            1041 drivers/infiniband/core/uverbs_cmd.c 	resp.response_length = uverbs_response_length(attrs, sizeof(resp));
attrs            1046 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs            1050 drivers/infiniband/core/uverbs_cmd.c 	ret = uobj_alloc_commit(&obj->uobject, attrs);
attrs            1056 drivers/infiniband/core/uverbs_cmd.c 	ib_destroy_cq_user(cq, uverbs_get_cleared_udata(attrs));
attrs            1062 drivers/infiniband/core/uverbs_cmd.c 		ib_uverbs_release_ucq(attrs->ufile, ev_file, obj);
attrs            1065 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(&obj->uobject, attrs);
attrs            1070 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_create_cq(struct uverbs_attr_bundle *attrs)
attrs            1077 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1087 drivers/infiniband/core/uverbs_cmd.c 	obj = create_cq(attrs, &cmd_ex);
attrs            1091 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_create_cq(struct uverbs_attr_bundle *attrs)
attrs            1097 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1107 drivers/infiniband/core/uverbs_cmd.c 	obj = create_cq(attrs, &cmd);
attrs            1111 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_resize_cq(struct uverbs_attr_bundle *attrs)
attrs            1118 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1122 drivers/infiniband/core/uverbs_cmd.c 	cq = uobj_get_obj_read(cq, UVERBS_OBJECT_CQ, cmd.cq_handle, attrs);
attrs            1126 drivers/infiniband/core/uverbs_cmd.c 	ret = cq->device->ops.resize_cq(cq, cmd.cqe, &attrs->driver_udata);
attrs            1132 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs            1169 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_poll_cq(struct uverbs_attr_bundle *attrs)
attrs            1179 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1183 drivers/infiniband/core/uverbs_cmd.c 	cq = uobj_get_obj_read(cq, UVERBS_OBJECT_CQ, cmd.cq_handle, attrs);
attrs            1188 drivers/infiniband/core/uverbs_cmd.c 	header_ptr = attrs->ucore.outbuf;
attrs            1213 drivers/infiniband/core/uverbs_cmd.c 	if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_CORE_OUT))
attrs            1214 drivers/infiniband/core/uverbs_cmd.c 		ret = uverbs_output_written(attrs, UVERBS_ATTR_CORE_OUT);
attrs            1221 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_req_notify_cq(struct uverbs_attr_bundle *attrs)
attrs            1227 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1231 drivers/infiniband/core/uverbs_cmd.c 	cq = uobj_get_obj_read(cq, UVERBS_OBJECT_CQ, cmd.cq_handle, attrs);
attrs            1243 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_destroy_cq(struct uverbs_attr_bundle *attrs)
attrs            1251 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1255 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_get_destroy(UVERBS_OBJECT_CQ, cmd.cq_handle, attrs);
attrs            1266 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs            1269 drivers/infiniband/core/uverbs_cmd.c static int create_qp(struct uverbs_attr_bundle *attrs,
attrs            1290 drivers/infiniband/core/uverbs_cmd.c 	obj = (struct ib_uqp_object *)uobj_alloc(UVERBS_OBJECT_QP, attrs,
attrs            1301 drivers/infiniband/core/uverbs_cmd.c 					    cmd->rwq_ind_tbl_handle, attrs);
attrs            1320 drivers/infiniband/core/uverbs_cmd.c 					  attrs);
attrs            1340 drivers/infiniband/core/uverbs_cmd.c 							cmd->srq_handle, attrs);
attrs            1351 drivers/infiniband/core/uverbs_cmd.c 						cmd->recv_cq_handle, attrs);
attrs            1362 drivers/infiniband/core/uverbs_cmd.c 						cmd->send_cq_handle, attrs);
attrs            1366 drivers/infiniband/core/uverbs_cmd.c 				       attrs);
attrs            1376 drivers/infiniband/core/uverbs_cmd.c 	attr.qp_context    = attrs->ufile;
attrs            1421 drivers/infiniband/core/uverbs_cmd.c 		qp = _ib_create_qp(device, pd, &attr, &attrs->driver_udata,
attrs            1458 drivers/infiniband/core/uverbs_cmd.c 	resp.response_length = uverbs_response_length(attrs, sizeof(resp));
attrs            1460 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs            1482 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(&obj->uevent.uobject, attrs);
attrs            1484 drivers/infiniband/core/uverbs_cmd.c 	ib_destroy_qp_user(qp, uverbs_get_cleared_udata(attrs));
attrs            1500 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(&obj->uevent.uobject, attrs);
attrs            1504 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_create_qp(struct uverbs_attr_bundle *attrs)
attrs            1510 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1529 drivers/infiniband/core/uverbs_cmd.c 	return create_qp(attrs, &cmd_ex);
attrs            1532 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_create_qp(struct uverbs_attr_bundle *attrs)
attrs            1537 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1547 drivers/infiniband/core/uverbs_cmd.c 	return create_qp(attrs, &cmd);
attrs            1550 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_open_qp(struct uverbs_attr_bundle *attrs)
attrs            1562 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1566 drivers/infiniband/core/uverbs_cmd.c 	obj = (struct ib_uqp_object *)uobj_alloc(UVERBS_OBJECT_QP, attrs,
attrs            1571 drivers/infiniband/core/uverbs_cmd.c 	xrcd_uobj = uobj_get_read(UVERBS_OBJECT_XRCD, cmd.pd_handle, attrs);
attrs            1584 drivers/infiniband/core/uverbs_cmd.c 	attr.qp_context    = attrs->ufile;
attrs            1605 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs            1614 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(&obj->uevent.uobject, attrs);
attrs            1617 drivers/infiniband/core/uverbs_cmd.c 	ib_destroy_qp_user(qp, uverbs_get_cleared_udata(attrs));
attrs            1621 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(&obj->uevent.uobject, attrs);
attrs            1647 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_query_qp(struct uverbs_attr_bundle *attrs)
attrs            1656 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1667 drivers/infiniband/core/uverbs_cmd.c 	qp = uobj_get_obj_read(qp, UVERBS_OBJECT_QP, cmd.qp_handle, attrs);
attrs            1714 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs            1760 drivers/infiniband/core/uverbs_cmd.c static int modify_qp(struct uverbs_attr_bundle *attrs,
attrs            1772 drivers/infiniband/core/uverbs_cmd.c 			       attrs);
attrs            1909 drivers/infiniband/core/uverbs_cmd.c 				      &attrs->driver_udata);
attrs            1919 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_modify_qp(struct uverbs_attr_bundle *attrs)
attrs            1924 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd.base, sizeof(cmd.base));
attrs            1932 drivers/infiniband/core/uverbs_cmd.c 	return modify_qp(attrs, &cmd);
attrs            1935 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_modify_qp(struct uverbs_attr_bundle *attrs)
attrs            1939 drivers/infiniband/core/uverbs_cmd.c 		.response_length = uverbs_response_length(attrs, sizeof(resp))
attrs            1943 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1957 drivers/infiniband/core/uverbs_cmd.c 	ret = modify_qp(attrs, &cmd);
attrs            1961 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs            1964 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_destroy_qp(struct uverbs_attr_bundle *attrs)
attrs            1972 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            1976 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_get_destroy(UVERBS_OBJECT_QP, cmd.qp_handle, attrs);
attrs            1986 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs            1999 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_post_send(struct uverbs_attr_bundle *attrs)
attrs            2015 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request_start(attrs, &iter, &cmd, sizeof(cmd));
attrs            2033 drivers/infiniband/core/uverbs_cmd.c 	qp = uobj_get_obj_read(qp, UVERBS_OBJECT_QP, cmd.qp_handle, attrs);
attrs            2071 drivers/infiniband/core/uverbs_cmd.c 						   user_wr->wr.ud.ah, attrs);
attrs            2171 drivers/infiniband/core/uverbs_cmd.c 	ret2 = uverbs_response(attrs, &resp, sizeof(resp));
attrs            2290 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_post_recv(struct uverbs_attr_bundle *attrs)
attrs            2300 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request_start(attrs, &iter, &cmd, sizeof(cmd));
attrs            2309 drivers/infiniband/core/uverbs_cmd.c 	qp = uobj_get_obj_read(qp, UVERBS_OBJECT_QP, cmd.qp_handle, attrs);
attrs            2327 drivers/infiniband/core/uverbs_cmd.c 	ret2 = uverbs_response(attrs, &resp, sizeof(resp));
attrs            2340 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_post_srq_recv(struct uverbs_attr_bundle *attrs)
attrs            2350 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request_start(attrs, &iter, &cmd, sizeof(cmd));
attrs            2359 drivers/infiniband/core/uverbs_cmd.c 	srq = uobj_get_obj_read(srq, UVERBS_OBJECT_SRQ, cmd.srq_handle, attrs);
attrs            2377 drivers/infiniband/core/uverbs_cmd.c 	ret2 = uverbs_response(attrs, &resp, sizeof(resp));
attrs            2391 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_create_ah(struct uverbs_attr_bundle *attrs)
attrs            2402 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            2406 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_alloc(UVERBS_OBJECT_AH, attrs, &ib_dev);
attrs            2415 drivers/infiniband/core/uverbs_cmd.c 	pd = uobj_get_obj_read(pd, UVERBS_OBJECT_PD, cmd.pd_handle, attrs);
attrs            2439 drivers/infiniband/core/uverbs_cmd.c 	ah = rdma_create_user_ah(pd, &attr, &attrs->driver_udata);
attrs            2451 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs            2456 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(uobj, attrs);
attrs            2460 drivers/infiniband/core/uverbs_cmd.c 			     uverbs_get_cleared_udata(attrs));
attrs            2466 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(uobj, attrs);
attrs            2470 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_destroy_ah(struct uverbs_attr_bundle *attrs)
attrs            2475 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            2479 drivers/infiniband/core/uverbs_cmd.c 	return uobj_perform_destroy(UVERBS_OBJECT_AH, cmd.ah_handle, attrs);
attrs            2482 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_attach_mcast(struct uverbs_attr_bundle *attrs)
attrs            2490 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            2494 drivers/infiniband/core/uverbs_cmd.c 	qp = uobj_get_obj_read(qp, UVERBS_OBJECT_QP, cmd.qp_handle, attrs);
attrs            2530 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_detach_mcast(struct uverbs_attr_bundle *attrs)
attrs            2539 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            2543 drivers/infiniband/core/uverbs_cmd.c 	qp = uobj_get_obj_read(qp, UVERBS_OBJECT_QP, cmd.qp_handle, attrs);
attrs            2648 drivers/infiniband/core/uverbs_cmd.c static int kern_spec_to_ib_spec_action(struct uverbs_attr_bundle *attrs,
attrs            2677 drivers/infiniband/core/uverbs_cmd.c 							attrs);
attrs            2695 drivers/infiniband/core/uverbs_cmd.c 					  attrs);
attrs            2875 drivers/infiniband/core/uverbs_cmd.c static int kern_spec_to_ib_spec(struct uverbs_attr_bundle *attrs,
attrs            2884 drivers/infiniband/core/uverbs_cmd.c 		return kern_spec_to_ib_spec_action(attrs, kern_spec, ib_spec,
attrs            2890 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_create_wq(struct uverbs_attr_bundle *attrs)
attrs            2902 drivers/infiniband/core/uverbs_cmd.c 	err = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            2909 drivers/infiniband/core/uverbs_cmd.c 	obj = (struct ib_uwq_object *)uobj_alloc(UVERBS_OBJECT_WQ, attrs,
attrs            2914 drivers/infiniband/core/uverbs_cmd.c 	pd = uobj_get_obj_read(pd, UVERBS_OBJECT_PD, cmd.pd_handle, attrs);
attrs            2920 drivers/infiniband/core/uverbs_cmd.c 	cq = uobj_get_obj_read(cq, UVERBS_OBJECT_CQ, cmd.cq_handle, attrs);
attrs            2929 drivers/infiniband/core/uverbs_cmd.c 	wq_init_attr.wq_context = attrs->ufile;
attrs            2936 drivers/infiniband/core/uverbs_cmd.c 	wq = pd->device->ops.create_wq(pd, &wq_init_attr, &attrs->driver_udata);
attrs            2960 drivers/infiniband/core/uverbs_cmd.c 	resp.response_length = uverbs_response_length(attrs, sizeof(resp));
attrs            2961 drivers/infiniband/core/uverbs_cmd.c 	err = uverbs_response(attrs, &resp, sizeof(resp));
attrs            2967 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(&obj->uevent.uobject, attrs);
attrs            2970 drivers/infiniband/core/uverbs_cmd.c 	ib_destroy_wq(wq, uverbs_get_cleared_udata(attrs));
attrs            2976 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(&obj->uevent.uobject, attrs);
attrs            2981 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_destroy_wq(struct uverbs_attr_bundle *attrs)
attrs            2989 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            2996 drivers/infiniband/core/uverbs_cmd.c 	resp.response_length = uverbs_response_length(attrs, sizeof(resp));
attrs            2997 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_get_destroy(UVERBS_OBJECT_WQ, cmd.wq_handle, attrs);
attrs            3006 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs            3009 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_modify_wq(struct uverbs_attr_bundle *attrs)
attrs            3016 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3026 drivers/infiniband/core/uverbs_cmd.c 	wq = uobj_get_obj_read(wq, UVERBS_OBJECT_WQ, cmd.wq_handle, attrs);
attrs            3037 drivers/infiniband/core/uverbs_cmd.c 					&attrs->driver_udata);
attrs            3042 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_create_rwq_ind_table(struct uverbs_attr_bundle *attrs)
attrs            3058 drivers/infiniband/core/uverbs_cmd.c 	err = uverbs_request_start(attrs, &iter, &cmd, sizeof(cmd));
attrs            3092 drivers/infiniband/core/uverbs_cmd.c 				       wqs_handles[num_read_wqs], attrs);
attrs            3101 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_alloc(UVERBS_OBJECT_RWQ_IND_TBL, attrs, &ib_dev);
attrs            3111 drivers/infiniband/core/uverbs_cmd.c 						       &attrs->driver_udata);
attrs            3130 drivers/infiniband/core/uverbs_cmd.c 	resp.response_length = uverbs_response_length(attrs, sizeof(resp));
attrs            3132 drivers/infiniband/core/uverbs_cmd.c 	err = uverbs_response(attrs, &resp, sizeof(resp));
attrs            3141 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(uobj, attrs);
attrs            3146 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(uobj, attrs);
attrs            3156 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_destroy_rwq_ind_table(struct uverbs_attr_bundle *attrs)
attrs            3161 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3169 drivers/infiniband/core/uverbs_cmd.c 				    cmd.ind_tbl_handle, attrs);
attrs            3172 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_create_flow(struct uverbs_attr_bundle *attrs)
attrs            3189 drivers/infiniband/core/uverbs_cmd.c 	err = uverbs_request_start(attrs, &iter, &cmd, sizeof(cmd));
attrs            3237 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_alloc(UVERBS_OBJECT_FLOW, attrs, &ib_dev);
attrs            3243 drivers/infiniband/core/uverbs_cmd.c 	qp = uobj_get_obj_read(qp, UVERBS_OBJECT_QP, cmd.qp_handle, attrs);
attrs            3280 drivers/infiniband/core/uverbs_cmd.c 				attrs, (struct ib_uverbs_flow_spec *)kern_spec,
attrs            3299 drivers/infiniband/core/uverbs_cmd.c 		qp, flow_attr, IB_FLOW_DOMAIN_USER, &attrs->driver_udata);
attrs            3311 drivers/infiniband/core/uverbs_cmd.c 	err = uverbs_response(attrs, &resp, sizeof(resp));
attrs            3319 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(uobj, attrs);
attrs            3330 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(uobj, attrs);
attrs            3337 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_destroy_flow(struct uverbs_attr_bundle *attrs)
attrs            3342 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3349 drivers/infiniband/core/uverbs_cmd.c 	return uobj_perform_destroy(UVERBS_OBJECT_FLOW, cmd.flow_handle, attrs);
attrs            3352 drivers/infiniband/core/uverbs_cmd.c static int __uverbs_create_xsrq(struct uverbs_attr_bundle *attrs,
attrs            3365 drivers/infiniband/core/uverbs_cmd.c 	obj = (struct ib_usrq_object *)uobj_alloc(UVERBS_OBJECT_SRQ, attrs,
attrs            3375 drivers/infiniband/core/uverbs_cmd.c 					  attrs);
attrs            3393 drivers/infiniband/core/uverbs_cmd.c 						cmd->cq_handle, attrs);
attrs            3400 drivers/infiniband/core/uverbs_cmd.c 	pd = uobj_get_obj_read(pd, UVERBS_OBJECT_PD, cmd->pd_handle, attrs);
attrs            3407 drivers/infiniband/core/uverbs_cmd.c 	attr.srq_context    = attrs->ufile;
attrs            3456 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_response(attrs, &resp, sizeof(resp));
attrs            3467 drivers/infiniband/core/uverbs_cmd.c 	return uobj_alloc_commit(&obj->uevent.uobject, attrs);
attrs            3470 drivers/infiniband/core/uverbs_cmd.c 	ib_destroy_srq_user(srq, uverbs_get_cleared_udata(attrs));
attrs            3489 drivers/infiniband/core/uverbs_cmd.c 	uobj_alloc_abort(&obj->uevent.uobject, attrs);
attrs            3493 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_create_srq(struct uverbs_attr_bundle *attrs)
attrs            3499 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3512 drivers/infiniband/core/uverbs_cmd.c 	return __uverbs_create_xsrq(attrs, &xcmd, &attrs->driver_udata);
attrs            3515 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_create_xsrq(struct uverbs_attr_bundle *attrs)
attrs            3520 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3524 drivers/infiniband/core/uverbs_cmd.c 	return __uverbs_create_xsrq(attrs, &cmd, &attrs->driver_udata);
attrs            3527 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_modify_srq(struct uverbs_attr_bundle *attrs)
attrs            3534 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3538 drivers/infiniband/core/uverbs_cmd.c 	srq = uobj_get_obj_read(srq, UVERBS_OBJECT_SRQ, cmd.srq_handle, attrs);
attrs            3546 drivers/infiniband/core/uverbs_cmd.c 					  &attrs->driver_udata);
attrs            3553 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_query_srq(struct uverbs_attr_bundle *attrs)
attrs            3561 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3565 drivers/infiniband/core/uverbs_cmd.c 	srq = uobj_get_obj_read(srq, UVERBS_OBJECT_SRQ, cmd.srq_handle, attrs);
attrs            3582 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs            3585 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_destroy_srq(struct uverbs_attr_bundle *attrs)
attrs            3593 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3597 drivers/infiniband/core/uverbs_cmd.c 	uobj = uobj_get_destroy(UVERBS_OBJECT_SRQ, cmd.srq_handle, attrs);
attrs            3607 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs            3610 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_query_device(struct uverbs_attr_bundle *attrs)
attrs            3619 drivers/infiniband/core/uverbs_cmd.c 	ucontext = ib_uverbs_get_ucontext(attrs);
attrs            3624 drivers/infiniband/core/uverbs_cmd.c 	err = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3634 drivers/infiniband/core/uverbs_cmd.c 	err = ib_dev->ops.query_device(ib_dev, &attr, &attrs->driver_udata);
attrs            3669 drivers/infiniband/core/uverbs_cmd.c 	resp.response_length = uverbs_response_length(attrs, sizeof(resp));
attrs            3671 drivers/infiniband/core/uverbs_cmd.c 	return uverbs_response(attrs, &resp, sizeof(resp));
attrs            3674 drivers/infiniband/core/uverbs_cmd.c static int ib_uverbs_ex_modify_cq(struct uverbs_attr_bundle *attrs)
attrs            3680 drivers/infiniband/core/uverbs_cmd.c 	ret = uverbs_request(attrs, &cmd, sizeof(cmd));
attrs            3690 drivers/infiniband/core/uverbs_cmd.c 	cq = uobj_get_obj_read(cq, UVERBS_OBJECT_CQ, cmd.cq_handle, attrs);
attrs              81 drivers/infiniband/core/uverbs_ioctl.c 		sizeof(*pbundle->bundle.attrs) * method_elm->key_bitmap_len +
attrs             225 drivers/infiniband/core/uverbs_ioctl.c 				  bool commit, struct uverbs_attr_bundle *attrs)
attrs             235 drivers/infiniband/core/uverbs_ioctl.c 						     commit, attrs);
attrs             248 drivers/infiniband/core/uverbs_ioctl.c 	struct uverbs_attr *e = &pbundle->bundle.attrs[attr_bkey];
attrs             421 drivers/infiniband/core/uverbs_ioctl.c 	int (*handler)(struct uverbs_attr_bundle *attrs);
attrs             461 drivers/infiniband/core/uverbs_ioctl.c 			&pbundle->bundle.attrs[destroy_bkey].obj_attr;
attrs             509 drivers/infiniband/core/uverbs_ioctl.c 		struct uverbs_attr *attr = &pbundle->bundle.attrs[i];
attrs             523 drivers/infiniband/core/uverbs_ioctl.c 		struct uverbs_attr *attr = &pbundle->bundle.attrs[i];
attrs             605 drivers/infiniband/core/uverbs_ioctl.c 					       sizeof(*pbundle->bundle.attrs),
attrs             637 drivers/infiniband/core/uverbs_ioctl.c 	    hdr.length != struct_size(&hdr, attrs, hdr.num_attrs))
attrs             644 drivers/infiniband/core/uverbs_ioctl.c 	err = ib_uverbs_cmd_verbs(file, &hdr, user_hdr->attrs);
attrs            1235 drivers/infiniband/core/uverbs_main.c 	.attrs = ib_dev_attrs,
attrs              44 drivers/infiniband/core/uverbs_std_types.c 			  struct uverbs_attr_bundle *attrs)
attrs              48 drivers/infiniband/core/uverbs_std_types.c 				    &attrs->driver_udata);
attrs              53 drivers/infiniband/core/uverbs_std_types.c 			    struct uverbs_attr_bundle *attrs)
attrs              73 drivers/infiniband/core/uverbs_std_types.c 			  struct uverbs_attr_bundle *attrs)
attrs              80 drivers/infiniband/core/uverbs_std_types.c 			  struct uverbs_attr_bundle *attrs)
attrs             101 drivers/infiniband/core/uverbs_std_types.c 	ret = ib_destroy_qp_user(qp, &attrs->driver_udata);
attrs             108 drivers/infiniband/core/uverbs_std_types.c 	ib_uverbs_release_uevent(attrs->ufile, &uqp->uevent);
attrs             114 drivers/infiniband/core/uverbs_std_types.c 				   struct uverbs_attr_bundle *attrs)
attrs             130 drivers/infiniband/core/uverbs_std_types.c 			  struct uverbs_attr_bundle *attrs)
attrs             137 drivers/infiniband/core/uverbs_std_types.c 	ret = ib_destroy_wq(wq, &attrs->driver_udata);
attrs             141 drivers/infiniband/core/uverbs_std_types.c 	ib_uverbs_release_uevent(attrs->ufile, &uwq->uevent);
attrs             147 drivers/infiniband/core/uverbs_std_types.c 			   struct uverbs_attr_bundle *attrs)
attrs             155 drivers/infiniband/core/uverbs_std_types.c 	ret = ib_destroy_srq_user(srq, &attrs->driver_udata);
attrs             166 drivers/infiniband/core/uverbs_std_types.c 	ib_uverbs_release_uevent(attrs->ufile, uevent);
attrs             172 drivers/infiniband/core/uverbs_std_types.c 			    struct uverbs_attr_bundle *attrs)
attrs             183 drivers/infiniband/core/uverbs_std_types.c 	mutex_lock(&attrs->ufile->device->xrcd_tree_mutex);
attrs             184 drivers/infiniband/core/uverbs_std_types.c 	ret = ib_uverbs_dealloc_xrcd(uobject, xrcd, why, attrs);
attrs             185 drivers/infiniband/core/uverbs_std_types.c 	mutex_unlock(&attrs->ufile->device->xrcd_tree_mutex);
attrs             192 drivers/infiniband/core/uverbs_std_types.c 			  struct uverbs_attr_bundle *attrs)
attrs             201 drivers/infiniband/core/uverbs_std_types.c 	ib_dealloc_pd_user(pd, &attrs->driver_udata);
attrs             224 drivers/infiniband/core/uverbs_std_types.c int uverbs_destroy_def_handler(struct uverbs_attr_bundle *attrs)
attrs              40 drivers/infiniband/core/uverbs_std_types_counters.c 				struct uverbs_attr_bundle *attrs)
attrs              53 drivers/infiniband/core/uverbs_std_types_counters.c 	struct uverbs_attr_bundle *attrs)
attrs              56 drivers/infiniband/core/uverbs_std_types_counters.c 		attrs, UVERBS_ATTR_CREATE_COUNTERS_HANDLE);
attrs              57 drivers/infiniband/core/uverbs_std_types_counters.c 	struct ib_device *ib_dev = attrs->context->device;
attrs              69 drivers/infiniband/core/uverbs_std_types_counters.c 	counters = ib_dev->ops.create_counters(ib_dev, attrs);
attrs              87 drivers/infiniband/core/uverbs_std_types_counters.c 	struct uverbs_attr_bundle *attrs)
attrs              92 drivers/infiniband/core/uverbs_std_types_counters.c 		uverbs_attr_get_obj(attrs, UVERBS_ATTR_READ_COUNTERS_HANDLE);
attrs             101 drivers/infiniband/core/uverbs_std_types_counters.c 	ret = uverbs_get_flags32(&read_attr.flags, attrs,
attrs             107 drivers/infiniband/core/uverbs_std_types_counters.c 	uattr = uverbs_attr_get(attrs, UVERBS_ATTR_READ_COUNTERS_BUFF);
attrs             110 drivers/infiniband/core/uverbs_std_types_counters.c 		attrs, array_size(read_attr.ncounters, sizeof(u64)));
attrs             114 drivers/infiniband/core/uverbs_std_types_counters.c 	ret = counters->device->ops.read_counters(counters, &read_attr, attrs);
attrs             118 drivers/infiniband/core/uverbs_std_types_counters.c 	return uverbs_copy_to(attrs, UVERBS_ATTR_READ_COUNTERS_BUFF,
attrs              39 drivers/infiniband/core/uverbs_std_types_cq.c 			  struct uverbs_attr_bundle *attrs)
attrs              47 drivers/infiniband/core/uverbs_std_types_cq.c 	ret = ib_destroy_cq_user(cq, &attrs->driver_udata);
attrs              52 drivers/infiniband/core/uverbs_std_types_cq.c 		attrs->ufile,
attrs              62 drivers/infiniband/core/uverbs_std_types_cq.c 	struct uverbs_attr_bundle *attrs)
attrs              65 drivers/infiniband/core/uverbs_std_types_cq.c 		uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_CQ_HANDLE),
attrs              67 drivers/infiniband/core/uverbs_std_types_cq.c 	struct ib_device *ib_dev = attrs->context->device;
attrs              78 drivers/infiniband/core/uverbs_std_types_cq.c 	ret = uverbs_copy_from(&attr.comp_vector, attrs,
attrs              81 drivers/infiniband/core/uverbs_std_types_cq.c 		ret = uverbs_copy_from(&attr.cqe, attrs,
attrs              84 drivers/infiniband/core/uverbs_std_types_cq.c 		ret = uverbs_copy_from(&user_handle, attrs,
attrs              89 drivers/infiniband/core/uverbs_std_types_cq.c 	ret = uverbs_get_flags32(&attr.flags, attrs,
attrs              96 drivers/infiniband/core/uverbs_std_types_cq.c 	ev_file_uobj = uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_CQ_COMP_CHANNEL);
attrs             104 drivers/infiniband/core/uverbs_std_types_cq.c 	if (attr.comp_vector >= attrs->ufile->device->num_comp_vectors) {
attrs             128 drivers/infiniband/core/uverbs_std_types_cq.c 	ret = ib_dev->ops.create_cq(cq, &attr, &attrs->driver_udata);
attrs             136 drivers/infiniband/core/uverbs_std_types_cq.c 	ret = uverbs_copy_to(attrs, UVERBS_ATTR_CREATE_CQ_RESP_CQE, &cq->cqe,
attrs             143 drivers/infiniband/core/uverbs_std_types_cq.c 	ib_destroy_cq_user(cq, uverbs_get_cleared_udata(attrs));
attrs             180 drivers/infiniband/core/uverbs_std_types_cq.c 	struct uverbs_attr_bundle *attrs)
attrs             183 drivers/infiniband/core/uverbs_std_types_cq.c 		uverbs_attr_get_uobject(attrs, UVERBS_ATTR_DESTROY_CQ_HANDLE);
attrs             191 drivers/infiniband/core/uverbs_std_types_cq.c 	return uverbs_copy_to(attrs, UVERBS_ATTR_DESTROY_CQ_RESP, &resp,
attrs              19 drivers/infiniband/core/uverbs_std_types_device.c 	struct uverbs_attr_bundle *attrs)
attrs              21 drivers/infiniband/core/uverbs_std_types_device.c 	struct uverbs_api *uapi = attrs->ufile->device->uapi;
attrs              26 drivers/infiniband/core/uverbs_std_types_device.c 	rc = uverbs_get_const(&cmd, attrs, UVERBS_ATTR_WRITE_CMD);
attrs              34 drivers/infiniband/core/uverbs_std_types_device.c 	uverbs_fill_udata(attrs, &attrs->ucore, UVERBS_ATTR_CORE_IN,
attrs              37 drivers/infiniband/core/uverbs_std_types_device.c 	if (attrs->ucore.inlen < method_elm->req_size ||
attrs              38 drivers/infiniband/core/uverbs_std_types_device.c 	    attrs->ucore.outlen < method_elm->resp_size)
attrs              41 drivers/infiniband/core/uverbs_std_types_device.c 	return method_elm->handler(attrs);
attrs              59 drivers/infiniband/core/uverbs_std_types_device.c 		      struct uverbs_attr_bundle *attrs,
attrs              71 drivers/infiniband/core/uverbs_std_types_device.c 	handles = uverbs_zalloc(attrs, out_len);
attrs              95 drivers/infiniband/core/uverbs_std_types_device.c 	struct uverbs_attr_bundle *attrs)
attrs             104 drivers/infiniband/core/uverbs_std_types_device.c 	out_len = uverbs_attr_get_len(attrs, UVERBS_ATTR_INFO_HANDLES_LIST);
attrs             108 drivers/infiniband/core/uverbs_std_types_device.c 	ret = uverbs_get_const(&object_id, attrs, UVERBS_ATTR_INFO_OBJECT_ID);
attrs             112 drivers/infiniband/core/uverbs_std_types_device.c 	uapi_object = uapi_get_object(attrs->ufile->device->uapi, object_id);
attrs             116 drivers/infiniband/core/uverbs_std_types_device.c 	handles = gather_objects_handle(attrs->ufile, uapi_object, attrs,
attrs             121 drivers/infiniband/core/uverbs_std_types_device.c 	ret = uverbs_copy_to(attrs, UVERBS_ATTR_INFO_HANDLES_LIST, handles,
attrs             126 drivers/infiniband/core/uverbs_std_types_device.c 	ret = uverbs_copy_to(attrs, UVERBS_ATTR_INFO_TOTAL_HANDLES, &total,
attrs             169 drivers/infiniband/core/uverbs_std_types_device.c 	struct uverbs_attr_bundle *attrs)
attrs             178 drivers/infiniband/core/uverbs_std_types_device.c 	ucontext = ib_uverbs_get_ucontext(attrs);
attrs             187 drivers/infiniband/core/uverbs_std_types_device.c 	ret = uverbs_get_const(&port_num, attrs,
attrs             199 drivers/infiniband/core/uverbs_std_types_device.c 	return uverbs_copy_to_struct_or_zero(attrs, UVERBS_ATTR_QUERY_PORT_RESP,
attrs              39 drivers/infiniband/core/uverbs_std_types_dm.c 			  struct uverbs_attr_bundle *attrs)
attrs              48 drivers/infiniband/core/uverbs_std_types_dm.c 	return dm->device->ops.dealloc_dm(dm, attrs);
attrs              52 drivers/infiniband/core/uverbs_std_types_dm.c 	struct uverbs_attr_bundle *attrs)
attrs              56 drivers/infiniband/core/uverbs_std_types_dm.c 		uverbs_attr_get(attrs, UVERBS_ATTR_ALLOC_DM_HANDLE)
attrs              58 drivers/infiniband/core/uverbs_std_types_dm.c 	struct ib_device *ib_dev = attrs->context->device;
attrs              65 drivers/infiniband/core/uverbs_std_types_dm.c 	ret = uverbs_copy_from(&attr.length, attrs,
attrs              70 drivers/infiniband/core/uverbs_std_types_dm.c 	ret = uverbs_copy_from(&attr.alignment, attrs,
attrs              75 drivers/infiniband/core/uverbs_std_types_dm.c 	dm = ib_dev->ops.alloc_dm(ib_dev, attrs->context, &attr, attrs);
attrs              39 drivers/infiniband/core/uverbs_std_types_flow_action.c 				   struct uverbs_attr_bundle *attrs)
attrs              51 drivers/infiniband/core/uverbs_std_types_flow_action.c static u64 esp_flags_uverbs_to_verbs(struct uverbs_attr_bundle *attrs,
attrs              56 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_FLOW_ACTION_ESP_ESN))
attrs              59 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (is_modify && uverbs_attr_is_valid(attrs,
attrs             194 drivers/infiniband/core/uverbs_std_types_flow_action.c 				     struct uverbs_attr_bundle *attrs)
attrs             199 drivers/infiniband/core/uverbs_std_types_flow_action.c 	ret = uverbs_copy_from(&uverbs_encap, attrs,
attrs             228 drivers/infiniband/core/uverbs_std_types_flow_action.c 				 struct uverbs_attr_bundle *attrs,
attrs             236 drivers/infiniband/core/uverbs_std_types_flow_action.c 	ret = uverbs_copy_from(&esp_attr->hdr.esn, attrs,
attrs             244 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_FLOW_ACTION_ESP_ATTRS)) {
attrs             245 drivers/infiniband/core/uverbs_std_types_flow_action.c 		ret = uverbs_copy_from_or_zero(&uverbs_esp, attrs,
attrs             258 drivers/infiniband/core/uverbs_std_types_flow_action.c 	esp_attr->hdr.flags = esp_flags_uverbs_to_verbs(attrs, uverbs_esp.flags,
attrs             261 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_FLOW_ACTION_ESP_KEYMAT)) {
attrs             263 drivers/infiniband/core/uverbs_std_types_flow_action.c 			uverbs_attr_get_enum_id(attrs,
attrs             266 drivers/infiniband/core/uverbs_std_types_flow_action.c 					       attrs,
attrs             278 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_FLOW_ACTION_ESP_REPLAY)) {
attrs             280 drivers/infiniband/core/uverbs_std_types_flow_action.c 			uverbs_attr_get_enum_id(attrs,
attrs             284 drivers/infiniband/core/uverbs_std_types_flow_action.c 					       attrs,
attrs             297 drivers/infiniband/core/uverbs_std_types_flow_action.c 	if (uverbs_attr_is_valid(attrs, UVERBS_ATTR_FLOW_ACTION_ESP_ENCAP)) {
attrs             298 drivers/infiniband/core/uverbs_std_types_flow_action.c 		ret = flow_action_esp_get_encap(&esp_attr->encap, attrs);
attrs             309 drivers/infiniband/core/uverbs_std_types_flow_action.c 	struct uverbs_attr_bundle *attrs)
attrs             312 drivers/infiniband/core/uverbs_std_types_flow_action.c 		attrs, UVERBS_ATTR_CREATE_FLOW_ACTION_ESP_HANDLE);
attrs             313 drivers/infiniband/core/uverbs_std_types_flow_action.c 	struct ib_device *ib_dev = attrs->context->device;
attrs             321 drivers/infiniband/core/uverbs_std_types_flow_action.c 	ret = parse_flow_action_esp(ib_dev, attrs, &esp_attr, false);
attrs             327 drivers/infiniband/core/uverbs_std_types_flow_action.c 						    attrs);
attrs             338 drivers/infiniband/core/uverbs_std_types_flow_action.c 	struct uverbs_attr_bundle *attrs)
attrs             341 drivers/infiniband/core/uverbs_std_types_flow_action.c 		attrs, UVERBS_ATTR_MODIFY_FLOW_ACTION_ESP_HANDLE);
attrs             349 drivers/infiniband/core/uverbs_std_types_flow_action.c 	ret = parse_flow_action_esp(action->device, attrs, &esp_attr, true);
attrs             358 drivers/infiniband/core/uverbs_std_types_flow_action.c 							  attrs);
attrs              39 drivers/infiniband/core/uverbs_std_types_mr.c 			  struct uverbs_attr_bundle *attrs)
attrs              42 drivers/infiniband/core/uverbs_std_types_mr.c 				&attrs->driver_udata);
attrs              46 drivers/infiniband/core/uverbs_std_types_mr.c 	struct uverbs_attr_bundle *attrs)
attrs              49 drivers/infiniband/core/uverbs_std_types_mr.c 		uverbs_attr_get_obj(attrs, UVERBS_ATTR_ADVISE_MR_PD_HANDLE);
attrs              61 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_get_const(&advice, attrs, UVERBS_ATTR_ADVISE_MR_ADVICE);
attrs              65 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_get_flags32(&flags, attrs, UVERBS_ATTR_ADVISE_MR_FLAGS,
attrs              71 drivers/infiniband/core/uverbs_std_types_mr.c 		attrs, UVERBS_ATTR_ADVISE_MR_SGE_LIST, sizeof(struct ib_sge));
attrs              75 drivers/infiniband/core/uverbs_std_types_mr.c 	sg_list = uverbs_attr_get_alloced_ptr(attrs,
attrs              78 drivers/infiniband/core/uverbs_std_types_mr.c 				     attrs);
attrs              82 drivers/infiniband/core/uverbs_std_types_mr.c 	struct uverbs_attr_bundle *attrs)
attrs              86 drivers/infiniband/core/uverbs_std_types_mr.c 		uverbs_attr_get_uobject(attrs, UVERBS_ATTR_REG_DM_MR_HANDLE);
attrs              88 drivers/infiniband/core/uverbs_std_types_mr.c 		uverbs_attr_get_obj(attrs, UVERBS_ATTR_REG_DM_MR_DM_HANDLE);
attrs              90 drivers/infiniband/core/uverbs_std_types_mr.c 		uverbs_attr_get_obj(attrs, UVERBS_ATTR_REG_DM_MR_PD_HANDLE);
attrs              99 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_copy_from(&attr.offset, attrs, UVERBS_ATTR_REG_DM_MR_OFFSET);
attrs             103 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_copy_from(&attr.length, attrs,
attrs             108 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_get_flags32(&attr.access_flags, attrs,
attrs             125 drivers/infiniband/core/uverbs_std_types_mr.c 	mr = pd->device->ops.reg_dm_mr(pd, dm, &attr, attrs);
attrs             139 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_LKEY, &mr->lkey,
attrs             144 drivers/infiniband/core/uverbs_std_types_mr.c 	ret = uverbs_copy_to(attrs, UVERBS_ATTR_REG_DM_MR_RESP_RKEY,
attrs             152 drivers/infiniband/core/uverbs_std_types_mr.c 	ib_dereg_mr_user(mr, uverbs_get_cleared_udata(attrs));
attrs              11 drivers/infiniband/core/uverbs_uapi.c static int ib_uverbs_notsupp(struct uverbs_attr_bundle *attrs)
attrs             110 drivers/infiniband/core/uverbs_uapi.c 	if (!method->attrs)
attrs             131 drivers/infiniband/core/uverbs_uapi.c 		const struct uverbs_attr_def *attr = (*method->attrs)[i];
attrs             281 drivers/infiniband/core/verbs.c 	if (device->attrs.device_cap_flags & IB_DEVICE_LOCAL_DMA_LKEY)
attrs             308 drivers/infiniband/core/verbs.c 		if (!(device->attrs.device_cap_flags & IB_DEVICE_LOCAL_DMA_LKEY))
attrs            1163 drivers/infiniband/core/verbs.c 	    !(device->attrs.device_cap_flags & IB_DEVICE_INTEGRITY_HANDOVER))
attrs            1230 drivers/infiniband/core/verbs.c 				 device->attrs.max_sge_rd);
attrs             591 drivers/infiniband/hw/bnxt_re/main.c 	.attrs = bnxt_re_attributes,
attrs             814 drivers/infiniband/hw/cxgb3/iwch_cm.c 	struct iwch_qp_attributes attrs;
attrs             910 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.mpa_attr = ep->mpa_attr;
attrs             911 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.max_ird = ep->ird;
attrs             912 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.max_ord = ep->ord;
attrs             913 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.llp_stream_handle = ep;
attrs             914 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.next_state = IWCH_QP_STATE_RTS;
attrs             922 drivers/infiniband/hw/cxgb3/iwch_cm.c 			     ep->com.qp, mask, &attrs, 1);
attrs            1431 drivers/infiniband/hw/cxgb3/iwch_cm.c 	struct iwch_qp_attributes attrs;
attrs            1472 drivers/infiniband/hw/cxgb3/iwch_cm.c 		attrs.next_state = IWCH_QP_STATE_CLOSING;
attrs            1474 drivers/infiniband/hw/cxgb3/iwch_cm.c 			       IWCH_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            1487 drivers/infiniband/hw/cxgb3/iwch_cm.c 			attrs.next_state = IWCH_QP_STATE_IDLE;
attrs            1489 drivers/infiniband/hw/cxgb3/iwch_cm.c 				       IWCH_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            1525 drivers/infiniband/hw/cxgb3/iwch_cm.c 	struct iwch_qp_attributes attrs;
attrs            1582 drivers/infiniband/hw/cxgb3/iwch_cm.c 			attrs.next_state = IWCH_QP_STATE_ERROR;
attrs            1585 drivers/infiniband/hw/cxgb3/iwch_cm.c 				     &attrs, 1);
attrs            1630 drivers/infiniband/hw/cxgb3/iwch_cm.c 	struct iwch_qp_attributes attrs;
attrs            1646 drivers/infiniband/hw/cxgb3/iwch_cm.c 			attrs.next_state = IWCH_QP_STATE_IDLE;
attrs            1650 drivers/infiniband/hw/cxgb3/iwch_cm.c 					     &attrs, 1);
attrs            1706 drivers/infiniband/hw/cxgb3/iwch_cm.c 		struct iwch_qp_attributes attrs;
attrs            1711 drivers/infiniband/hw/cxgb3/iwch_cm.c 		attrs.next_state = IWCH_QP_STATE_ERROR;
attrs            1714 drivers/infiniband/hw/cxgb3/iwch_cm.c 			       &attrs, 1);
attrs            1723 drivers/infiniband/hw/cxgb3/iwch_cm.c 	struct iwch_qp_attributes attrs;
attrs            1741 drivers/infiniband/hw/cxgb3/iwch_cm.c 			attrs.next_state = IWCH_QP_STATE_ERROR;
attrs            1744 drivers/infiniband/hw/cxgb3/iwch_cm.c 				     &attrs, 1);
attrs            1783 drivers/infiniband/hw/cxgb3/iwch_cm.c 	struct iwch_qp_attributes attrs;
attrs            1818 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.mpa_attr = ep->mpa_attr;
attrs            1819 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.max_ird = ep->ird;
attrs            1820 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.max_ord = ep->ord;
attrs            1821 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.llp_stream_handle = ep;
attrs            1822 drivers/infiniband/hw/cxgb3/iwch_cm.c 	attrs.next_state = IWCH_QP_STATE_RTS;
attrs            1832 drivers/infiniband/hw/cxgb3/iwch_cm.c 			     ep->com.qp, mask, &attrs, 1);
attrs              47 drivers/infiniband/hw/cxgb3/iwch_ev.c 	struct iwch_qp_attributes attrs;
attrs              82 drivers/infiniband/hw/cxgb3/iwch_ev.c 		attrs.next_state = IWCH_QP_STATE_TERMINATE;
attrs              84 drivers/infiniband/hw/cxgb3/iwch_ev.c 			       &attrs, 1);
attrs             669 drivers/infiniband/hw/cxgb3/iwch_provider.c 	struct iwch_qp_attributes attrs;
attrs             675 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs.next_state = IWCH_QP_STATE_ERROR;
attrs             676 drivers/infiniband/hw/cxgb3/iwch_provider.c 	iwch_modify_qp(rhp, qhp, IWCH_QP_ATTR_NEXT_STATE, &attrs, 0);
attrs             696 drivers/infiniband/hw/cxgb3/iwch_provider.c 			     struct ib_qp_init_attr *attrs,
attrs             709 drivers/infiniband/hw/cxgb3/iwch_provider.c 	if (attrs->qp_type != IB_QPT_RC)
attrs             713 drivers/infiniband/hw/cxgb3/iwch_provider.c 	schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid);
attrs             714 drivers/infiniband/hw/cxgb3/iwch_provider.c 	rchp = get_chp(rhp, ((struct iwch_cq *) attrs->recv_cq)->cq.cqid);
attrs             719 drivers/infiniband/hw/cxgb3/iwch_provider.c 	rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr);
attrs             720 drivers/infiniband/hw/cxgb3/iwch_provider.c 	if (rqsize == attrs->cap.max_recv_wr)
attrs             721 drivers/infiniband/hw/cxgb3/iwch_provider.c 		rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr+1);
attrs             730 drivers/infiniband/hw/cxgb3/iwch_provider.c 	if (attrs->cap.max_inline_data > T3_MAX_INLINE)
attrs             738 drivers/infiniband/hw/cxgb3/iwch_provider.c 	sqsize = roundup_pow_of_two(attrs->cap.max_send_wr);
attrs             749 drivers/infiniband/hw/cxgb3/iwch_provider.c 				roundup_pow_of_two(attrs->cap.max_send_wr * 2));
attrs             764 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs->cap.max_recv_wr = rqsize - 1;
attrs             765 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs->cap.max_send_wr = sqsize;
attrs             766 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs->cap.max_inline_data = T3_MAX_INLINE;
attrs             770 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.scq = ((struct iwch_cq *) attrs->send_cq)->cq.cqid;
attrs             771 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.rcq = ((struct iwch_cq *) attrs->recv_cq)->cq.cqid;
attrs             772 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.sq_num_entries = attrs->cap.max_send_wr;
attrs             773 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.rq_num_entries = attrs->cap.max_recv_wr;
attrs             774 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.sq_max_sges = attrs->cap.max_send_sge;
attrs             775 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.sq_max_sges_rdma_write = attrs->cap.max_send_sge;
attrs             776 drivers/infiniband/hw/cxgb3/iwch_provider.c 	qhp->attr.rq_max_sges = attrs->cap.max_recv_sge;
attrs             859 drivers/infiniband/hw/cxgb3/iwch_provider.c 	struct iwch_qp_attributes attrs = {};
attrs             874 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs.next_state = iwch_convert_state(attr->qp_state);
attrs             875 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs.enable_rdma_read = (attr->qp_access_flags &
attrs             877 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs.enable_rdma_write = (attr->qp_access_flags &
attrs             879 drivers/infiniband/hw/cxgb3/iwch_provider.c 	attrs.enable_bind = (attr->qp_access_flags & IB_ACCESS_MW_BIND) ? 1 : 0;
attrs             888 drivers/infiniband/hw/cxgb3/iwch_provider.c 	return iwch_modify_qp(rhp, qhp, mask, &attrs, 0);
attrs            1171 drivers/infiniband/hw/cxgb3/iwch_provider.c 	.attrs = iwch_class_attributes,
attrs             263 drivers/infiniband/hw/cxgb3/iwch_provider.h 				struct iwch_qp_attributes *attrs,
attrs             817 drivers/infiniband/hw/cxgb3/iwch_qp.c 				struct iwch_qp_attributes *attrs)
attrs             869 drivers/infiniband/hw/cxgb3/iwch_qp.c 				struct iwch_qp_attributes *attrs,
attrs             883 drivers/infiniband/hw/cxgb3/iwch_qp.c 		 (mask & IWCH_QP_ATTR_NEXT_STATE) ? attrs->next_state : -1);
attrs             894 drivers/infiniband/hw/cxgb3/iwch_qp.c 			newattr.enable_rdma_read = attrs->enable_rdma_read;
attrs             896 drivers/infiniband/hw/cxgb3/iwch_qp.c 			newattr.enable_rdma_write = attrs->enable_rdma_write;
attrs             898 drivers/infiniband/hw/cxgb3/iwch_qp.c 			newattr.enable_bind = attrs->enable_bind;
attrs             900 drivers/infiniband/hw/cxgb3/iwch_qp.c 			if (attrs->max_ord >
attrs             905 drivers/infiniband/hw/cxgb3/iwch_qp.c 			newattr.max_ord = attrs->max_ord;
attrs             908 drivers/infiniband/hw/cxgb3/iwch_qp.c 			if (attrs->max_ird >
attrs             913 drivers/infiniband/hw/cxgb3/iwch_qp.c 			newattr.max_ird = attrs->max_ird;
attrs             920 drivers/infiniband/hw/cxgb3/iwch_qp.c 	if (qhp->attr.state == attrs->next_state)
attrs             925 drivers/infiniband/hw/cxgb3/iwch_qp.c 		switch (attrs->next_state) {
attrs             935 drivers/infiniband/hw/cxgb3/iwch_qp.c 			qhp->attr.mpa_attr = attrs->mpa_attr;
attrs             936 drivers/infiniband/hw/cxgb3/iwch_qp.c 			qhp->attr.llp_stream_handle = attrs->llp_stream_handle;
attrs             948 drivers/infiniband/hw/cxgb3/iwch_qp.c 			ret = rdma_init(rhp, qhp, mask, attrs);
attrs             963 drivers/infiniband/hw/cxgb3/iwch_qp.c 		switch (attrs->next_state) {
attrs            1001 drivers/infiniband/hw/cxgb3/iwch_qp.c 		switch (attrs->next_state) {
attrs            1018 drivers/infiniband/hw/cxgb3/iwch_qp.c 		if (attrs->next_state != IWCH_QP_STATE_IDLE) {
attrs            1466 drivers/infiniband/hw/cxgb4/cm.c 	struct c4iw_qp_attributes attrs;
attrs            1632 drivers/infiniband/hw/cxgb4/cm.c 	attrs.mpa_attr = ep->mpa_attr;
attrs            1633 drivers/infiniband/hw/cxgb4/cm.c 	attrs.max_ird = ep->ird;
attrs            1634 drivers/infiniband/hw/cxgb4/cm.c 	attrs.max_ord = ep->ord;
attrs            1635 drivers/infiniband/hw/cxgb4/cm.c 	attrs.llp_stream_handle = ep;
attrs            1636 drivers/infiniband/hw/cxgb4/cm.c 	attrs.next_state = C4IW_QP_STATE_RTS;
attrs            1644 drivers/infiniband/hw/cxgb4/cm.c 			     ep->com.qp, mask, &attrs, 1);
attrs            1654 drivers/infiniband/hw/cxgb4/cm.c 		attrs.layer_etype = LAYER_MPA | DDP_LLP;
attrs            1655 drivers/infiniband/hw/cxgb4/cm.c 		attrs.ecode = MPA_NOMATCH_RTR;
attrs            1656 drivers/infiniband/hw/cxgb4/cm.c 		attrs.next_state = C4IW_QP_STATE_TERMINATE;
attrs            1657 drivers/infiniband/hw/cxgb4/cm.c 		attrs.send_term = 1;
attrs            1659 drivers/infiniband/hw/cxgb4/cm.c 				C4IW_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            1673 drivers/infiniband/hw/cxgb4/cm.c 		attrs.layer_etype = LAYER_MPA | DDP_LLP;
attrs            1674 drivers/infiniband/hw/cxgb4/cm.c 		attrs.ecode = MPA_INSUFF_IRD;
attrs            1675 drivers/infiniband/hw/cxgb4/cm.c 		attrs.next_state = C4IW_QP_STATE_TERMINATE;
attrs            1676 drivers/infiniband/hw/cxgb4/cm.c 		attrs.send_term = 1;
attrs            1678 drivers/infiniband/hw/cxgb4/cm.c 				C4IW_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            1873 drivers/infiniband/hw/cxgb4/cm.c 		struct c4iw_qp_attributes attrs;
attrs            1881 drivers/infiniband/hw/cxgb4/cm.c 		attrs.next_state = C4IW_QP_STATE_TERMINATE;
attrs            1883 drivers/infiniband/hw/cxgb4/cm.c 			       C4IW_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            2712 drivers/infiniband/hw/cxgb4/cm.c 	struct c4iw_qp_attributes attrs;
attrs            2755 drivers/infiniband/hw/cxgb4/cm.c 		attrs.next_state = C4IW_QP_STATE_CLOSING;
attrs            2757 drivers/infiniband/hw/cxgb4/cm.c 				       C4IW_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            2773 drivers/infiniband/hw/cxgb4/cm.c 			attrs.next_state = C4IW_QP_STATE_IDLE;
attrs            2775 drivers/infiniband/hw/cxgb4/cm.c 				       C4IW_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            2801 drivers/infiniband/hw/cxgb4/cm.c 		struct c4iw_qp_attributes attrs;
attrs            2803 drivers/infiniband/hw/cxgb4/cm.c 		attrs.next_state = C4IW_QP_STATE_ERROR;
attrs            2805 drivers/infiniband/hw/cxgb4/cm.c 			       C4IW_QP_ATTR_NEXT_STATE,	&attrs, 1);
attrs            2817 drivers/infiniband/hw/cxgb4/cm.c 	struct c4iw_qp_attributes attrs;
attrs            2907 drivers/infiniband/hw/cxgb4/cm.c 			attrs.next_state = C4IW_QP_STATE_ERROR;
attrs            2910 drivers/infiniband/hw/cxgb4/cm.c 				     &attrs, 1);
attrs            2975 drivers/infiniband/hw/cxgb4/cm.c 	struct c4iw_qp_attributes attrs;
attrs            2996 drivers/infiniband/hw/cxgb4/cm.c 			attrs.next_state = C4IW_QP_STATE_IDLE;
attrs            3000 drivers/infiniband/hw/cxgb4/cm.c 					     &attrs, 1);
attrs            3025 drivers/infiniband/hw/cxgb4/cm.c 	struct c4iw_qp_attributes attrs;
attrs            3033 drivers/infiniband/hw/cxgb4/cm.c 			attrs.next_state = C4IW_QP_STATE_TERMINATE;
attrs            3035 drivers/infiniband/hw/cxgb4/cm.c 				       C4IW_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            3119 drivers/infiniband/hw/cxgb4/cm.c 	struct c4iw_qp_attributes attrs;
attrs            3190 drivers/infiniband/hw/cxgb4/cm.c 	attrs.mpa_attr = ep->mpa_attr;
attrs            3191 drivers/infiniband/hw/cxgb4/cm.c 	attrs.max_ird = ep->ird;
attrs            3192 drivers/infiniband/hw/cxgb4/cm.c 	attrs.max_ord = ep->ord;
attrs            3193 drivers/infiniband/hw/cxgb4/cm.c 	attrs.llp_stream_handle = ep;
attrs            3194 drivers/infiniband/hw/cxgb4/cm.c 	attrs.next_state = C4IW_QP_STATE_RTS;
attrs            3204 drivers/infiniband/hw/cxgb4/cm.c 			     ep->com.qp, mask, &attrs, 1);
attrs            3723 drivers/infiniband/hw/cxgb4/cm.c 				struct c4iw_qp_attributes attrs;
attrs            3725 drivers/infiniband/hw/cxgb4/cm.c 				attrs.next_state = C4IW_QP_STATE_ERROR;
attrs            3729 drivers/infiniband/hw/cxgb4/cm.c 						     &attrs, 1);
attrs            4224 drivers/infiniband/hw/cxgb4/cm.c 	struct c4iw_qp_attributes attrs;
attrs            4242 drivers/infiniband/hw/cxgb4/cm.c 			attrs.next_state = C4IW_QP_STATE_ERROR;
attrs            4245 drivers/infiniband/hw/cxgb4/cm.c 				     &attrs, 1);
attrs              93 drivers/infiniband/hw/cxgb4/ev.c 	struct c4iw_qp_attributes attrs;
attrs              99 drivers/infiniband/hw/cxgb4/ev.c 		attrs.next_state = C4IW_QP_STATE_TERMINATE;
attrs             101 drivers/infiniband/hw/cxgb4/ev.c 			       &attrs, 0);
attrs             606 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 				struct c4iw_qp_attributes *attrs,
attrs            1003 drivers/infiniband/hw/cxgb4/iw_cxgb4.h int c4iw_create_srq(struct ib_srq *srq, struct ib_srq_init_attr *attrs,
attrs            1007 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 			     struct ib_qp_init_attr *attrs,
attrs             426 drivers/infiniband/hw/cxgb4/provider.c 	.attrs = c4iw_class_attributes,
attrs            1833 drivers/infiniband/hw/cxgb4/qp.c 		   struct c4iw_qp_attributes *attrs,
attrs            1846 drivers/infiniband/hw/cxgb4/qp.c 		 (mask & C4IW_QP_ATTR_NEXT_STATE) ? attrs->next_state : -1);
attrs            1857 drivers/infiniband/hw/cxgb4/qp.c 			newattr.enable_rdma_read = attrs->enable_rdma_read;
attrs            1859 drivers/infiniband/hw/cxgb4/qp.c 			newattr.enable_rdma_write = attrs->enable_rdma_write;
attrs            1861 drivers/infiniband/hw/cxgb4/qp.c 			newattr.enable_bind = attrs->enable_bind;
attrs            1863 drivers/infiniband/hw/cxgb4/qp.c 			if (attrs->max_ord > c4iw_max_read_depth) {
attrs            1867 drivers/infiniband/hw/cxgb4/qp.c 			newattr.max_ord = attrs->max_ord;
attrs            1870 drivers/infiniband/hw/cxgb4/qp.c 			if (attrs->max_ird > cur_max_read_depth(rhp)) {
attrs            1874 drivers/infiniband/hw/cxgb4/qp.c 			newattr.max_ird = attrs->max_ird;
attrs            1880 drivers/infiniband/hw/cxgb4/qp.c 		ret = ring_kernel_sq_db(qhp, attrs->sq_db_inc);
attrs            1884 drivers/infiniband/hw/cxgb4/qp.c 		ret = ring_kernel_rq_db(qhp, attrs->rq_db_inc);
attrs            1890 drivers/infiniband/hw/cxgb4/qp.c 	if (qhp->attr.state == attrs->next_state)
attrs            1895 drivers/infiniband/hw/cxgb4/qp.c 		switch (attrs->next_state) {
attrs            1905 drivers/infiniband/hw/cxgb4/qp.c 			qhp->attr.mpa_attr = attrs->mpa_attr;
attrs            1906 drivers/infiniband/hw/cxgb4/qp.c 			qhp->attr.llp_stream_handle = attrs->llp_stream_handle;
attrs            1931 drivers/infiniband/hw/cxgb4/qp.c 		switch (attrs->next_state) {
attrs            1948 drivers/infiniband/hw/cxgb4/qp.c 			qhp->attr.layer_etype = attrs->layer_etype;
attrs            1949 drivers/infiniband/hw/cxgb4/qp.c 			qhp->attr.ecode = attrs->ecode;
attrs            1983 drivers/infiniband/hw/cxgb4/qp.c 		if (!internal && (qhp->ibqp.uobject || attrs->next_state !=
attrs            1988 drivers/infiniband/hw/cxgb4/qp.c 		switch (attrs->next_state) {
attrs            2005 drivers/infiniband/hw/cxgb4/qp.c 		if (attrs->next_state != C4IW_QP_STATE_IDLE) {
attrs            2075 drivers/infiniband/hw/cxgb4/qp.c 	struct c4iw_qp_attributes attrs;
attrs            2081 drivers/infiniband/hw/cxgb4/qp.c 	attrs.next_state = C4IW_QP_STATE_ERROR;
attrs            2083 drivers/infiniband/hw/cxgb4/qp.c 		c4iw_modify_qp(rhp, qhp, C4IW_QP_ATTR_NEXT_STATE, &attrs, 1);
attrs            2085 drivers/infiniband/hw/cxgb4/qp.c 		c4iw_modify_qp(rhp, qhp, C4IW_QP_ATTR_NEXT_STATE, &attrs, 0);
attrs            2111 drivers/infiniband/hw/cxgb4/qp.c struct ib_qp *c4iw_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *attrs,
attrs            2129 drivers/infiniband/hw/cxgb4/qp.c 	if (attrs->qp_type != IB_QPT_RC)
attrs            2134 drivers/infiniband/hw/cxgb4/qp.c 	schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid);
attrs            2135 drivers/infiniband/hw/cxgb4/qp.c 	rchp = get_chp(rhp, ((struct c4iw_cq *)attrs->recv_cq)->cq.cqid);
attrs            2139 drivers/infiniband/hw/cxgb4/qp.c 	if (attrs->cap.max_inline_data > T4_MAX_SEND_INLINE)
attrs            2142 drivers/infiniband/hw/cxgb4/qp.c 	if (!attrs->srq) {
attrs            2143 drivers/infiniband/hw/cxgb4/qp.c 		if (attrs->cap.max_recv_wr > rhp->rdev.hw_queue.t4_max_rq_size)
attrs            2145 drivers/infiniband/hw/cxgb4/qp.c 		rqsize = attrs->cap.max_recv_wr + 1;
attrs            2150 drivers/infiniband/hw/cxgb4/qp.c 	if (attrs->cap.max_send_wr > rhp->rdev.hw_queue.t4_max_sq_size)
attrs            2152 drivers/infiniband/hw/cxgb4/qp.c 	sqsize = attrs->cap.max_send_wr + 1;
attrs            2171 drivers/infiniband/hw/cxgb4/qp.c 	if (!attrs->srq) {
attrs            2180 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq)
attrs            2187 drivers/infiniband/hw/cxgb4/qp.c 			qhp->wr_waitp, !attrs->srq);
attrs            2191 drivers/infiniband/hw/cxgb4/qp.c 	attrs->cap.max_recv_wr = rqsize - 1;
attrs            2192 drivers/infiniband/hw/cxgb4/qp.c 	attrs->cap.max_send_wr = sqsize - 1;
attrs            2193 drivers/infiniband/hw/cxgb4/qp.c 	attrs->cap.max_inline_data = T4_MAX_SEND_INLINE;
attrs            2197 drivers/infiniband/hw/cxgb4/qp.c 	qhp->attr.scq = ((struct c4iw_cq *) attrs->send_cq)->cq.cqid;
attrs            2198 drivers/infiniband/hw/cxgb4/qp.c 	qhp->attr.rcq = ((struct c4iw_cq *) attrs->recv_cq)->cq.cqid;
attrs            2199 drivers/infiniband/hw/cxgb4/qp.c 	qhp->attr.sq_num_entries = attrs->cap.max_send_wr;
attrs            2200 drivers/infiniband/hw/cxgb4/qp.c 	qhp->attr.sq_max_sges = attrs->cap.max_send_sge;
attrs            2201 drivers/infiniband/hw/cxgb4/qp.c 	qhp->attr.sq_max_sges_rdma_write = attrs->cap.max_send_sge;
attrs            2202 drivers/infiniband/hw/cxgb4/qp.c 	if (!attrs->srq) {
attrs            2203 drivers/infiniband/hw/cxgb4/qp.c 		qhp->attr.rq_num_entries = attrs->cap.max_recv_wr;
attrs            2204 drivers/infiniband/hw/cxgb4/qp.c 		qhp->attr.rq_max_sges = attrs->cap.max_recv_sge;
attrs            2213 drivers/infiniband/hw/cxgb4/qp.c 	qhp->sq_sig_all = attrs->sq_sig_type == IB_SIGNAL_ALL_WR;
attrs            2230 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq) {
attrs            2242 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq) {
attrs            2266 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq) {
attrs            2278 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq) {
attrs            2284 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq) {
attrs            2296 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq) {
attrs            2306 drivers/infiniband/hw/cxgb4/qp.c 		if (!attrs->srq) {
attrs            2324 drivers/infiniband/hw/cxgb4/qp.c 	if (!attrs->srq) {
attrs            2335 drivers/infiniband/hw/cxgb4/qp.c 	if (attrs->srq)
attrs            2336 drivers/infiniband/hw/cxgb4/qp.c 		qhp->srq = to_c4iw_srq(attrs->srq);
attrs            2340 drivers/infiniband/hw/cxgb4/qp.c 		 attrs->cap.max_send_wr, qhp->wq.rq.qid, qhp->wq.rq.size,
attrs            2341 drivers/infiniband/hw/cxgb4/qp.c 		 qhp->wq.rq.memsize, attrs->cap.max_recv_wr);
attrs            2346 drivers/infiniband/hw/cxgb4/qp.c 	if (!attrs->srq)
attrs            2351 drivers/infiniband/hw/cxgb4/qp.c 	if (!attrs->srq)
attrs            2359 drivers/infiniband/hw/cxgb4/qp.c 		   ucontext ? &ucontext->uctx : &rhp->rdev.uctx, !attrs->srq);
attrs            2373 drivers/infiniband/hw/cxgb4/qp.c 	struct c4iw_qp_attributes attrs = {};
attrs            2388 drivers/infiniband/hw/cxgb4/qp.c 	attrs.next_state = c4iw_convert_state(attr->qp_state);
attrs            2389 drivers/infiniband/hw/cxgb4/qp.c 	attrs.enable_rdma_read = (attr->qp_access_flags &
attrs            2391 drivers/infiniband/hw/cxgb4/qp.c 	attrs.enable_rdma_write = (attr->qp_access_flags &
attrs            2393 drivers/infiniband/hw/cxgb4/qp.c 	attrs.enable_bind = (attr->qp_access_flags & IB_ACCESS_MW_BIND) ? 1 : 0;
attrs            2407 drivers/infiniband/hw/cxgb4/qp.c 	attrs.sq_db_inc = attr->sq_psn;
attrs            2408 drivers/infiniband/hw/cxgb4/qp.c 	attrs.rq_db_inc = attr->rq_psn;
attrs            2415 drivers/infiniband/hw/cxgb4/qp.c 	return c4iw_modify_qp(rhp, qhp, mask, &attrs, 0);
attrs            2669 drivers/infiniband/hw/cxgb4/qp.c int c4iw_create_srq(struct ib_srq *ib_srq, struct ib_srq_init_attr *attrs,
attrs            2690 drivers/infiniband/hw/cxgb4/qp.c 	if (attrs->attr.max_wr > rhp->rdev.hw_queue.t4_max_rq_size)
attrs            2692 drivers/infiniband/hw/cxgb4/qp.c 	if (attrs->attr.max_sge > T4_MAX_RECV_SGE)
attrs            2698 drivers/infiniband/hw/cxgb4/qp.c 	rqsize = attrs->attr.max_wr + 1;
attrs            2735 drivers/infiniband/hw/cxgb4/qp.c 	attrs->attr.max_wr = rqsize - 1;
attrs            2779 drivers/infiniband/hw/cxgb4/qp.c 			(unsigned long)srq->wq.memsize, attrs->attr.max_wr);
attrs             653 drivers/infiniband/hw/hfi1/sysfs.c 	.attrs = hfi1_attributes,
attrs            2089 drivers/infiniband/hw/i40iw/i40iw_verbs.c 	.attrs = i40iw_dev_attributes,
attrs            2072 drivers/infiniband/hw/mlx4/main.c 	.attrs = mlx4_class_attributes,
attrs            4366 drivers/infiniband/hw/mlx4/qp.c 	    device->attrs.rss_caps.max_rwq_indirection_table_size) {
attrs            4369 drivers/infiniband/hw/mlx4/qp.c 			 device->attrs.rss_caps.max_rwq_indirection_table_size);
attrs             382 drivers/infiniband/hw/mlx4/sysfs.c 	for (i = 0; (a = p->pkey_group.attrs[i]); ++i)
attrs             384 drivers/infiniband/hw/mlx4/sysfs.c 	kfree(p->pkey_group.attrs);
attrs             385 drivers/infiniband/hw/mlx4/sysfs.c 	for (i = 0; (a = p->gid_group.attrs[i]); ++i)
attrs             387 drivers/infiniband/hw/mlx4/sysfs.c 	kfree(p->gid_group.attrs);
attrs             658 drivers/infiniband/hw/mlx4/sysfs.c 	p->pkey_group.attrs =
attrs             662 drivers/infiniband/hw/mlx4/sysfs.c 	if (!p->pkey_group.attrs) {
attrs             672 drivers/infiniband/hw/mlx4/sysfs.c 	p->gid_group.attrs = alloc_group_attrs(show_port_gid_idx, NULL, 1);
attrs             673 drivers/infiniband/hw/mlx4/sysfs.c 	if (!p->gid_group.attrs) {
attrs             690 drivers/infiniband/hw/mlx4/sysfs.c 	kfree(p->gid_group.attrs[0]);
attrs             691 drivers/infiniband/hw/mlx4/sysfs.c 	kfree(p->gid_group.attrs);
attrs             695 drivers/infiniband/hw/mlx4/sysfs.c 		kfree(p->pkey_group.attrs[i]);
attrs             696 drivers/infiniband/hw/mlx4/sysfs.c 	kfree(p->pkey_group.attrs);
attrs             124 drivers/infiniband/hw/mlx5/devx.c devx_ufile2uctx(const struct uverbs_attr_bundle *attrs)
attrs             126 drivers/infiniband/hw/mlx5/devx.c 	return to_mucontext(ib_uverbs_get_ucontext(attrs));
attrs             567 drivers/infiniband/hw/mlx5/devx.c static bool devx_is_valid_obj_id(struct uverbs_attr_bundle *attrs,
attrs             570 drivers/infiniband/hw/mlx5/devx.c 	struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata);
attrs             949 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs             958 drivers/infiniband/hw/mlx5/devx.c 	if (uverbs_copy_from(&user_vector, attrs,
attrs             962 drivers/infiniband/hw/mlx5/devx.c 	c = devx_ufile2uctx(attrs);
attrs             971 drivers/infiniband/hw/mlx5/devx.c 	if (uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_QUERY_EQN_DEV_EQN,
attrs             999 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1006 drivers/infiniband/hw/mlx5/devx.c 	c = devx_ufile2uctx(attrs);
attrs            1011 drivers/infiniband/hw/mlx5/devx.c 	if (uverbs_copy_from(&user_idx, attrs,
attrs            1019 drivers/infiniband/hw/mlx5/devx.c 	if (uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_QUERY_UAR_DEV_IDX,
attrs            1027 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1032 drivers/infiniband/hw/mlx5/devx.c 		attrs, MLX5_IB_ATTR_DEVX_OTHER_CMD_IN);
attrs            1033 drivers/infiniband/hw/mlx5/devx.c 	int cmd_out_len = uverbs_attr_get_len(attrs,
attrs            1039 drivers/infiniband/hw/mlx5/devx.c 	c = devx_ufile2uctx(attrs);
attrs            1052 drivers/infiniband/hw/mlx5/devx.c 	cmd_out = uverbs_zalloc(attrs, cmd_out_len);
attrs            1058 drivers/infiniband/hw/mlx5/devx.c 			    uverbs_attr_get_len(attrs, MLX5_IB_ATTR_DEVX_OTHER_CMD_IN),
attrs            1063 drivers/infiniband/hw/mlx5/devx.c 	return uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OTHER_CMD_OUT, cmd_out,
attrs            1332 drivers/infiniband/hw/mlx5/devx.c 			    struct uverbs_attr_bundle *attrs)
attrs            1341 drivers/infiniband/hw/mlx5/devx.c 	dev = mlx5_udata_to_mdev(&attrs->driver_udata);
attrs            1398 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1400 drivers/infiniband/hw/mlx5/devx.c 	void *cmd_in = uverbs_attr_get_alloced_ptr(attrs, MLX5_IB_ATTR_DEVX_OBJ_CREATE_CMD_IN);
attrs            1401 drivers/infiniband/hw/mlx5/devx.c 	int cmd_out_len =  uverbs_attr_get_len(attrs,
attrs            1403 drivers/infiniband/hw/mlx5/devx.c 	int cmd_in_len = uverbs_attr_get_len(attrs,
attrs            1407 drivers/infiniband/hw/mlx5/devx.c 		attrs, MLX5_IB_ATTR_DEVX_OBJ_CREATE_HANDLE);
attrs            1409 drivers/infiniband/hw/mlx5/devx.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            1429 drivers/infiniband/hw/mlx5/devx.c 	cmd_out = uverbs_zalloc(attrs, cmd_out_len);
attrs            1473 drivers/infiniband/hw/mlx5/devx.c 	err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_CREATE_CMD_OUT, cmd_out, cmd_out_len);
attrs            1502 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1504 drivers/infiniband/hw/mlx5/devx.c 	void *cmd_in = uverbs_attr_get_alloced_ptr(attrs, MLX5_IB_ATTR_DEVX_OBJ_MODIFY_CMD_IN);
attrs            1505 drivers/infiniband/hw/mlx5/devx.c 	int cmd_out_len = uverbs_attr_get_len(attrs,
attrs            1507 drivers/infiniband/hw/mlx5/devx.c 	struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs,
attrs            1510 drivers/infiniband/hw/mlx5/devx.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            1526 drivers/infiniband/hw/mlx5/devx.c 	if (!devx_is_valid_obj_id(attrs, uobj, cmd_in))
attrs            1529 drivers/infiniband/hw/mlx5/devx.c 	cmd_out = uverbs_zalloc(attrs, cmd_out_len);
attrs            1537 drivers/infiniband/hw/mlx5/devx.c 			    uverbs_attr_get_len(attrs, MLX5_IB_ATTR_DEVX_OBJ_MODIFY_CMD_IN),
attrs            1542 drivers/infiniband/hw/mlx5/devx.c 	return uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_MODIFY_CMD_OUT,
attrs            1547 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1549 drivers/infiniband/hw/mlx5/devx.c 	void *cmd_in = uverbs_attr_get_alloced_ptr(attrs, MLX5_IB_ATTR_DEVX_OBJ_QUERY_CMD_IN);
attrs            1550 drivers/infiniband/hw/mlx5/devx.c 	int cmd_out_len = uverbs_attr_get_len(attrs,
attrs            1552 drivers/infiniband/hw/mlx5/devx.c 	struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs,
attrs            1555 drivers/infiniband/hw/mlx5/devx.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            1571 drivers/infiniband/hw/mlx5/devx.c 	if (!devx_is_valid_obj_id(attrs, uobj, cmd_in))
attrs            1574 drivers/infiniband/hw/mlx5/devx.c 	cmd_out = uverbs_zalloc(attrs, cmd_out_len);
attrs            1580 drivers/infiniband/hw/mlx5/devx.c 			    uverbs_attr_get_len(attrs, MLX5_IB_ATTR_DEVX_OBJ_QUERY_CMD_IN),
attrs            1585 drivers/infiniband/hw/mlx5/devx.c 	return uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_OBJ_QUERY_CMD_OUT,
attrs            1613 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1618 drivers/infiniband/hw/mlx5/devx.c 		attrs, MLX5_IB_ATTR_DEVX_ASYNC_CMD_FD_ALLOC_HANDLE);
attrs            1619 drivers/infiniband/hw/mlx5/devx.c 	struct mlx5_ib_dev *mdev = mlx5_udata_to_mdev(&attrs->driver_udata);
attrs            1629 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1632 drivers/infiniband/hw/mlx5/devx.c 		attrs, MLX5_IB_ATTR_DEVX_ASYNC_EVENT_FD_ALLOC_HANDLE);
attrs            1635 drivers/infiniband/hw/mlx5/devx.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            1640 drivers/infiniband/hw/mlx5/devx.c 	err = uverbs_get_flags32(&flags, attrs,
attrs            1684 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1686 drivers/infiniband/hw/mlx5/devx.c 	void *cmd_in = uverbs_attr_get_alloced_ptr(attrs,
attrs            1689 drivers/infiniband/hw/mlx5/devx.c 				attrs,
attrs            1693 drivers/infiniband/hw/mlx5/devx.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            1711 drivers/infiniband/hw/mlx5/devx.c 	err = uverbs_get_const(&cmd_out_len, attrs,
attrs            1716 drivers/infiniband/hw/mlx5/devx.c 	if (!devx_is_valid_obj_id(attrs, uobj, cmd_in))
attrs            1719 drivers/infiniband/hw/mlx5/devx.c 	fd_uobj = uverbs_attr_get_uobject(attrs,
attrs            1740 drivers/infiniband/hw/mlx5/devx.c 	err = uverbs_copy_from(&async_data->hdr.wr_id, attrs,
attrs            1752 drivers/infiniband/hw/mlx5/devx.c 		    uverbs_attr_get_len(attrs,
attrs            1916 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            1919 drivers/infiniband/hw/mlx5/devx.c 				attrs,
attrs            1922 drivers/infiniband/hw/mlx5/devx.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            1950 drivers/infiniband/hw/mlx5/devx.c 	fd_uobj = uverbs_attr_get_uobject(attrs,
attrs            1958 drivers/infiniband/hw/mlx5/devx.c 	if (uverbs_attr_is_valid(attrs,
attrs            1960 drivers/infiniband/hw/mlx5/devx.c 		err = uverbs_copy_from(&redirect_fd, attrs,
attrs            1968 drivers/infiniband/hw/mlx5/devx.c 	if (uverbs_attr_is_valid(attrs,
attrs            1973 drivers/infiniband/hw/mlx5/devx.c 		err = uverbs_copy_from(&cookie, attrs,
attrs            1980 drivers/infiniband/hw/mlx5/devx.c 		attrs, MLX5_IB_ATTR_DEVX_SUBSCRIBE_EVENT_TYPE_NUM_LIST,
attrs            1989 drivers/infiniband/hw/mlx5/devx.c 	event_type_num_list = uverbs_attr_get_alloced_ptr(attrs,
attrs            2098 drivers/infiniband/hw/mlx5/devx.c 			 struct uverbs_attr_bundle *attrs,
attrs            2108 drivers/infiniband/hw/mlx5/devx.c 	if (uverbs_copy_from(&addr, attrs, MLX5_IB_ATTR_DEVX_UMEM_REG_ADDR) ||
attrs            2109 drivers/infiniband/hw/mlx5/devx.c 	    uverbs_copy_from(&size, attrs, MLX5_IB_ATTR_DEVX_UMEM_REG_LEN))
attrs            2112 drivers/infiniband/hw/mlx5/devx.c 	err = uverbs_get_flags32(&access, attrs,
attrs            2124 drivers/infiniband/hw/mlx5/devx.c 	obj->umem = ib_umem_get(&attrs->driver_udata, addr, size, access, 0);
attrs            2143 drivers/infiniband/hw/mlx5/devx.c static int devx_umem_reg_cmd_alloc(struct uverbs_attr_bundle *attrs,
attrs            2149 drivers/infiniband/hw/mlx5/devx.c 	cmd->in = uverbs_zalloc(attrs, cmd->inlen);
attrs            2174 drivers/infiniband/hw/mlx5/devx.c 	struct uverbs_attr_bundle *attrs)
attrs            2179 drivers/infiniband/hw/mlx5/devx.c 		attrs, MLX5_IB_ATTR_DEVX_UMEM_REG_HANDLE);
attrs            2182 drivers/infiniband/hw/mlx5/devx.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            2193 drivers/infiniband/hw/mlx5/devx.c 	err = devx_umem_get(dev, &c->ibucontext, attrs, obj);
attrs            2197 drivers/infiniband/hw/mlx5/devx.c 	err = devx_umem_reg_cmd_alloc(attrs, obj, &cmd);
attrs            2212 drivers/infiniband/hw/mlx5/devx.c 	err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_UMEM_REG_OUT_ID, &obj_id, sizeof(obj_id));
attrs            2229 drivers/infiniband/hw/mlx5/devx.c 			     struct uverbs_attr_bundle *attrs)
attrs              69 drivers/infiniband/hw/mlx5/flow.c 	struct uverbs_attr_bundle *attrs)
attrs              84 drivers/infiniband/hw/mlx5/flow.c 		uverbs_attr_get_uobject(attrs, MLX5_IB_ATTR_CREATE_FLOW_HANDLE);
attrs              85 drivers/infiniband/hw/mlx5/flow.c 	struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata);
attrs              93 drivers/infiniband/hw/mlx5/flow.c 		uverbs_attr_is_valid(attrs, MLX5_IB_ATTR_CREATE_FLOW_DEST_DEVX);
attrs              94 drivers/infiniband/hw/mlx5/flow.c 	dest_qp = uverbs_attr_is_valid(attrs,
attrs              97 drivers/infiniband/hw/mlx5/flow.c 	fs_matcher = uverbs_attr_get_obj(attrs,
attrs             114 drivers/infiniband/hw/mlx5/flow.c 			attrs, MLX5_IB_ATTR_CREATE_FLOW_DEST_DEVX);
attrs             131 drivers/infiniband/hw/mlx5/flow.c 		qp = uverbs_attr_get_obj(attrs,
attrs             149 drivers/infiniband/hw/mlx5/flow.c 	len = uverbs_attr_get_uobjs_arr(attrs,
attrs             164 drivers/infiniband/hw/mlx5/flow.c 		attrs, MLX5_IB_ATTR_CREATE_FLOW_MATCH_VALUE);
attrs             165 drivers/infiniband/hw/mlx5/flow.c 	inlen = uverbs_attr_get_len(attrs,
attrs             172 drivers/infiniband/hw/mlx5/flow.c 	len = uverbs_attr_get_uobjs_arr(attrs,
attrs             185 drivers/infiniband/hw/mlx5/flow.c 	ret = uverbs_copy_from(&flow_context.flow_tag, attrs,
attrs             216 drivers/infiniband/hw/mlx5/flow.c 				struct uverbs_attr_bundle *attrs)
attrs             229 drivers/infiniband/hw/mlx5/flow.c static int mlx5_ib_matcher_ns(struct uverbs_attr_bundle *attrs,
attrs             240 drivers/infiniband/hw/mlx5/flow.c 	if (uverbs_attr_is_valid(attrs, MLX5_IB_ATTR_FLOW_MATCHER_FT_TYPE) &&
attrs             241 drivers/infiniband/hw/mlx5/flow.c 	    uverbs_attr_is_valid(attrs, MLX5_IB_ATTR_FLOW_MATCHER_FLOW_FLAGS))
attrs             244 drivers/infiniband/hw/mlx5/flow.c 	if (uverbs_attr_is_valid(attrs, MLX5_IB_ATTR_FLOW_MATCHER_FT_TYPE)) {
attrs             245 drivers/infiniband/hw/mlx5/flow.c 		err = uverbs_get_const(&ft_type, attrs,
attrs             257 drivers/infiniband/hw/mlx5/flow.c 	if (uverbs_attr_is_valid(attrs, MLX5_IB_ATTR_FLOW_MATCHER_FLOW_FLAGS)) {
attrs             258 drivers/infiniband/hw/mlx5/flow.c 		err = uverbs_get_flags32(&flags, attrs,
attrs             278 drivers/infiniband/hw/mlx5/flow.c 	struct uverbs_attr_bundle *attrs)
attrs             281 drivers/infiniband/hw/mlx5/flow.c 		attrs, MLX5_IB_ATTR_FLOW_MATCHER_CREATE_HANDLE);
attrs             282 drivers/infiniband/hw/mlx5/flow.c 	struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata);
attrs             291 drivers/infiniband/hw/mlx5/flow.c 		attrs, MLX5_IB_ATTR_FLOW_MATCHER_MATCH_MASK);
attrs             293 drivers/infiniband/hw/mlx5/flow.c 			       attrs,
attrs             299 drivers/infiniband/hw/mlx5/flow.c 		attrs, MLX5_IB_ATTR_FLOW_MATCHER_FLOW_TYPE);
attrs             303 drivers/infiniband/hw/mlx5/flow.c 				       attrs,
attrs             310 drivers/infiniband/hw/mlx5/flow.c 			       attrs,
attrs             315 drivers/infiniband/hw/mlx5/flow.c 	err = mlx5_ib_matcher_ns(attrs, obj);
attrs             387 drivers/infiniband/hw/mlx5/flow.c 	struct uverbs_attr_bundle *attrs)
attrs             390 drivers/infiniband/hw/mlx5/flow.c 		attrs, MLX5_IB_ATTR_CREATE_MODIFY_HEADER_HANDLE);
attrs             391 drivers/infiniband/hw/mlx5/flow.c 	struct mlx5_ib_dev *mdev = mlx5_udata_to_mdev(&attrs->driver_udata);
attrs             401 drivers/infiniband/hw/mlx5/flow.c 	in = uverbs_attr_get_alloced_ptr(attrs,
attrs             405 drivers/infiniband/hw/mlx5/flow.c 		attrs, MLX5_IB_ATTR_CREATE_MODIFY_HEADER_ACTIONS_PRM,
attrs             410 drivers/infiniband/hw/mlx5/flow.c 	ret = uverbs_get_const(&ft_type, attrs,
attrs             508 drivers/infiniband/hw/mlx5/flow.c 	struct uverbs_attr_bundle *attrs)
attrs             510 drivers/infiniband/hw/mlx5/flow.c 	struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs,
attrs             512 drivers/infiniband/hw/mlx5/flow.c 	struct mlx5_ib_dev *mdev = mlx5_udata_to_mdev(&attrs->driver_udata);
attrs             518 drivers/infiniband/hw/mlx5/flow.c 	ret = uverbs_get_const(&ft_type, attrs,
attrs             523 drivers/infiniband/hw/mlx5/flow.c 	ret = uverbs_get_const(&dv_prt, attrs,
attrs             544 drivers/infiniband/hw/mlx5/flow.c 		in = uverbs_attr_get_alloced_ptr(attrs,
attrs             551 drivers/infiniband/hw/mlx5/flow.c 		len = uverbs_attr_get_len(attrs,
attrs             122 drivers/infiniband/hw/mlx5/gsi.c 	const int num_pkeys = pd->device->attrs.max_pkeys;
attrs            2288 drivers/infiniband/hw/mlx5/main.c 				 struct uverbs_attr_bundle *attrs)
attrs            2306 drivers/infiniband/hw/mlx5/main.c 	err = uverbs_copy_to(attrs,
attrs            2313 drivers/infiniband/hw/mlx5/main.c 	err = uverbs_copy_to(attrs,
attrs            2333 drivers/infiniband/hw/mlx5/main.c 				  struct uverbs_attr_bundle *attrs,
attrs            2353 drivers/infiniband/hw/mlx5/main.c 	err = uverbs_copy_to(attrs,
attrs            2367 drivers/infiniband/hw/mlx5/main.c 			       struct uverbs_attr_bundle *attrs)
attrs            2373 drivers/infiniband/hw/mlx5/main.c 	err = uverbs_get_const_default(&type, attrs,
attrs            2396 drivers/infiniband/hw/mlx5/main.c 					    attrs);
attrs            2400 drivers/infiniband/hw/mlx5/main.c 					     attr, attrs,
attrs            2405 drivers/infiniband/hw/mlx5/main.c 					     attr, attrs,
attrs            2422 drivers/infiniband/hw/mlx5/main.c int mlx5_ib_dealloc_dm(struct ib_dm *ibdm, struct uverbs_attr_bundle *attrs)
attrs            2425 drivers/infiniband/hw/mlx5/main.c 		&attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext);
attrs            4188 drivers/infiniband/hw/mlx5/main.c 			       struct uverbs_attr_bundle *attrs)
attrs            4199 drivers/infiniband/hw/mlx5/main.c 		&action_flags, attrs, MLX5_IB_ATTR_CREATE_FLOW_ACTION_FLAGS,
attrs            4271 drivers/infiniband/hw/mlx5/main.c 			       struct uverbs_attr_bundle *attrs)
attrs            4294 drivers/infiniband/hw/mlx5/main.c 	memcpy(&accel_attrs, &maction->esp_aes_gcm.ctx->attrs,
attrs            4453 drivers/infiniband/hw/mlx5/main.c 	.attrs = mlx5_class_attributes,
attrs            5718 drivers/infiniband/hw/mlx5/main.c 	if (!(dev->ib_dev.attrs.raw_packet_caps & IB_RAW_PACKET_CAP_DELAY_DROP))
attrs            5814 drivers/infiniband/hw/mlx5/main.c 	if (!(dev->ib_dev.attrs.raw_packet_caps & IB_RAW_PACKET_CAP_DELAY_DROP))
attrs            6073 drivers/infiniband/hw/mlx5/main.c 				 struct uverbs_attr_bundle *attrs)
attrs            6128 drivers/infiniband/hw/mlx5/main.c 						   struct uverbs_attr_bundle *attrs)
attrs            1156 drivers/infiniband/hw/mlx5/mlx5_ib.h 		      struct uverbs_attr_bundle *attrs);
attrs            1243 drivers/infiniband/hw/mlx5/mlx5_ib.h 			       struct uverbs_attr_bundle *attrs);
attrs            1244 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_ib_dealloc_dm(struct ib_dm *ibdm, struct uverbs_attr_bundle *attrs);
attrs            1247 drivers/infiniband/hw/mlx5/mlx5_ib.h 				struct uverbs_attr_bundle *attrs);
attrs            1208 drivers/infiniband/hw/mlx5/mr.c 		      struct uverbs_attr_bundle *attrs)
attrs            1220 drivers/infiniband/hw/mlx5/mr.c 				struct uverbs_attr_bundle *attrs)
attrs            5992 drivers/infiniband/hw/mlx5/qp.c 		if (!(dev->ib_dev.attrs.raw_packet_caps &
attrs            1075 drivers/infiniband/hw/mthca/mthca_provider.c 	.attrs = mthca_dev_attributes,
attrs            2182 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 					struct ib_qp_init_attr *attrs,
attrs            2192 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	u32 max_sges = attrs->cap.max_send_sge;
attrs            2195 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	max_wqe_allocated = min_t(u32, attrs->cap.max_send_wr + 1,
attrs            2237 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 					struct ib_qp_init_attr *attrs,
attrs            2246 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1;
attrs            2252 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		       attrs->cap.max_recv_wr + 1);
attrs            2271 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	cmd->max_sge_recv_flags |= (attrs->cap.max_recv_sge <<
attrs            2334 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 				     struct ib_qp_init_attr *attrs,
attrs            2361 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	if (!attrs->srq) {
attrs            2367 drivers/infiniband/hw/ocrdma/ocrdma_hw.c int ocrdma_mbx_create_qp(struct ocrdma_qp *qp, struct ib_qp_init_attr *attrs,
attrs            2381 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	switch (attrs->qp_type) {
attrs            2400 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	status = ocrdma_set_create_qp_sq_cmd(cmd, attrs, qp);
attrs            2404 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	if (attrs->srq) {
attrs            2405 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		struct ocrdma_srq *srq = get_ocrdma_srq(attrs->srq);
attrs            2410 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		status = ocrdma_set_create_qp_rq_cmd(cmd, attrs, qp);
attrs            2431 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	cq = get_ocrdma_cq(attrs->send_cq);
attrs            2435 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	cq = get_ocrdma_cq(attrs->recv_cq);
attrs            2440 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	if (pd->dpp_enabled && attrs->cap.max_inline_data && pd->num_dpp_qp &&
attrs            2441 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	    (attrs->cap.max_inline_data <= dev->attr.max_inline_data)) {
attrs            2450 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	ocrdma_get_create_qp_rsp(rsp, qp, attrs, dpp_offset, dpp_credit_lmt);
attrs            2489 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 				struct ib_qp_attr *attrs,
attrs            2493 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	struct rdma_ah_attr *ah_attr = &attrs->ah_attr;
attrs            2575 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 				struct ib_qp_attr *attrs, int attr_mask)
attrs            2581 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.path_mtu_pkey_indx |= (attrs->pkey_index &
attrs            2586 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		qp->qkey = attrs->qkey;
attrs            2587 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.qkey = attrs->qkey;
attrs            2591 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		status = ocrdma_set_av_params(qp, cmd, attrs, attr_mask);
attrs            2604 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	    attrs->en_sqd_async_notify) {
attrs            2610 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.ack_to_rnr_rtc_dest_qpn |= (attrs->dest_qp_num &
attrs            2615 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		if (attrs->path_mtu < IB_MTU_512 ||
attrs            2616 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		    attrs->path_mtu > IB_MTU_4096) {
attrs            2618 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			       dev->id, ib_mtu_enum_to_int(attrs->path_mtu));
attrs            2623 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		    (ib_mtu_enum_to_int(attrs->path_mtu) <<
attrs            2629 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.ack_to_rnr_rtc_dest_qpn |= attrs->timeout <<
attrs            2634 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.rnt_rc_sl_fl |= (attrs->retry_cnt <<
attrs            2640 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.rnt_rc_sl_fl |= (attrs->min_rnr_timer <<
attrs            2646 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.ack_to_rnr_rtc_dest_qpn |= (attrs->rnr_retry <<
attrs            2652 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.tclass_sq_psn |= (attrs->sq_psn & 0x00ffffff);
attrs            2656 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		cmd->params.hop_lmt_rq_psn |= (attrs->rq_psn & 0x00ffffff);
attrs            2660 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		if (attrs->max_rd_atomic > dev->attr.max_ord_per_qp) {
attrs            2664 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		qp->max_ord = attrs->max_rd_atomic;
attrs            2668 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		if (attrs->max_dest_rd_atomic > dev->attr.max_ird_per_qp) {
attrs            2672 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		qp->max_ird = attrs->max_dest_rd_atomic;
attrs            2683 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			 struct ib_qp_attr *attrs, int attr_mask)
attrs            2696 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		    (get_ocrdma_qp_state(attrs->qp_state) <<
attrs            2706 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	status = ocrdma_set_qp_params(qp, cmd, attrs, attr_mask);
attrs             127 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_mbx_create_qp(struct ocrdma_qp *, struct ib_qp_init_attr *attrs,
attrs             131 drivers/infiniband/hw/ocrdma/ocrdma_hw.h 			 struct ib_qp_attr *attrs, int attr_mask);
attrs             143 drivers/infiniband/hw/ocrdma/ocrdma_main.c 	.attrs = ocrdma_attributes,
attrs            1111 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 				  struct ib_qp_init_attr *attrs,
attrs            1114 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if ((attrs->qp_type != IB_QPT_GSI) &&
attrs            1115 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	    (attrs->qp_type != IB_QPT_RC) &&
attrs            1116 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	    (attrs->qp_type != IB_QPT_UC) &&
attrs            1117 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	    (attrs->qp_type != IB_QPT_UD)) {
attrs            1119 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		       __func__, dev->id, attrs->qp_type);
attrs            1123 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if ((attrs->qp_type != IB_QPT_GSI) &&
attrs            1124 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	    (attrs->cap.max_send_wr > dev->attr.max_wqe)) {
attrs            1126 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		       __func__, dev->id, attrs->cap.max_send_wr);
attrs            1131 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if (!attrs->srq && (attrs->cap.max_recv_wr > dev->attr.max_rqe)) {
attrs            1133 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		       __func__, dev->id, attrs->cap.max_recv_wr);
attrs            1138 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if (attrs->cap.max_inline_data > dev->attr.max_inline_data) {
attrs            1140 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		       __func__, dev->id, attrs->cap.max_inline_data);
attrs            1145 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if (attrs->cap.max_send_sge > dev->attr.max_send_sge) {
attrs            1147 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		       __func__, dev->id, attrs->cap.max_send_sge);
attrs            1152 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if (attrs->cap.max_recv_sge > dev->attr.max_recv_sge) {
attrs            1154 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		       __func__, dev->id, attrs->cap.max_recv_sge);
attrs            1160 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if (udata && attrs->qp_type == IB_QPT_GSI) {
attrs            1163 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		     __func__, dev->id, attrs->qp_type);
attrs            1167 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if (attrs->qp_type == IB_QPT_GSI && dev->gsi_qp_created) {
attrs            1173 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if ((attrs->qp_type != IB_QPT_GSI) && (dev->gsi_qp_created)) {
attrs            1174 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		if ((dev->gsi_sqcq == get_ocrdma_cq(attrs->send_cq)) ||
attrs            1175 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			(dev->gsi_rqcq == get_ocrdma_cq(attrs->recv_cq))) {
attrs            1280 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 				      struct ib_qp_init_attr *attrs)
attrs            1287 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	qp->qp_type = attrs->qp_type;
attrs            1289 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	qp->max_inline_data = attrs->cap.max_inline_data;
attrs            1290 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	qp->sq.max_sges = attrs->cap.max_send_sge;
attrs            1291 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	qp->rq.max_sges = attrs->cap.max_recv_sge;
attrs            1293 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	qp->signaled = (attrs->sq_sig_type == IB_SIGNAL_ALL_WR) ? true : false;
attrs            1297 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 				   struct ib_qp_init_attr *attrs)
attrs            1299 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	if (attrs->qp_type == IB_QPT_GSI) {
attrs            1301 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		dev->gsi_sqcq = get_ocrdma_cq(attrs->send_cq);
attrs            1302 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		dev->gsi_rqcq = get_ocrdma_cq(attrs->recv_cq);
attrs            1307 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 			       struct ib_qp_init_attr *attrs,
attrs            1317 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	status = ocrdma_check_qp_params(ibpd, dev, attrs, udata);
attrs            1331 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ocrdma_set_qp_init_params(qp, pd, attrs);
attrs            1337 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	status = ocrdma_mbx_create_qp(qp, attrs, ureq.enable_dpp_cq,
attrs            1357 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 					      (attrs->srq != NULL));
attrs            1361 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	ocrdma_store_gsi_qp_cq(dev, attrs);
attrs            1689 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 	struct ib_qp_attr attrs;
attrs            1700 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		attrs.qp_state = IB_QPS_ERR;
attrs            1702 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c 		_ocrdma_modify_qp(ibqp, &attrs, attr_mask);
attrs              80 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h 			       struct ib_qp_init_attr *attrs,
attrs             152 drivers/infiniband/hw/qedr/main.c 	.attrs = qedr_attributes,
attrs              59 drivers/infiniband/hw/qedr/qedr_roce_cm.c 			  struct ib_qp_init_attr *attrs)
attrs              62 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	dev->gsi_sqcq = get_qedr_cq(attrs->send_cq);
attrs              63 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	dev->gsi_rqcq = get_qedr_cq(attrs->recv_cq);
attrs             133 drivers/infiniband/hw/qedr/qedr_roce_cm.c 				struct ib_qp_init_attr *attrs)
attrs             139 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	cq = get_qedr_cq(attrs->send_cq);
attrs             144 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	cq = get_qedr_cq(attrs->recv_cq);
attrs             154 drivers/infiniband/hw/qedr/qedr_roce_cm.c 					  struct ib_qp_init_attr *attrs)
attrs             156 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	if (attrs->cap.max_recv_sge > QEDR_GSI_MAX_RECV_SGE) {
attrs             159 drivers/infiniband/hw/qedr/qedr_roce_cm.c 		       attrs->cap.max_recv_sge, QEDR_GSI_MAX_RECV_SGE);
attrs             163 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	if (attrs->cap.max_recv_wr > QEDR_GSI_MAX_RECV_WR) {
attrs             166 drivers/infiniband/hw/qedr/qedr_roce_cm.c 		       attrs->cap.max_recv_wr, QEDR_GSI_MAX_RECV_WR);
attrs             170 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	if (attrs->cap.max_send_wr > QEDR_GSI_MAX_SEND_WR) {
attrs             173 drivers/infiniband/hw/qedr/qedr_roce_cm.c 		       attrs->cap.max_send_wr, QEDR_GSI_MAX_SEND_WR);
attrs             263 drivers/infiniband/hw/qedr/qedr_roce_cm.c 			  struct ib_qp_init_attr *attrs, struct qedr_qp *qp)
attrs             279 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	data.input.rx_num_desc = attrs->cap.max_recv_wr;
attrs             282 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	data.input.tx_num_desc = attrs->cap.max_send_wr;
attrs             323 drivers/infiniband/hw/qedr/qedr_roce_cm.c 				 struct ib_qp_init_attr *attrs,
attrs             328 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	rc = qedr_check_gsi_qp_attrs(dev, attrs);
attrs             332 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	rc = qedr_ll2_start(dev, attrs, qp);
attrs             340 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	qp->rq.max_wr = attrs->cap.max_recv_wr;
attrs             341 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	qp->sq.max_wr = attrs->cap.max_send_wr;
attrs             352 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	qedr_store_gsi_qp_cq(dev, qp, attrs);
attrs             356 drivers/infiniband/hw/qedr/qedr_roce_cm.c 	qedr_destroy_gsi_cq(dev, attrs);
attrs              54 drivers/infiniband/hw/qedr/qedr_roce_cm.h 				 struct ib_qp_init_attr *attrs,
attrs              57 drivers/infiniband/hw/qedr/qedr_roce_cm.h 			  struct qedr_qp *qp, struct ib_qp_init_attr *attrs);
attrs            1072 drivers/infiniband/hw/qedr/verbs.c 			       struct ib_qp_init_attr *attrs,
attrs            1078 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->qp_type != IB_QPT_RC && attrs->qp_type != IB_QPT_GSI) {
attrs            1081 drivers/infiniband/hw/qedr/verbs.c 			 attrs->qp_type);
attrs            1085 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->cap.max_send_wr > qattr->max_sqe) {
attrs            1088 drivers/infiniband/hw/qedr/verbs.c 		       attrs->cap.max_send_wr, qattr->max_sqe);
attrs            1092 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->cap.max_inline_data > qattr->max_inline) {
attrs            1095 drivers/infiniband/hw/qedr/verbs.c 		       attrs->cap.max_inline_data, qattr->max_inline);
attrs            1099 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->cap.max_send_sge > qattr->max_sge) {
attrs            1102 drivers/infiniband/hw/qedr/verbs.c 		       attrs->cap.max_send_sge, qattr->max_sge);
attrs            1106 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->cap.max_recv_sge > qattr->max_sge) {
attrs            1109 drivers/infiniband/hw/qedr/verbs.c 		       attrs->cap.max_recv_sge, qattr->max_sge);
attrs            1114 drivers/infiniband/hw/qedr/verbs.c 	if (udata && attrs->qp_type == IB_QPT_GSI) {
attrs            1117 drivers/infiniband/hw/qedr/verbs.c 		       attrs->qp_type);
attrs            1194 drivers/infiniband/hw/qedr/verbs.c 				      struct ib_qp_init_attr *attrs)
attrs            1202 drivers/infiniband/hw/qedr/verbs.c 	qp->qp_type = attrs->qp_type;
attrs            1203 drivers/infiniband/hw/qedr/verbs.c 	qp->max_inline_data = attrs->cap.max_inline_data;
attrs            1204 drivers/infiniband/hw/qedr/verbs.c 	qp->sq.max_sges = attrs->cap.max_send_sge;
attrs            1206 drivers/infiniband/hw/qedr/verbs.c 	qp->signaled = (attrs->sq_sig_type == IB_SIGNAL_ALL_WR) ? true : false;
attrs            1207 drivers/infiniband/hw/qedr/verbs.c 	qp->sq_cq = get_qedr_cq(attrs->send_cq);
attrs            1210 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->srq) {
attrs            1211 drivers/infiniband/hw/qedr/verbs.c 		qp->srq = get_qedr_srq(attrs->srq);
attrs            1213 drivers/infiniband/hw/qedr/verbs.c 		qp->rq_cq = get_qedr_cq(attrs->recv_cq);
attrs            1214 drivers/infiniband/hw/qedr/verbs.c 		qp->rq.max_sges = attrs->cap.max_recv_sge;
attrs            1223 drivers/infiniband/hw/qedr/verbs.c 		 qp->state, qp->signaled, (attrs->srq) ? 1 : 0);
attrs            1242 drivers/infiniband/hw/qedr/verbs.c 				 struct ib_srq_init_attr *attrs,
attrs            1247 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->attr.max_wr > qattr->max_srq_wr) {
attrs            1250 drivers/infiniband/hw/qedr/verbs.c 		       attrs->attr.max_wr, qattr->max_srq_wr);
attrs            1254 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->attr.max_sge > qattr->max_sge) {
attrs            1257 drivers/infiniband/hw/qedr/verbs.c 		       attrs->attr.max_sge, qattr->max_sge);
attrs            1517 drivers/infiniband/hw/qedr/verbs.c 			      struct ib_qp_init_attr *attrs,
attrs            1525 drivers/infiniband/hw/qedr/verbs.c 	params->signal_all = (attrs->sq_sig_type == IB_SIGNAL_ALL_WR);
attrs            1529 drivers/infiniband/hw/qedr/verbs.c 	params->sq_cq_id = get_qedr_cq(attrs->send_cq)->icid;
attrs            1535 drivers/infiniband/hw/qedr/verbs.c 		params->rq_cq_id = get_qedr_cq(attrs->recv_cq)->icid;
attrs            1538 drivers/infiniband/hw/qedr/verbs.c 		params->rq_cq_id = get_qedr_cq(attrs->recv_cq)->icid;
attrs            1598 drivers/infiniband/hw/qedr/verbs.c 			       struct ib_qp_init_attr *attrs)
attrs            1630 drivers/infiniband/hw/qedr/verbs.c 	qedr_init_common_qp_in_params(dev, pd, qp, attrs, false, &in_params);
attrs            1811 drivers/infiniband/hw/qedr/verbs.c 				 struct ib_qp_init_attr *attrs)
attrs            1833 drivers/infiniband/hw/qedr/verbs.c 	qp->sq.max_wr = min_t(u32, attrs->cap.max_send_wr * dev->wq_multiplier,
attrs            1851 drivers/infiniband/hw/qedr/verbs.c 	qp->rq.max_wr = (u16) max_t(u32, attrs->cap.max_recv_wr, 1);
attrs            1863 drivers/infiniband/hw/qedr/verbs.c 	qedr_init_common_qp_in_params(dev, pd, qp, attrs, true, &in_params);
attrs            1865 drivers/infiniband/hw/qedr/verbs.c 	n_sq_entries = attrs->cap.max_send_wr;
attrs            1885 drivers/infiniband/hw/qedr/verbs.c 			     struct ib_qp_init_attr *attrs,
attrs            1897 drivers/infiniband/hw/qedr/verbs.c 	rc = qedr_check_qp_attrs(ibpd, dev, attrs, udata);
attrs            1903 drivers/infiniband/hw/qedr/verbs.c 		 udata ? "user library" : "kernel", attrs->event_handler, pd,
attrs            1904 drivers/infiniband/hw/qedr/verbs.c 		 get_qedr_cq(attrs->send_cq),
attrs            1905 drivers/infiniband/hw/qedr/verbs.c 		 get_qedr_cq(attrs->send_cq)->icid,
attrs            1906 drivers/infiniband/hw/qedr/verbs.c 		 get_qedr_cq(attrs->recv_cq),
attrs            1907 drivers/infiniband/hw/qedr/verbs.c 		 attrs->recv_cq ? get_qedr_cq(attrs->recv_cq)->icid : 0);
attrs            1915 drivers/infiniband/hw/qedr/verbs.c 	qedr_set_common_qp_params(dev, qp, pd, attrs);
attrs            1917 drivers/infiniband/hw/qedr/verbs.c 	if (attrs->qp_type == IB_QPT_GSI) {
attrs            1918 drivers/infiniband/hw/qedr/verbs.c 		ibqp = qedr_create_gsi_qp(dev, attrs, qp);
attrs            1925 drivers/infiniband/hw/qedr/verbs.c 		rc = qedr_create_user_qp(dev, qp, ibpd, udata, attrs);
attrs            1927 drivers/infiniband/hw/qedr/verbs.c 		rc = qedr_create_kernel_qp(dev, qp, ibpd, attrs);
attrs              58 drivers/infiniband/hw/qedr/verbs.h struct ib_qp *qedr_create_qp(struct ib_pd *, struct ib_qp_init_attr *attrs,
attrs             738 drivers/infiniband/hw/qib/qib_sysfs.c 	.attrs = qib_attributes,
attrs             188 drivers/infiniband/hw/usnic/usnic_ib_sysfs.c 	.attrs = usnic_class_attributes,
attrs             399 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	struct pvrdma_port_attr attrs;
attrs             516 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	struct pvrdma_srq_attr attrs;
attrs             531 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	struct pvrdma_srq_attr attrs;
attrs             542 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	struct pvrdma_srq_attr attrs;
attrs             588 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	struct pvrdma_qp_attr attrs;
attrs             599 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h 	struct pvrdma_qp_attr attrs;
attrs              97 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	.attrs = pvrdma_class_attributes,
attrs             533 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.qp_state = ib_qp_state_to_pvrdma(attr->qp_state);
attrs             534 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.cur_qp_state =
attrs             536 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.path_mtu = ib_mtu_to_pvrdma(attr->path_mtu);
attrs             537 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.path_mig_state =
attrs             539 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.qkey = attr->qkey;
attrs             540 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.rq_psn = attr->rq_psn;
attrs             541 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.sq_psn = attr->sq_psn;
attrs             542 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.dest_qp_num = attr->dest_qp_num;
attrs             543 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.qp_access_flags =
attrs             545 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.pkey_index = attr->pkey_index;
attrs             546 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.alt_pkey_index = attr->alt_pkey_index;
attrs             547 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.en_sqd_async_notify = attr->en_sqd_async_notify;
attrs             548 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.sq_draining = attr->sq_draining;
attrs             549 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.max_rd_atomic = attr->max_rd_atomic;
attrs             550 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.max_dest_rd_atomic = attr->max_dest_rd_atomic;
attrs             551 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.min_rnr_timer = attr->min_rnr_timer;
attrs             552 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.port_num = attr->port_num;
attrs             553 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.timeout = attr->timeout;
attrs             554 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.retry_cnt = attr->retry_cnt;
attrs             555 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.rnr_retry = attr->rnr_retry;
attrs             556 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.alt_port_num = attr->alt_port_num;
attrs             557 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	cmd->attrs.alt_timeout = attr->alt_timeout;
attrs             558 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	ib_qp_cap_to_pvrdma(&cmd->attrs.cap, &attr->cap);
attrs             559 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	rdma_ah_attr_to_pvrdma(&cmd->attrs.ah_attr, &attr->ah_attr);
attrs             560 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	rdma_ah_attr_to_pvrdma(&cmd->attrs.alt_ah_attr, &attr->alt_ah_attr);
attrs             951 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->qp_state = pvrdma_qp_state_to_ib(resp->attrs.qp_state);
attrs             953 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		pvrdma_qp_state_to_ib(resp->attrs.cur_qp_state);
attrs             954 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->path_mtu = pvrdma_mtu_to_ib(resp->attrs.path_mtu);
attrs             956 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		pvrdma_mig_state_to_ib(resp->attrs.path_mig_state);
attrs             957 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->qkey = resp->attrs.qkey;
attrs             958 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->rq_psn = resp->attrs.rq_psn;
attrs             959 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->sq_psn = resp->attrs.sq_psn;
attrs             960 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->dest_qp_num = resp->attrs.dest_qp_num;
attrs             962 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 		pvrdma_access_flags_to_ib(resp->attrs.qp_access_flags);
attrs             963 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->pkey_index = resp->attrs.pkey_index;
attrs             964 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->alt_pkey_index = resp->attrs.alt_pkey_index;
attrs             965 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->en_sqd_async_notify = resp->attrs.en_sqd_async_notify;
attrs             966 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->sq_draining = resp->attrs.sq_draining;
attrs             967 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->max_rd_atomic = resp->attrs.max_rd_atomic;
attrs             968 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->max_dest_rd_atomic = resp->attrs.max_dest_rd_atomic;
attrs             969 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->min_rnr_timer = resp->attrs.min_rnr_timer;
attrs             970 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->port_num = resp->attrs.port_num;
attrs             971 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->timeout = resp->attrs.timeout;
attrs             972 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->retry_cnt = resp->attrs.retry_cnt;
attrs             973 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->rnr_retry = resp->attrs.rnr_retry;
attrs             974 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->alt_port_num = resp->attrs.alt_port_num;
attrs             975 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	attr->alt_timeout = resp->attrs.alt_timeout;
attrs             976 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	pvrdma_qp_cap_to_ib(&attr->cap, &resp->attrs.cap);
attrs             977 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	pvrdma_ah_attr_to_rdma(&attr->ah_attr, &resp->attrs.ah_attr);
attrs             978 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c 	pvrdma_ah_attr_to_rdma(&attr->alt_ah_attr, &resp->attrs.alt_ah_attr);
attrs              84 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	srq_attr->srq_limit = resp->attrs.srq_limit;
attrs              85 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	srq_attr->max_wr = resp->attrs.max_wr;
attrs              86 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	srq_attr->max_sge = resp->attrs.max_sge;
attrs             178 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	cmd->attrs.max_wr = init_attr->attr.max_wr;
attrs             179 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	cmd->attrs.max_sge = init_attr->attr.max_sge;
attrs             180 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	cmd->attrs.srq_limit = init_attr->attr.srq_limit;
attrs             289 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c 	cmd->attrs.srq_limit = attr->srq_limit;
attrs             151 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->state = pvrdma_port_state_to_ib(resp->attrs.state);
attrs             152 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_mtu = pvrdma_mtu_to_ib(resp->attrs.max_mtu);
attrs             153 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->active_mtu = pvrdma_mtu_to_ib(resp->attrs.active_mtu);
attrs             154 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->gid_tbl_len = resp->attrs.gid_tbl_len;
attrs             156 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 		pvrdma_port_cap_flags_to_ib(resp->attrs.port_cap_flags);
attrs             159 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_msg_sz = resp->attrs.max_msg_sz;
attrs             160 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->bad_pkey_cntr = resp->attrs.bad_pkey_cntr;
attrs             161 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->qkey_viol_cntr = resp->attrs.qkey_viol_cntr;
attrs             162 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->pkey_tbl_len = resp->attrs.pkey_tbl_len;
attrs             163 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->lid = resp->attrs.lid;
attrs             164 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->sm_lid = resp->attrs.sm_lid;
attrs             165 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->lmc = resp->attrs.lmc;
attrs             166 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->max_vl_num = resp->attrs.max_vl_num;
attrs             167 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->sm_sl = resp->attrs.sm_sl;
attrs             168 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->subnet_timeout = resp->attrs.subnet_timeout;
attrs             169 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->init_type_reply = resp->attrs.init_type_reply;
attrs             170 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->active_width = pvrdma_port_width_to_ib(resp->attrs.active_width);
attrs             171 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->active_speed = pvrdma_port_speed_to_ib(resp->attrs.active_speed);
attrs             172 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c 	props->phys_state = resp->attrs.phys_state;
attrs            1089 drivers/infiniband/sw/rxe/rxe_verbs.c 	.attrs = rxe_dev_attributes,
attrs              74 drivers/infiniband/sw/siw/siw.h 	struct siw_dev_cap attrs;
attrs             438 drivers/infiniband/sw/siw/siw.h 	struct siw_qp_attrs attrs;
attrs             641 drivers/infiniband/sw/siw/siw.h 	struct siw_sqe *sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size];
attrs             648 drivers/infiniband/sw/siw/siw.h 	struct siw_sqe *sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size];
attrs             658 drivers/infiniband/sw/siw/siw.h 	return &qp->orq[qp->orq_get % qp->attrs.orq_size];
attrs             663 drivers/infiniband/sw/siw/siw.h 	return &qp->orq[qp->orq_put % qp->attrs.orq_size];
attrs             678 drivers/infiniband/sw/siw/siw.h 	return qp->orq[qp->orq_get % qp->attrs.orq_size].flags == 0 ? 1 : 0;
attrs             683 drivers/infiniband/sw/siw/siw.h 	struct siw_sqe *irq_e = &qp->irq[qp->irq_put % qp->attrs.irq_size];
attrs              79 drivers/infiniband/sw/siw/siw_cm.c 	qp->attrs.sk = s;
attrs             795 drivers/infiniband/sw/siw/siw_cm.c 		     rep_ord > cep->sdev->attrs.max_ird)) {
attrs             798 drivers/infiniband/sw/siw/siw_cm.c 				    cep->sdev->attrs.max_ord);
attrs             872 drivers/infiniband/sw/siw/siw_cm.c 	if (qp->attrs.state > SIW_QP_STATE_RTR) {
attrs            1351 drivers/infiniband/sw/siw/siw_cm.c 	if (params->ird > sdev->attrs.max_ird ||
attrs            1352 drivers/infiniband/sw/siw/siw_cm.c 	    params->ord > sdev->attrs.max_ord)
attrs            1597 drivers/infiniband/sw/siw/siw_cm.c 	if (qp->attrs.state > SIW_QP_STATE_RTR) {
attrs            1608 drivers/infiniband/sw/siw/siw_cm.c 	if (params->ord > sdev->attrs.max_ord ||
attrs            1609 drivers/infiniband/sw/siw/siw_cm.c 	    params->ird > sdev->attrs.max_ird) {
attrs            1613 drivers/infiniband/sw/siw/siw_cm.c 			qp_id(qp), params->ord, sdev->attrs.max_ord,
attrs            1614 drivers/infiniband/sw/siw/siw_cm.c 			params->ird, sdev->attrs.max_ird);
attrs            1645 drivers/infiniband/sw/siw/siw_cm.c 			    cep->ird <= sdev->attrs.max_ird)
attrs             396 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_qp = SIW_MAX_QP;
attrs             397 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_qp_wr = SIW_MAX_QP_WR;
attrs             398 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_ord = SIW_MAX_ORD_QP;
attrs             399 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_ird = SIW_MAX_IRD_QP;
attrs             400 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_sge = SIW_MAX_SGE;
attrs             401 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_sge_rd = SIW_MAX_SGE_RD;
attrs             402 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_cq = SIW_MAX_CQ;
attrs             403 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_cqe = SIW_MAX_CQE;
attrs             404 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_mr = SIW_MAX_MR;
attrs             405 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_pd = SIW_MAX_PD;
attrs             406 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_mw = SIW_MAX_MW;
attrs             407 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_fmr = SIW_MAX_FMR;
attrs             408 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_srq = SIW_MAX_SRQ;
attrs             409 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_srq_wr = SIW_MAX_SRQ_WR;
attrs             410 drivers/infiniband/sw/siw/siw_main.c 	sdev->attrs.max_srq_sge = SIW_MAX_SGE;
attrs             108 drivers/infiniband/sw/siw/siw_qp.c 		if (likely(qp->attrs.state == SIW_QP_STATE_RTS))
attrs             129 drivers/infiniband/sw/siw/siw_qp.c 		   siw_qp_state_to_string[qp->attrs.state]);
attrs             135 drivers/infiniband/sw/siw/siw_qp.c 	qp->attrs.sk = NULL;
attrs             137 drivers/infiniband/sw/siw/siw_qp.c 	switch (qp->attrs.state) {
attrs             142 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_ERROR;
attrs             152 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.state = SIW_QP_STATE_ERROR;
attrs             154 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.state = SIW_QP_STATE_IDLE;
attrs             159 drivers/infiniband/sw/siw/siw_qp.c 			   siw_qp_state_to_string[qp->attrs.state]);
attrs             176 drivers/infiniband/sw/siw/siw_qp.c 		   siw_qp_state_to_string[qp->attrs.state]);
attrs             205 drivers/infiniband/sw/siw/siw_qp.c 	qp->attrs.irq_size = irq_size;
attrs             206 drivers/infiniband/sw/siw/siw_qp.c 	qp->attrs.orq_size = orq_size;
attrs             211 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.irq_size = 0;
attrs             217 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.orq_size = 0;
attrs             218 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.irq_size = 0;
attrs             392 drivers/infiniband/sw/siw/siw_qp.c 	struct socket *s = qp->attrs.sk;
attrs             612 drivers/infiniband/sw/siw/siw_qp.c 				   struct siw_qp_attrs *attrs,
attrs             616 drivers/infiniband/sw/siw/siw_qp.c 		if (attrs->flags & SIW_RDMA_BIND_ENABLED)
attrs             617 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.flags |= SIW_RDMA_BIND_ENABLED;
attrs             619 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.flags &= ~SIW_RDMA_BIND_ENABLED;
attrs             621 drivers/infiniband/sw/siw/siw_qp.c 		if (attrs->flags & SIW_RDMA_WRITE_ENABLED)
attrs             622 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.flags |= SIW_RDMA_WRITE_ENABLED;
attrs             624 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.flags &= ~SIW_RDMA_WRITE_ENABLED;
attrs             626 drivers/infiniband/sw/siw/siw_qp.c 		if (attrs->flags & SIW_RDMA_READ_ENABLED)
attrs             627 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.flags |= SIW_RDMA_READ_ENABLED;
attrs             629 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.flags &= ~SIW_RDMA_READ_ENABLED;
attrs             634 drivers/infiniband/sw/siw/siw_qp.c 				      struct siw_qp_attrs *attrs,
attrs             639 drivers/infiniband/sw/siw/siw_qp.c 	switch (attrs->state) {
attrs             641 drivers/infiniband/sw/siw/siw_qp.c 		if (attrs->flags & SIW_MPA_CRC) {
attrs             674 drivers/infiniband/sw/siw/siw_qp.c 		rv = siw_qp_readq_init(qp, attrs->irq_size,
attrs             675 drivers/infiniband/sw/siw/siw_qp.c 				       attrs->orq_size);
attrs             679 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.sk = attrs->sk;
attrs             680 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_RTS;
attrs             683 drivers/infiniband/sw/siw/siw_qp.c 			   attrs->flags & SIW_MPA_CRC ? "y" : "n",
attrs             684 drivers/infiniband/sw/siw/siw_qp.c 			   qp->attrs.orq_size, qp->attrs.irq_size);
attrs             689 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_ERROR;
attrs             703 drivers/infiniband/sw/siw/siw_qp.c 				     struct siw_qp_attrs *attrs)
attrs             707 drivers/infiniband/sw/siw/siw_qp.c 	switch (attrs->state) {
attrs             718 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.state = SIW_QP_STATE_CLOSING;
attrs             720 drivers/infiniband/sw/siw/siw_qp.c 			qp->attrs.state = SIW_QP_STATE_ERROR;
attrs             729 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_TERMINATE;
attrs             753 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_ERROR;
attrs             764 drivers/infiniband/sw/siw/siw_qp.c 				       struct siw_qp_attrs *attrs)
attrs             766 drivers/infiniband/sw/siw/siw_qp.c 	switch (attrs->state) {
attrs             769 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_ERROR;
attrs             781 drivers/infiniband/sw/siw/siw_qp.c 				       struct siw_qp_attrs *attrs)
attrs             785 drivers/infiniband/sw/siw/siw_qp.c 	switch (attrs->state) {
attrs             788 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_IDLE;
attrs             803 drivers/infiniband/sw/siw/siw_qp.c 		qp->attrs.state = SIW_QP_STATE_ERROR;
attrs             813 drivers/infiniband/sw/siw/siw_qp.c 			   siw_qp_state_to_string[qp->attrs.state],
attrs             814 drivers/infiniband/sw/siw/siw_qp.c 			   siw_qp_state_to_string[attrs->state]);
attrs             824 drivers/infiniband/sw/siw/siw_qp.c int siw_qp_modify(struct siw_qp *qp, struct siw_qp_attrs *attrs,
attrs             833 drivers/infiniband/sw/siw/siw_qp.c 		   siw_qp_state_to_string[qp->attrs.state],
attrs             834 drivers/infiniband/sw/siw/siw_qp.c 		   siw_qp_state_to_string[attrs->state]);
attrs             837 drivers/infiniband/sw/siw/siw_qp.c 		siw_qp_modify_nonstate(qp, attrs, mask);
attrs             842 drivers/infiniband/sw/siw/siw_qp.c 	switch (qp->attrs.state) {
attrs             845 drivers/infiniband/sw/siw/siw_qp.c 		rv = siw_qp_nextstate_from_idle(qp, attrs, mask);
attrs             849 drivers/infiniband/sw/siw/siw_qp.c 		drop_conn = siw_qp_nextstate_from_rts(qp, attrs);
attrs             853 drivers/infiniband/sw/siw/siw_qp.c 		siw_qp_nextstate_from_term(qp, attrs);
attrs             857 drivers/infiniband/sw/siw/siw_qp.c 		siw_qp_nextstate_from_close(qp, attrs);
attrs             892 drivers/infiniband/sw/siw/siw_qp.c 	irqe = &qp->irq[qp->irq_get % qp->attrs.irq_size];
attrs            1184 drivers/infiniband/sw/siw/siw_qp.c 	while (qp->attrs.orq_size) {
attrs            1185 drivers/infiniband/sw/siw/siw_qp.c 		sqe = &qp->orq[qp->orq_get % qp->attrs.orq_size];
attrs            1220 drivers/infiniband/sw/siw/siw_qp.c 	while (qp->attrs.sq_size) {
attrs            1221 drivers/infiniband/sw/siw/siw_qp.c 		sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size];
attrs            1283 drivers/infiniband/sw/siw/siw_qp.c 	while (qp->attrs.rq_size) {
attrs            1285 drivers/infiniband/sw/siw/siw_qp.c 			&qp->recvq[qp->rq_get % qp->attrs.rq_size];
attrs             348 drivers/infiniband/sw/siw/siw_qp_rx.c 		rqe = &qp->recvq[qp->rq_get % qp->attrs.rq_size];
attrs             715 drivers/infiniband/sw/siw/siw_qp_rx.c 			qp->irq_put % qp->attrs.irq_size, qp->attrs.irq_size);
attrs             799 drivers/infiniband/sw/siw/siw_qp_rx.c 				qp_id(qp), qp->orq_get % qp->attrs.orq_size);
attrs             784 drivers/infiniband/sw/siw/siw_qp_tx.c 	struct socket *s = qp->attrs.sk;
attrs            1114 drivers/infiniband/sw/siw/siw_qp_tx.c 			qp->orq[qp->orq_put % qp->attrs.orq_size].flags = 0;
attrs            1164 drivers/infiniband/sw/siw/siw_qp_tx.c 		if (likely(qp->attrs.state == SIW_QP_STATE_RTS &&
attrs             168 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_cq = sdev->attrs.max_cq;
attrs             169 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_cqe = sdev->attrs.max_cqe;
attrs             171 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_fmr = sdev->attrs.max_fmr;
attrs             172 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_mr = sdev->attrs.max_mr;
attrs             173 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_mw = sdev->attrs.max_mw;
attrs             175 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_pd = sdev->attrs.max_pd;
attrs             176 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_qp = sdev->attrs.max_qp;
attrs             177 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_qp_init_rd_atom = sdev->attrs.max_ird;
attrs             178 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_qp_rd_atom = sdev->attrs.max_ord;
attrs             179 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_qp_wr = sdev->attrs.max_qp_wr;
attrs             180 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_recv_sge = sdev->attrs.max_sge;
attrs             181 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_res_rd_atom = sdev->attrs.max_qp * sdev->attrs.max_ird;
attrs             182 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_send_sge = sdev->attrs.max_sge;
attrs             183 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_sge_rd = sdev->attrs.max_sge_rd;
attrs             184 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_srq = sdev->attrs.max_srq;
attrs             185 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_srq_sge = sdev->attrs.max_srq_sge;
attrs             186 drivers/infiniband/sw/siw/siw_verbs.c 	attr->max_srq_wr = sdev->attrs.max_srq_wr;
attrs             307 drivers/infiniband/sw/siw/siw_verbs.c 			    struct ib_qp_init_attr *attrs,
attrs             328 drivers/infiniband/sw/siw/siw_verbs.c 	if (attrs->qp_type != IB_QPT_RC) {
attrs             333 drivers/infiniband/sw/siw/siw_verbs.c 	if ((attrs->cap.max_send_wr > SIW_MAX_QP_WR) ||
attrs             334 drivers/infiniband/sw/siw/siw_verbs.c 	    (attrs->cap.max_recv_wr > SIW_MAX_QP_WR) ||
attrs             335 drivers/infiniband/sw/siw/siw_verbs.c 	    (attrs->cap.max_send_sge > SIW_MAX_SGE) ||
attrs             336 drivers/infiniband/sw/siw/siw_verbs.c 	    (attrs->cap.max_recv_sge > SIW_MAX_SGE)) {
attrs             341 drivers/infiniband/sw/siw/siw_verbs.c 	if (attrs->cap.max_inline_data > SIW_MAX_INLINE) {
attrs             343 drivers/infiniband/sw/siw/siw_verbs.c 			attrs->cap.max_inline_data, (int)SIW_MAX_INLINE);
attrs             351 drivers/infiniband/sw/siw/siw_verbs.c 	if (attrs->cap.max_send_wr + attrs->cap.max_recv_wr == 0) {
attrs             356 drivers/infiniband/sw/siw/siw_verbs.c 	scq = to_siw_cq(attrs->send_cq);
attrs             357 drivers/infiniband/sw/siw/siw_verbs.c 	rcq = to_siw_cq(attrs->recv_cq);
attrs             359 drivers/infiniband/sw/siw/siw_verbs.c 	if (!scq || (!rcq && !attrs->srq)) {
attrs             395 drivers/infiniband/sw/siw/siw_verbs.c 	num_sqe = roundup_pow_of_two(attrs->cap.max_send_wr);
attrs             396 drivers/infiniband/sw/siw/siw_verbs.c 	num_rqe = roundup_pow_of_two(attrs->cap.max_recv_wr);
attrs             408 drivers/infiniband/sw/siw/siw_verbs.c 	if (attrs->sq_sig_type != IB_SIGNAL_REQ_WR) {
attrs             409 drivers/infiniband/sw/siw/siw_verbs.c 		if (attrs->sq_sig_type == IB_SIGNAL_ALL_WR)
attrs             410 drivers/infiniband/sw/siw/siw_verbs.c 			qp->attrs.flags |= SIW_SIGNAL_ALL_WR;
attrs             420 drivers/infiniband/sw/siw/siw_verbs.c 	if (attrs->srq) {
attrs             426 drivers/infiniband/sw/siw/siw_verbs.c 		qp->srq = to_siw_srq(attrs->srq);
attrs             427 drivers/infiniband/sw/siw/siw_verbs.c 		qp->attrs.rq_size = 0;
attrs             441 drivers/infiniband/sw/siw/siw_verbs.c 		qp->attrs.rq_size = num_rqe;
attrs             443 drivers/infiniband/sw/siw/siw_verbs.c 	qp->attrs.sq_size = num_sqe;
attrs             444 drivers/infiniband/sw/siw/siw_verbs.c 	qp->attrs.sq_max_sges = attrs->cap.max_send_sge;
attrs             445 drivers/infiniband/sw/siw/siw_verbs.c 	qp->attrs.rq_max_sges = attrs->cap.max_recv_sge;
attrs             451 drivers/infiniband/sw/siw/siw_verbs.c 	qp->attrs.state = SIW_QP_STATE_IDLE;
attrs             536 drivers/infiniband/sw/siw/siw_verbs.c 	qp_attr->cap.max_send_wr = qp->attrs.sq_size;
attrs             537 drivers/infiniband/sw/siw/siw_verbs.c 	qp_attr->cap.max_send_sge = qp->attrs.sq_max_sges;
attrs             538 drivers/infiniband/sw/siw/siw_verbs.c 	qp_attr->cap.max_recv_wr = qp->attrs.rq_size;
attrs             539 drivers/infiniband/sw/siw/siw_verbs.c 	qp_attr->cap.max_recv_sge = qp->attrs.rq_max_sges;
attrs             541 drivers/infiniband/sw/siw/siw_verbs.c 	qp_attr->max_rd_atomic = qp->attrs.irq_size;
attrs             542 drivers/infiniband/sw/siw/siw_verbs.c 	qp_attr->max_dest_rd_atomic = qp->attrs.orq_size;
attrs             612 drivers/infiniband/sw/siw/siw_verbs.c 	siw_dbg_qp(qp, "state %d\n", qp->attrs.state);
attrs             618 drivers/infiniband/sw/siw/siw_verbs.c 	qp->attrs.flags |= SIW_QP_IN_DESTROY;
attrs             758 drivers/infiniband/sw/siw/siw_verbs.c 		if (qp->attrs.state == SIW_QP_STATE_ERROR) {
attrs             771 drivers/infiniband/sw/siw/siw_verbs.c 				   qp->attrs.state);
attrs             777 drivers/infiniband/sw/siw/siw_verbs.c 	if (unlikely(qp->attrs.state != SIW_QP_STATE_RTS)) {
attrs             778 drivers/infiniband/sw/siw/siw_verbs.c 		if (qp->attrs.state == SIW_QP_STATE_ERROR) {
attrs             789 drivers/infiniband/sw/siw/siw_verbs.c 				   qp->attrs.state);
attrs             799 drivers/infiniband/sw/siw/siw_verbs.c 		u32 idx = qp->sq_put % qp->attrs.sq_size;
attrs             807 drivers/infiniband/sw/siw/siw_verbs.c 		if (wr->num_sge > qp->attrs.sq_max_sges) {
attrs             815 drivers/infiniband/sw/siw/siw_verbs.c 		    (qp->attrs.flags & SIW_SIGNAL_ALL_WR))
attrs            1000 drivers/infiniband/sw/siw/siw_verbs.c 		if (qp->attrs.state == SIW_QP_STATE_ERROR) {
attrs            1013 drivers/infiniband/sw/siw/siw_verbs.c 				   qp->attrs.state);
attrs            1019 drivers/infiniband/sw/siw/siw_verbs.c 	if (qp->attrs.state > SIW_QP_STATE_RTS) {
attrs            1020 drivers/infiniband/sw/siw/siw_verbs.c 		if (qp->attrs.state == SIW_QP_STATE_ERROR) {
attrs            1031 drivers/infiniband/sw/siw/siw_verbs.c 				   qp->attrs.state);
attrs            1045 drivers/infiniband/sw/siw/siw_verbs.c 		u32 idx = qp->rq_put % qp->attrs.rq_size;
attrs            1053 drivers/infiniband/sw/siw/siw_verbs.c 		if (wr->num_sge > qp->attrs.rq_max_sges) {
attrs            1123 drivers/infiniband/sw/siw/siw_verbs.c 	if (size < 1 || size > sdev->attrs.max_cqe) {
attrs            1573 drivers/infiniband/sw/siw/siw_verbs.c 	struct ib_srq_attr *attrs = &init_attrs->attr;
attrs            1585 drivers/infiniband/sw/siw/siw_verbs.c 	if (attrs->max_wr == 0 || attrs->max_wr > SIW_MAX_SRQ_WR ||
attrs            1586 drivers/infiniband/sw/siw/siw_verbs.c 	    attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) {
attrs            1590 drivers/infiniband/sw/siw/siw_verbs.c 	srq->max_sge = attrs->max_sge;
attrs            1591 drivers/infiniband/sw/siw/siw_verbs.c 	srq->num_rqe = roundup_pow_of_two(attrs->max_wr);
attrs            1593 drivers/infiniband/sw/siw/siw_verbs.c 	srq->limit = attrs->srq_limit;
attrs            1656 drivers/infiniband/sw/siw/siw_verbs.c int siw_modify_srq(struct ib_srq *base_srq, struct ib_srq_attr *attrs,
attrs            1671 drivers/infiniband/sw/siw/siw_verbs.c 		if (attrs->srq_limit) {
attrs            1672 drivers/infiniband/sw/siw/siw_verbs.c 			if (unlikely(attrs->srq_limit > srq->num_rqe)) {
attrs            1680 drivers/infiniband/sw/siw/siw_verbs.c 		srq->limit = attrs->srq_limit;
attrs            1693 drivers/infiniband/sw/siw/siw_verbs.c int siw_query_srq(struct ib_srq *base_srq, struct ib_srq_attr *attrs)
attrs            1700 drivers/infiniband/sw/siw/siw_verbs.c 	attrs->max_wr = srq->num_rqe;
attrs            1701 drivers/infiniband/sw/siw/siw_verbs.c 	attrs->max_sge = srq->max_sge;
attrs            1702 drivers/infiniband/sw/siw/siw_verbs.c 	attrs->srq_limit = srq->limit;
attrs            1809 drivers/infiniband/sw/siw/siw_verbs.c 	if (qp->attrs.flags & SIW_QP_IN_DESTROY)
attrs            1074 drivers/infiniband/ulp/ipoib/ipoib_cm.c 		attr.cap.max_send_sge = min_t(u32, priv->ca->attrs.max_send_sge,
attrs            1606 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	ipoib_dbg(priv, "max_srq_sge=%d\n", priv->ca->attrs.max_srq_sge);
attrs            1608 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	max_srq_sge = min_t(int, IPOIB_CM_RX_SG, priv->ca->attrs.max_srq_sge);
attrs            1843 drivers/infiniband/ulp/ipoib/ipoib_main.c 	priv->hca_caps = priv->ca->attrs.device_cap_flags;
attrs            2176 drivers/infiniband/ulp/ipoib/ipoib_main.c 	if (hca->attrs.device_cap_flags & IB_DEVICE_VIRTUAL_FUNCTION)
attrs             150 drivers/infiniband/ulp/ipoib/ipoib_verbs.c 			.max_send_sge = min_t(u32, priv->ca->attrs.max_send_sge,
attrs             647 drivers/infiniband/ulp/iser/iscsi_iser.c 			u32 sig_caps = ib_dev->attrs.sig_prot_cap;
attrs             655 drivers/infiniband/ulp/iser/iscsi_iser.c 		if (!(ib_dev->attrs.device_cap_flags & IB_DEVICE_SG_GAPS_REG))
attrs              84 drivers/infiniband/ulp/iser/iser_memory.c 	} else if (ib_dev->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS) {
attrs              85 drivers/infiniband/ulp/iser/iser_verbs.c 	max_cqe = min(ISER_MAX_CQ_LEN, ib_dev->attrs.max_cqe);
attrs             251 drivers/infiniband/ulp/iser/iser_verbs.c 	if (ib_dev->attrs.device_cap_flags & IB_DEVICE_SG_GAPS_REG)
attrs             406 drivers/infiniband/ulp/iser/iser_verbs.c 		if (ib_dev->attrs.max_qp_wr > ISER_QP_MAX_REQ_DTOS) {
attrs             411 drivers/infiniband/ulp/iser/iser_verbs.c 			init_attr.cap.max_send_wr = ib_dev->attrs.max_qp_wr;
attrs             413 drivers/infiniband/ulp/iser/iser_verbs.c 				ISER_GET_MAX_XMIT_CMDS(ib_dev->attrs.max_qp_wr);
attrs             416 drivers/infiniband/ulp/iser/iser_verbs.c 				 ib_dev->attrs.max_qp_wr);
attrs             651 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_device_attr *attr = &device->ib_device->attrs;
attrs             714 drivers/infiniband/ulp/iser/iser_verbs.c 		if (!(device->ib_device->attrs.device_cap_flags &
attrs             756 drivers/infiniband/ulp/iser/iser_verbs.c 	conn_param.responder_resources = device->ib_device->attrs.max_qp_rd_atom;
attrs             131 drivers/infiniband/ulp/isert/ib_isert.c 	attr.cap.max_send_sge = device->ib_device->attrs.max_send_sge;
attrs             266 drivers/infiniband/ulp/isert/ib_isert.c 	max_cqe = min(ISER_MAX_CQ_LEN, device->ib_device->attrs.max_cqe);
attrs             295 drivers/infiniband/ulp/isert/ib_isert.c 		  ib_dev->attrs.max_send_sge, ib_dev->attrs.max_recv_sge);
attrs             296 drivers/infiniband/ulp/isert/ib_isert.c 	isert_dbg("devattr->max_sge_rd: %d\n", ib_dev->attrs.max_sge_rd);
attrs             311 drivers/infiniband/ulp/isert/ib_isert.c 	device->pi_capable = ib_dev->attrs.device_cap_flags &
attrs             470 drivers/infiniband/ulp/isert/ib_isert.c 	struct ib_device_attr *attr = &isert_conn->device->ib_device->attrs;
attrs             456 drivers/infiniband/ulp/srp/ib_srp.c 	if (device->attrs.device_cap_flags & IB_DEVICE_SG_GAPS_REG)
attrs            3795 drivers/infiniband/ulp/srp/ib_srp.c 	if (!(ibdev->attrs.device_cap_flags & IB_DEVICE_SG_GAPS_REG))
attrs            3853 drivers/infiniband/ulp/srp/ib_srp.c 		bool gaps_reg = (ibdev->attrs.device_cap_flags &
attrs            4115 drivers/infiniband/ulp/srp/ib_srp.c 	struct ib_device_attr *attr = &device->attrs;
attrs             345 drivers/infiniband/ulp/srpt/ib_srpt.c 				       sdev->device->attrs.max_qp_wr);
attrs             350 drivers/infiniband/ulp/srpt/ib_srpt.c 	iocp->vendor_id = cpu_to_be32(sdev->device->attrs.vendor_id);
attrs             351 drivers/infiniband/ulp/srpt/ib_srpt.c 	iocp->device_id = cpu_to_be32(sdev->device->attrs.vendor_part_id);
attrs             352 drivers/infiniband/ulp/srpt/ib_srpt.c 	iocp->device_version = cpu_to_be16(sdev->device->attrs.hw_ver);
attrs             353 drivers/infiniband/ulp/srpt/ib_srpt.c 	iocp->subsys_vendor_id = cpu_to_be32(sdev->device->attrs.vendor_id);
attrs            1782 drivers/infiniband/ulp/srpt/ib_srpt.c 	const struct ib_device_attr *attrs = &sdev->device->attrs;
attrs            1817 drivers/infiniband/ulp/srpt/ib_srpt.c 	qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr);
attrs            1819 drivers/infiniband/ulp/srpt/ib_srpt.c 	qp_init->cap.max_send_sge = min(attrs->max_send_sge,
attrs            1821 drivers/infiniband/ulp/srpt/ib_srpt.c 	qp_init->cap.max_recv_sge = min(attrs->max_recv_sge,
attrs            1828 drivers/infiniband/ulp/srpt/ib_srpt.c 		qp_init->cap.max_recv_sge = min(attrs->max_recv_sge,
attrs            2249 drivers/infiniband/ulp/srpt/ib_srpt.c 	ch->rq_size = min(MAX_SRPT_RQ_SIZE, sdev->device->attrs.max_qp_wr);
attrs            3057 drivers/infiniband/ulp/srpt/ib_srpt.c 		 sdev->device->attrs.max_srq_wr, dev_name(&device->dev));
attrs            3131 drivers/infiniband/ulp/srpt/ib_srpt.c 	sdev->srq_size = min(srpt_srq_size, sdev->device->attrs.max_srq_wr);
attrs             143 drivers/input/input-polldev.c 	.attrs = sysfs_attrs
attrs             212 drivers/input/input-poller.c 	.attrs		= input_poller_attrs,
attrs            1431 drivers/input/input.c 	.attrs	= input_dev_attrs,
attrs            1459 drivers/input/input.c 	.attrs	= input_dev_id_attrs,
attrs            1529 drivers/input/input.c 	.attrs	= input_dev_caps_attrs,
attrs             299 drivers/input/keyboard/atkbd.c 	.attrs	= atkbd_attributes,
attrs             658 drivers/input/misc/adxl34x.c 	.attrs = adxl34x_attributes,
attrs             796 drivers/input/misc/ati_remote2.c 	.attrs = ati_remote2_attrs,
attrs             203 drivers/input/misc/ideapad_slidebar.c 	.attrs = ideapad_attrs
attrs            1252 drivers/input/misc/ims-pcu.c 	.attrs		= ims_pcu_attrs,
attrs            1471 drivers/input/misc/ims-pcu.c 	.attrs	= ims_pcu_ofn_attrs,
attrs             391 drivers/input/misc/kxtj9.c 	.attrs = kxtj9_attributes
attrs             787 drivers/input/misc/yealink.c 	.attrs = yld_attributes
attrs             817 drivers/input/mouse/cyapa.c 	.attrs = cyapa_power_wakeup_entries,
attrs             933 drivers/input/mouse/cyapa.c 	.attrs = cyapa_power_runtime_entries,
attrs            1238 drivers/input/mouse/cyapa.c 	.attrs = cyapa_sysfs_entries,
attrs             753 drivers/input/mouse/elan_i2c_core.c 	.attrs = elan_sysfs_entries,
attrs             875 drivers/input/mouse/elan_i2c_core.c 	.attrs = elan_baseline_sysfs_entries,
attrs            1315 drivers/input/mouse/elantech.c 	.attrs = elantech_attrs,
attrs             107 drivers/input/mouse/psmouse-base.c 	.attrs	= psmouse_attributes,
attrs             632 drivers/input/mouse/sentelic.c 	.attrs = fsp_attributes,
attrs             242 drivers/input/mouse/trackpoint.c 	.attrs		= trackpoint_attrs,
attrs              20 drivers/input/rmi4/rmi_driver.h 	.attrs = _attrs,  \
attrs             335 drivers/input/rmi4/rmi_f01.c 	.attrs = rmi_f01_attrs,
attrs             517 drivers/input/rmi4/rmi_f34.c 	.attrs = rmi_firmware_attrs,
attrs             458 drivers/input/serio/serio.c 	.attrs	= serio_device_id_attrs,
attrs             477 drivers/input/serio/serio.c 	.attrs	= serio_device_attrs,
attrs            1660 drivers/input/tablet/aiptek.c 	.attrs	= aiptek_attributes,
attrs             615 drivers/input/touchscreen/ad7877.c 	.attrs		= ad7877_attributes,
attrs             391 drivers/input/touchscreen/ad7879.c 	.attrs = ad7879_attributes,
attrs             503 drivers/input/touchscreen/ads7846.c 	.attrs = ads7846_attributes,
attrs             603 drivers/input/touchscreen/ads7846.c 	.attrs = ads784x_attributes,
attrs            2927 drivers/input/touchscreen/atmel_mxt_ts.c 	.attrs = mxt_attrs,
attrs             524 drivers/input/touchscreen/edt-ft5x06.c 	.attrs = edt_ft5x06_attrs,
attrs            1066 drivers/input/touchscreen/elants_i2c.c 	.attrs = elants_attributes,
attrs             952 drivers/input/touchscreen/hideep.c 	.attrs = hideep_ts_sysfs_entries,
attrs             246 drivers/input/touchscreen/ili210x.c 	.attrs = ili210x_attributes,
attrs            1006 drivers/input/touchscreen/iqs5xx.c 	.attrs = iqs5xx_attrs,
attrs            1424 drivers/input/touchscreen/melfas_mip4.c 	.attrs = mip4_attrs,
attrs             944 drivers/input/touchscreen/raydium_i2c_ts.c 	.attrs = raydium_i2c_attributes,
attrs             859 drivers/input/touchscreen/rohm_bu21023.c 	.attrs = rohm_ts_attrs,
attrs             291 drivers/input/touchscreen/s6sy761.c 	.attrs = s6sy761_sysfs_attrs
attrs             520 drivers/input/touchscreen/stmfts.c 	.attrs = stmfts_sysfs_attrs
attrs             355 drivers/input/touchscreen/tsc200x-core.c 	.attrs		= tsc200x_attrs,
attrs             470 drivers/input/touchscreen/usbtouchscreen.c 	.attrs = mtouch_attrs,
attrs             949 drivers/input/touchscreen/wdt87xx_i2c.c 	.attrs = wdt87xx_attrs,
attrs            2508 drivers/iommu/amd_iommu.c 			   unsigned long attrs)
attrs            2531 drivers/iommu/amd_iommu.c 		       enum dma_data_direction dir, unsigned long attrs)
attrs            2577 drivers/iommu/amd_iommu.c 		  unsigned long attrs)
attrs            2668 drivers/iommu/amd_iommu.c 		     unsigned long attrs)
attrs            2691 drivers/iommu/amd_iommu.c 			    unsigned long attrs)
attrs            2747 drivers/iommu/amd_iommu.c 			  unsigned long attrs)
attrs            1725 drivers/iommu/amd_iommu_init.c 	.attrs = amd_iommu_attrs,
attrs             365 drivers/iommu/dma-iommu.c 		     unsigned long attrs)
attrs             369 drivers/iommu/dma-iommu.c 	if (attrs & DMA_ATTR_PRIVILEGED)
attrs             565 drivers/iommu/dma-iommu.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             571 drivers/iommu/dma-iommu.c 	int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs);
attrs             572 drivers/iommu/dma-iommu.c 	pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs);
attrs             588 drivers/iommu/dma-iommu.c 	if (attrs & DMA_ATTR_ALLOC_SINGLE_PAGES)
attrs             706 drivers/iommu/dma-iommu.c 		unsigned long attrs)
attrs             710 drivers/iommu/dma-iommu.c 	int prot = dma_info_to_prot(dir, coherent, attrs);
attrs             714 drivers/iommu/dma-iommu.c 	if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC) &&
attrs             721 drivers/iommu/dma-iommu.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             723 drivers/iommu/dma-iommu.c 	if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             811 drivers/iommu/dma-iommu.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             817 drivers/iommu/dma-iommu.c 	int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs);
attrs             823 drivers/iommu/dma-iommu.c 	if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             886 drivers/iommu/dma-iommu.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             892 drivers/iommu/dma-iommu.c 	if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             910 drivers/iommu/dma-iommu.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             913 drivers/iommu/dma-iommu.c 			dma_info_to_prot(dir, false, attrs) | IOMMU_MMIO);
attrs             917 drivers/iommu/dma-iommu.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             954 drivers/iommu/dma-iommu.c 		dma_addr_t handle, unsigned long attrs)
attrs             961 drivers/iommu/dma-iommu.c 		struct page **pagep, gfp_t gfp, unsigned long attrs)
attrs             976 drivers/iommu/dma-iommu.c 		pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs);
attrs             998 drivers/iommu/dma-iommu.c 		dma_addr_t *handle, gfp_t gfp, unsigned long attrs)
attrs            1001 drivers/iommu/dma-iommu.c 	int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs);
attrs            1008 drivers/iommu/dma-iommu.c 	    !(attrs & DMA_ATTR_FORCE_CONTIGUOUS))
attrs            1009 drivers/iommu/dma-iommu.c 		return iommu_dma_alloc_remap(dev, size, handle, gfp, attrs);
attrs            1015 drivers/iommu/dma-iommu.c 		cpu_addr = iommu_dma_alloc_pages(dev, size, &page, gfp, attrs);
attrs            1030 drivers/iommu/dma-iommu.c 		unsigned long attrs)
attrs            1036 drivers/iommu/dma-iommu.c 	vma->vm_page_prot = dma_pgprot(dev, vma->vm_page_prot, attrs);
attrs            1061 drivers/iommu/dma-iommu.c 		unsigned long attrs)
attrs            3554 drivers/iommu/intel-iommu.c 				 unsigned long attrs)
attrs            3559 drivers/iommu/intel-iommu.c 	return dma_direct_map_page(dev, page, offset, size, dir, attrs);
attrs            3564 drivers/iommu/intel-iommu.c 				     unsigned long attrs)
attrs            3569 drivers/iommu/intel-iommu.c 	return dma_direct_map_resource(dev, phys_addr, size, dir, attrs);
attrs            3618 drivers/iommu/intel-iommu.c 			     unsigned long attrs)
attrs            3623 drivers/iommu/intel-iommu.c 		dma_direct_unmap_page(dev, dev_addr, size, dir, attrs);
attrs            3627 drivers/iommu/intel-iommu.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs            3635 drivers/iommu/intel-iommu.c 				  unsigned long attrs)
attrs            3641 drivers/iommu/intel-iommu.c 		return dma_direct_alloc(dev, size, dma_handle, flags, attrs);
attrs            3671 drivers/iommu/intel-iommu.c 				dma_addr_t dma_handle, unsigned long attrs)
attrs            3677 drivers/iommu/intel-iommu.c 		return dma_direct_free(dev, size, vaddr, dma_handle, attrs);
attrs            3689 drivers/iommu/intel-iommu.c 			   unsigned long attrs)
attrs            3697 drivers/iommu/intel-iommu.c 		return dma_direct_unmap_sg(dev, sglist, nelems, dir, attrs);
attrs            3709 drivers/iommu/intel-iommu.c 			enum dma_data_direction dir, unsigned long attrs)
attrs            3723 drivers/iommu/intel-iommu.c 		return dma_direct_map_sg(dev, sglist, nelems, dir, attrs);
attrs            3808 drivers/iommu/intel-iommu.c 		  enum dma_data_direction dir, unsigned long attrs,
attrs            3851 drivers/iommu/intel-iommu.c 				paddr, size, aligned_size, dir, attrs);
attrs            3859 drivers/iommu/intel-iommu.c 			if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) &&
attrs            3884 drivers/iommu/intel-iommu.c 					 aligned_size, dir, attrs);
attrs            3895 drivers/iommu/intel-iommu.c 		    enum dma_data_direction dir, unsigned long attrs)
attrs            3912 drivers/iommu/intel-iommu.c 					 aligned_size, dir, attrs);
attrs            3919 drivers/iommu/intel-iommu.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs            3922 drivers/iommu/intel-iommu.c 				 size, dir, attrs, *dev->dma_mask);
attrs            3927 drivers/iommu/intel-iommu.c 		    enum dma_data_direction dir, unsigned long attrs)
attrs            3930 drivers/iommu/intel-iommu.c 				 dir, attrs, *dev->dma_mask);
attrs            3935 drivers/iommu/intel-iommu.c 		  enum dma_data_direction dir, unsigned long attrs)
attrs            3937 drivers/iommu/intel-iommu.c 	bounce_unmap_single(dev, dev_addr, size, dir, attrs);
attrs            3942 drivers/iommu/intel-iommu.c 		      enum dma_data_direction dir, unsigned long attrs)
attrs            3944 drivers/iommu/intel-iommu.c 	bounce_unmap_single(dev, dev_addr, size, dir, attrs);
attrs            3949 drivers/iommu/intel-iommu.c 		enum dma_data_direction dir, unsigned long attrs)
attrs            3956 drivers/iommu/intel-iommu.c 				  sg_dma_len(sg), dir, attrs);
attrs            3961 drivers/iommu/intel-iommu.c 	      enum dma_data_direction dir, unsigned long attrs)
attrs            3969 drivers/iommu/intel-iommu.c 						  dir, attrs);
attrs            3978 drivers/iommu/intel-iommu.c 	bounce_unmap_sg(dev, sglist, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC);
attrs            4830 drivers/iommu/intel-iommu.c 	.attrs = intel_iommu_attrs,
attrs              24 drivers/iommu/iommu-sysfs.c 	.attrs = devices_attr,
attrs             651 drivers/iommu/qcom_iommu.c 	unsigned long attrs;
attrs             667 drivers/iommu/qcom_iommu.c 	attrs = DMA_ATTR_NO_KERNEL_MAPPING;
attrs             669 drivers/iommu/qcom_iommu.c 	cpu_addr = dma_alloc_attrs(dev, psize, &paddr, GFP_KERNEL, attrs);
attrs             686 drivers/iommu/qcom_iommu.c 	dma_free_attrs(dev, psize, cpu_addr, paddr, attrs);
attrs             239 drivers/leds/led-class-flash.c 	.attrs = led_flash_strobe_attrs,
attrs             243 drivers/leds/led-class-flash.c 	.attrs = led_flash_timeout_attrs,
attrs             247 drivers/leds/led-class-flash.c 	.attrs = led_flash_brightness_attrs,
attrs             251 drivers/leds/led-class-flash.c 	.attrs = led_flash_fault_attrs,
attrs              83 drivers/leds/led-class.c 	.attrs = led_trigger_attrs,
attrs              94 drivers/leds/led-class.c 	.attrs = led_class_attrs,
attrs             290 drivers/leds/leds-blinkm.c 	.attrs = blinkm_attrs,
attrs             627 drivers/leds/leds-lm3533.c 	.attrs		= lm3533_led_attributes
attrs             477 drivers/leds/leds-lp5521.c 	.attrs = lp5521_attributes,
attrs             844 drivers/leds/leds-lp5523.c 	.attrs = lp5523_attributes,
attrs             492 drivers/leds/leds-lp5562.c 	.attrs = lp5562_attributes,
attrs             316 drivers/leds/leds-lp55xx-common.c 	.attrs = lp55xx_engine_attributes,
attrs             353 drivers/leds/trigger/ledtrig-pattern.c 	.attrs = pattern_trig_attrs,
attrs              74 drivers/macintosh/macio_sysfs.c 	.attrs = macio_dev_attrs,
attrs             150 drivers/mcb/mcb-core.c 	.attrs = mcb_bus_attrs,
attrs            2621 drivers/md/md-bitmap.c 	.attrs = md_bitmap_attrs,
attrs            5319 drivers/md/md.c 	.attrs = md_redundancy_attrs,
attrs            6672 drivers/md/raid5.c 	.attrs = raid5_attrs,
attrs              31 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	unsigned long			attrs;
attrs             134 drivers/media/common/videobuf2/videobuf2-dma-contig.c 		       buf->attrs);
attrs             139 drivers/media/common/videobuf2/videobuf2-dma-contig.c static void *vb2_dc_alloc(struct device *dev, unsigned long attrs,
attrs             152 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	if (attrs)
attrs             153 drivers/media/common/videobuf2/videobuf2-dma-contig.c 		buf->attrs = attrs;
attrs             155 drivers/media/common/videobuf2/videobuf2-dma-contig.c 					GFP_KERNEL | gfp_flags, buf->attrs);
attrs             162 drivers/media/common/videobuf2/videobuf2-dma-contig.c 	if ((buf->attrs & DMA_ATTR_NO_KERNEL_MAPPING) == 0)
attrs             190 drivers/media/common/videobuf2/videobuf2-dma-contig.c 		buf->dma_addr, buf->size, buf->attrs);
attrs             381 drivers/media/common/videobuf2/videobuf2-dma-contig.c 		buf->size, buf->attrs);
attrs              37 drivers/media/common/videobuf2/videobuf2-vmalloc.c static void *vb2_vmalloc_alloc(struct device *dev, unsigned long attrs,
attrs              27 drivers/media/platform/qcom/venus/helpers.c 	unsigned long attrs;
attrs             112 drivers/media/platform/qcom/venus/helpers.c 			       buf->attrs);
attrs             162 drivers/media/platform/qcom/venus/helpers.c 		buf->attrs = DMA_ATTR_WRITE_COMBINE |
attrs             165 drivers/media/platform/qcom/venus/helpers.c 					  buf->attrs);
attrs             209 drivers/media/platform/qcom/venus/helpers.c 		buf->attrs = DMA_ATTR_WRITE_COMBINE |
attrs             212 drivers/media/platform/qcom/venus/helpers.c 					  buf->attrs);
attrs             236 drivers/media/platform/qcom/venus/helpers.c 	dma_free_attrs(dev, buf->size, buf->va, buf->da, buf->attrs);
attrs             259 drivers/media/platform/qcom/venus/helpers.c 			       buf->attrs);
attrs             338 drivers/media/platform/qcom/venus/helpers.c 			       buf->attrs);
attrs             101 drivers/media/platform/qcom/venus/hfi_venus.c 	unsigned long attrs;
attrs             330 drivers/media/platform/qcom/venus/hfi_venus.c 	desc->attrs = DMA_ATTR_WRITE_COMBINE;
attrs             334 drivers/media/platform/qcom/venus/hfi_venus.c 				    desc->attrs);
attrs             345 drivers/media/platform/qcom/venus/hfi_venus.c 	dma_free_attrs(dev, mem->size, mem->kva, mem->da, mem->attrs);
attrs              16 drivers/media/platform/sti/delta/delta-mem.c 	unsigned long attrs = DMA_ATTR_WRITE_COMBINE;
attrs              19 drivers/media/platform/sti/delta/delta-mem.c 			       GFP_KERNEL | __GFP_NOWARN, attrs);
attrs              32 drivers/media/platform/sti/delta/delta-mem.c 	buf->attrs = attrs;
attrs              50 drivers/media/platform/sti/delta/delta-mem.c 		       buf->vaddr, buf->paddr, buf->attrs);
attrs             208 drivers/media/platform/sti/delta/delta.h 	unsigned long attrs;
attrs             882 drivers/media/rc/imon.c 	.attrs = imon_display_sysfs_entries
attrs             891 drivers/media/rc/imon.c 	.attrs = imon_rf_sysfs_entries
attrs            1613 drivers/media/rc/rc-main.c 	.attrs	= rc_dev_rw_protocol_attrs,
attrs            1622 drivers/media/rc/rc-main.c 	.attrs	= rc_dev_ro_protocol_attrs,
attrs            1632 drivers/media/rc/rc-main.c 	.attrs	= rc_dev_filter_attrs,
attrs            1643 drivers/media/rc/rc-main.c 	.attrs	= rc_dev_wakeup_filter_attrs,
attrs             985 drivers/media/rc/redrat3.c 	u8 addr, attrs;
attrs             995 drivers/media/rc/redrat3.c 		attrs = ep->bmAttributes;
attrs             998 drivers/media/rc/redrat3.c 		    ((attrs & USB_ENDPOINT_XFERTYPE_MASK) ==
attrs            1011 drivers/media/rc/redrat3.c 		    ((attrs & USB_ENDPOINT_XFERTYPE_MASK) ==
attrs             393 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c 	cip->grp.attrs = cip->attr_gen;
attrs             159 drivers/media/usb/uvc/uvc_status.c 	static const char *attrs[] = { "value", "info", "failure", "min", "max" };
attrs             165 drivers/media/usb/uvc/uvc_status.c 	    status->bAttribute >= ARRAY_SIZE(attrs)) {
attrs             173 drivers/media/usb/uvc/uvc_status.c 		  attrs[status->bAttribute], len);
attrs            1017 drivers/memstick/core/mspro_block.c 	msb->attr_group.attrs = kcalloc(attr_count + 1,
attrs            1018 drivers/memstick/core/mspro_block.c 					sizeof(*msb->attr_group.attrs),
attrs            1020 drivers/memstick/core/mspro_block.c 	if (!msb->attr_group.attrs) {
attrs            1039 drivers/memstick/core/mspro_block.c 		msb->attr_group.attrs[cnt] = &s_attr->dev_attr.attr;
attrs            1184 drivers/memstick/core/mspro_block.c 	for (rc = 0; msb->attr_group.attrs[rc]; ++rc) {
attrs            1185 drivers/memstick/core/mspro_block.c 		s_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[rc]);
attrs            1264 drivers/memstick/core/mspro_block.c 	if (msb->attr_group.attrs) {
attrs            1265 drivers/memstick/core/mspro_block.c 		for (cnt = 0; msb->attr_group.attrs[cnt]; ++cnt) {
attrs            1267 drivers/memstick/core/mspro_block.c 							   .attrs[cnt]);
attrs            1271 drivers/memstick/core/mspro_block.c 		kfree(msb->attr_group.attrs);
attrs            1388 drivers/memstick/core/mspro_block.c 	for (cnt = 0; new_msb->attr_group.attrs[cnt]
attrs            1389 drivers/memstick/core/mspro_block.c 		      && msb->attr_group.attrs[cnt]; ++cnt) {
attrs            1390 drivers/memstick/core/mspro_block.c 		s_attr = mspro_from_sysfs_attr(new_msb->attr_group.attrs[cnt]);
attrs            1391 drivers/memstick/core/mspro_block.c 		r_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[cnt]);
attrs            1063 drivers/mfd/ab8500-core.c 	.attrs	= ab8500_sysfs_entries,
attrs            1067 drivers/mfd/ab8500-core.c 	.attrs	= ab8505_sysfs_entries,
attrs            1071 drivers/mfd/ab8500-core.c 	.attrs	= ab9540_sysfs_entries,
attrs             398 drivers/mfd/intel_soc_pmic_bxtwc.c 	.attrs = bxtwc_attrs,
attrs             168 drivers/mfd/janz-cmodio.c 	.attrs = cmodio_sysfs_attrs,
attrs             392 drivers/mfd/kempld-core.c 	.attrs = pld_attributes,
attrs             378 drivers/mfd/lm3533-core.c 	.attrs		= lm3533_attributes
attrs             136 drivers/mfd/pcf50633-core.c 	.attrs	= pcf_sysfs_entries,
attrs             632 drivers/misc/ad525x_dpot.c 	.attrs = ad525x_attributes_commands,
attrs             115 drivers/misc/altera-stapl/altera.c 	u8			attrs;
attrs             228 drivers/misc/altera-stapl/altera.c 	char *attrs = NULL;
attrs             306 drivers/misc/altera-stapl/altera.c 		attrs = kzalloc(sym_count, GFP_KERNEL);
attrs             308 drivers/misc/altera-stapl/altera.c 		if (attrs == NULL)
attrs             329 drivers/misc/altera-stapl/altera.c 		attrs[i] = p[offset];
attrs             336 drivers/misc/altera-stapl/altera.c 		attrs[i] &= 0x7f;
attrs             351 drivers/misc/altera-stapl/altera.c 		if ((attrs[i] & 0x0c) == 0x04)
attrs             354 drivers/misc/altera-stapl/altera.c 		else if ((attrs[i] & 0x1e) == 0x0e) {
attrs             364 drivers/misc/altera-stapl/altera.c 				attrs[i] |= 0x80;
attrs             378 drivers/misc/altera-stapl/altera.c 		} else if ((attrs[i] & 0x1e) == 0x0c) {
attrs             381 drivers/misc/altera-stapl/altera.c 		} else if ((attrs[i] & 0x1c) == 0x1c) {
attrs             384 drivers/misc/altera-stapl/altera.c 		} else if ((attrs[i] & 0x0c) == 0x08) {
attrs             388 drivers/misc/altera-stapl/altera.c 			attrs[i] |= 0x80;
attrs             393 drivers/misc/altera-stapl/altera.c 				if (attrs[i] & 0x10)
attrs            1121 drivers/misc/altera-stapl/altera.c 				((attrs[variable_id] & 0x9c) == 0x1c)) {
attrs            1145 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x80;
attrs            1148 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] &= ~0x04;
attrs            1149 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x01;
attrs            1154 drivers/misc/altera-stapl/altera.c 			if ((attrs[variable_id] & 0x1c) != 0x18)
attrs            1184 drivers/misc/altera-stapl/altera.c 				((attrs[variable_id] & 0x9c) == 0x0c)) {
attrs            1222 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x80;
attrs            1225 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] &= ~0x04;
attrs            1226 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x01;
attrs            1234 drivers/misc/altera-stapl/altera.c 			if ((attrs[variable_id] & 0x1c) != 0x08) {
attrs            1495 drivers/misc/altera-stapl/altera.c 			if ((attrs[variable_id] & 0x1f) == 0x19) {
attrs            1499 drivers/misc/altera-stapl/altera.c 			} else if ((attrs[variable_id] & 0x1f) == 0x1c) {
attrs            1521 drivers/misc/altera-stapl/altera.c 			if ((attrs[variable_id] & 0x18) != 0x08) {
attrs            1570 drivers/misc/altera-stapl/altera.c 				if (attrs[variable_id] & 0x10)
attrs            1581 drivers/misc/altera-stapl/altera.c 				if (attrs[variable_id] & 0x80) {
attrs            1603 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x80;
attrs            1762 drivers/misc/altera-stapl/altera.c 				((attrs[variable_id] & 0x9c) == 0x0c)) {
attrs            1796 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x80;
attrs            1799 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] &= ~0x04;
attrs            1800 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x01;
attrs            1807 drivers/misc/altera-stapl/altera.c 			if ((attrs[args[1]] & 0x1c) != 0x08) {
attrs            1883 drivers/misc/altera-stapl/altera.c 				((attrs[variable_id] & 0x9c) == 0x0c)) {
attrs            1919 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x80;
attrs            1922 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] &= ~0x04;
attrs            1923 drivers/misc/altera-stapl/altera.c 				attrs[variable_id] |= 0x01;
attrs            1941 drivers/misc/altera-stapl/altera.c 			if ((attrs[args[1]] & 0x1c) != 0x08) {
attrs            2102 drivers/misc/altera-stapl/altera.c 	if ((attrs != NULL) && (vars != NULL))
attrs            2104 drivers/misc/altera-stapl/altera.c 			if (attrs[i] & 0x80)
attrs            2109 drivers/misc/altera-stapl/altera.c 	kfree(attrs);
attrs            2381 drivers/misc/altera-stapl/altera.c 			procptr->attrs = act_proc_attribute;
attrs            2477 drivers/misc/altera-stapl/altera.c 				if (procptr->attrs != 0)
attrs            2481 drivers/misc/altera-stapl/altera.c 						(procptr->attrs == 1) ?
attrs             190 drivers/misc/apds9802als.c 	.attrs = mid_att_als
attrs            1051 drivers/misc/apds990x.c 	{.attrs = sysfs_attrs_ctrl },
attrs            1162 drivers/misc/bh1770glc.c 	.attrs = sysfs_attrs
attrs             878 drivers/misc/c2port/core.c 	.attrs = c2port_attrs,
attrs             144 drivers/misc/ds1682.c 	.attrs = (struct attribute *[]) {
attrs             984 drivers/misc/fastrpc.c 		u32 attrs;
attrs            1007 drivers/misc/fastrpc.c 	inbuf.attrs = init.attrs;
attrs            1044 drivers/misc/fastrpc.c 	args[4].ptr = (u64)(uintptr_t)&inbuf.attrs;
attrs            1045 drivers/misc/fastrpc.c 	args[4].length = sizeof(inbuf.attrs);
attrs            1053 drivers/misc/fastrpc.c 	if (init.attrs)
attrs             289 drivers/misc/genwqe/card_sysfs.c 	.attrs      = genwqe_attributes,
attrs             362 drivers/misc/habanalabs/goya/goya_hwmgr.c 	dev_attr_grp->attrs = goya_dev_attrs;
attrs             393 drivers/misc/habanalabs/sysfs.c 	.attrs = hl_dev_attrs,
attrs             101 drivers/misc/hmc6352.c 	.attrs = mid_att_compass
attrs              84 drivers/misc/ics932s401.c 	struct attribute_group	attrs;
attrs             450 drivers/misc/ics932s401.c 	data->attrs.attrs = ics932s401_attr;
attrs             451 drivers/misc/ics932s401.c 	err = sysfs_create_group(&client->dev.kobj, &data->attrs);
attrs             467 drivers/misc/ics932s401.c 	sysfs_remove_group(&client->dev.kobj, &data->attrs);
attrs             345 drivers/misc/isl29003.c 	.attrs = isl29003_attributes,
attrs             139 drivers/misc/isl29020.c 	.attrs = mid_att_als
attrs             847 drivers/misc/lis3lv02d/lis3lv02d.c 	.attrs = lis3lv02d_attributes
attrs              29 drivers/misc/mic/host/mic_boot.c 		  enum dma_data_direction dir, unsigned long attrs)
attrs              39 drivers/misc/mic/host/mic_boot.c 				unsigned long attrs)
attrs             135 drivers/misc/mic/host/mic_boot.c 			     unsigned long attrs)
attrs             155 drivers/misc/mic/host/mic_boot.c 			   dma_addr_t dma_handle, unsigned long attrs)
attrs             167 drivers/misc/mic/host/mic_boot.c 		   unsigned long attrs)
attrs             179 drivers/misc/mic/host/mic_boot.c 		     unsigned long attrs)
attrs             189 drivers/misc/mic/host/mic_boot.c 			    unsigned long attrs)
attrs             220 drivers/misc/mic/host/mic_boot.c 			       unsigned long attrs)
attrs             318 drivers/misc/mic/host/mic_boot.c 		 unsigned long attrs)
attrs             329 drivers/misc/mic/host/mic_boot.c 		   unsigned long attrs)
attrs             650 drivers/misc/ti-st/st_kim.c 	.attrs = uim_attrs,
attrs             299 drivers/misc/tsl2550.c 	.attrs = tsl2550_attributes,
attrs              92 drivers/mtd/sm_ftl.c 	attr_group->attrs = attributes;
attrs             106 drivers/mtd/sm_ftl.c 	struct attribute **attributes = ftl->disk_attributes->attrs;
attrs             122 drivers/mtd/sm_ftl.c 	kfree(ftl->disk_attributes->attrs);
attrs             114 drivers/net/arcnet/com20020-pci.c 	.attrs = com20020_state_attrs,
attrs             765 drivers/net/bonding/bond_sysfs.c 	.attrs = per_bond_attrs,
attrs            1233 drivers/net/can/at91_can.c 	.attrs = at91_sysfs_attrs,
attrs            1569 drivers/net/can/grcan.c 	.attrs	= (struct attribute **)sysfs_grcan_attrs,
attrs            1875 drivers/net/can/janz-ican3.c 	.attrs = ican3_sysfs_attrs,
attrs             603 drivers/net/can/softing/softing_main.c 	.attrs = (struct attribute **)netdev_sysfs_attrs,
attrs             719 drivers/net/can/softing/softing_main.c 	.attrs = softing_pdev_attrs,
attrs             797 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	.attrs = cxgb3_attrs,
attrs             886 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	.attrs = offload_attrs,
attrs            2049 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	struct dpcon_attr attrs;
attrs            2074 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c 	err = dpcon_get_attributes(priv->mc_io, 0, dpcon->mc_handle, &attrs);
attrs            3231 drivers/net/ethernet/freescale/gianfar.c 	u32 attrs;
attrs            3253 drivers/net/ethernet/freescale/gianfar.c 	attrs = ATTRELI_EL(priv->rx_stash_size) |
attrs            3256 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->attreli, attrs);
attrs            3261 drivers/net/ethernet/freescale/gianfar.c 	attrs = ATTR_INIT_SETTINGS;
attrs            3264 drivers/net/ethernet/freescale/gianfar.c 		attrs |= ATTR_BDSTASH;
attrs            3267 drivers/net/ethernet/freescale/gianfar.c 		attrs |= ATTR_BUFSTASH;
attrs            3269 drivers/net/ethernet/freescale/gianfar.c 	gfar_write(&regs->attr, attrs);
attrs             400 drivers/net/ethernet/intel/igb/igb.h 	struct attribute *attrs[E1000_MAX_SENSORS * 4 + 1];
attrs             134 drivers/net/ethernet/intel/igb/igb_hwmon.c 	adapter->igb_hwmon_buff->attrs[n_attr] = &igb_attr->dev_attr.attr;
attrs             211 drivers/net/ethernet/intel/igb/igb_hwmon.c 	igb_hwmon->group.attrs = igb_hwmon->attrs;
attrs             485 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	struct attribute *attrs[IXGBE_MAX_SENSORS * 4 + 1];
attrs             128 drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c 	adapter->ixgbe_hwmon_buff->attrs[n_attr] = &ixgbe_attr->dev_attr.attr;
attrs             194 drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c 	ixgbe_hwmon->group.attrs = ixgbe_hwmon->attrs;
attrs              91 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c 			   const struct mlx5_accel_esp_xfrm_attrs *attrs,
attrs              96 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c 	xfrm = mlx5_fpga_esp_create_xfrm(mdev, attrs, flags);
attrs             112 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c 			       const struct mlx5_accel_esp_xfrm_attrs *attrs)
attrs             114 drivers/net/ethernet/mellanox/mlx5/core/accel/ipsec.c 	return mlx5_fpga_esp_modify_xfrm(xfrm, attrs);
attrs             151 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 				   struct mlx5_accel_esp_xfrm_attrs *attrs)
attrs             154 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	struct aes_gcm_keymat *aes_gcm = &attrs->keymat.aes_gcm;
attrs             160 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	memset(attrs, 0, sizeof(*attrs));
attrs             182 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 		attrs->flags |= MLX5_ACCEL_ESP_FLAGS_ESN_TRIGGERED;
attrs             183 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 		attrs->esn = sa_entry->esn_state.esn;
attrs             185 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 			attrs->flags |= MLX5_ACCEL_ESP_FLAGS_ESN_STATE_OVERLAP;
attrs             189 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	attrs->sa_handle = sa_entry->handle;
attrs             192 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	attrs->keymat_type = MLX5_ACCEL_ESP_KEYMAT_AES_GCM;
attrs             195 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	attrs->action = (!(x->xso.flags & XFRM_OFFLOAD_INBOUND)) ?
attrs             199 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	attrs->flags |= (x->props.mode == XFRM_MODE_TRANSPORT) ?
attrs             285 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	struct mlx5_accel_esp_xfrm_attrs attrs;
attrs             324 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	mlx5e_ipsec_build_accel_xfrm_attrs(sa_entry, &attrs);
attrs             326 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 		mlx5_accel_esp_create_xfrm(priv->mdev, &attrs,
attrs             461 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	struct mlx5_accel_esp_xfrm_attrs attrs;
attrs             473 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 					 &modify_work->attrs);
attrs             498 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	mlx5e_ipsec_build_accel_xfrm_attrs(sa_entry, &modify_work->attrs);
attrs             688 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mlx5_fpga_ipsec_build_hw_sa(mdev, &accel_xfrm->attrs,
attrs            1387 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 				  const struct mlx5_accel_esp_xfrm_attrs *attrs)
attrs            1389 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->tfc_pad) {
attrs            1394 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->replay_type != MLX5_ACCEL_ESP_REPLAY_NONE) {
attrs            1399 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->keymat_type != MLX5_ACCEL_ESP_KEYMAT_AES_GCM) {
attrs            1404 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->keymat.aes_gcm.iv_algo !=
attrs            1410 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->keymat.aes_gcm.icv_len != 128) {
attrs            1415 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (attrs->keymat.aes_gcm.key_len != 128 &&
attrs            1416 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	    attrs->keymat.aes_gcm.key_len != 256) {
attrs            1421 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if ((attrs->flags & MLX5_ACCEL_ESP_FLAGS_ESN_TRIGGERED) &&
attrs            1433 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 			  const struct mlx5_accel_esp_xfrm_attrs *attrs,
attrs            1443 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (mlx5_fpga_esp_validate_xfrm_attrs(mdev, attrs)) {
attrs            1453 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	memcpy(&fpga_xfrm->accel_xfrm.attrs, attrs,
attrs            1454 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	       sizeof(fpga_xfrm->accel_xfrm.attrs));
attrs            1469 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 			      const struct mlx5_accel_esp_xfrm_attrs *attrs)
attrs            1479 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (!memcmp(&xfrm->attrs, attrs, sizeof(xfrm->attrs)))
attrs            1482 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (mlx5_fpga_esp_validate_xfrm_attrs(mdev, attrs)) {
attrs            1507 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	mlx5_fpga_ipsec_build_hw_xfrm(xfrm->mdev, attrs,
attrs            1536 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		memcpy(&xfrm->attrs, attrs, sizeof(xfrm->attrs));
attrs              58 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.h 			  const struct mlx5_accel_esp_xfrm_attrs *attrs,
attrs              62 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.h 			      const struct mlx5_accel_esp_xfrm_attrs *attrs);
attrs              40 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	struct attribute *attrs[MLXSW_HWMON_ATTR_COUNT + 1];
attrs             456 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	mlxsw_hwmon->attrs[attr_index] = &mlxsw_hwmon_attr->dev_attr.attr;
attrs             658 drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c 	mlxsw_hwmon->group.attrs = mlxsw_hwmon->attrs;
attrs             726 drivers/net/ethernet/rocker/rocker_main.c 					 const struct rocker_tlv **attrs)
attrs             732 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_RX_FRAG_ADDR] ||
attrs             733 drivers/net/ethernet/rocker/rocker_main.c 	    !attrs[ROCKER_TLV_RX_FRAG_MAX_LEN])
attrs             735 drivers/net/ethernet/rocker/rocker_main.c 	dma_handle = rocker_tlv_get_u64(attrs[ROCKER_TLV_RX_FRAG_ADDR]);
attrs             736 drivers/net/ethernet/rocker/rocker_main.c 	len = rocker_tlv_get_u16(attrs[ROCKER_TLV_RX_FRAG_MAX_LEN]);
attrs             743 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_RX_MAX + 1];
attrs             748 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_RX_MAX, desc_info);
attrs             749 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_rx_ring_skb_unmap(rocker, attrs);
attrs             912 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_LINK_CHANGED_MAX + 1];
attrs             917 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_nested(attrs, ROCKER_TLV_EVENT_LINK_CHANGED_MAX, info);
attrs             918 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_EVENT_LINK_CHANGED_PPORT] ||
attrs             919 drivers/net/ethernet/rocker/rocker_main.c 	    !attrs[ROCKER_TLV_EVENT_LINK_CHANGED_LINKUP])
attrs             922 drivers/net/ethernet/rocker/rocker_main.c 		rocker_tlv_get_u32(attrs[ROCKER_TLV_EVENT_LINK_CHANGED_PPORT]) - 1;
attrs             923 drivers/net/ethernet/rocker/rocker_main.c 	link_up = rocker_tlv_get_u8(attrs[ROCKER_TLV_EVENT_LINK_CHANGED_LINKUP]);
attrs             946 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAX + 1];
attrs             952 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_nested(attrs, ROCKER_TLV_EVENT_MAC_VLAN_MAX, info);
attrs             953 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_EVENT_MAC_VLAN_PPORT] ||
attrs             954 drivers/net/ethernet/rocker/rocker_main.c 	    !attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAC] ||
attrs             955 drivers/net/ethernet/rocker/rocker_main.c 	    !attrs[ROCKER_TLV_EVENT_MAC_VLAN_VLAN_ID])
attrs             958 drivers/net/ethernet/rocker/rocker_main.c 		rocker_tlv_get_u32(attrs[ROCKER_TLV_EVENT_MAC_VLAN_PPORT]) - 1;
attrs             959 drivers/net/ethernet/rocker/rocker_main.c 	addr = rocker_tlv_data(attrs[ROCKER_TLV_EVENT_MAC_VLAN_MAC]);
attrs             960 drivers/net/ethernet/rocker/rocker_main.c 	vlan_id = rocker_tlv_get_be16(attrs[ROCKER_TLV_EVENT_MAC_VLAN_VLAN_ID]);
attrs             972 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_EVENT_MAX + 1];
attrs             976 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_EVENT_MAX, desc_info);
attrs             977 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_EVENT_TYPE] ||
attrs             978 drivers/net/ethernet/rocker/rocker_main.c 	    !attrs[ROCKER_TLV_EVENT_INFO])
attrs             981 drivers/net/ethernet/rocker/rocker_main.c 	type = rocker_tlv_get_u16(attrs[ROCKER_TLV_EVENT_TYPE]);
attrs             982 drivers/net/ethernet/rocker/rocker_main.c 	info = attrs[ROCKER_TLV_EVENT_INFO];
attrs            1117 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1];
attrs            1123 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info);
attrs            1124 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_CMD_INFO])
attrs            1128 drivers/net/ethernet/rocker/rocker_main.c 				attrs[ROCKER_TLV_CMD_INFO]);
attrs            1156 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1];
attrs            1160 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info);
attrs            1161 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_CMD_INFO])
attrs            1165 drivers/net/ethernet/rocker/rocker_main.c 				attrs[ROCKER_TLV_CMD_INFO]);
attrs            1183 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1];
attrs            1187 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info);
attrs            1188 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_CMD_INFO])
attrs            1192 drivers/net/ethernet/rocker/rocker_main.c 				attrs[ROCKER_TLV_CMD_INFO]);
attrs            1212 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1];
attrs            1218 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info);
attrs            1219 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_CMD_INFO])
attrs            1223 drivers/net/ethernet/rocker/rocker_main.c 				attrs[ROCKER_TLV_CMD_INFO]);
attrs            1840 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_TX_MAX + 1];
attrs            1844 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_TX_MAX, desc_info);
attrs            1845 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_TX_FRAGS])
attrs            1847 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_for_each_nested(attr, attrs[ROCKER_TLV_TX_FRAGS], rem) {
attrs            2333 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_CMD_MAX + 1];
attrs            2340 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_CMD_MAX, desc_info);
attrs            2342 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_CMD_INFO])
attrs            2346 drivers/net/ethernet/rocker/rocker_main.c 				attrs[ROCKER_TLV_CMD_INFO]);
attrs            2460 drivers/net/ethernet/rocker/rocker_main.c 	const struct rocker_tlv *attrs[ROCKER_TLV_RX_MAX + 1];
attrs            2468 drivers/net/ethernet/rocker/rocker_main.c 	rocker_tlv_parse_desc(attrs, ROCKER_TLV_RX_MAX, desc_info);
attrs            2469 drivers/net/ethernet/rocker/rocker_main.c 	if (!attrs[ROCKER_TLV_RX_FRAG_LEN])
attrs            2471 drivers/net/ethernet/rocker/rocker_main.c 	if (attrs[ROCKER_TLV_RX_FLAGS])
attrs            2472 drivers/net/ethernet/rocker/rocker_main.c 		rx_flags = rocker_tlv_get_u16(attrs[ROCKER_TLV_RX_FLAGS]);
attrs            2474 drivers/net/ethernet/rocker/rocker_main.c 	rocker_dma_rx_ring_skb_unmap(rocker, attrs);
attrs            2476 drivers/net/ethernet/rocker/rocker_main.c 	rx_len = rocker_tlv_get_u16(attrs[ROCKER_TLV_RX_FRAG_LEN]);
attrs              97 drivers/net/ethernet/sfc/mcdi.h 	struct efx_mcdi_mon_attribute *attrs;
attrs             286 drivers/net/ethernet/sfc/mcdi_mon.c 	struct efx_mcdi_mon_attribute *attr = &hwmon->attrs[hwmon->n_attrs];
attrs             300 drivers/net/ethernet/sfc/mcdi_mon.c 	hwmon->group.attrs[hwmon->n_attrs++] = &attr->dev_attr.attr;
attrs             353 drivers/net/ethernet/sfc/mcdi_mon.c 	hwmon->attrs = kcalloc(n_attrs, sizeof(*hwmon->attrs), GFP_KERNEL);
attrs             354 drivers/net/ethernet/sfc/mcdi_mon.c 	if (!hwmon->attrs) {
attrs             358 drivers/net/ethernet/sfc/mcdi_mon.c 	hwmon->group.attrs = kcalloc(n_attrs + 1, sizeof(struct attribute *),
attrs             360 drivers/net/ethernet/sfc/mcdi_mon.c 	if (!hwmon->group.attrs) {
attrs             526 drivers/net/ethernet/sfc/mcdi_mon.c 	kfree(hwmon->attrs);
attrs             527 drivers/net/ethernet/sfc/mcdi_mon.c 	kfree(hwmon->group.attrs);
attrs            1261 drivers/net/ethernet/xilinx/ll_temac_main.c 	.attrs = temac_device_attrs,
attrs             909 drivers/net/gtp.c 	pctx->gtp_version = nla_get_u32(info->attrs[GTPA_VERSION]);
attrs             912 drivers/net/gtp.c 		nla_get_be32(info->attrs[GTPA_PEER_ADDRESS]);
attrs             914 drivers/net/gtp.c 		nla_get_be32(info->attrs[GTPA_MS_ADDRESS]);
attrs             922 drivers/net/gtp.c 		pctx->u.v0.tid = nla_get_u64(info->attrs[GTPA_TID]);
attrs             923 drivers/net/gtp.c 		pctx->u.v0.flow = nla_get_u16(info->attrs[GTPA_FLOW]);
attrs             926 drivers/net/gtp.c 		pctx->u.v1.i_tei = nla_get_u32(info->attrs[GTPA_I_TEI]);
attrs             927 drivers/net/gtp.c 		pctx->u.v1.o_tei = nla_get_u32(info->attrs[GTPA_O_TEI]);
attrs             944 drivers/net/gtp.c 	ms_addr = nla_get_be32(info->attrs[GTPA_MS_ADDRESS]);
attrs             946 drivers/net/gtp.c 	version = nla_get_u32(info->attrs[GTPA_VERSION]);
attrs             953 drivers/net/gtp.c 					 nla_get_u64(info->attrs[GTPA_TID]));
attrs             956 drivers/net/gtp.c 					 nla_get_u32(info->attrs[GTPA_I_TEI]));
attrs            1049 drivers/net/gtp.c 	if (!info->attrs[GTPA_VERSION] ||
attrs            1050 drivers/net/gtp.c 	    !info->attrs[GTPA_LINK] ||
attrs            1051 drivers/net/gtp.c 	    !info->attrs[GTPA_PEER_ADDRESS] ||
attrs            1052 drivers/net/gtp.c 	    !info->attrs[GTPA_MS_ADDRESS])
attrs            1055 drivers/net/gtp.c 	version = nla_get_u32(info->attrs[GTPA_VERSION]);
attrs            1059 drivers/net/gtp.c 		if (!info->attrs[GTPA_TID] ||
attrs            1060 drivers/net/gtp.c 		    !info->attrs[GTPA_FLOW])
attrs            1064 drivers/net/gtp.c 		if (!info->attrs[GTPA_I_TEI] ||
attrs            1065 drivers/net/gtp.c 		    !info->attrs[GTPA_O_TEI])
attrs            1076 drivers/net/gtp.c 	gtp = gtp_find_dev(sock_net(skb->sk), info->attrs);
attrs            1147 drivers/net/gtp.c 	if (!info->attrs[GTPA_VERSION])
attrs            1152 drivers/net/gtp.c 	pctx = gtp_find_pdp(sock_net(skb->sk), info->attrs);
attrs            1216 drivers/net/gtp.c 	if (!info->attrs[GTPA_VERSION])
attrs            1221 drivers/net/gtp.c 	pctx = gtp_find_pdp(sock_net(skb->sk), info->attrs);
attrs             187 drivers/net/ieee802154/mac802154_hwsim.c 	if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID])
attrs             190 drivers/net/ieee802154/mac802154_hwsim.c 	idx = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]);
attrs             299 drivers/net/ieee802154/mac802154_hwsim.c 	if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID])
attrs             301 drivers/net/ieee802154/mac802154_hwsim.c 	idx = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]);
attrs             421 drivers/net/ieee802154/mac802154_hwsim.c 	if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID] &&
attrs             422 drivers/net/ieee802154/mac802154_hwsim.c 	    !info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE])
attrs             425 drivers/net/ieee802154/mac802154_hwsim.c 	if (nla_parse_nested_deprecated(edge_attrs, MAC802154_HWSIM_EDGE_ATTR_MAX, info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE], hwsim_edge_policy, NULL))
attrs             431 drivers/net/ieee802154/mac802154_hwsim.c 	v0 = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]);
attrs             483 drivers/net/ieee802154/mac802154_hwsim.c 	if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID] &&
attrs             484 drivers/net/ieee802154/mac802154_hwsim.c 	    !info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE])
attrs             487 drivers/net/ieee802154/mac802154_hwsim.c 	if (nla_parse_nested_deprecated(edge_attrs, MAC802154_HWSIM_EDGE_ATTR_MAX, info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE], hwsim_edge_policy, NULL))
attrs             493 drivers/net/ieee802154/mac802154_hwsim.c 	v0 = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]);
attrs             531 drivers/net/ieee802154/mac802154_hwsim.c 	if (!info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID] &&
attrs             532 drivers/net/ieee802154/mac802154_hwsim.c 	    !info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE])
attrs             535 drivers/net/ieee802154/mac802154_hwsim.c 	if (nla_parse_nested_deprecated(edge_attrs, MAC802154_HWSIM_EDGE_ATTR_MAX, info->attrs[MAC802154_HWSIM_ATTR_RADIO_EDGE], hwsim_edge_policy, NULL))
attrs             542 drivers/net/ieee802154/mac802154_hwsim.c 	v0 = nla_get_u32(info->attrs[MAC802154_HWSIM_ATTR_RADIO_ID]);
attrs            1460 drivers/net/macsec.c 					  struct nlattr **attrs)
attrs            1462 drivers/net/macsec.c 	int ifindex = nla_get_u32(attrs[MACSEC_ATTR_IFINDEX]);
attrs            1487 drivers/net/macsec.c 					     struct nlattr **attrs,
attrs            1504 drivers/net/macsec.c 	dev = get_dev_from_nl(net, attrs);
attrs            1525 drivers/net/macsec.c 					     struct nlattr **attrs,
attrs            1535 drivers/net/macsec.c 	dev = get_dev_from_nl(net, attrs);
attrs            1556 drivers/net/macsec.c 					     struct nlattr **attrs,
attrs            1574 drivers/net/macsec.c 	rx_sc = get_rxsc_from_nl(net, attrs, tb_rxsc, devp, secyp);
attrs            1607 drivers/net/macsec.c static int parse_sa_config(struct nlattr **attrs, struct nlattr **tb_sa)
attrs            1609 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_SA_CONFIG])
attrs            1612 drivers/net/macsec.c 	if (nla_parse_nested_deprecated(tb_sa, MACSEC_SA_ATTR_MAX, attrs[MACSEC_ATTR_SA_CONFIG], macsec_genl_sa_policy, NULL))
attrs            1618 drivers/net/macsec.c static int parse_rxsc_config(struct nlattr **attrs, struct nlattr **tb_rxsc)
attrs            1620 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_RXSC_CONFIG])
attrs            1623 drivers/net/macsec.c 	if (nla_parse_nested_deprecated(tb_rxsc, MACSEC_RXSC_ATTR_MAX, attrs[MACSEC_ATTR_RXSC_CONFIG], macsec_genl_rxsc_policy, NULL))
attrs            1629 drivers/net/macsec.c static bool validate_add_rxsa(struct nlattr **attrs)
attrs            1631 drivers/net/macsec.c 	if (!attrs[MACSEC_SA_ATTR_AN] ||
attrs            1632 drivers/net/macsec.c 	    !attrs[MACSEC_SA_ATTR_KEY] ||
attrs            1633 drivers/net/macsec.c 	    !attrs[MACSEC_SA_ATTR_KEYID])
attrs            1636 drivers/net/macsec.c 	if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN)
attrs            1639 drivers/net/macsec.c 	if (attrs[MACSEC_SA_ATTR_PN] && nla_get_u32(attrs[MACSEC_SA_ATTR_PN]) == 0)
attrs            1642 drivers/net/macsec.c 	if (attrs[MACSEC_SA_ATTR_ACTIVE]) {
attrs            1643 drivers/net/macsec.c 		if (nla_get_u8(attrs[MACSEC_SA_ATTR_ACTIVE]) > 1)
attrs            1647 drivers/net/macsec.c 	if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN)
attrs            1656 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            1665 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            1668 drivers/net/macsec.c 	if (parse_sa_config(attrs, tb_sa))
attrs            1671 drivers/net/macsec.c 	if (parse_rxsc_config(attrs, tb_rxsc))
attrs            1678 drivers/net/macsec.c 	rx_sc = get_rxsc_from_nl(genl_info_net(info), attrs, tb_rxsc, &dev, &secy);
attrs            1731 drivers/net/macsec.c static bool validate_add_rxsc(struct nlattr **attrs)
attrs            1733 drivers/net/macsec.c 	if (!attrs[MACSEC_RXSC_ATTR_SCI])
attrs            1736 drivers/net/macsec.c 	if (attrs[MACSEC_RXSC_ATTR_ACTIVE]) {
attrs            1737 drivers/net/macsec.c 		if (nla_get_u8(attrs[MACSEC_RXSC_ATTR_ACTIVE]) > 1)
attrs            1748 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            1752 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            1755 drivers/net/macsec.c 	if (parse_rxsc_config(attrs, tb_rxsc))
attrs            1762 drivers/net/macsec.c 	dev = get_dev_from_nl(genl_info_net(info), attrs);
attrs            1784 drivers/net/macsec.c static bool validate_add_txsa(struct nlattr **attrs)
attrs            1786 drivers/net/macsec.c 	if (!attrs[MACSEC_SA_ATTR_AN] ||
attrs            1787 drivers/net/macsec.c 	    !attrs[MACSEC_SA_ATTR_PN] ||
attrs            1788 drivers/net/macsec.c 	    !attrs[MACSEC_SA_ATTR_KEY] ||
attrs            1789 drivers/net/macsec.c 	    !attrs[MACSEC_SA_ATTR_KEYID])
attrs            1792 drivers/net/macsec.c 	if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN)
attrs            1795 drivers/net/macsec.c 	if (nla_get_u32(attrs[MACSEC_SA_ATTR_PN]) == 0)
attrs            1798 drivers/net/macsec.c 	if (attrs[MACSEC_SA_ATTR_ACTIVE]) {
attrs            1799 drivers/net/macsec.c 		if (nla_get_u8(attrs[MACSEC_SA_ATTR_ACTIVE]) > 1)
attrs            1803 drivers/net/macsec.c 	if (nla_len(attrs[MACSEC_SA_ATTR_KEYID]) != MACSEC_KEYID_LEN)
attrs            1812 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            1820 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            1823 drivers/net/macsec.c 	if (parse_sa_config(attrs, tb_sa))
attrs            1830 drivers/net/macsec.c 	dev = get_dev_from_nl(genl_info_net(info), attrs);
attrs            1889 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            1898 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            1901 drivers/net/macsec.c 	if (parse_sa_config(attrs, tb_sa))
attrs            1904 drivers/net/macsec.c 	if (parse_rxsc_config(attrs, tb_rxsc))
attrs            1908 drivers/net/macsec.c 	rx_sa = get_rxsa_from_nl(genl_info_net(info), attrs, tb_rxsc, tb_sa,
attrs            1930 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            1937 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            1940 drivers/net/macsec.c 	if (parse_rxsc_config(attrs, tb_rxsc))
attrs            1947 drivers/net/macsec.c 	dev = get_dev_from_nl(genl_info_net(info), info->attrs);
attrs            1970 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            1978 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            1981 drivers/net/macsec.c 	if (parse_sa_config(attrs, tb_sa))
attrs            1985 drivers/net/macsec.c 	tx_sa = get_txsa_from_nl(genl_info_net(info), attrs, tb_sa,
attrs            2005 drivers/net/macsec.c static bool validate_upd_sa(struct nlattr **attrs)
attrs            2007 drivers/net/macsec.c 	if (!attrs[MACSEC_SA_ATTR_AN] ||
attrs            2008 drivers/net/macsec.c 	    attrs[MACSEC_SA_ATTR_KEY] ||
attrs            2009 drivers/net/macsec.c 	    attrs[MACSEC_SA_ATTR_KEYID])
attrs            2012 drivers/net/macsec.c 	if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN)
attrs            2015 drivers/net/macsec.c 	if (attrs[MACSEC_SA_ATTR_PN] && nla_get_u32(attrs[MACSEC_SA_ATTR_PN]) == 0)
attrs            2018 drivers/net/macsec.c 	if (attrs[MACSEC_SA_ATTR_ACTIVE]) {
attrs            2019 drivers/net/macsec.c 		if (nla_get_u8(attrs[MACSEC_SA_ATTR_ACTIVE]) > 1)
attrs            2028 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            2036 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            2039 drivers/net/macsec.c 	if (parse_sa_config(attrs, tb_sa))
attrs            2046 drivers/net/macsec.c 	tx_sa = get_txsa_from_nl(genl_info_net(info), attrs, tb_sa,
attrs            2072 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            2081 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            2084 drivers/net/macsec.c 	if (parse_rxsc_config(attrs, tb_rxsc))
attrs            2087 drivers/net/macsec.c 	if (parse_sa_config(attrs, tb_sa))
attrs            2094 drivers/net/macsec.c 	rx_sa = get_rxsa_from_nl(genl_info_net(info), attrs, tb_rxsc, tb_sa,
attrs            2116 drivers/net/macsec.c 	struct nlattr **attrs = info->attrs;
attrs            2122 drivers/net/macsec.c 	if (!attrs[MACSEC_ATTR_IFINDEX])
attrs            2125 drivers/net/macsec.c 	if (parse_rxsc_config(attrs, tb_rxsc))
attrs            2132 drivers/net/macsec.c 	rx_sc = get_rxsc_from_nl(genl_info_net(info), attrs, tb_rxsc, &dev, &secy);
attrs             136 drivers/net/netdevsim/bus.c 	.attrs = nsim_bus_dev_attrs,
attrs            2289 drivers/net/team/team.c 	if (!info->attrs[TEAM_ATTR_TEAM_IFINDEX])
attrs            2292 drivers/net/team/team.c 	ifindex = nla_get_u32(info->attrs[TEAM_ATTR_TEAM_IFINDEX]);
attrs            2531 drivers/net/team/team.c 	if (!info->attrs[TEAM_ATTR_LIST_OPTION]) {
attrs            2536 drivers/net/team/team.c 	nla_for_each_nested(nl_option, info->attrs[TEAM_ATTR_LIST_OPTION], i) {
attrs            2703 drivers/net/tun.c 	.attrs = tun_dev_attrs
attrs             372 drivers/net/usb/cdc_ncm.c 	.attrs = cdc_ncm_sysfs_attrs,
attrs             516 drivers/net/usb/qmi_wwan.c 	.attrs = qmi_wwan_sysfs_attrs,
attrs            2927 drivers/net/virtio_net.c 	.attrs = virtio_net_mrg_rx_attrs
attrs              64 drivers/net/wimax/i2400m/sysfs.c 	.attrs = i2400m_dev_attrs,
attrs              96 drivers/net/wireless/ath/ath5k/sysfs.c 	.attrs = ath5k_sysfs_entries_ani,
attrs            4315 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	.attrs = ipw2100_sysfs_entries,
attrs            11482 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	.attrs = ipw_sysfs_entries,
attrs            3441 drivers/net/wireless/intel/iwlegacy/3945-mac.c 	.attrs = il3945_sysfs_entries,
attrs            4641 drivers/net/wireless/intel/iwlegacy/4965-mac.c 	.attrs = il_sysfs_entries,
attrs             150 drivers/net/wireless/intel/iwlwifi/fw/api/filter.h 	struct iwl_fw_bcast_filter_attr attrs[MAX_BCAST_FILTER_ATTRS];
attrs            1410 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	for (i = 0; cmd.filters[i].attrs[0].mask; i++) {
attrs            1418 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 		for (j = 0; j < ARRAY_SIZE(filter->attrs); j++) {
attrs            1421 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			attr = &filter->attrs[j];
attrs            1457 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	for (attr_id = 0; attr_id < ARRAY_SIZE(filter.attrs);
attrs            1460 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 				&filter.attrs[attr_id];
attrs             135 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.attrs = {
attrs             162 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		.attrs = {
attrs            1793 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	for (i = 0; i < ARRAY_SIZE(out_filter->attrs); i++) {
attrs            1794 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		attr = &out_filter->attrs[i];
attrs            1845 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	for (i = 0; mvm->bcast_filters[i].attrs[0].mask; i++) {
attrs            3062 drivers/net/wireless/mac80211_hwsim.c 					info->attrs[HWSIM_ATTR_PERM_ADDR]);
attrs            3248 drivers/net/wireless/mac80211_hwsim.c 	if (!info->attrs[HWSIM_ATTR_ADDR_TRANSMITTER] ||
attrs            3249 drivers/net/wireless/mac80211_hwsim.c 	    !info->attrs[HWSIM_ATTR_FLAGS] ||
attrs            3250 drivers/net/wireless/mac80211_hwsim.c 	    !info->attrs[HWSIM_ATTR_COOKIE] ||
attrs            3251 drivers/net/wireless/mac80211_hwsim.c 	    !info->attrs[HWSIM_ATTR_SIGNAL] ||
attrs            3252 drivers/net/wireless/mac80211_hwsim.c 	    !info->attrs[HWSIM_ATTR_TX_INFO])
attrs            3255 drivers/net/wireless/mac80211_hwsim.c 	src = (void *)nla_data(info->attrs[HWSIM_ATTR_ADDR_TRANSMITTER]);
attrs            3256 drivers/net/wireless/mac80211_hwsim.c 	hwsim_flags = nla_get_u32(info->attrs[HWSIM_ATTR_FLAGS]);
attrs            3257 drivers/net/wireless/mac80211_hwsim.c 	ret_skb_cookie = nla_get_u64(info->attrs[HWSIM_ATTR_COOKIE]);
attrs            3291 drivers/net/wireless/mac80211_hwsim.c 		       info->attrs[HWSIM_ATTR_TX_INFO]);
attrs            3303 drivers/net/wireless/mac80211_hwsim.c 	txi->status.ack_signal = nla_get_u32(info->attrs[HWSIM_ATTR_SIGNAL]);
attrs            3332 drivers/net/wireless/mac80211_hwsim.c 	if (!info->attrs[HWSIM_ATTR_ADDR_RECEIVER] ||
attrs            3333 drivers/net/wireless/mac80211_hwsim.c 	    !info->attrs[HWSIM_ATTR_FRAME] ||
attrs            3334 drivers/net/wireless/mac80211_hwsim.c 	    !info->attrs[HWSIM_ATTR_RX_RATE] ||
attrs            3335 drivers/net/wireless/mac80211_hwsim.c 	    !info->attrs[HWSIM_ATTR_SIGNAL])
attrs            3338 drivers/net/wireless/mac80211_hwsim.c 	dst = (void *)nla_data(info->attrs[HWSIM_ATTR_ADDR_RECEIVER]);
attrs            3339 drivers/net/wireless/mac80211_hwsim.c 	frame_data_len = nla_len(info->attrs[HWSIM_ATTR_FRAME]);
attrs            3340 drivers/net/wireless/mac80211_hwsim.c 	frame_data = (void *)nla_data(info->attrs[HWSIM_ATTR_FRAME]);
attrs            3370 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_FREQ]) {
attrs            3376 drivers/net/wireless/mac80211_hwsim.c 		rx_status.freq = nla_get_u32(info->attrs[HWSIM_ATTR_FREQ]);
attrs            3390 drivers/net/wireless/mac80211_hwsim.c 	rx_status.rate_idx = nla_get_u32(info->attrs[HWSIM_ATTR_RX_RATE]);
attrs            3391 drivers/net/wireless/mac80211_hwsim.c 	rx_status.signal = nla_get_u32(info->attrs[HWSIM_ATTR_SIGNAL]);
attrs            3472 drivers/net/wireless/mac80211_hwsim.c 	param.reg_strict = info->attrs[HWSIM_ATTR_REG_STRICT_REG];
attrs            3473 drivers/net/wireless/mac80211_hwsim.c 	param.p2p_device = info->attrs[HWSIM_ATTR_SUPPORT_P2P_DEVICE];
attrs            3476 drivers/net/wireless/mac80211_hwsim.c 		info->attrs[HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE];
attrs            3478 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_CHANNELS])
attrs            3479 drivers/net/wireless/mac80211_hwsim.c 		param.channels = nla_get_u32(info->attrs[HWSIM_ATTR_CHANNELS]);
attrs            3491 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_NO_VIF])
attrs            3494 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_USE_CHANCTX])
attrs            3499 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_REG_HINT_ALPHA2])
attrs            3501 drivers/net/wireless/mac80211_hwsim.c 			nla_data(info->attrs[HWSIM_ATTR_REG_HINT_ALPHA2]);
attrs            3503 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_REG_CUSTOM_REG]) {
attrs            3504 drivers/net/wireless/mac80211_hwsim.c 		u32 idx = nla_get_u32(info->attrs[HWSIM_ATTR_REG_CUSTOM_REG]);
attrs            3514 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_PERM_ADDR]) {
attrs            3516 drivers/net/wireless/mac80211_hwsim.c 				nla_data(info->attrs[HWSIM_ATTR_PERM_ADDR]))) {
attrs            3519 drivers/net/wireless/mac80211_hwsim.c 					info->attrs[HWSIM_ATTR_PERM_ADDR]);
attrs            3523 drivers/net/wireless/mac80211_hwsim.c 		param.perm_addr = nla_data(info->attrs[HWSIM_ATTR_PERM_ADDR]);
attrs            3526 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_IFTYPE_SUPPORT]) {
attrs            3528 drivers/net/wireless/mac80211_hwsim.c 			nla_get_u32(info->attrs[HWSIM_ATTR_IFTYPE_SUPPORT]);
attrs            3532 drivers/net/wireless/mac80211_hwsim.c 					    info->attrs[HWSIM_ATTR_IFTYPE_SUPPORT],
attrs            3547 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_CIPHER_SUPPORT]) {
attrs            3548 drivers/net/wireless/mac80211_hwsim.c 		u32 len = nla_len(info->attrs[HWSIM_ATTR_CIPHER_SUPPORT]);
attrs            3551 drivers/net/wireless/mac80211_hwsim.c 			nla_data(info->attrs[HWSIM_ATTR_CIPHER_SUPPORT]);
attrs            3555 drivers/net/wireless/mac80211_hwsim.c 					    info->attrs[HWSIM_ATTR_CIPHER_SUPPORT],
attrs            3564 drivers/net/wireless/mac80211_hwsim.c 					    info->attrs[HWSIM_ATTR_CIPHER_SUPPORT],
attrs            3571 drivers/net/wireless/mac80211_hwsim.c 					    info->attrs[HWSIM_ATTR_CIPHER_SUPPORT],
attrs            3577 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_RADIO_NAME]) {
attrs            3578 drivers/net/wireless/mac80211_hwsim.c 		hwname = kstrndup((char *)nla_data(info->attrs[HWSIM_ATTR_RADIO_NAME]),
attrs            3579 drivers/net/wireless/mac80211_hwsim.c 				  nla_len(info->attrs[HWSIM_ATTR_RADIO_NAME]),
attrs            3597 drivers/net/wireless/mac80211_hwsim.c 	if (info->attrs[HWSIM_ATTR_RADIO_ID]) {
attrs            3598 drivers/net/wireless/mac80211_hwsim.c 		idx = nla_get_u32(info->attrs[HWSIM_ATTR_RADIO_ID]);
attrs            3599 drivers/net/wireless/mac80211_hwsim.c 	} else if (info->attrs[HWSIM_ATTR_RADIO_NAME]) {
attrs            3600 drivers/net/wireless/mac80211_hwsim.c 		hwname = kstrndup((char *)nla_data(info->attrs[HWSIM_ATTR_RADIO_NAME]),
attrs            3601 drivers/net/wireless/mac80211_hwsim.c 				  nla_len(info->attrs[HWSIM_ATTR_RADIO_NAME]),
attrs            3644 drivers/net/wireless/mac80211_hwsim.c 	if (!info->attrs[HWSIM_ATTR_RADIO_ID])
attrs            3646 drivers/net/wireless/mac80211_hwsim.c 	idx = nla_get_u32(info->attrs[HWSIM_ATTR_RADIO_ID]);
attrs             326 drivers/net/wireless/marvell/libertas/mesh.c 	.attrs = lbs_mesh_sysfs_entries,
attrs             788 drivers/net/wireless/marvell/libertas/mesh.c 	.attrs = boot_opts_attrs,
attrs             801 drivers/net/wireless/marvell/libertas/mesh.c 	.attrs = mesh_ie_attrs,
attrs            2138 drivers/net/xen-netfront.c 	.attrs = xennet_dev_attrs
attrs             171 drivers/nvdimm/btt_devs.c 	.attrs = nd_btt_attributes,
attrs             673 drivers/nvdimm/bus.c 	.attrs = nd_device_attributes,
attrs             702 drivers/nvdimm/bus.c 	.attrs = nd_numa_attributes,
attrs             389 drivers/nvdimm/core.c 	.attrs = nvdimm_bus_attributes,
attrs             454 drivers/nvdimm/dimm_devs.c 	.attrs = nvdimm_attributes,
attrs            1672 drivers/nvdimm/namespace_devs.c 	.attrs = nd_namespace_attributes,
attrs             291 drivers/nvdimm/pfn_devs.c 	.attrs = nd_pfn_attributes,
attrs             678 drivers/nvdimm/region_devs.c 	.attrs = nd_region_attributes,
attrs             860 drivers/nvdimm/region_devs.c 	.attrs = mapping_attributes,
attrs            2585 drivers/nvme/host/core.c 	.attrs = nvme_subsys_attrs,
attrs            3147 drivers/nvme/host/core.c 	.attrs		= nvme_ns_id_attrs,
attrs            3285 drivers/nvme/host/core.c 	.attrs		= nvme_dev_attrs,
attrs            3429 drivers/nvme/host/fc.c 	.attrs = nvme_fc_attrs,
attrs            1270 drivers/nvme/host/lightnvm.c 	.attrs		= nvm_dev_attrs,
attrs             377 drivers/nvme/host/rdma.c 	if (!(ndev->dev->attrs.device_cap_flags &
attrs             385 drivers/nvme/host/rdma.c 					ndev->dev->attrs.max_send_sge - 1);
attrs             430 drivers/nvme/host/rdma.c 		     ibdev->attrs.max_fast_reg_page_list_len - 1);
attrs            1595 drivers/nvme/host/rdma.c 	param.responder_resources = queue->device->dev->attrs.max_qp_rd_atom;
attrs            1313 drivers/nvme/target/fcloop.c 	.attrs		= fcloop_dev_attrs,
attrs             935 drivers/nvme/target/rdma.c 	inline_sge_count = max(cm_id->device->attrs.max_sge_rd,
attrs             936 drivers/nvme/target/rdma.c 				cm_id->device->attrs.max_recv_sge) - 1;
attrs            1012 drivers/nvme/target/rdma.c 	qp_attr.cap.max_send_sge = max(ndev->device->attrs.max_sge_rd,
attrs            1013 drivers/nvme/target/rdma.c 					ndev->device->attrs.max_send_sge);
attrs            1254 drivers/nvme/target/rdma.c 		queue->dev->device->attrs.max_qp_init_rd_atom);
attrs             124 drivers/nvmem/nvmem-sysfs.c 	.attrs		= nvmem_attrs,
attrs             148 drivers/nvmem/nvmem-sysfs.c 	.attrs		= nvmem_attrs,
attrs             173 drivers/nvmem/nvmem-sysfs.c 	.attrs		= nvmem_attrs,
attrs             197 drivers/nvmem/nvmem-sysfs.c 	.attrs		= nvmem_attrs,
attrs             788 drivers/parisc/ccio-dma.c 		unsigned long attrs)
attrs             804 drivers/parisc/ccio-dma.c 		enum dma_data_direction direction, unsigned long attrs)
attrs             846 drivers/parisc/ccio-dma.c 		unsigned long attrs)
attrs             880 drivers/parisc/ccio-dma.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             909 drivers/parisc/ccio-dma.c 	    enum dma_data_direction direction, unsigned long attrs)
attrs             988 drivers/parisc/ccio-dma.c 	      enum dma_data_direction direction, unsigned long attrs)
attrs             945 drivers/parisc/pdc_stable.c 	.attrs = pdcs_subsys_attrs,
attrs             777 drivers/parisc/sba_iommu.c 		unsigned long attrs)
attrs             795 drivers/parisc/sba_iommu.c 		enum dma_data_direction direction, unsigned long attrs)
attrs             873 drivers/parisc/sba_iommu.c 		gfp_t gfp, unsigned long attrs)
attrs             905 drivers/parisc/sba_iommu.c 		    dma_addr_t dma_handle, unsigned long attrs)
attrs             940 drivers/parisc/sba_iommu.c 	   enum dma_data_direction direction, unsigned long attrs)
attrs            1024 drivers/parisc/sba_iommu.c 	     enum dma_data_direction direction, unsigned long attrs)
attrs             312 drivers/pci/controller/vmd.c 		       gfp_t flag, unsigned long attrs)
attrs             314 drivers/pci/controller/vmd.c 	return dma_alloc_attrs(to_vmd_dev(dev), size, addr, flag, attrs);
attrs             318 drivers/pci/controller/vmd.c 		     dma_addr_t addr, unsigned long attrs)
attrs             320 drivers/pci/controller/vmd.c 	return dma_free_attrs(to_vmd_dev(dev), size, vaddr, addr, attrs);
attrs             325 drivers/pci/controller/vmd.c 		    unsigned long attrs)
attrs             328 drivers/pci/controller/vmd.c 			attrs);
attrs             333 drivers/pci/controller/vmd.c 			   unsigned long attrs)
attrs             336 drivers/pci/controller/vmd.c 			attrs);
attrs             342 drivers/pci/controller/vmd.c 			       unsigned long attrs)
attrs             345 drivers/pci/controller/vmd.c 			attrs);
attrs             349 drivers/pci/controller/vmd.c 			   enum dma_data_direction dir, unsigned long attrs)
attrs             351 drivers/pci/controller/vmd.c 	dma_unmap_page_attrs(to_vmd_dev(dev), addr, size, dir, attrs);
attrs             355 drivers/pci/controller/vmd.c 		      enum dma_data_direction dir, unsigned long attrs)
attrs             357 drivers/pci/controller/vmd.c 	return dma_map_sg_attrs(to_vmd_dev(dev), sg, nents, dir, attrs);
attrs             361 drivers/pci/controller/vmd.c 			 enum dma_data_direction dir, unsigned long attrs)
attrs             363 drivers/pci/controller/vmd.c 	dma_unmap_sg_attrs(to_vmd_dev(dev), sg, nents, dir, attrs);
attrs             101 drivers/pci/hotplug/rpadlpar_sysfs.c 	.attrs = default_attrs,
attrs             405 drivers/pci/iov.c 	.attrs = sriov_dev_attrs,
attrs             391 drivers/pci/msi.c 		msi_attrs = dev->msi_irq_groups[0]->attrs;
attrs             525 drivers/pci/msi.c 	msi_irq_group->attrs = msi_attrs;
attrs              91 drivers/pci/p2pdma.c 	.attrs = p2pmem_attrs,
attrs             856 drivers/pci/p2pdma.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             869 drivers/pci/p2pdma.c 		return dma_map_sg_attrs(dev, sg, nents, dir, attrs);
attrs             889 drivers/pci/p2pdma.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             904 drivers/pci/p2pdma.c 		dma_unmap_sg_attrs(dev, sg, nents, dir, attrs);
attrs             129 drivers/pci/pci-label.c 	.attrs = smbios_attributes,
attrs             266 drivers/pci/pci-label.c 	.attrs = acpi_attributes,
attrs             442 drivers/pci/pci-sysfs.c 	.attrs = pci_bus_attrs,
attrs             653 drivers/pci/pci-sysfs.c 	.attrs = pcibus_attrs,
attrs            1536 drivers/pci/pci-sysfs.c 	.attrs = pci_dev_attrs,
attrs            1545 drivers/pci/pci-sysfs.c 	.attrs = pci_bridge_attrs,
attrs            1554 drivers/pci/pci-sysfs.c 	.attrs = pcie_dev_attrs,
attrs            1563 drivers/pci/pci-sysfs.c 	.attrs = pci_dev_hp_attrs,
attrs            1568 drivers/pci/pci-sysfs.c 	.attrs = pci_dev_dev_attrs,
attrs            1573 drivers/pci/pci-sysfs.c 	.attrs = pci_bridge_attrs,
attrs            1578 drivers/pci/pci-sysfs.c 	.attrs = pcie_dev_attrs,
attrs             653 drivers/pci/pcie/aer.c 	.attrs  = aer_stats_attrs,
attrs            1194 drivers/pcmcia/rsrc_nonstatic.c 	.attrs = pccard_rsrc_attributes,
attrs             217 drivers/pcmcia/socket_sysfs.c 	.attrs = pccard_socket_attributes,
attrs            1380 drivers/perf/arm-cci.c 	.attrs = pmu_attrs,
attrs            1385 drivers/perf/arm-cci.c 	.attrs = NULL,		/* Filled in cci_pmu_init_attrs */
attrs            1390 drivers/perf/arm-cci.c 	.attrs = NULL,		/* Filled in cci_pmu_init_attrs */
attrs            1411 drivers/perf/arm-cci.c 	pmu_event_attr_group.attrs = model->event_attrs;
attrs            1412 drivers/perf/arm-cci.c 	pmu_format_attr_group.attrs = model->format_attrs;
attrs             261 drivers/perf/arm-ccn.c 	.attrs = arm_ccn_pmu_format_attrs,
attrs             451 drivers/perf/arm-ccn.c 	.attrs = arm_ccn_pmu_events_attrs,
attrs             547 drivers/perf/arm-ccn.c 	.attrs = arm_ccn_pmu_cmp_mask_attrs,
attrs             567 drivers/perf/arm-ccn.c 	.attrs = arm_ccn_pmu_cpumask_attrs,
attrs             182 drivers/perf/arm_dsu_pmu.c 	.attrs = dsu_pmu_format_attrs,
attrs             212 drivers/perf/arm_dsu_pmu.c 	.attrs = dsu_pmu_event_attrs,
attrs             223 drivers/perf/arm_dsu_pmu.c 	.attrs = dsu_pmu_cpumask_attrs,
attrs             505 drivers/perf/arm_pmu.c 	.attrs = armpmu_common_attrs,
attrs             495 drivers/perf/arm_smmuv3_pmu.c 	.attrs = smmu_pmu_cpumask_attrs,
attrs             551 drivers/perf/arm_smmuv3_pmu.c 	.attrs = smmu_pmu_events,
attrs             571 drivers/perf/arm_smmuv3_pmu.c 	.attrs = smmu_pmu_formats,
attrs             151 drivers/perf/arm_spe_pmu.c 	.attrs	= arm_spe_pmu_cap_attr,
attrs             232 drivers/perf/arm_spe_pmu.c 	.attrs	= arm_spe_pmu_formats_attr,
attrs             251 drivers/perf/arm_spe_pmu.c 	.attrs	= arm_spe_pmu_attrs,
attrs              99 drivers/perf/fsl_imx8_ddr_perf.c 	.attrs = ddr_perf_cpumask_attrs,
attrs             156 drivers/perf/fsl_imx8_ddr_perf.c 	.attrs = ddr_perf_events_attrs,
attrs             172 drivers/perf/fsl_imx8_ddr_perf.c 	.attrs = ddr_perf_format_attrs,
attrs             283 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c 	.attrs = hisi_ddrc_pmu_format_attr,
attrs             300 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c 	.attrs = hisi_ddrc_pmu_events_attr,
attrs             311 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c 	.attrs = hisi_ddrc_pmu_cpumask_attrs,
attrs             276 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c 	.attrs = hisi_hha_pmu_format_attr,
attrs             311 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c 	.attrs = hisi_hha_pmu_events_attr,
attrs             322 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c 	.attrs = hisi_hha_pmu_cpumask_attrs,
attrs             279 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c 	.attrs = hisi_l3c_pmu_format_attr,
attrs             301 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c 	.attrs = hisi_l3c_pmu_events_attr,
attrs             312 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c 	.attrs = hisi_l3c_pmu_cpumask_attrs,
attrs             695 drivers/perf/qcom_l2_pmu.c 	.attrs = l2_cache_pmu_cpumask_attrs,
attrs             712 drivers/perf/qcom_l2_pmu.c 	.attrs = l2_cache_pmu_formats,
attrs             747 drivers/perf/qcom_l2_pmu.c 	.attrs = l2_cache_pmu_events,
attrs             635 drivers/perf/qcom_l3_pmu.c 	.attrs = qcom_l3_cache_pmu_formats,
attrs             668 drivers/perf/qcom_l3_pmu.c 	.attrs = qcom_l3_cache_pmu_events,
attrs             689 drivers/perf/qcom_l3_pmu.c 	.attrs = qcom_l3_cache_pmu_cpumask_attrs,
attrs             109 drivers/perf/thunderx2_pmu.c 	.attrs = l3c_pmu_format_attrs,
attrs             114 drivers/perf/thunderx2_pmu.c 	.attrs = dmc_pmu_format_attrs,
attrs             169 drivers/perf/thunderx2_pmu.c 	.attrs = l3c_pmu_events_attrs,
attrs             174 drivers/perf/thunderx2_pmu.c 	.attrs = dmc_pmu_events_attrs,
attrs             196 drivers/perf/thunderx2_pmu.c 	.attrs = tx2_pmu_cpumask_attrs,
attrs             207 drivers/perf/xgene_pmu.c 	.attrs = l3c_pmu_format_attrs,
attrs             212 drivers/perf/xgene_pmu.c 	.attrs = iob_pmu_format_attrs,
attrs             217 drivers/perf/xgene_pmu.c 	.attrs = mcb_pmu_format_attrs,
attrs             222 drivers/perf/xgene_pmu.c 	.attrs = mc_pmu_format_attrs,
attrs             252 drivers/perf/xgene_pmu.c 	.attrs = l3c_pmu_v3_format_attrs,
attrs             257 drivers/perf/xgene_pmu.c 	.attrs = iob_pmu_v3_format_attrs,
attrs             262 drivers/perf/xgene_pmu.c 	.attrs = iob_slow_pmu_v3_format_attrs,
attrs             267 drivers/perf/xgene_pmu.c 	.attrs = mcb_pmu_v3_format_attrs,
attrs             272 drivers/perf/xgene_pmu.c 	.attrs = mc_pmu_v3_format_attrs,
attrs             373 drivers/perf/xgene_pmu.c 	.attrs = l3c_pmu_events_attrs,
attrs             378 drivers/perf/xgene_pmu.c 	.attrs = iob_pmu_events_attrs,
attrs             383 drivers/perf/xgene_pmu.c 	.attrs = mcb_pmu_events_attrs,
attrs             388 drivers/perf/xgene_pmu.c 	.attrs = mc_pmu_events_attrs,
attrs             581 drivers/perf/xgene_pmu.c 	.attrs = l3c_pmu_v3_events_attrs,
attrs             586 drivers/perf/xgene_pmu.c 	.attrs = iob_fast_pmu_v3_events_attrs,
attrs             591 drivers/perf/xgene_pmu.c 	.attrs = iob_slow_pmu_v3_events_attrs,
attrs             596 drivers/perf/xgene_pmu.c 	.attrs = mcb_pmu_v3_events_attrs,
attrs             601 drivers/perf/xgene_pmu.c 	.attrs = mc_pmu_v3_events_attrs,
attrs             623 drivers/perf/xgene_pmu.c 	.attrs = xgene_pmu_cpumask_attrs,
attrs             228 drivers/phy/broadcom/phy-brcm-usb.c 	.attrs = brcm_usb_phy_attrs,
attrs             215 drivers/phy/marvell/phy-mvebu-a3700-comphy.c 					  phy->attrs.bus_width);
attrs             369 drivers/phy/phy-core.c 		phy->attrs.mode = mode;
attrs             553 drivers/platform/chrome/cros_ec_lightbar.c 	.attrs = __lb_cmds_attrs,
attrs             340 drivers/platform/chrome/cros_ec_sysfs.c 	.attrs = __ec_attrs,
attrs             145 drivers/platform/chrome/wilco_ec/sysfs.c 	.attrs = wilco_dev_attrs,
attrs             232 drivers/platform/mellanox/mlxreg-hotplug.c 	priv->group.attrs = devm_kcalloc(&priv->pdev->dev,
attrs             236 drivers/platform/mellanox/mlxreg-hotplug.c 	if (!priv->group.attrs)
attrs             239 drivers/platform/mellanox/mlxreg-hotplug.c 	priv->group.attrs = priv->mlxreg_hotplug_attr;
attrs             155 drivers/platform/mellanox/mlxreg-io.c 	priv->group.attrs = devm_kcalloc(&priv->pdev->dev,
attrs             159 drivers/platform/mellanox/mlxreg-io.c 	if (!priv->group.attrs)
attrs             187 drivers/platform/mellanox/mlxreg-io.c 	priv->group.attrs = priv->mlxreg_io_attr;
attrs              57 drivers/platform/mips/cpu_hwmon.c 	.attrs = cpu_hwmon_attributes,
attrs             483 drivers/platform/x86/alienware-wmi.c 	zone_attribute_group.attrs = zone_attrs;
attrs             618 drivers/platform/x86/alienware-wmi.c 	.attrs = hdmi_attrs,
attrs             674 drivers/platform/x86/alienware-wmi.c 	.attrs = amplifier_attrs,
attrs             755 drivers/platform/x86/alienware-wmi.c 	.attrs = deepsleep_attrs,
attrs            1637 drivers/platform/x86/asus-laptop.c 	.attrs		= asus_attributes,
attrs            1572 drivers/platform/x86/asus-wmi.c 	.attrs = hwmon_attributes
attrs            2187 drivers/platform/x86/asus-wmi.c 	.attrs = platform_attributes
attrs             703 drivers/platform/x86/compal-laptop.c 	.attrs = compal_platform_attrs
attrs             634 drivers/platform/x86/dcdbas.c 	.attrs = dcdbas_dev_attrs,
attrs            1967 drivers/platform/x86/dell-laptop.c 	.attrs = kbd_led_attrs,
attrs            1977 drivers/platform/x86/dell-laptop.c 	.attrs = kbd_led_als_attrs,
attrs             526 drivers/platform/x86/dell-smbios-base.c 	smbios_attribute_group.attrs = token_attrs;
attrs             440 drivers/platform/x86/eeepc-laptop.c 	.attrs = platform_attributes
attrs             323 drivers/platform/x86/fujitsu-laptop.c 	.attrs = fujitsu_pf_attributes
attrs             467 drivers/platform/x86/hdaps.c 	.attrs = hdaps_attributes,
attrs             546 drivers/platform/x86/ideapad-laptop.c 	.attrs = ideapad_attributes
attrs              56 drivers/platform/x86/intel-wmi-thunderbolt.c 	.attrs = tbt_attrs,
attrs             618 drivers/platform/x86/intel_pmc_ipc.c 	.attrs = intel_ipc_attrs,
attrs             517 drivers/platform/x86/lg-laptop.c 	.attrs = dev_attributes,
attrs             554 drivers/platform/x86/msi-laptop.c 	.attrs = msipf_attributes
attrs             558 drivers/platform/x86/msi-laptop.c 	.attrs = msipf_old_attributes
attrs             429 drivers/platform/x86/panasonic-laptop.c 	.attrs	= pcc_sysfs_entries,
attrs            1232 drivers/platform/x86/samsung-laptop.c 	.attrs = platform_attributes
attrs            1975 drivers/platform/x86/sony-laptop.c 	struct device_attribute attrs[2];
attrs            2089 drivers/platform/x86/sony-laptop.c 	sysfs_attr_init(&bcare_ctl->attrs[0].attr);
attrs            2090 drivers/platform/x86/sony-laptop.c 	bcare_ctl->attrs[0].attr.name = "battery_care_limiter";
attrs            2091 drivers/platform/x86/sony-laptop.c 	bcare_ctl->attrs[0].attr.mode = S_IRUGO | S_IWUSR;
attrs            2092 drivers/platform/x86/sony-laptop.c 	bcare_ctl->attrs[0].show = sony_nc_battery_care_limit_show;
attrs            2093 drivers/platform/x86/sony-laptop.c 	bcare_ctl->attrs[0].store = sony_nc_battery_care_limit_store;
attrs            2095 drivers/platform/x86/sony-laptop.c 	ret = device_create_file(&pd->dev, &bcare_ctl->attrs[0]);
attrs            2103 drivers/platform/x86/sony-laptop.c 	sysfs_attr_init(&bcare_ctl->attrs[1].attr);
attrs            2104 drivers/platform/x86/sony-laptop.c 	bcare_ctl->attrs[1].attr.name = "battery_care_health";
attrs            2105 drivers/platform/x86/sony-laptop.c 	bcare_ctl->attrs[1].attr.mode = S_IRUGO;
attrs            2106 drivers/platform/x86/sony-laptop.c 	bcare_ctl->attrs[1].show = sony_nc_battery_care_health_show;
attrs            2108 drivers/platform/x86/sony-laptop.c 	ret = device_create_file(&pd->dev, &bcare_ctl->attrs[1]);
attrs            2115 drivers/platform/x86/sony-laptop.c 	device_remove_file(&pd->dev, &bcare_ctl->attrs[0]);
attrs            2127 drivers/platform/x86/sony-laptop.c 		device_remove_file(&pd->dev, &bcare_ctl->attrs[0]);
attrs            2129 drivers/platform/x86/sony-laptop.c 			device_remove_file(&pd->dev, &bcare_ctl->attrs[1]);
attrs            2311 drivers/platform/x86/sony-laptop.c 	struct device_attribute attrs[LID_RESUME_MAX];
attrs            2337 drivers/platform/x86/sony-laptop.c 		if (&lid_ctl->attrs[pos].attr == &attr->attr)
attrs            2365 drivers/platform/x86/sony-laptop.c 		if (&lid_ctl->attrs[pos].attr == &attr->attr)
attrs            2389 drivers/platform/x86/sony-laptop.c 	sysfs_attr_init(&lid_ctl->attrs[0].attr);
attrs            2390 drivers/platform/x86/sony-laptop.c 	lid_ctl->attrs[LID_RESUME_S5].attr.name = "lid_resume_S5";
attrs            2391 drivers/platform/x86/sony-laptop.c 	lid_ctl->attrs[LID_RESUME_S5].attr.mode = S_IRUGO | S_IWUSR;
attrs            2392 drivers/platform/x86/sony-laptop.c 	lid_ctl->attrs[LID_RESUME_S5].show = sony_nc_lid_resume_show;
attrs            2393 drivers/platform/x86/sony-laptop.c 	lid_ctl->attrs[LID_RESUME_S5].store = sony_nc_lid_resume_store;
attrs            2396 drivers/platform/x86/sony-laptop.c 		sysfs_attr_init(&lid_ctl->attrs[1].attr);
attrs            2397 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S4].attr.name = "lid_resume_S4";
attrs            2398 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S4].attr.mode = S_IRUGO | S_IWUSR;
attrs            2399 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S4].show = sony_nc_lid_resume_show;
attrs            2400 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S4].store = sony_nc_lid_resume_store;
attrs            2402 drivers/platform/x86/sony-laptop.c 		sysfs_attr_init(&lid_ctl->attrs[2].attr);
attrs            2403 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S3].attr.name = "lid_resume_S3";
attrs            2404 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S3].attr.mode = S_IRUGO | S_IWUSR;
attrs            2405 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S3].show = sony_nc_lid_resume_show;
attrs            2406 drivers/platform/x86/sony-laptop.c 		lid_ctl->attrs[LID_RESUME_S3].store = sony_nc_lid_resume_store;
attrs            2409 drivers/platform/x86/sony-laptop.c 			lid_ctl->attrs[i].attr.name; i++) {
attrs            2410 drivers/platform/x86/sony-laptop.c 		result = device_create_file(&pd->dev, &lid_ctl->attrs[i]);
attrs            2419 drivers/platform/x86/sony-laptop.c 		device_remove_file(&pd->dev, &lid_ctl->attrs[i]);
attrs            2433 drivers/platform/x86/sony-laptop.c 			if (!lid_ctl->attrs[i].attr.name)
attrs            2436 drivers/platform/x86/sony-laptop.c 			device_remove_file(&pd->dev, &lid_ctl->attrs[i]);
attrs            4024 drivers/platform/x86/sony-laptop.c 	.attrs = spic_attributes
attrs             160 drivers/platform/x86/tc1100-wmi.c 	.attrs	= tc1100_attributes,
attrs            1039 drivers/platform/x86/thinkpad_acpi.c 	sobj->s.group.attrs = &sobj->a;
attrs            1057 drivers/platform/x86/thinkpad_acpi.c 	s->group.attrs[s->members] = attr;
attrs            3093 drivers/platform/x86/thinkpad_acpi.c 	.attrs = adaptive_kbd_attributes,
attrs            4457 drivers/platform/x86/thinkpad_acpi.c 	.attrs = bluetooth_attributes,
attrs            4714 drivers/platform/x86/thinkpad_acpi.c 	.attrs = wan_attributes,
attrs            6457 drivers/platform/x86/thinkpad_acpi.c 	.attrs = thermal_temp_input_attr
attrs            6461 drivers/platform/x86/thinkpad_acpi.c 	.attrs = &thermal_temp_input_attr[8]
attrs            8762 drivers/platform/x86/thinkpad_acpi.c 	.attrs = fan_attributes,
attrs            2401 drivers/platform/x86/toshiba_acpi.c 	.attrs = toshiba_attributes,
attrs             126 drivers/platform/x86/toshiba_haps.c 	.attrs = haps_attributes,
attrs             463 drivers/pnp/interface.c 	.attrs = pnp_dev_attrs,
attrs            1380 drivers/power/supply/charger-manager.c 		charger->attrs[0] = &charger->attr_name.attr;
attrs            1381 drivers/power/supply/charger-manager.c 		charger->attrs[1] = &charger->attr_state.attr;
attrs            1382 drivers/power/supply/charger-manager.c 		charger->attrs[2] = &charger->attr_externally_control.attr;
attrs            1383 drivers/power/supply/charger-manager.c 		charger->attrs[3] = NULL;
attrs            1386 drivers/power/supply/charger-manager.c 		charger->attr_grp.attrs = charger->attrs;
attrs             736 drivers/power/supply/ds2780_battery.c 	.attrs = ds2780_sysfs_attrs,
attrs             739 drivers/power/supply/ds2781_battery.c 	.attrs = ds2781_sysfs_attrs,
attrs             593 drivers/power/supply/olpc_battery.c 	.attrs = olpc_bat_sysfs_attrs,
attrs             346 drivers/power/supply/power_supply_sysfs.c 	.attrs = __power_supply_attrs,
attrs             554 drivers/powercap/powercap_sys.c 	power_zone->dev_zone_attr_group.attrs = power_zone->zone_dev_attrs;
attrs              93 drivers/pps/sysfs.c 	.attrs = pps_attrs,
attrs             193 drivers/ptp/ptp_sysfs.c 	.attrs		= ptp_attrs,
attrs             286 drivers/ptp/ptp_sysfs.c 	ptp->pin_attr_group.attrs = ptp->pin_attr;
attrs             279 drivers/rapidio/rio-sysfs.c 	.attrs		= rio_dev_attrs,
attrs             320 drivers/rapidio/rio-sysfs.c 	.attrs = rio_bus_attrs,
attrs             360 drivers/rapidio/rio-sysfs.c 	.attrs = rio_mport_attrs,
attrs            4730 drivers/regulator/core.c 	.attrs = regulator_dev_attrs,
attrs             100 drivers/regulator/userspace-consumer.c 	.attrs	= attributes,
attrs             281 drivers/regulator/virtual.c 	.attrs	= regulator_virtual_attributes,
attrs             134 drivers/remoteproc/remoteproc_sysfs.c 	.attrs = rproc_attrs
attrs             320 drivers/rtc/rtc-ab8500.c 	.attrs	= ab8500_rtc_attrs,
attrs             497 drivers/rtc/rtc-abx80x.c 	.attrs		= rtc_calib_attrs,
attrs            1164 drivers/rtc/rtc-ds1307.c 	.attrs		= rtc_freq_test_attrs,
attrs            1029 drivers/rtc/rtc-ds1685.c 	.attrs = ds1685_rtc_sysfs_misc_attrs,
attrs             119 drivers/rtc/rtc-ep93xx.c 	.attrs	= ep93xx_rtc_attrs,
attrs             729 drivers/rtc/rtc-isl1208.c 	.attrs	= isl1208_rtc_attrs,
attrs             738 drivers/rtc/rtc-isl1208.c 	.attrs	= isl1219_rtc_attrs,
attrs             413 drivers/rtc/rtc-pcf2127.c 	.attrs	= pcf2127_attrs,
attrs             162 drivers/rtc/rtc-rv3028.c 	.attrs	= rv3028_attrs,
attrs             299 drivers/rtc/sysfs.c 	.attrs		= rtc_attrs,
attrs            1704 drivers/s390/block/dasd_devmap.c 	.attrs = dasd_attrs,
attrs            1716 drivers/s390/block/dasd_devmap.c 	.attrs = capacity_attrs,
attrs            1730 drivers/s390/block/dasd_devmap.c 	.attrs = ext_pool_attrs,
attrs             536 drivers/s390/block/dcssblk.c 	.attrs = dcssblk_dev_attrs,
attrs              70 drivers/s390/block/scm_blk.h 		.oper_state = scmdev->attrs.oper_state,
attrs              71 drivers/s390/block/scm_blk.h 		.rank = scmdev->attrs.rank,
attrs              44 drivers/s390/block/scm_drv.c 	if (scmdev->attrs.oper_state != OP_STATE_GOOD)
attrs            1088 drivers/s390/char/raw3270.c 	.attrs = raw3270_attrs,
attrs            1147 drivers/s390/char/sclp.c 	.attrs = sclp_drv_attrs,
attrs             380 drivers/s390/char/sclp_cpi_sys.c 	.attrs = cpi_attrs,
attrs             131 drivers/s390/char/sclp_ocf.c 	.attrs = ocf_attrs,
attrs             180 drivers/s390/char/tape_core.c 	.attrs = tape_attrs,
attrs             660 drivers/s390/char/vmlogrdr.c 	.attrs = vmlogrdr_drv_attrs,
attrs             675 drivers/s390/char/vmlogrdr.c 	.attrs = vmlogrdr_attrs,
attrs             219 drivers/s390/cio/ccwgroup.c 	.attrs = ccwgroup_attrs,
attrs             420 drivers/s390/cio/chp.c 	.attrs = chp_attrs,
attrs            1053 drivers/s390/cio/cmf.c 	.attrs = cmf_attributes,
attrs            1073 drivers/s390/cio/cmf.c 	.attrs = cmf_attributes_ext,
attrs             387 drivers/s390/cio/css.c 	.attrs = subch_attrs,
attrs             932 drivers/s390/cio/css.c 	.attrs = cssdev_attrs,
attrs             941 drivers/s390/cio/css.c 	.attrs = cssdev_cm_attrs,
attrs             616 drivers/s390/cio/device.c 	.attrs = io_subchannel_attrs,
attrs             630 drivers/s390/cio/device.c 	.attrs = ccwdev_attrs,
attrs              93 drivers/s390/cio/scm.c 	ret = sprintf(buf, "%u\n", scmdev->attrs.name);			\
attrs             118 drivers/s390/cio/scm.c 	.attrs = scmdev_attrs,
attrs             140 drivers/s390/cio/scm.c 	scmdev->attrs.rank = sale->rank;
attrs             141 drivers/s390/cio/scm.c 	scmdev->attrs.persistence = sale->p;
attrs             142 drivers/s390/cio/scm.c 	scmdev->attrs.oper_state = sale->op_state;
attrs             143 drivers/s390/cio/scm.c 	scmdev->attrs.data_state = sale->data_state;
attrs             144 drivers/s390/cio/scm.c 	scmdev->attrs.rank = sale->rank;
attrs             145 drivers/s390/cio/scm.c 	scmdev->attrs.release = sale->r;
attrs             146 drivers/s390/cio/scm.c 	scmdev->attrs.res_id = sale->rid;
attrs             162 drivers/s390/cio/scm.c 	changed = scmdev->attrs.rank != sale->rank ||
attrs             163 drivers/s390/cio/scm.c 		  scmdev->attrs.oper_state != sale->op_state;
attrs             164 drivers/s390/cio/scm.c 	scmdev->attrs.rank = sale->rank;
attrs             165 drivers/s390/cio/scm.c 	scmdev->attrs.oper_state = sale->op_state;
attrs             105 drivers/s390/cio/vfio_ccw_ops.c 	.attrs = mdev_types_attrs,
attrs             148 drivers/s390/crypto/ap_card.c 	.attrs = ap_card_dev_attrs
attrs             605 drivers/s390/crypto/ap_queue.c 	.attrs = ap_queue_dev_attrs
attrs             401 drivers/s390/crypto/vfio_ap_ops.c 	.attrs = vfio_ap_mdev_type_attrs,
attrs            1015 drivers/s390/crypto/vfio_ap_ops.c 	.attrs = vfio_ap_mdev_attrs
attrs             295 drivers/s390/crypto/zcrypt_api.c 	.attrs = zcdn_dev_attrs
attrs             102 drivers/s390/crypto/zcrypt_card.c 	.attrs = zcrypt_card_attrs,
attrs              99 drivers/s390/crypto/zcrypt_cex4.c 	.attrs = cca_card_attrs,
attrs             149 drivers/s390/crypto/zcrypt_cex4.c 	.attrs = cca_queue_attrs,
attrs              93 drivers/s390/crypto/zcrypt_queue.c 	.attrs = zcrypt_queue_attrs,
attrs            1787 drivers/s390/net/ctcm_main.c 	.attrs = ctcm_drv_attrs,
attrs             204 drivers/s390/net/ctcm_sysfs.c 	.attrs = ctcm_attr,
attrs            2025 drivers/s390/net/lcs.c 	.attrs = lcs_attrs,
attrs            2406 drivers/s390/net/lcs.c 	.attrs = lcs_drv_attrs,
attrs            1771 drivers/s390/net/netiucv.c 	.attrs = netiucv_attrs,
attrs            1790 drivers/s390/net/netiucv.c 	.attrs = netiucv_stat_attrs,
attrs            2127 drivers/s390/net/netiucv.c 	.attrs = netiucv_drv_attrs,
attrs            2955 drivers/s390/net/qeth_core_main.c 	struct qeth_query_switch_attributes *attrs;
attrs            2963 drivers/s390/net/qeth_core_main.c 	attrs = &cmd->data.setadapterparms.data.query_switch_attributes;
attrs            2964 drivers/s390/net/qeth_core_main.c 	sw_info->capabilities = attrs->capabilities;
attrs            2965 drivers/s390/net/qeth_core_main.c 	sw_info->settings = attrs->settings;
attrs            5817 drivers/s390/net/qeth_core_main.c 	.attrs = qeth_drv_attrs,
attrs             714 drivers/s390/net/qeth_core_sys.c 	.attrs = qeth_blkt_device_attrs,
attrs             737 drivers/s390/net/qeth_core_sys.c 	.attrs = qeth_device_attrs,
attrs             757 drivers/s390/net/qeth_core_sys.c 	.attrs = qeth_osn_device_attrs,
attrs             263 drivers/s390/net/qeth_l2_sys.c 	.attrs = qeth_l2_bridgeport_attrs,
attrs             437 drivers/s390/net/qeth_l2_sys.c 	.attrs = qeth_l2_vnicc_attrs,
attrs             347 drivers/s390/net/qeth_l3_sys.c 	.attrs = qeth_l3_device_attrs,
attrs             684 drivers/s390/net/qeth_l3_sys.c 	.attrs = qeth_ipato_device_attrs,
attrs             846 drivers/s390/net/qeth_l3_sys.c 	.attrs = qeth_vipa_device_attrs,
attrs             989 drivers/s390/net/qeth_l3_sys.c 	.attrs = qeth_rxip_device_attrs,
attrs             344 drivers/s390/scsi/zfcp_sysfs.c 	.attrs = zfcp_adapter_attrs,
attrs             393 drivers/s390/scsi/zfcp_sysfs.c 	.attrs = zfcp_port_attrs,
attrs             410 drivers/s390/scsi/zfcp_sysfs.c 	.attrs = zfcp_unit_attrs,
attrs             569 drivers/scsi/fcoe/fcoe_sysfs.c 	.attrs = fcoe_ctlr_lesb_attrs,
attrs             583 drivers/scsi/fcoe/fcoe_sysfs.c 	.attrs = fcoe_ctlr_attrs,
attrs             608 drivers/scsi/fcoe/fcoe_sysfs.c 	.attrs = fcoe_fcf_attrs,
attrs             153 drivers/scsi/iscsi_boot_sysfs.c 	.attrs = target_attrs,
attrs             239 drivers/scsi/iscsi_boot_sysfs.c 	.attrs = ethernet_attrs,
attrs             297 drivers/scsi/iscsi_boot_sysfs.c 	.attrs = initiator_attrs,
attrs             333 drivers/scsi/iscsi_boot_sysfs.c 	.attrs = acpitbl_attrs,
attrs            2863 drivers/scsi/qla2xxx/qla_def.h 			struct ct_fdmi_hba_attributes attrs;
attrs            2870 drivers/scsi/qla2xxx/qla_def.h 			struct ct_fdmiv2_hba_attributes attrs;
attrs            2875 drivers/scsi/qla2xxx/qla_def.h 			struct ct_fdmi_hba_attributes attrs;
attrs            2880 drivers/scsi/qla2xxx/qla_def.h 			struct ct_fdmi_port_attributes attrs;
attrs            2885 drivers/scsi/qla2xxx/qla_def.h 			struct ct_fdmiv2_port_attributes attrs;
attrs            3000 drivers/scsi/qla2xxx/qla_def.h 			struct ct_fdmi_hba_attributes attrs;
attrs            1539 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rhba.attrs.count =
attrs            1749 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rpa.attrs.count = cpu_to_be32(FDMI_PORT_ATTR_COUNT);
attrs            1962 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rhba2.attrs.count = cpu_to_be32(FDMIV2_HBA_ATTR_COUNT);
attrs            2321 drivers/scsi/qla2xxx/qla_gs.c 	ct_req->req.rpa2.attrs.count = cpu_to_be32(FDMIV2_PORT_ATTR_COUNT);
attrs              29 drivers/scsi/raid_class.c 	struct device_attribute *attrs[RAID_NUM_ATTRS + 1];
attrs             273 drivers/scsi/raid_class.c 	i->r.raid_attrs.ac.attrs = &i->attrs[0];
attrs             277 drivers/scsi/raid_class.c 	i->attrs[count++] = &dev_attr_level;
attrs             278 drivers/scsi/raid_class.c 	i->attrs[count++] = &dev_attr_resync;
attrs             279 drivers/scsi/raid_class.c 	i->attrs[count++] = &dev_attr_state;
attrs             281 drivers/scsi/raid_class.c 	i->attrs[count] = NULL;
attrs             418 drivers/scsi/scsi_sysfs.c 	.attrs =	scsi_sysfs_shost_attrs,
attrs            1257 drivers/scsi/scsi_sysfs.c 	.attrs =	scsi_sdev_attrs,
attrs            1801 drivers/scsi/scsi_transport_fc.c 	.attrs = fc_statistics_attrs,
attrs            2162 drivers/scsi/scsi_transport_fc.c 	i->t.target_attrs.ac.attrs = &i->starget_attrs[0];
attrs            2168 drivers/scsi/scsi_transport_fc.c 	i->t.host_attrs.ac.attrs = &i->host_attrs[0];
attrs            2176 drivers/scsi/scsi_transport_fc.c 	i->rport_attr_cont.ac.attrs = &i->rport_attrs[0];
attrs            2181 drivers/scsi/scsi_transport_fc.c 	i->vport_attr_cont.ac.attrs = &i->vport_attrs[0];
attrs             150 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_transport_attrs,
attrs             188 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_endpoint_attrs,
attrs             691 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_iface_attrs,
attrs             999 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_flashnode_sess_attrs,
attrs            1186 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_flashnode_conn_attrs,
attrs            3950 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_conn_attrs,
attrs            4245 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_session_attrs,
attrs            4313 drivers/scsi/scsi_transport_iscsi.c 	.attrs = iscsi_host_attrs,
attrs            1753 drivers/scsi/scsi_transport_sas.c 	i->t.host_attrs.ac.attrs = &i->host_attrs[0];
attrs            1760 drivers/scsi/scsi_transport_sas.c 	i->phy_attr_cont.ac.attrs = &i->phy_attrs[0];
attrs            1765 drivers/scsi/scsi_transport_sas.c 	i->port_attr_cont.ac.attrs = &i->port_attrs[0];
attrs            1770 drivers/scsi/scsi_transport_sas.c 	i->rphy_attr_cont.ac.attrs = &i->rphy_attrs[0];
attrs            1775 drivers/scsi/scsi_transport_sas.c 	i->end_dev_attr_cont.ac.attrs = &i->end_dev_attrs[0];
attrs            1780 drivers/scsi/scsi_transport_sas.c 	i->expander_attr_cont.ac.attrs = &i->expander_attrs[0];
attrs            1431 drivers/scsi/scsi_transport_spi.c 	.attrs = host_attributes,
attrs            1541 drivers/scsi/scsi_transport_spi.c 	.attrs = target_attributes,
attrs             817 drivers/scsi/scsi_transport_srp.c 	i->t.host_attrs.ac.attrs = &i->host_attrs[0];
attrs             823 drivers/scsi/scsi_transport_srp.c 	i->rport_attr_cont.ac.attrs = &i->rport_attrs[0];
attrs            4883 drivers/scsi/st.c 	.attrs = st_stats_attrs,
attrs            4887 drivers/scsi/st.c 	.attrs = st_dev_attrs,
attrs             217 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_ufshcd_attrs,
attrs             330 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_device_descriptor,
attrs             347 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_interconnect_descriptor,
attrs             430 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_geometry_descriptor,
attrs             449 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_health_descriptor,
attrs             565 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_power_descriptor,
attrs             619 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_string_descriptors,
attrs             658 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_device_flags,
attrs             713 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_attributes,
attrs             779 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_unit_descriptor,
attrs             803 drivers/scsi/ufs/ufs-sysfs.c 	.attrs = ufs_sysfs_lun_attributes,
attrs              48 drivers/sh/superhyway/superhyway-sysfs.c 	.attrs = superhyway_dev_attrs,
attrs             204 drivers/spi/spi.c 	.attrs  = spi_dev_attrs,
attrs             241 drivers/spi/spi.c 	.attrs  = spi_device_statistics_attrs,
attrs             284 drivers/spi/spi.c 	.attrs  = spi_controller_statistics_attrs,
attrs            2169 drivers/spi/spi.c 	.attrs = spi_slave_attrs,
attrs             320 drivers/staging/axis-fifo/axis-fifo.c 	.attrs = axis_fifo_attrs,
attrs             191 drivers/staging/fieldbus/anybuss/arcx-anybus.c 	.attrs = controller_attributes,
attrs             156 drivers/staging/fieldbus/dev_core.c 	.attrs = fieldbus_attrs,
attrs             218 drivers/staging/gasket/gasket_sysfs.c 				const struct gasket_sysfs_attribute *attrs)
attrs             231 drivers/staging/gasket/gasket_sysfs.c 	for (i = 0; attrs[i].attr.attr.name != NULL; i++) {
attrs             240 drivers/staging/gasket/gasket_sysfs.c 		ret = device_create_file(device, &attrs[i].attr);
attrs             248 drivers/staging/gasket/gasket_sysfs.c 		mapping->attributes[mapping->attribute_count] = attrs[i];
attrs             302 drivers/staging/gasket/gasket_sysfs.c 	struct gasket_sysfs_attribute *attrs = NULL;
attrs             307 drivers/staging/gasket/gasket_sysfs.c 	attrs = mapping->attributes;
attrs             310 drivers/staging/gasket/gasket_sysfs.c 		if (!strcmp(attrs[i].attr.attr.name, attr->attr.name))
attrs             311 drivers/staging/gasket/gasket_sysfs.c 			return &attrs[i];
attrs             326 drivers/staging/gasket/gasket_sysfs.c 	struct gasket_sysfs_attribute *attrs = NULL;
attrs             331 drivers/staging/gasket/gasket_sysfs.c 	attrs = mapping->attributes;
attrs             334 drivers/staging/gasket/gasket_sysfs.c 		if (&attrs[i] == attr) {
attrs             111 drivers/staging/gasket/gasket_sysfs.h 				const struct gasket_sysfs_attribute *attrs);
attrs              28 drivers/staging/greybus/light.c 	struct attribute		**attrs;
attrs             290 drivers/staging/greybus/light.c 	channel->attrs = kcalloc(size + 1, sizeof(*channel->attrs), GFP_KERNEL);
attrs             291 drivers/staging/greybus/light.c 	if (!channel->attrs)
attrs             303 drivers/staging/greybus/light.c 		channel->attrs[attr++] = &dev_attr_color.attr;
attrs             305 drivers/staging/greybus/light.c 		channel->attrs[attr++] = &dev_attr_fade_in.attr;
attrs             306 drivers/staging/greybus/light.c 		channel->attrs[attr++] = &dev_attr_fade_out.attr;
attrs             309 drivers/staging/greybus/light.c 	channel->attr_group->attrs = channel->attrs;
attrs            1079 drivers/staging/greybus/light.c 	kfree(channel->attrs);
attrs             345 drivers/staging/iio/accel/adis16240.c 	.attrs = adis16240_attributes,
attrs             349 drivers/staging/iio/accel/adis16240.c 	.attrs = &adis16240_attribute_group,
attrs             463 drivers/staging/iio/adc/ad7192.c 	.attrs = ad7192_attributes,
attrs             473 drivers/staging/iio/adc/ad7192.c 	.attrs = ad7195_attributes,
attrs             701 drivers/staging/iio/adc/ad7192.c 	.attrs = &ad7192_attribute_group,
attrs             710 drivers/staging/iio/adc/ad7192.c 	.attrs = &ad7195_attribute_group,
attrs             500 drivers/staging/iio/adc/ad7280a.c 	.attrs = ad7280_attributes,
attrs             862 drivers/staging/iio/adc/ad7280a.c 	.attrs = ad7280_event_attributes,
attrs             905 drivers/staging/iio/adc/ad7280a.c 	.attrs = &ad7280_attrs_group,
attrs             250 drivers/staging/iio/adc/ad7816.c 	.attrs = ad7816_attributes,
attrs             339 drivers/staging/iio/adc/ad7816.c 	.attrs = ad7816_event_attributes,
attrs             344 drivers/staging/iio/adc/ad7816.c 	.attrs = &ad7816_attribute_group,
attrs            1682 drivers/staging/iio/addac/adt7316.c 	.attrs = adt7316_attributes,
attrs            1727 drivers/staging/iio/addac/adt7316.c 	.attrs = adt7516_attributes,
attrs            2069 drivers/staging/iio/addac/adt7316.c 	.attrs = adt7316_event_attributes,
attrs            2090 drivers/staging/iio/addac/adt7316.c 	.attrs = adt7516_event_attributes,
attrs            2115 drivers/staging/iio/addac/adt7316.c 	.attrs = &adt7316_attribute_group,
attrs            2120 drivers/staging/iio/addac/adt7316.c 	.attrs = &adt7516_attribute_group,
attrs             560 drivers/staging/iio/cdc/ad7150.c 	.attrs = ad7150_event_attributes,
attrs             417 drivers/staging/iio/cdc/ad7746.c 	.attrs = ad7746_attributes,
attrs             667 drivers/staging/iio/cdc/ad7746.c 	.attrs = &ad7746_attribute_group,
attrs             290 drivers/staging/iio/frequency/ad9832.c 	.attrs = ad9832_attributes,
attrs             294 drivers/staging/iio/frequency/ad9832.c 	.attrs = &ad9832_attribute_group,
attrs             378 drivers/staging/iio/frequency/ad9834.c 	.attrs = ad9834_attributes,
attrs             382 drivers/staging/iio/frequency/ad9834.c 	.attrs = ad9833_attributes,
attrs             386 drivers/staging/iio/frequency/ad9834.c 	.attrs = &ad9834_attribute_group,
attrs             390 drivers/staging/iio/frequency/ad9834.c 	.attrs = &ad9833_attribute_group,
attrs             495 drivers/staging/iio/impedance-analyzer/ad5933.c 	.attrs = ad5933_attributes,
attrs             543 drivers/staging/iio/impedance-analyzer/ad5933.c 	.attrs = &ad5933_attribute_group,
attrs             527 drivers/staging/iio/meter/ade7854.c 	.attrs = ade7854_attributes,
attrs             531 drivers/staging/iio/meter/ade7854.c 	.attrs = &ade7854_attribute_group,
attrs             589 drivers/staging/iio/resolver/ad2s1210.c 	.attrs = ad2s1210_attributes,
attrs             628 drivers/staging/iio/resolver/ad2s1210.c 	.attrs = &ad2s1210_attribute_group,
attrs             392 drivers/staging/most/core.c 	.attrs = channel_attrs,
attrs             449 drivers/staging/most/core.c 	.attrs = interface_attrs,
attrs             803 drivers/staging/most/core.c 	.attrs = mc_attrs,
attrs              32 drivers/staging/most/dim2/sysfs.c 	.attrs = dev_attrs,
attrs            1010 drivers/staging/most/usb/usb.c 	.attrs = dci_attrs,
attrs             993 drivers/staging/speakup/kobjects.c 	.attrs = main_attrs,
attrs             997 drivers/staging/speakup/kobjects.c 	.attrs = i18n_attrs,
attrs             125 drivers/staging/speakup/speakup_acntpc.c 		.attrs = synth_attrs,
attrs             111 drivers/staging/speakup/speakup_acntsa.c 		.attrs = synth_attrs,
attrs             120 drivers/staging/speakup/speakup_apollo.c 		.attrs = synth_attrs,
attrs             115 drivers/staging/speakup/speakup_audptr.c 		.attrs = synth_attrs,
attrs             108 drivers/staging/speakup/speakup_bns.c 		.attrs = synth_attrs,
attrs             135 drivers/staging/speakup/speakup_decext.c 		.attrs = synth_attrs,
attrs             229 drivers/staging/speakup/speakup_decpc.c 		.attrs = synth_attrs,
attrs             141 drivers/staging/speakup/speakup_dectlk.c 		.attrs = synth_attrs,
attrs             140 drivers/staging/speakup/speakup_dtlk.c 		.attrs = synth_attrs,
attrs             111 drivers/staging/speakup/speakup_dummy.c 		.attrs = synth_attrs,
attrs             116 drivers/staging/speakup/speakup_keypc.c 		.attrs = synth_attrs,
attrs             122 drivers/staging/speakup/speakup_ltlk.c 		.attrs = synth_attrs,
attrs             144 drivers/staging/speakup/speakup_soft.c 		.attrs = synth_attrs,
attrs             113 drivers/staging/speakup/speakup_spkout.c 		.attrs = synth_attrs,
attrs             107 drivers/staging/speakup/speakup_txprt.c 		.attrs = synth_attrs,
attrs             218 drivers/staging/uwb/lc-rc.c 	.attrs = rc_attrs,
attrs             570 drivers/staging/wusbcore/cbaf.c 	.attrs = cbaf_dev_attrs,
attrs             104 drivers/staging/wusbcore/dev-sysfs.c 	.attrs = wusb_dev_attrs,
attrs             231 drivers/staging/wusbcore/wusbhc.c 	.attrs = wusbhc_attrs,
attrs              52 drivers/target/target_core_fabric_configfs.c 	struct configfs_attribute **attrs = tf->tf_ops->tfc_##_name##_attrs; \
attrs              56 drivers/target/target_core_fabric_configfs.c 	cit->ct_attrs = attrs;						\
attrs             358 drivers/target/target_core_user.c 	if (!info->attrs[TCMU_ATTR_CMD_STATUS] ||
attrs             359 drivers/target/target_core_user.c 	    !info->attrs[TCMU_ATTR_DEVICE_ID]) {
attrs             364 drivers/target/target_core_user.c 	dev_id = nla_get_u32(info->attrs[TCMU_ATTR_DEVICE_ID]);
attrs             365 drivers/target/target_core_user.c 	rc = nla_get_s32(info->attrs[TCMU_ATTR_CMD_STATUS]);
attrs             419 drivers/target/target_core_user.c 	if (info->attrs[TCMU_ATTR_SUPP_KERN_CMD_REPLY]) {
attrs             421 drivers/target/target_core_user.c 			nla_get_u8(info->attrs[TCMU_ATTR_SUPP_KERN_CMD_REPLY]);
attrs             809 drivers/tee/tee_core.c 	.attrs = tee_dev_attrs,
attrs             117 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 	.attrs = uuid_attrs,
attrs             139 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c 	.attrs = power_limit_attrs,
attrs             428 drivers/thermal/thermal_sysfs.c 	.attrs = thermal_zone_dev_attrs,
attrs             453 drivers/thermal/thermal_sysfs.c 	.attrs = thermal_zone_mode_attrs,
attrs             488 drivers/thermal/thermal_sysfs.c 	.attrs = thermal_zone_passive_attrs,
attrs             511 drivers/thermal/thermal_sysfs.c 	struct attribute **attrs;
attrs             541 drivers/thermal/thermal_sysfs.c 	attrs = kcalloc(tz->trips * 3 + 1, sizeof(*attrs), GFP_KERNEL);
attrs             542 drivers/thermal/thermal_sysfs.c 	if (!attrs) {
attrs             560 drivers/thermal/thermal_sysfs.c 		attrs[indx] = &tz->trip_type_attrs[indx].attr.attr;
attrs             577 drivers/thermal/thermal_sysfs.c 		attrs[indx + tz->trips] = &tz->trip_temp_attrs[indx].attr.attr;
attrs             595 drivers/thermal/thermal_sysfs.c 		attrs[indx + tz->trips * 2] =
attrs             598 drivers/thermal/thermal_sysfs.c 	attrs[tz->trips * 3] = NULL;
attrs             600 drivers/thermal/thermal_sysfs.c 	tz->trips_attribute_group.attrs = attrs;
attrs             620 drivers/thermal/thermal_sysfs.c 	kfree(tz->trips_attribute_group.attrs);
attrs             738 drivers/thermal/thermal_sysfs.c 	.attrs = cooling_device_attrs,
attrs             903 drivers/thermal/thermal_sysfs.c 	.attrs = cooling_device_stats_attrs,
attrs             294 drivers/thunderbolt/domain.c 	.attrs = domain_attrs,
attrs            1398 drivers/thunderbolt/switch.c 	.attrs = switch_attrs,
attrs             707 drivers/thunderbolt/xdomain.c 	.attrs = tb_service_attrs,
attrs            1123 drivers/thunderbolt/xdomain.c 	.attrs = xdomain_attrs,
attrs            1079 drivers/tty/hvc/hvc_iucv.c 	.attrs = hvc_iucv_dev_attrs,
attrs             471 drivers/tty/hvc/hvcs.c 	.attrs = hvcs_attrs,
attrs             141 drivers/tty/serial/8250/8250_aspeed_vuart.c 	.attrs = aspeed_vuart_attrs,
attrs            2975 drivers/tty/serial/8250/8250_port.c 	.attrs = serial8250_dev_attrs,
attrs            2774 drivers/tty/serial/serial_core.c 	.attrs = tty_dev_attrs,
attrs             553 drivers/tty/vcc.c 	.attrs = vcc_sysfs_entries,
attrs              86 drivers/uio/uio.c static struct attribute *attrs[] = {
attrs             122 drivers/uio/uio.c 	.default_attrs	= attrs,
attrs             194 drivers/usb/chipidea/otg_fsm.c 	.attrs = inputs_attrs,
attrs             122 drivers/usb/common/ulpi.c 	.attrs = ulpi_dev_attrs,
attrs             157 drivers/usb/core/endpoint.c 	.attrs = ep_dev_attrs,
attrs             119 drivers/usb/core/ledtrig-usbport.c 	.attrs = ports_attrs,
attrs             159 drivers/usb/core/port.c 	.attrs = port_dev_attrs,
attrs             173 drivers/usb/core/port.c 	.attrs = port_dev_usb3_attrs,
attrs             646 drivers/usb/core/sysfs.c 	.attrs	= usb2_hardware_lpm_attr,
attrs             656 drivers/usb/core/sysfs.c 	.attrs	= usb3_hardware_lpm_attr,
attrs             668 drivers/usb/core/sysfs.c 	.attrs	= power_attrs,
attrs             836 drivers/usb/core/sysfs.c 	.attrs = dev_attrs,
attrs             869 drivers/usb/core/sysfs.c 	.attrs =	dev_string_attrs,
attrs            1015 drivers/usb/core/sysfs.c 	.attrs = usb_bus_attrs,
attrs            1221 drivers/usb/core/sysfs.c 	.attrs = intf_attrs,
attrs            1245 drivers/usb/core/sysfs.c 	.attrs =	intf_assoc_attrs,
attrs            2729 drivers/usb/gadget/function/f_mass_storage.c 	.attrs = fsg_lun_dev_attrs,
attrs            1570 drivers/usb/gadget/udc/core.c 	.attrs = usb_udc_attrs,
attrs             641 drivers/usb/phy/phy-mv-usb.c 	.attrs = inputs_attrs,
attrs             236 drivers/usb/roles/class.c 	.attrs = usb_role_switch_attrs,
attrs             507 drivers/usb/typec/altmodes/displayport.c 	.attrs = dp_altmode_attrs,
attrs              18 drivers/usb/typec/bus.h 	struct attribute		*attrs[5];
attrs             133 drivers/usb/typec/class.c 	.attrs = usb_pd_id_attrs,
attrs             499 drivers/usb/typec/class.c 	alt->attrs[0] = &dev_attr_vdo.attr;
attrs             500 drivers/usb/typec/class.c 	alt->attrs[1] = &dev_attr_description.attr;
attrs             501 drivers/usb/typec/class.c 	alt->attrs[2] = &dev_attr_active.attr;
attrs             504 drivers/usb/typec/class.c 		alt->attrs[3] = &dev_attr_supported_roles.attr;
attrs             510 drivers/usb/typec/class.c 	alt->group.attrs = alt->attrs;
attrs             445 drivers/usb/usbip/vhci_sysfs.c 	.attrs = NULL,
attrs             450 drivers/usb/usbip/vhci_sysfs.c 	struct attribute **attrs;
attrs             453 drivers/usb/usbip/vhci_sysfs.c 	attrs = kcalloc((vhci_num_controllers + 5), sizeof(struct attribute *),
attrs             455 drivers/usb/usbip/vhci_sysfs.c 	if (attrs == NULL)
attrs             460 drivers/usb/usbip/vhci_sysfs.c 		kfree(attrs);
attrs             463 drivers/usb/usbip/vhci_sysfs.c 	*attrs = &dev_attr_nports.attr;
attrs             464 drivers/usb/usbip/vhci_sysfs.c 	*(attrs + 1) = &dev_attr_detach.attr;
attrs             465 drivers/usb/usbip/vhci_sysfs.c 	*(attrs + 2) = &dev_attr_attach.attr;
attrs             466 drivers/usb/usbip/vhci_sysfs.c 	*(attrs + 3) = &dev_attr_usbip_debug.attr;
attrs             468 drivers/usb/usbip/vhci_sysfs.c 		*(attrs + i + 4) = &((status_attrs + i)->attr.attr);
attrs             469 drivers/usb/usbip/vhci_sysfs.c 	vhci_attr_group.attrs = attrs;
attrs             476 drivers/usb/usbip/vhci_sysfs.c 	kfree(vhci_attr_group.attrs);
attrs             219 drivers/usb/usbip/vudc_sysfs.c 	.attrs = dev_attrs,
attrs             128 drivers/vfio/mdev/mdev_sysfs.c 				 (const struct attribute **)group->attrs);
attrs             151 drivers/vfio/mdev/mdev_sysfs.c 			   (const struct attribute **)type->group->attrs);
attrs             285 drivers/video/backlight/adp5520_bl.c 	.attrs = adp5520_bl_attributes,
attrs             656 drivers/video/backlight/adp8860_bl.c 	.attrs = adp8860_bl_attributes,
attrs             844 drivers/video/backlight/adp8870_bl.c 	.attrs = adp8870_bl_attributes,
attrs             253 drivers/video/backlight/lm3533_bl.c 	.attrs		= lm3533_bl_attributes
attrs             341 drivers/video/backlight/lp855x_bl.c 	.attrs = lp855x_attributes,
attrs             254 drivers/video/backlight/lp8788_bl.c 	.attrs = lp8788_attributes,
attrs             157 drivers/video/backlight/sky81452-backlight.c 	.attrs = sky81452_bl_attribute,
attrs            1377 drivers/video/fbdev/omap/omapfb_main.c 	.attrs = panel_attrs,
attrs            1399 drivers/video/fbdev/omap/omapfb_main.c 	.attrs = ctrl_attrs,
attrs             554 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c 	.attrs = dsicm_attrs,
attrs             502 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 	.attrs = bldev_attrs,
attrs             282 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c 	.attrs = tpo_td043_attrs,
attrs            1325 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			rg->attrs);
attrs            1363 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	unsigned long attrs;
attrs            1379 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	attrs = DMA_ATTR_WRITE_COMBINE;
attrs            1382 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		attrs |= DMA_ATTR_NO_KERNEL_MAPPING;
attrs            1387 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			GFP_KERNEL, attrs);
attrs            1401 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 					attrs);
attrs            1407 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	rg->attrs = attrs;
attrs              42 drivers/video/fbdev/omap2/omapfb/omapfb.h 	unsigned long	attrs;
attrs            1674 drivers/video/fbdev/uvesafb.c 	.attrs = uvesafb_dev_attrs,
attrs            1010 drivers/visorbus/visorchipset.c 	.attrs = visorchipset_install_attrs
attrs            1021 drivers/visorbus/visorchipset.c 	.attrs = visorchipset_parahotplug_attrs
attrs             384 drivers/w1/slaves/w1_ds28e04.c 	.attrs		= w1_f1C_attrs,
attrs             671 drivers/w1/slaves/w1_ds28e17.c 	.attrs		= w1_f19_attrs,
attrs             565 drivers/w1/w1.c 	.attrs = w1_master_default_attrs,
attrs             603 drivers/watchdog/watchdog_dev.c 	.attrs = wdt_attrs,
attrs             153 drivers/xen/pcpu.c 	.attrs = pcpu_dev_attrs,
attrs             278 drivers/xen/swiotlb-xen.c 			   unsigned long attrs)
attrs             302 drivers/xen/swiotlb-xen.c 	ret = xen_alloc_coherent_pages(hwdev, size, dma_handle, flags, attrs);
attrs             322 drivers/xen/swiotlb-xen.c 			xen_free_coherent_pages(hwdev, size, ret, (dma_addr_t)phys, attrs);
attrs             333 drivers/xen/swiotlb-xen.c 			  dma_addr_t dev_addr, unsigned long attrs)
attrs             354 drivers/xen/swiotlb-xen.c 	xen_free_coherent_pages(hwdev, size, vaddr, (dma_addr_t)phys, attrs);
attrs             367 drivers/xen/swiotlb-xen.c 				unsigned long attrs)
attrs             390 drivers/xen/swiotlb-xen.c 				     size, size, dir, attrs);
attrs             402 drivers/xen/swiotlb-xen.c 				attrs | DMA_ATTR_SKIP_CPU_SYNC);
attrs             407 drivers/xen/swiotlb-xen.c 	if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             421 drivers/xen/swiotlb-xen.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             427 drivers/xen/swiotlb-xen.c 	if (!dev_is_dma_coherent(hwdev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             432 drivers/xen/swiotlb-xen.c 		swiotlb_tbl_unmap_single(hwdev, paddr, size, size, dir, attrs);
attrs             467 drivers/xen/swiotlb-xen.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             476 drivers/xen/swiotlb-xen.c 				dir, attrs);
attrs             482 drivers/xen/swiotlb-xen.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             491 drivers/xen/swiotlb-xen.c 				sg->offset, sg->length, dir, attrs);
attrs             499 drivers/xen/swiotlb-xen.c 	xen_swiotlb_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC);
attrs             127 drivers/xen/sys-hypervisor.c 	.attrs = version_attrs,
attrs             241 drivers/xen/sys-hypervisor.c 	.attrs = xen_compile_attrs,
attrs             395 drivers/xen/sys-hypervisor.c 	.attrs = xen_properties_attrs,
attrs             509 drivers/xen/sys-hypervisor.c 	.attrs = xen_pmu_attrs,
attrs             225 drivers/xen/xen-balloon.c 	.attrs = balloon_attrs
attrs             237 drivers/xen/xen-balloon.c 	.attrs = balloon_info_attrs
attrs             422 drivers/xen/xenbus/xenbus_probe.c 	.attrs = xenbus_dev_attrs,
attrs             116 drivers/zorro/zorro-sysfs.c 	.attrs		= zorro_device_attrs,
attrs             588 fs/9p/v9fs.c   	.attrs = v9fs_attrs,
attrs              99 fs/bad_inode.c static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs)
attrs             288 fs/btrfs/sysfs.c 	.attrs = btrfs_supported_feature_attrs,
attrs             311 fs/btrfs/sysfs.c 	.attrs = btrfs_supported_static_feature_attrs,
attrs             328 fs/btrfs/sysfs.c 	.attrs = btrfs_debug_feature_attrs,
attrs             661 fs/btrfs/sysfs.c 		struct attribute *attrs[2];
attrs             664 fs/btrfs/sysfs.c 			.attrs = attrs,
attrs             672 fs/btrfs/sysfs.c 		attrs[1] = NULL;
attrs             680 fs/btrfs/sysfs.c 			attrs[0] = &fa->kobj_attr.attr;
attrs             199 fs/cifs/cifsproto.h extern int cifs_set_file_info(struct inode *inode, struct iattr *attrs,
attrs            1136 fs/cifs/inode.c cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid,
attrs            1144 fs/cifs/inode.c 	if (attrs == NULL)
attrs            1153 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_ATIME) {
attrs            1156 fs/cifs/inode.c 			cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_atime));
attrs            1160 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_MTIME) {
attrs            1163 fs/cifs/inode.c 		    cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_mtime));
attrs            1173 fs/cifs/inode.c 	if (set_time && (attrs->ia_valid & ATTR_CTIME)) {
attrs            1176 fs/cifs/inode.c 		    cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_ctime));
attrs            1346 fs/cifs/inode.c 	struct iattr *attrs = NULL;
attrs            1399 fs/cifs/inode.c 		attrs = kzalloc(sizeof(*attrs), GFP_KERNEL);
attrs            1400 fs/cifs/inode.c 		if (attrs == NULL) {
attrs            1415 fs/cifs/inode.c 		rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr);
attrs            1424 fs/cifs/inode.c 		cifs_set_file_info(inode, attrs, xid, full_path, origattr);
attrs            1438 fs/cifs/inode.c 	kfree(attrs);
attrs            2203 fs/cifs/inode.c cifs_set_file_size(struct inode *inode, struct iattr *attrs,
attrs            2229 fs/cifs/inode.c 							attrs->ia_size, false);
attrs            2255 fs/cifs/inode.c 						attrs->ia_size, cifs_sb, false);
attrs            2265 fs/cifs/inode.c 		cifsInode->server_eof = attrs->ia_size;
attrs            2266 fs/cifs/inode.c 		cifs_setsize(inode, attrs->ia_size);
attrs            2274 fs/cifs/inode.c cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs)
attrs            2288 fs/cifs/inode.c 		 direntry, attrs->ia_valid);
attrs            2293 fs/cifs/inode.c 		attrs->ia_valid |= ATTR_FORCE;
attrs            2295 fs/cifs/inode.c 	rc = setattr_prepare(direntry, attrs);
attrs            2325 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_SIZE) {
attrs            2326 fs/cifs/inode.c 		rc = cifs_set_file_size(inode, attrs, xid, full_path);
attrs            2332 fs/cifs/inode.c 	if (attrs->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID))
attrs            2333 fs/cifs/inode.c 		attrs->ia_valid &= ~ATTR_MODE;
attrs            2342 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_MODE)
attrs            2343 fs/cifs/inode.c 		args->mode = attrs->ia_mode;
attrs            2347 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_UID)
attrs            2348 fs/cifs/inode.c 		args->uid = attrs->ia_uid;
attrs            2352 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_GID)
attrs            2353 fs/cifs/inode.c 		args->gid = attrs->ia_gid;
attrs            2357 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_ATIME)
attrs            2358 fs/cifs/inode.c 		args->atime = cifs_UnixTimeToNT(attrs->ia_atime);
attrs            2362 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_MTIME)
attrs            2363 fs/cifs/inode.c 		args->mtime = cifs_UnixTimeToNT(attrs->ia_mtime);
attrs            2367 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_CTIME)
attrs            2368 fs/cifs/inode.c 		args->ctime = cifs_UnixTimeToNT(attrs->ia_ctime);
attrs            2396 fs/cifs/inode.c 	if ((attrs->ia_valid & ATTR_SIZE) &&
attrs            2397 fs/cifs/inode.c 	    attrs->ia_size != i_size_read(inode))
attrs            2398 fs/cifs/inode.c 		truncate_setsize(inode, attrs->ia_size);
attrs            2400 fs/cifs/inode.c 	setattr_copy(inode, attrs);
attrs            2409 fs/cifs/inode.c 	if (attrs->ia_valid & (ATTR_MTIME | ATTR_CTIME))
attrs            2419 fs/cifs/inode.c cifs_setattr_nounix(struct dentry *direntry, struct iattr *attrs)
attrs            2437 fs/cifs/inode.c 		 direntry, attrs->ia_valid);
attrs            2440 fs/cifs/inode.c 		attrs->ia_valid |= ATTR_FORCE;
attrs            2442 fs/cifs/inode.c 	rc = setattr_prepare(direntry, attrs);
attrs            2464 fs/cifs/inode.c 	if (attrs->ia_valid & (ATTR_MTIME | ATTR_SIZE | ATTR_CTIME)) {
attrs            2475 fs/cifs/inode.c 	if ((attrs->ia_valid & ATTR_MTIME) &&
attrs            2490 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_SIZE) {
attrs            2491 fs/cifs/inode.c 		rc = cifs_set_file_size(inode, attrs, xid, full_path);
attrs            2496 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_UID)
attrs            2497 fs/cifs/inode.c 		uid = attrs->ia_uid;
attrs            2499 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_GID)
attrs            2500 fs/cifs/inode.c 		gid = attrs->ia_gid;
attrs            2515 fs/cifs/inode.c 		attrs->ia_valid &= ~(ATTR_UID | ATTR_GID);
attrs            2518 fs/cifs/inode.c 	if (attrs->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID))
attrs            2519 fs/cifs/inode.c 		attrs->ia_valid &= ~ATTR_MODE;
attrs            2521 fs/cifs/inode.c 	if (attrs->ia_valid & ATTR_MODE) {
attrs            2522 fs/cifs/inode.c 		mode = attrs->ia_mode;
attrs            2541 fs/cifs/inode.c 				attrs->ia_mode = inode->i_mode & ~S_IWUGO;
attrs            2552 fs/cifs/inode.c 				attrs->ia_mode &= ~(S_IALLUGO);
attrs            2554 fs/cifs/inode.c 					attrs->ia_mode |=
attrs            2557 fs/cifs/inode.c 					attrs->ia_mode |=
attrs            2562 fs/cifs/inode.c 			attrs->ia_valid &= ~ATTR_MODE;
attrs            2566 fs/cifs/inode.c 	if (attrs->ia_valid & (ATTR_MTIME|ATTR_ATIME|ATTR_CTIME) ||
attrs            2567 fs/cifs/inode.c 	    ((attrs->ia_valid & ATTR_MODE) && dosattr)) {
attrs            2568 fs/cifs/inode.c 		rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr);
attrs            2576 fs/cifs/inode.c 		if ((rc) && (attrs->ia_valid &
attrs            2586 fs/cifs/inode.c 	if ((attrs->ia_valid & ATTR_SIZE) &&
attrs            2587 fs/cifs/inode.c 	    attrs->ia_size != i_size_read(inode))
attrs            2588 fs/cifs/inode.c 		truncate_setsize(inode, attrs->ia_size);
attrs            2590 fs/cifs/inode.c 	setattr_copy(inode, attrs);
attrs            2600 fs/cifs/inode.c cifs_setattr(struct dentry *direntry, struct iattr *attrs)
attrs            2606 fs/cifs/inode.c 		return cifs_setattr_unix(direntry, attrs);
attrs            2608 fs/cifs/inode.c 	return cifs_setattr_nounix(direntry, attrs);
attrs             644 fs/cifs/smbdirect.c static bool frwr_is_supported(struct ib_device_attr *attrs)
attrs             646 fs/cifs/smbdirect.c 	if (!(attrs->device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS))
attrs             648 fs/cifs/smbdirect.c 	if (attrs->max_fast_reg_page_list_len == 0)
attrs             665 fs/cifs/smbdirect.c 	if (!frwr_is_supported(&info->id->device->attrs)) {
attrs             672 fs/cifs/smbdirect.c 			info->id->device->attrs.device_cap_flags,
attrs             673 fs/cifs/smbdirect.c 			info->id->device->attrs.max_fast_reg_page_list_len);
attrs             679 fs/cifs/smbdirect.c 		info->id->device->attrs.max_fast_reg_page_list_len);
attrs             681 fs/cifs/smbdirect.c 	if (info->id->device->attrs.device_cap_flags & IB_DEVICE_SG_GAPS_REG)
attrs            1613 fs/cifs/smbdirect.c 	if (smbd_send_credit_target > info->id->device->attrs.max_cqe ||
attrs            1614 fs/cifs/smbdirect.c 	    smbd_send_credit_target > info->id->device->attrs.max_qp_wr) {
attrs            1620 fs/cifs/smbdirect.c 			info->id->device->attrs.max_cqe,
attrs            1621 fs/cifs/smbdirect.c 			info->id->device->attrs.max_qp_wr);
attrs            1625 fs/cifs/smbdirect.c 	if (smbd_receive_credit_max > info->id->device->attrs.max_cqe ||
attrs            1626 fs/cifs/smbdirect.c 	    smbd_receive_credit_max > info->id->device->attrs.max_qp_wr) {
attrs            1632 fs/cifs/smbdirect.c 			info->id->device->attrs.max_cqe,
attrs            1633 fs/cifs/smbdirect.c 			info->id->device->attrs.max_qp_wr);
attrs            1644 fs/cifs/smbdirect.c 	if (info->id->device->attrs.max_send_sge < SMBDIRECT_MAX_SGE) {
attrs            1647 fs/cifs/smbdirect.c 			info->id->device->attrs.max_send_sge);
attrs            1650 fs/cifs/smbdirect.c 	if (info->id->device->attrs.max_recv_sge < SMBDIRECT_MAX_SGE) {
attrs            1653 fs/cifs/smbdirect.c 			info->id->device->attrs.max_recv_sge);
attrs            1699 fs/cifs/smbdirect.c 		info->id->device->attrs.max_qp_rd_atom
attrs            1701 fs/cifs/smbdirect.c 		info->id->device->attrs.max_qp_rd_atom :
attrs              61 fs/coda/coda_psdev.h 		struct CodaFid *newfid, struct coda_vattr *attrs);
attrs              64 fs/coda/coda_psdev.h 		 struct CodaFid *newfid, struct coda_vattr *attrs);
attrs             142 fs/coda/dir.c  	struct coda_vattr attrs;
attrs             148 fs/coda/dir.c  				0, mode, &newfid, &attrs);
attrs             152 fs/coda/dir.c  	inode = coda_iget(dir->i_sb, &newfid, &attrs);
attrs             170 fs/coda/dir.c  	struct coda_vattr attrs;
attrs             179 fs/coda/dir.c  	attrs.va_mode = mode;
attrs             181 fs/coda/dir.c  			       name, len, &newfid, &attrs);
attrs             185 fs/coda/dir.c  	inode = coda_iget(dir->i_sb, &newfid, &attrs);
attrs             203 fs/coda/upcall.c 		   struct CodaFid *newfid, struct coda_vattr *attrs)
attrs             215 fs/coda/upcall.c         inp->coda_mkdir.attr = *attrs;
attrs             223 fs/coda/upcall.c 		*attrs = outp->coda_mkdir.attr;
attrs             271 fs/coda/upcall.c 		 struct CodaFid *newfid, struct coda_vattr *attrs) 
attrs             294 fs/coda/upcall.c 		*attrs = outp->coda_create.attr;
attrs             771 fs/ecryptfs/main.c 	.attrs = attributes,
attrs             204 fs/fat/fat.h   				   u8 attrs, umode_t mode)
attrs             206 fs/fat/fat.h   	if (attrs & ATTR_RO && !((attrs & ATTR_DIR) && !sbi->options.rodir))
attrs             209 fs/fat/fat.h   	if (attrs & ATTR_DIR)
attrs             218 fs/fat/fat.h   	u8 attrs = MSDOS_I(inode)->i_attrs;
attrs             220 fs/fat/fat.h   		attrs |= ATTR_DIR;
attrs             222 fs/fat/fat.h   		attrs |= ATTR_RO;
attrs             223 fs/fat/fat.h   	return attrs;
attrs             226 fs/fat/fat.h   static inline void fat_save_attrs(struct inode *inode, u8 attrs)
attrs             229 fs/fat/fat.h   		MSDOS_I(inode)->i_attrs = attrs & ATTR_UNUSED;
attrs             231 fs/fat/fat.h   		MSDOS_I(inode)->i_attrs = attrs & (ATTR_UNUSED | ATTR_RO);
attrs             636 fs/gfs2/sys.c  	.attrs = tune_attrs,
attrs             641 fs/gfs2/sys.c  	.attrs = lock_module_attrs,
attrs              83 fs/hostfs/hostfs.h extern int set_attr(const char *file, struct hostfs_iattr *attrs, int fd);
attrs             791 fs/hostfs/hostfs_kern.c 	struct hostfs_iattr attrs;
attrs             804 fs/hostfs/hostfs_kern.c 	attrs.ia_valid = 0;
attrs             806 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_MODE;
attrs             807 fs/hostfs/hostfs_kern.c 		attrs.ia_mode = attr->ia_mode;
attrs             810 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_UID;
attrs             811 fs/hostfs/hostfs_kern.c 		attrs.ia_uid = from_kuid(&init_user_ns, attr->ia_uid);
attrs             814 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_GID;
attrs             815 fs/hostfs/hostfs_kern.c 		attrs.ia_gid = from_kgid(&init_user_ns, attr->ia_gid);
attrs             818 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_SIZE;
attrs             819 fs/hostfs/hostfs_kern.c 		attrs.ia_size = attr->ia_size;
attrs             822 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_ATIME;
attrs             823 fs/hostfs/hostfs_kern.c 		attrs.ia_atime = timespec64_to_timespec(attr->ia_atime);
attrs             826 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_MTIME;
attrs             827 fs/hostfs/hostfs_kern.c 		attrs.ia_mtime = timespec64_to_timespec(attr->ia_mtime);
attrs             830 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_CTIME;
attrs             831 fs/hostfs/hostfs_kern.c 		attrs.ia_ctime = timespec64_to_timespec(attr->ia_ctime);
attrs             834 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_ATIME_SET;
attrs             837 fs/hostfs/hostfs_kern.c 		attrs.ia_valid |= HOSTFS_ATTR_MTIME_SET;
attrs             842 fs/hostfs/hostfs_kern.c 	err = set_attr(name, &attrs, fd);
attrs             194 fs/hostfs/hostfs_user.c int set_attr(const char *file, struct hostfs_iattr *attrs, int fd)
attrs             200 fs/hostfs/hostfs_user.c 	if (attrs->ia_valid & HOSTFS_ATTR_MODE) {
attrs             202 fs/hostfs/hostfs_user.c 			if (fchmod(fd, attrs->ia_mode) != 0)
attrs             204 fs/hostfs/hostfs_user.c 		} else if (chmod(file, attrs->ia_mode) != 0) {
attrs             208 fs/hostfs/hostfs_user.c 	if (attrs->ia_valid & HOSTFS_ATTR_UID) {
attrs             210 fs/hostfs/hostfs_user.c 			if (fchown(fd, attrs->ia_uid, -1))
attrs             212 fs/hostfs/hostfs_user.c 		} else if (chown(file, attrs->ia_uid, -1)) {
attrs             216 fs/hostfs/hostfs_user.c 	if (attrs->ia_valid & HOSTFS_ATTR_GID) {
attrs             218 fs/hostfs/hostfs_user.c 			if (fchown(fd, -1, attrs->ia_gid))
attrs             220 fs/hostfs/hostfs_user.c 		} else if (chown(file, -1, attrs->ia_gid)) {
attrs             224 fs/hostfs/hostfs_user.c 	if (attrs->ia_valid & HOSTFS_ATTR_SIZE) {
attrs             226 fs/hostfs/hostfs_user.c 			if (ftruncate(fd, attrs->ia_size))
attrs             228 fs/hostfs/hostfs_user.c 		} else if (truncate(file, attrs->ia_size)) {
attrs             239 fs/hostfs/hostfs_user.c 	if (attrs->ia_valid & ma) {
attrs             249 fs/hostfs/hostfs_user.c 		if (attrs->ia_valid & HOSTFS_ATTR_ATIME_SET) {
attrs             250 fs/hostfs/hostfs_user.c 			times[0].tv_sec = attrs->ia_atime.tv_sec;
attrs             251 fs/hostfs/hostfs_user.c 			times[0].tv_usec = attrs->ia_atime.tv_nsec / 1000;
attrs             253 fs/hostfs/hostfs_user.c 		if (attrs->ia_valid & HOSTFS_ATTR_MTIME_SET) {
attrs             254 fs/hostfs/hostfs_user.c 			times[1].tv_sec = attrs->ia_mtime.tv_sec;
attrs             255 fs/hostfs/hostfs_user.c 			times[1].tv_usec = attrs->ia_mtime.tv_nsec / 1000;
attrs             267 fs/hostfs/hostfs_user.c 	if (attrs->ia_valid & (HOSTFS_ATTR_ATIME | HOSTFS_ATTR_MTIME)) {
attrs             269 fs/hostfs/hostfs_user.c 		attrs->ia_atime = st.atime;
attrs             270 fs/hostfs/hostfs_user.c 		attrs->ia_mtime = st.mtime;
attrs              74 fs/kernfs/inode.c 	struct kernfs_iattrs *attrs;
attrs              77 fs/kernfs/inode.c 	attrs = kernfs_iattrs(kn);
attrs              78 fs/kernfs/inode.c 	if (!attrs)
attrs              82 fs/kernfs/inode.c 		attrs->ia_uid = iattr->ia_uid;
attrs              84 fs/kernfs/inode.c 		attrs->ia_gid = iattr->ia_gid;
attrs              86 fs/kernfs/inode.c 		attrs->ia_atime = iattr->ia_atime;
attrs              88 fs/kernfs/inode.c 		attrs->ia_mtime = iattr->ia_mtime;
attrs              90 fs/kernfs/inode.c 		attrs->ia_ctime = iattr->ia_ctime;
attrs             142 fs/kernfs/inode.c 	struct kernfs_iattrs *attrs;
attrs             144 fs/kernfs/inode.c 	attrs = kernfs_iattrs(kn);
attrs             145 fs/kernfs/inode.c 	if (!attrs)
attrs             148 fs/kernfs/inode.c 	return simple_xattr_list(d_inode(dentry), &attrs->xattrs, buf, size);
attrs             159 fs/kernfs/inode.c 				  struct kernfs_iattrs *attrs)
attrs             161 fs/kernfs/inode.c 	inode->i_uid = attrs->ia_uid;
attrs             162 fs/kernfs/inode.c 	inode->i_gid = attrs->ia_gid;
attrs             163 fs/kernfs/inode.c 	inode->i_atime = timestamp_truncate(attrs->ia_atime, inode);
attrs             164 fs/kernfs/inode.c 	inode->i_mtime = timestamp_truncate(attrs->ia_mtime, inode);
attrs             165 fs/kernfs/inode.c 	inode->i_ctime = timestamp_truncate(attrs->ia_ctime, inode);
attrs             170 fs/kernfs/inode.c 	struct kernfs_iattrs *attrs = kn->iattr;
attrs             173 fs/kernfs/inode.c 	if (attrs)
attrs             178 fs/kernfs/inode.c 		set_inode_attr(inode, attrs);
attrs             292 fs/kernfs/inode.c 	struct kernfs_iattrs *attrs = kernfs_iattrs_noalloc(kn);
attrs             293 fs/kernfs/inode.c 	if (!attrs)
attrs             296 fs/kernfs/inode.c 	return simple_xattr_get(&attrs->xattrs, name, value, size);
attrs             302 fs/kernfs/inode.c 	struct kernfs_iattrs *attrs = kernfs_iattrs(kn);
attrs             303 fs/kernfs/inode.c 	if (!attrs)
attrs             306 fs/kernfs/inode.c 	return simple_xattr_set(&attrs->xattrs, name, value, size, flags);
attrs             238 fs/nfs/nfs4_fs.h 	struct iattr attrs;
attrs             308 fs/nfs/nfs4proc.c 	unsigned int attrs = FATTR4_WORD0_FILEID | FATTR4_WORD0_TYPE;
attrs             339 fs/nfs/nfs4proc.c 		*p++ = htonl(attrs);                           /* bitmap */
attrs             352 fs/nfs/nfs4proc.c 	*p++ = htonl(attrs);                           /* bitmap */
attrs            1310 fs/nfs/nfs4proc.c 			p->o_arg.u.attrs = &p->attrs;
attrs            1311 fs/nfs/nfs4proc.c 			memcpy(&p->attrs, c->sattr, sizeof(p->attrs));
attrs            3103 fs/nfs/nfs4proc.c 		unsigned attrs = nfs4_exclusive_attrset(opendata, sattr, &label);
attrs            3108 fs/nfs/nfs4proc.c 		if (attrs || label) {
attrs            3111 fs/nfs/nfs4proc.c 			sattr->ia_valid = attrs;
attrs            4736 fs/nfs/nfs4proc.c 		data->arg.attrs = sattr;
attrs            1241 fs/nfs/nfs4xdr.c 	encode_attrs(xdr, create->attrs, create->label, &create->umask,
attrs            1427 fs/nfs/nfs4xdr.c 		encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
attrs            1432 fs/nfs/nfs4xdr.c 		encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
attrs            1442 fs/nfs/nfs4xdr.c 		encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask,
attrs            1595 fs/nfs/nfs4xdr.c 	uint32_t attrs[3] = {
attrs            1605 fs/nfs/nfs4xdr.c 		attrs[0] |= FATTR4_WORD0_TYPE|FATTR4_WORD0_CHANGE|FATTR4_WORD0_SIZE|
attrs            1607 fs/nfs/nfs4xdr.c 		attrs[1] |= FATTR4_WORD1_MODE|FATTR4_WORD1_NUMLINKS|FATTR4_WORD1_OWNER|
attrs            1611 fs/nfs/nfs4xdr.c 		attrs[2] |= FATTR4_WORD2_SECURITY_LABEL;
attrs            1616 fs/nfs/nfs4xdr.c 		attrs[0] |= FATTR4_WORD0_FILEID;
attrs            1617 fs/nfs/nfs4xdr.c 	for (i = 0; i < ARRAY_SIZE(attrs); i++) {
attrs            1618 fs/nfs/nfs4xdr.c 		attrs[i] &= readdir->bitmask[i];
attrs            1619 fs/nfs/nfs4xdr.c 		if (attrs[i] != 0)
attrs            1631 fs/nfs/nfs4xdr.c 		*p++ = cpu_to_be32(attrs[i]);
attrs            1638 fs/nfs/nfs4xdr.c 			attrs[0] & readdir->bitmask[0],
attrs            1639 fs/nfs/nfs4xdr.c 			attrs[1] & readdir->bitmask[1],
attrs            1640 fs/nfs/nfs4xdr.c 			attrs[2] & readdir->bitmask[2]);
attrs            5612 fs/nfs/nfs4xdr.c 			     struct nfs4_channel_attrs *attrs)
attrs            5623 fs/nfs/nfs4xdr.c 	attrs->max_rqst_sz = be32_to_cpup(p++);
attrs            5624 fs/nfs/nfs4xdr.c 	attrs->max_resp_sz = be32_to_cpup(p++);
attrs            5625 fs/nfs/nfs4xdr.c 	attrs->max_resp_sz_cached = be32_to_cpup(p++);
attrs            5626 fs/nfs/nfs4xdr.c 	attrs->max_ops = be32_to_cpup(p++);
attrs            5627 fs/nfs/nfs4xdr.c 	attrs->max_reqs = be32_to_cpup(p++);
attrs              78 fs/nfsd/nfs3proc.c 	nfserr = nfsd_setattr(rqstp, &resp->fh, &argp->attrs,
attrs             232 fs/nfsd/nfs3proc.c 	attr   = &argp->attrs;
attrs             266 fs/nfsd/nfs3proc.c 	argp->attrs.ia_valid &= ~ATTR_SIZE;
attrs             270 fs/nfsd/nfs3proc.c 				    &argp->attrs, S_IFDIR, 0, &resp->fh);
attrs             339 fs/nfsd/nfs3proc.c 				    &argp->attrs, type, rdev, &resp->fh);
attrs             330 fs/nfsd/nfs3xdr.c 	p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs             460 fs/nfsd/nfs3xdr.c 		p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs             481 fs/nfsd/nfs3xdr.c 	p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs             496 fs/nfsd/nfs3xdr.c 	p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs             524 fs/nfsd/nfs3xdr.c 		p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs              65 fs/nfsd/nfsproc.c 	struct iattr *iap = &argp->attrs;
attrs              71 fs/nfsd/nfsproc.c 		argp->attrs.ia_valid, (long) argp->attrs.ia_size);
attrs             246 fs/nfsd/nfsproc.c 	struct iattr	*attr = &argp->attrs;
attrs             496 fs/nfsd/nfsproc.c 	argp->attrs.ia_valid &= ~ATTR_SIZE;
attrs             499 fs/nfsd/nfsproc.c 				    &argp->attrs, S_IFDIR, 0, &resp->fh);
attrs             220 fs/nfsd/nfsxdr.c 	p = decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs             323 fs/nfsd/nfsxdr.c 	p = decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs             402 fs/nfsd/nfsxdr.c 	decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp));
attrs              62 fs/nfsd/vfs.h  				char *name, int len, struct iattr *attrs,
attrs              65 fs/nfsd/vfs.h  				char *name, int len, struct iattr *attrs,
attrs              70 fs/nfsd/vfs.h  				char *name, int len, struct iattr *attrs,
attrs              17 fs/nfsd/xdr.h  	struct iattr		attrs;
attrs              44 fs/nfsd/xdr.h  	struct iattr		attrs;
attrs              74 fs/nfsd/xdr.h  	struct iattr		attrs;
attrs              15 fs/nfsd/xdr3.h 	struct iattr		attrs;
attrs              52 fs/nfsd/xdr3.h 	struct iattr		attrs;
attrs              62 fs/nfsd/xdr3.h 	struct iattr		attrs;
attrs              92 fs/nfsd/xdr3.h 	struct iattr		attrs;
attrs            1094 fs/nilfs2/sysfs.c 	.attrs = nilfs_feature_attrs,
attrs              37 fs/ocfs2/cluster/sys.c 	.attrs = o2cb_attrs,
attrs             621 fs/ocfs2/stackglue.c 	.attrs = ocfs2_attrs,
attrs              84 fs/orangefs/orangefs-utils.c static int orangefs_inode_flags(struct ORANGEFS_sys_attr_s *attrs)
attrs              87 fs/orangefs/orangefs-utils.c 	if (attrs->flags & ORANGEFS_IMMUTABLE_FL)
attrs              91 fs/orangefs/orangefs-utils.c 	if (attrs->flags & ORANGEFS_APPEND_FL)
attrs              95 fs/orangefs/orangefs-utils.c 	if (attrs->flags & ORANGEFS_NOATIME_FL)
attrs             102 fs/orangefs/orangefs-utils.c static int orangefs_inode_perms(struct ORANGEFS_sys_attr_s *attrs)
attrs             106 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_O_EXECUTE)
attrs             108 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_O_WRITE)
attrs             110 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_O_READ)
attrs             113 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_G_EXECUTE)
attrs             115 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_G_WRITE)
attrs             117 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_G_READ)
attrs             120 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_U_EXECUTE)
attrs             122 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_U_WRITE)
attrs             124 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_U_READ)
attrs             127 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_G_SGID)
attrs             129 fs/orangefs/orangefs-utils.c 	if (attrs->perms & ORANGEFS_U_SUID)
attrs             140 fs/orangefs/orangefs-utils.c     struct ORANGEFS_sys_attr_s *attrs)
attrs             143 fs/orangefs/orangefs-utils.c 	attrs->mask = 0;
attrs             145 fs/orangefs/orangefs-utils.c 		attrs->owner = from_kuid(&init_user_ns, inode->i_uid);
attrs             146 fs/orangefs/orangefs-utils.c 		attrs->mask |= ORANGEFS_ATTR_SYS_UID;
attrs             147 fs/orangefs/orangefs-utils.c 		gossip_debug(GOSSIP_UTILS_DEBUG, "(UID) %d\n", attrs->owner);
attrs             150 fs/orangefs/orangefs-utils.c 		attrs->group = from_kgid(&init_user_ns, inode->i_gid);
attrs             151 fs/orangefs/orangefs-utils.c 		attrs->mask |= ORANGEFS_ATTR_SYS_GID;
attrs             152 fs/orangefs/orangefs-utils.c 		gossip_debug(GOSSIP_UTILS_DEBUG, "(GID) %d\n", attrs->group);
attrs             156 fs/orangefs/orangefs-utils.c 		attrs->mask |= ORANGEFS_ATTR_SYS_ATIME;
attrs             158 fs/orangefs/orangefs-utils.c 			attrs->atime = (time64_t)inode->i_atime.tv_sec;
attrs             159 fs/orangefs/orangefs-utils.c 			attrs->mask |= ORANGEFS_ATTR_SYS_ATIME_SET;
attrs             163 fs/orangefs/orangefs-utils.c 		attrs->mask |= ORANGEFS_ATTR_SYS_MTIME;
attrs             165 fs/orangefs/orangefs-utils.c 			attrs->mtime = (time64_t)inode->i_mtime.tv_sec;
attrs             166 fs/orangefs/orangefs-utils.c 			attrs->mask |= ORANGEFS_ATTR_SYS_MTIME_SET;
attrs             170 fs/orangefs/orangefs-utils.c 		attrs->mask |= ORANGEFS_ATTR_SYS_CTIME;
attrs             179 fs/orangefs/orangefs-utils.c 		attrs->perms = ORANGEFS_util_translate_mode(inode->i_mode);
attrs             180 fs/orangefs/orangefs-utils.c 		attrs->mask |= ORANGEFS_ATTR_SYS_PERM;
attrs             216 fs/orangefs/orangefs-utils.c     struct ORANGEFS_sys_attr_s *attrs, char *link_target)
attrs             219 fs/orangefs/orangefs-utils.c 	int type = orangefs_inode_type(attrs->objtype);
attrs             345 fs/reiserfs/xattr.c 	struct iattr *attrs = data;
attrs             346 fs/reiserfs/xattr.c 	int ia_valid = attrs->ia_valid;
attrs             354 fs/reiserfs/xattr.c 	attrs->ia_valid &= (ATTR_UID|ATTR_GID);
attrs             355 fs/reiserfs/xattr.c 	err = reiserfs_setattr(dentry, attrs);
attrs             356 fs/reiserfs/xattr.c 	attrs->ia_valid = ia_valid;
attrs             373 fs/reiserfs/xattr.c int reiserfs_chown_xattrs(struct inode *inode, struct iattr *attrs)
attrs             375 fs/reiserfs/xattr.c 	int err = reiserfs_for_each_xattr(inode, chown_one_xattr, attrs);
attrs              18 fs/reiserfs/xattr.h int reiserfs_chown_xattrs(struct inode *inode, struct iattr *attrs);
attrs              25 fs/sysfs/group.c 	if (grp->attrs)
attrs              26 fs/sysfs/group.c 		for (attr = grp->attrs; *attr; attr++)
attrs              41 fs/sysfs/group.c 	if (grp->attrs) {
attrs              42 fs/sysfs/group.c 		for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) {
attrs             121 fs/sysfs/group.c 	if (!grp->attrs && !grp->bin_attrs) {
attrs             341 fs/sysfs/group.c 	for ((i = 0, attr = grp->attrs); *attr && !error; (++i, ++attr))
attrs             367 fs/sysfs/group.c 		for (attr = grp->attrs; *attr; ++attr)
attrs               8 include/crypto/internal/cryptouser.h int crypto_reportstat(struct sk_buff *in_skb, struct nlmsghdr *in_nlh, struct nlattr **attrs);
attrs              12 include/crypto/internal/cryptouser.h 				    struct nlattr **attrs)
attrs              21 include/linux/attribute_container.h 	struct device_attribute **attrs;
attrs             680 include/linux/blkdev.h #define dma_map_bvec(dev, bv, dir, attrs) \
attrs             682 include/linux/blkdev.h 	(dir), (attrs))
attrs              47 include/linux/cpu.h extern int cpu_add_dev_attr_group(struct attribute_group *attrs);
attrs              48 include/linux/cpu.h extern void cpu_remove_dev_attr_group(struct attribute_group *attrs);
attrs              70 include/linux/dma-direct.h 		gfp_t gfp, unsigned long attrs);
attrs              72 include/linux/dma-direct.h 		dma_addr_t dma_addr, unsigned long attrs);
attrs              74 include/linux/dma-direct.h 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs);
attrs              76 include/linux/dma-direct.h 		dma_addr_t dma_addr, unsigned long attrs);
attrs              78 include/linux/dma-direct.h 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs);
attrs              82 include/linux/dma-mapping.h 				unsigned long attrs);
attrs              85 include/linux/dma-mapping.h 			      unsigned long attrs);
attrs              88 include/linux/dma-mapping.h 			  unsigned long attrs);
attrs              91 include/linux/dma-mapping.h 			   dma_addr_t, size_t, unsigned long attrs);
attrs              96 include/linux/dma-mapping.h 			       unsigned long attrs);
attrs              99 include/linux/dma-mapping.h 			   unsigned long attrs);
attrs             106 include/linux/dma-mapping.h 		      unsigned long attrs);
attrs             110 include/linux/dma-mapping.h 			 unsigned long attrs);
attrs             113 include/linux/dma-mapping.h 			       unsigned long attrs);
attrs             116 include/linux/dma-mapping.h 			   unsigned long attrs);
attrs             205 include/linux/dma-mapping.h 		unsigned long attrs);
attrs             207 include/linux/dma-mapping.h 		enum dma_data_direction dir, unsigned long attrs);
attrs             209 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs);
attrs             232 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs);
attrs             234 include/linux/dma-mapping.h 		int nents, enum dma_data_direction dir, unsigned long attrs);
attrs             241 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             246 include/linux/dma-mapping.h 		unsigned long attrs)
attrs             279 include/linux/dma-mapping.h 		enum dma_data_direction dir, unsigned long attrs)
attrs             286 include/linux/dma-mapping.h 		addr = dma_direct_map_page(dev, page, offset, size, dir, attrs);
attrs             288 include/linux/dma-mapping.h 		addr = ops->map_page(dev, page, offset, size, dir, attrs);
attrs             295 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             301 include/linux/dma-mapping.h 		dma_direct_unmap_page(dev, addr, size, dir, attrs);
attrs             303 include/linux/dma-mapping.h 		ops->unmap_page(dev, addr, size, dir, attrs);
attrs             313 include/linux/dma-mapping.h 				   unsigned long attrs)
attrs             320 include/linux/dma-mapping.h 		ents = dma_direct_map_sg(dev, sg, nents, dir, attrs);
attrs             322 include/linux/dma-mapping.h 		ents = ops->map_sg(dev, sg, nents, dir, attrs);
attrs             331 include/linux/dma-mapping.h 				      unsigned long attrs)
attrs             338 include/linux/dma-mapping.h 		dma_direct_unmap_sg(dev, sg, nents, dir, attrs);
attrs             340 include/linux/dma-mapping.h 		ops->unmap_sg(dev, sg, nents, dir, attrs);
attrs             347 include/linux/dma-mapping.h 					  unsigned long attrs)
attrs             359 include/linux/dma-mapping.h 		addr = dma_direct_map_resource(dev, phys_addr, size, dir, attrs);
attrs             361 include/linux/dma-mapping.h 		addr = ops->map_resource(dev, phys_addr, size, dir, attrs);
attrs             369 include/linux/dma-mapping.h 				      unsigned long attrs)
attrs             375 include/linux/dma-mapping.h 		ops->unmap_resource(dev, addr, size, dir, attrs);
attrs             446 include/linux/dma-mapping.h 		gfp_t flag, unsigned long attrs);
attrs             448 include/linux/dma-mapping.h 		dma_addr_t dma_handle, unsigned long attrs);
attrs             450 include/linux/dma-mapping.h 		gfp_t gfp, unsigned long attrs);
attrs             457 include/linux/dma-mapping.h 		unsigned long attrs);
attrs             460 include/linux/dma-mapping.h 		unsigned long attrs);
attrs             471 include/linux/dma-mapping.h 		enum dma_data_direction dir, unsigned long attrs)
attrs             476 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             480 include/linux/dma-mapping.h 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             486 include/linux/dma-mapping.h 		unsigned long attrs)
attrs             491 include/linux/dma-mapping.h 		unsigned long attrs)
attrs             496 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             520 include/linux/dma-mapping.h 		dma_addr_t *dma_handle, gfp_t flag, unsigned long attrs)
attrs             525 include/linux/dma-mapping.h 		dma_addr_t dma_handle, unsigned long attrs)
attrs             529 include/linux/dma-mapping.h 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             543 include/linux/dma-mapping.h 		size_t size, unsigned long attrs)
attrs             549 include/linux/dma-mapping.h 		unsigned long attrs)
attrs             584 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             592 include/linux/dma-mapping.h 			size, dir, attrs);
attrs             596 include/linux/dma-mapping.h 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             598 include/linux/dma-mapping.h 	return dma_unmap_page_attrs(dev, addr, size, dir, attrs);
attrs             626 include/linux/dma-mapping.h 		unsigned long attrs);
attrs             642 include/linux/dma-mapping.h 		dma_addr_t dma_addr, size_t size, unsigned long attrs);
attrs             784 include/linux/dma-mapping.h 	unsigned long attrs = DMA_ATTR_WRITE_COMBINE;
attrs             787 include/linux/dma-mapping.h 		attrs |= DMA_ATTR_NO_WARN;
attrs             789 include/linux/dma-mapping.h 	return dma_alloc_attrs(dev, size, dma_addr, gfp, attrs);
attrs              28 include/linux/dma-noncoherent.h 		unsigned long attrs)
attrs              32 include/linux/dma-noncoherent.h 	if (attrs & DMA_ATTR_NO_KERNEL_MAPPING)
attrs              35 include/linux/dma-noncoherent.h 	    (attrs & DMA_ATTR_NON_CONSISTENT))
attrs              41 include/linux/dma-noncoherent.h 		gfp_t gfp, unsigned long attrs);
attrs              43 include/linux/dma-noncoherent.h 		dma_addr_t dma_addr, unsigned long attrs);
attrs              58 include/linux/dma-noncoherent.h pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs);
attrs              61 include/linux/dma-noncoherent.h 		unsigned long attrs)
attrs             156 include/linux/firewire.h 	struct attribute *attrs[13];
attrs             143 include/linux/genl_magic_func.h 	struct nlattr *tla = info->attrs[tag_number];			\
attrs              15 include/linux/iio/buffer.h 			 const struct attribute **attrs);
attrs             124 include/linux/iio/buffer_impl.h 	const struct attribute **attrs;
attrs             395 include/linux/iio/iio.h 	const struct attribute_group	*attrs;
attrs              99 include/linux/mlx5/accel.h 	struct mlx5_accel_esp_xfrm_attrs attrs;
attrs             123 include/linux/mlx5/accel.h 			   const struct mlx5_accel_esp_xfrm_attrs *attrs,
attrs             127 include/linux/mlx5/accel.h 			       const struct mlx5_accel_esp_xfrm_attrs *attrs);
attrs             135 include/linux/mlx5/accel.h 			   const struct mlx5_accel_esp_xfrm_attrs *attrs,
attrs             141 include/linux/mlx5/accel.h 			   const struct mlx5_accel_esp_xfrm_attrs *attrs) { return -EOPNOTSUPP; }
attrs             460 include/linux/nfs_xdr.h 			struct iattr *  attrs;    /* UNCHECKED, GUARDED, EXCLUSIVE4_1 */
attrs            1008 include/linux/nfs_xdr.h 	const struct iattr *		attrs;
attrs              34 include/linux/pci-p2pdma.h 		int nents, enum dma_data_direction dir, unsigned long attrs);
attrs              36 include/linux/pci-p2pdma.h 		int nents, enum dma_data_direction dir, unsigned long attrs);
attrs              88 include/linux/pci-p2pdma.h 		unsigned long attrs)
attrs              94 include/linux/pci-p2pdma.h 		unsigned long attrs)
attrs             137 include/linux/phy/phy.h 	struct phy_attrs	attrs;
attrs             216 include/linux/phy/phy.h 	return phy->attrs.mode;
attrs             222 include/linux/phy/phy.h 	return phy->attrs.bus_width;
attrs             226 include/linux/phy/phy.h 	phy->attrs.bus_width = bus_width;
attrs             124 include/linux/power/charger-manager.h 	struct attribute *attrs[4];
attrs              53 include/linux/swiotlb.h 					  unsigned long attrs);
attrs              60 include/linux/swiotlb.h 				     unsigned long attrs);
attrs              77 include/linux/swiotlb.h 		size_t size, enum dma_data_direction dir, unsigned long attrs);
attrs              90 include/linux/swiotlb.h 		unsigned long attrs)
attrs              90 include/linux/sysfs.h 	struct attribute	**attrs;
attrs             154 include/linux/sysfs.h 	.attrs = _name##_attrs,					\
attrs             439 include/linux/workqueue.h void free_workqueue_attrs(struct workqueue_attrs *attrs);
attrs             441 include/linux/workqueue.h 			  const struct workqueue_attrs *attrs);
attrs             119 include/media/videobuf2-core.h 	void		*(*alloc)(struct device *dev, unsigned long attrs,
attrs              88 include/net/devlink.h 	struct devlink_port_attrs attrs;
attrs              83 include/net/dn_fib.h 			struct nlattr *attrs[], struct nlmsghdr *n,
attrs              86 include/net/dn_fib.h 			struct nlattr *attrs[], struct nlmsghdr *n,
attrs             105 include/net/dn_fib.h 				       struct nlattr *attrs[],
attrs              98 include/net/genetlink.h 	struct nlattr **	attrs;
attrs            1943 include/net/xfrm.h static inline int xfrm_mark_get(struct nlattr **attrs, struct xfrm_mark *m)
attrs            1945 include/net/xfrm.h 	if (attrs[XFRMA_MARK])
attrs            1946 include/net/xfrm.h 		memcpy(m, nla_data(attrs[XFRMA_MARK]), sizeof(struct xfrm_mark));
attrs            2410 include/rdma/ib_verbs.h 			 struct uverbs_attr_bundle *attrs);
attrs            2438 include/rdma/ib_verbs.h 		struct uverbs_attr_bundle *attrs);
attrs            2443 include/rdma/ib_verbs.h 		struct uverbs_attr_bundle *attrs);
attrs            2466 include/rdma/ib_verbs.h 				  struct uverbs_attr_bundle *attrs);
attrs            2467 include/rdma/ib_verbs.h 	int (*dealloc_dm)(struct ib_dm *dm, struct uverbs_attr_bundle *attrs);
attrs            2470 include/rdma/ib_verbs.h 				   struct uverbs_attr_bundle *attrs);
attrs            2472 include/rdma/ib_verbs.h 		struct ib_device *device, struct uverbs_attr_bundle *attrs);
attrs            2476 include/rdma/ib_verbs.h 			     struct uverbs_attr_bundle *attrs);
attrs            2634 include/rdma/ib_verbs.h 	struct ib_device_attr        attrs;
attrs            4600 include/rdma/ib_verbs.h int uverbs_destroy_def_handler(struct uverbs_attr_bundle *attrs);
attrs             134 include/rdma/opa_vnic.h 	return !!(device->attrs.device_cap_flags &
attrs             331 include/rdma/uverbs_ioctl.h 	const struct uverbs_attr_def * const (*attrs)[];
attrs             332 include/rdma/uverbs_ioctl.h 	int (*handler)(struct uverbs_attr_bundle *attrs);
attrs             376 include/rdma/uverbs_ioctl.h 		int (*func_write)(struct uverbs_attr_bundle *attrs);
attrs             657 include/rdma/uverbs_ioctl.h 	struct uverbs_attr attrs[];
attrs             692 include/rdma/uverbs_ioctl.h 	return &attrs_bundle->attrs[uapi_bkey_attr(uapi_key_attr(idx))];
attrs             748 include/rdma/uverbs_ioctl.h uverbs_attr_ptr_get_array_size(struct uverbs_attr_bundle *attrs, u16 idx,
attrs             751 include/rdma/uverbs_ioctl.h 	int size = uverbs_attr_get_len(attrs, idx);
attrs             863 include/rdma/uverbs_ioctl.h ib_uverbs_get_ucontext(const struct uverbs_attr_bundle *attrs)
attrs             865 include/rdma/uverbs_ioctl.h 	return ib_uverbs_get_ucontext_file(attrs->ufile);
attrs              59 include/rdma/uverbs_named_ioctl.h 		.attrs = &UVERBS_METHOD_ATTRS(_method_id),                     \
attrs              73 include/rdma/uverbs_named_ioctl.h 		.attrs = &UVERBS_METHOD_ATTRS(_method_id),                     \
attrs             120 include/rdma/uverbs_named_ioctl.h 		.attrs = &UVERBS_METHOD_ATTRS(_method_id),                     \
attrs              77 include/rdma/uverbs_std_types.h 			   struct uverbs_attr_bundle *attrs);
attrs              83 include/rdma/uverbs_std_types.h 				      u32 id, struct uverbs_attr_bundle *attrs);
attrs             108 include/rdma/uverbs_std_types.h uobj_alloc_commit(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs)
attrs             110 include/rdma/uverbs_std_types.h 	int ret = rdma_alloc_commit_uobject(uobj, attrs);
attrs             118 include/rdma/uverbs_std_types.h 				    struct uverbs_attr_bundle *attrs)
attrs             120 include/rdma/uverbs_std_types.h 	rdma_alloc_abort_uobject(uobj, attrs);
attrs             125 include/rdma/uverbs_std_types.h 	     struct uverbs_attr_bundle *attrs, struct ib_device **ib_dev)
attrs             128 include/rdma/uverbs_std_types.h 		rdma_alloc_begin_uobject(obj, attrs->ufile, attrs);
attrs             131 include/rdma/uverbs_std_types.h 		*ib_dev = attrs->context->device;
attrs              99 include/rdma/uverbs_types.h 				       struct uverbs_attr_bundle *attrs);
attrs             131 include/rdma/uverbs_types.h 					   struct uverbs_attr_bundle *attrs);
attrs             137 include/rdma/uverbs_types.h 					   struct uverbs_attr_bundle *attrs);
attrs             142 include/rdma/uverbs_types.h 					    struct uverbs_attr_bundle *attrs);
attrs             144 include/rdma/uverbs_types.h 			      struct uverbs_attr_bundle *attrs);
attrs             146 include/rdma/uverbs_types.h 					   struct uverbs_attr_bundle *attrs);
attrs              30 include/uapi/misc/fastrpc.h 	__u32 attrs;
attrs              84 include/uapi/rdma/rdma_user_ioctl_cmds.h 	struct ib_uverbs_attr  attrs[0];
attrs               9 include/xen/arm/page-coherent.h 		dma_addr_t *dma_handle, gfp_t flags, unsigned long attrs)
attrs              11 include/xen/arm/page-coherent.h 	return dma_direct_alloc(hwdev, size, dma_handle, flags, attrs);
attrs              15 include/xen/arm/page-coherent.h 		void *cpu_addr, dma_addr_t dma_handle, unsigned long attrs)
attrs              17 include/xen/arm/page-coherent.h 	dma_direct_free(hwdev, size, cpu_addr, dma_handle, attrs);
attrs            6517 kernel/cgroup/cgroup.c 	.attrs = cgroup_sysfs_attrs,
attrs            2104 kernel/cpu.c   	.attrs = cpuhp_cpu_attrs,
attrs            2136 kernel/cpu.c   	.attrs = cpuhp_cpu_root_attrs,
attrs            2231 kernel/cpu.c   	.attrs = cpuhp_smt_attrs,
attrs              87 kernel/dma/direct.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs              94 kernel/dma/direct.c 	if (attrs & DMA_ATTR_NO_WARN)
attrs             130 kernel/dma/direct.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             135 kernel/dma/direct.c 	page = __dma_direct_alloc_pages(dev, size, dma_handle, gfp, attrs);
attrs             139 kernel/dma/direct.c 	if ((attrs & DMA_ATTR_NO_KERNEL_MAPPING) &&
attrs             171 kernel/dma/direct.c 	    dma_alloc_need_uncached(dev, attrs)) {
attrs             185 kernel/dma/direct.c 		dma_addr_t dma_addr, unsigned long attrs)
attrs             189 kernel/dma/direct.c 	if ((attrs & DMA_ATTR_NO_KERNEL_MAPPING) &&
attrs             200 kernel/dma/direct.c 	    dma_alloc_need_uncached(dev, attrs))
attrs             206 kernel/dma/direct.c 		dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
attrs             209 kernel/dma/direct.c 	    dma_alloc_need_uncached(dev, attrs))
attrs             210 kernel/dma/direct.c 		return arch_dma_alloc(dev, size, dma_handle, gfp, attrs);
attrs             211 kernel/dma/direct.c 	return dma_direct_alloc_pages(dev, size, dma_handle, gfp, attrs);
attrs             215 kernel/dma/direct.c 		void *cpu_addr, dma_addr_t dma_addr, unsigned long attrs)
attrs             218 kernel/dma/direct.c 	    dma_alloc_need_uncached(dev, attrs))
attrs             219 kernel/dma/direct.c 		arch_dma_free(dev, size, cpu_addr, dma_addr, attrs);
attrs             221 kernel/dma/direct.c 		dma_direct_free_pages(dev, size, cpu_addr, dma_addr, attrs);
attrs             301 kernel/dma/direct.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             305 kernel/dma/direct.c 	if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             309 kernel/dma/direct.c 		swiotlb_tbl_unmap_single(dev, phys, size, size, dir, attrs);
attrs             314 kernel/dma/direct.c 		int nents, enum dma_data_direction dir, unsigned long attrs)
attrs             321 kernel/dma/direct.c 			     attrs);
attrs             335 kernel/dma/direct.c 		unsigned long attrs)
attrs             341 kernel/dma/direct.c 	    !swiotlb_map(dev, &phys, &dma_addr, size, dir, attrs)) {
attrs             346 kernel/dma/direct.c 	if (!dev_is_dma_coherent(dev) && !(attrs & DMA_ATTR_SKIP_CPU_SYNC))
attrs             353 kernel/dma/direct.c 		enum dma_data_direction dir, unsigned long attrs)
attrs             360 kernel/dma/direct.c 				sg->offset, sg->length, dir, attrs);
attrs             369 kernel/dma/direct.c 	dma_direct_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC);
attrs             375 kernel/dma/direct.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs               9 kernel/dma/dummy.c 		unsigned long attrs)
attrs              16 kernel/dma/dummy.c 		unsigned long attrs)
attrs              23 kernel/dma/dummy.c 		unsigned long attrs)
attrs              25 kernel/dma/mapping.c 	unsigned long	attrs;
attrs              33 kernel/dma/mapping.c 			this->attrs);
attrs              82 kernel/dma/mapping.c 		gfp_t gfp, unsigned long attrs)
attrs              91 kernel/dma/mapping.c 	vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs);
attrs             100 kernel/dma/mapping.c 	dr->attrs = attrs;
attrs             113 kernel/dma/mapping.c 		 unsigned long attrs)
attrs             152 kernel/dma/mapping.c 		unsigned long attrs)
attrs             158 kernel/dma/mapping.c 				size, attrs);
attrs             161 kernel/dma/mapping.c 	return ops->get_sgtable(dev, sgt, cpu_addr, dma_addr, size, attrs);
attrs             170 kernel/dma/mapping.c pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs)
attrs             176 kernel/dma/mapping.c              (attrs & DMA_ATTR_NON_CONSISTENT)))
attrs             179 kernel/dma/mapping.c 	if (attrs & DMA_ATTR_WRITE_COMBINE)
attrs             191 kernel/dma/mapping.c 		unsigned long attrs)
attrs             200 kernel/dma/mapping.c 	vma->vm_page_prot = dma_pgprot(dev, vma->vm_page_prot, attrs);
attrs             263 kernel/dma/mapping.c 		unsigned long attrs)
attrs             269 kernel/dma/mapping.c 				attrs);
attrs             272 kernel/dma/mapping.c 	return ops->mmap(dev, vma, cpu_addr, dma_addr, size, attrs);
attrs             298 kernel/dma/mapping.c 		gfp_t flag, unsigned long attrs)
attrs             312 kernel/dma/mapping.c 		cpu_addr = dma_direct_alloc(dev, size, dma_handle, flag, attrs);
attrs             314 kernel/dma/mapping.c 		cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs);
attrs             324 kernel/dma/mapping.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             344 kernel/dma/mapping.c 		dma_direct_free(dev, size, cpu_addr, dma_handle, attrs);
attrs             346 kernel/dma/mapping.c 		ops->free(dev, size, cpu_addr, dma_handle, attrs);
attrs             215 kernel/dma/remap.c 		gfp_t flags, unsigned long attrs)
attrs             229 kernel/dma/remap.c 	page = __dma_direct_alloc_pages(dev, size, dma_handle, flags, attrs);
attrs             238 kernel/dma/remap.c 			dma_pgprot(dev, PAGE_KERNEL, attrs),
attrs             252 kernel/dma/remap.c 		dma_addr_t dma_handle, unsigned long attrs)
attrs             451 kernel/dma/swiotlb.c 				   unsigned long attrs)
attrs             555 kernel/dma/swiotlb.c 	if (!(attrs & DMA_ATTR_NO_WARN) && printk_ratelimit())
attrs             570 kernel/dma/swiotlb.c 	if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC) &&
attrs             582 kernel/dma/swiotlb.c 			      enum dma_data_direction dir, unsigned long attrs)
attrs             593 kernel/dma/swiotlb.c 	    !(attrs & DMA_ATTR_SKIP_CPU_SYNC) &&
attrs             663 kernel/dma/swiotlb.c 		size_t size, enum dma_data_direction dir, unsigned long attrs)
attrs             675 kernel/dma/swiotlb.c 			*phys, size, size, dir, attrs);
attrs             683 kernel/dma/swiotlb.c 			attrs | DMA_ATTR_SKIP_CPU_SYNC);
attrs              12 kernel/dma/virt.c 			    unsigned long attrs)
attrs              24 kernel/dma/virt.c 			  unsigned long attrs)
attrs              32 kernel/dma/virt.c 				    unsigned long attrs)
attrs              39 kernel/dma/virt.c 			   unsigned long attrs)
attrs            8847 kernel/events/core.c 	.attrs = kprobe_attrs,
attrs            8906 kernel/events/core.c 	.attrs = uprobe_attrs,
attrs             236 kernel/ksysfs.c 	.attrs = kernel_attrs,
attrs            1518 kernel/module.c 	struct module_sect_attr attrs[0];
attrs            1535 kernel/module.c 		kfree(sect_attrs->attrs[section].name);
attrs            1550 kernel/module.c 	size[0] = ALIGN(struct_size(sect_attrs, attrs, nloaded),
attrs            1551 kernel/module.c 			sizeof(sect_attrs->grp.attrs[0]));
attrs            1552 kernel/module.c 	size[1] = (nloaded + 1) * sizeof(sect_attrs->grp.attrs[0]);
attrs            1559 kernel/module.c 	sect_attrs->grp.attrs = (void *)sect_attrs + size[0];
attrs            1562 kernel/module.c 	sattr = &sect_attrs->attrs[0];
attrs            1563 kernel/module.c 	gattr = &sect_attrs->grp.attrs[0];
attrs            1611 kernel/module.c 	struct bin_attribute attrs[0];
attrs            1631 kernel/module.c 					      &notes_attrs->attrs[i]);
attrs            1657 kernel/module.c 	notes_attrs = kzalloc(struct_size(notes_attrs, attrs, notes),
attrs            1663 kernel/module.c 	nattr = &notes_attrs->attrs[0];
attrs            1669 kernel/module.c 			nattr->attr.name = mod->sect_attrs->attrs[loaded].name;
attrs            1685 kernel/module.c 					  &notes_attrs->attrs[i]))
attrs             355 kernel/padata.c 	struct workqueue_attrs *attrs;
attrs             358 kernel/padata.c 	attrs = alloc_workqueue_attrs();
attrs             359 kernel/padata.c 	if (!attrs)
attrs             363 kernel/padata.c 	cpumask_copy(attrs->cpumask, pinst->cpumask.pcpu);
attrs             364 kernel/padata.c 	err = apply_workqueue_attrs(pinst->parallel_wq, attrs);
attrs             365 kernel/padata.c 	free_workqueue_attrs(attrs);
attrs             532 kernel/params.c 	struct param_attribute attrs[0];
attrs             624 kernel/params.c 		mk->mp->grp.attrs = kzalloc(sizeof(mk->mp->grp.attrs[0]),
attrs             627 kernel/params.c 		if (!mk->mp->grp.attrs)
attrs             634 kernel/params.c 			  sizeof(mk->mp->attrs[0]) * (mk->mp->num + 1),
attrs             641 kernel/params.c 	new_attrs = krealloc(mk->mp->grp.attrs,
attrs             642 kernel/params.c 			     sizeof(mk->mp->grp.attrs[0]) * (mk->mp->num + 2),
attrs             646 kernel/params.c 	mk->mp->grp.attrs = new_attrs;
attrs             649 kernel/params.c 	memset(&mk->mp->attrs[mk->mp->num], 0, sizeof(mk->mp->attrs[0]));
attrs             650 kernel/params.c 	sysfs_attr_init(&mk->mp->attrs[mk->mp->num].mattr.attr);
attrs             651 kernel/params.c 	mk->mp->attrs[mk->mp->num].param = kp;
attrs             652 kernel/params.c 	mk->mp->attrs[mk->mp->num].mattr.show = param_attr_show;
attrs             655 kernel/params.c 		mk->mp->attrs[mk->mp->num].mattr.store = param_attr_store;
attrs             657 kernel/params.c 		mk->mp->attrs[mk->mp->num].mattr.store = NULL;
attrs             658 kernel/params.c 	mk->mp->attrs[mk->mp->num].mattr.attr.name = (char *)name;
attrs             659 kernel/params.c 	mk->mp->attrs[mk->mp->num].mattr.attr.mode = kp->perm;
attrs             664 kernel/params.c 		mk->mp->grp.attrs[i] = &mk->mp->attrs[i].mattr.attr;
attrs             665 kernel/params.c 	mk->mp->grp.attrs[mk->mp->num] = NULL;
attrs             673 kernel/params.c 		kfree(mk->mp->grp.attrs);
attrs            1163 kernel/power/hibernate.c 	.attrs = g,
attrs             360 kernel/power/main.c 	.attrs = suspend_attrs,
attrs             880 kernel/power/main.c 	.attrs = g,
attrs             399 kernel/taskstats.c 	na = info->attrs[CGROUPSTATS_CMD_ATTR_FD];
attrs             403 kernel/taskstats.c 	fd = nla_get_u32(info->attrs[CGROUPSTATS_CMD_ATTR_FD]);
attrs             446 kernel/taskstats.c 	rc = parse(info->attrs[TASKSTATS_CMD_ATTR_REGISTER_CPUMASK], mask);
attrs             462 kernel/taskstats.c 	rc = parse(info->attrs[TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK], mask);
attrs             497 kernel/taskstats.c 	pid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_PID]);
attrs             526 kernel/taskstats.c 	tgid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_TGID]);
attrs             542 kernel/taskstats.c 	if (info->attrs[TASKSTATS_CMD_ATTR_REGISTER_CPUMASK])
attrs             544 kernel/taskstats.c 	else if (info->attrs[TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK])
attrs             546 kernel/taskstats.c 	else if (info->attrs[TASKSTATS_CMD_ATTR_PID])
attrs             548 kernel/taskstats.c 	else if (info->attrs[TASKSTATS_CMD_ATTR_TGID])
attrs            1708 kernel/trace/blktrace.c 	.attrs = blk_trace_attrs,
attrs             357 kernel/trace/trace_events_hist.c 	struct hist_trigger_attrs	*attrs;
attrs            1541 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->ts_in_usecs && trace_clock_in_ns(tr))
attrs            2080 kernel/trace/trace_events_hist.c static void destroy_hist_trigger_attrs(struct hist_trigger_attrs *attrs)
attrs            2084 kernel/trace/trace_events_hist.c 	if (!attrs)
attrs            2087 kernel/trace/trace_events_hist.c 	for (i = 0; i < attrs->n_assignments; i++)
attrs            2088 kernel/trace/trace_events_hist.c 		kfree(attrs->assignment_str[i]);
attrs            2090 kernel/trace/trace_events_hist.c 	for (i = 0; i < attrs->n_actions; i++)
attrs            2091 kernel/trace/trace_events_hist.c 		kfree(attrs->action_str[i]);
attrs            2093 kernel/trace/trace_events_hist.c 	kfree(attrs->name);
attrs            2094 kernel/trace/trace_events_hist.c 	kfree(attrs->sort_key_str);
attrs            2095 kernel/trace/trace_events_hist.c 	kfree(attrs->keys_str);
attrs            2096 kernel/trace/trace_events_hist.c 	kfree(attrs->vals_str);
attrs            2097 kernel/trace/trace_events_hist.c 	kfree(attrs->clock);
attrs            2098 kernel/trace/trace_events_hist.c 	kfree(attrs);
attrs            2101 kernel/trace/trace_events_hist.c static int parse_action(char *str, struct hist_trigger_attrs *attrs)
attrs            2105 kernel/trace/trace_events_hist.c 	if (attrs->n_actions >= HIST_ACTIONS_MAX)
attrs            2111 kernel/trace/trace_events_hist.c 		attrs->action_str[attrs->n_actions] = kstrdup(str, GFP_KERNEL);
attrs            2112 kernel/trace/trace_events_hist.c 		if (!attrs->action_str[attrs->n_actions]) {
attrs            2116 kernel/trace/trace_events_hist.c 		attrs->n_actions++;
attrs            2123 kernel/trace/trace_events_hist.c 			    char *str, struct hist_trigger_attrs *attrs)
attrs            2129 kernel/trace/trace_events_hist.c 		attrs->keys_str = kstrdup(str + len, GFP_KERNEL);
attrs            2130 kernel/trace/trace_events_hist.c 		if (!attrs->keys_str) {
attrs            2137 kernel/trace/trace_events_hist.c 		attrs->vals_str = kstrdup(str + len, GFP_KERNEL);
attrs            2138 kernel/trace/trace_events_hist.c 		if (!attrs->vals_str) {
attrs            2143 kernel/trace/trace_events_hist.c 		attrs->sort_key_str = kstrdup(str + len, GFP_KERNEL);
attrs            2144 kernel/trace/trace_events_hist.c 		if (!attrs->sort_key_str) {
attrs            2149 kernel/trace/trace_events_hist.c 		attrs->name = kstrdup(str, GFP_KERNEL);
attrs            2150 kernel/trace/trace_events_hist.c 		if (!attrs->name) {
attrs            2158 kernel/trace/trace_events_hist.c 		attrs->clock = kstrdup(str, GFP_KERNEL);
attrs            2159 kernel/trace/trace_events_hist.c 		if (!attrs->clock) {
attrs            2170 kernel/trace/trace_events_hist.c 		attrs->map_bits = map_bits;
attrs            2174 kernel/trace/trace_events_hist.c 		if (attrs->n_assignments == TRACING_MAP_VARS_MAX) {
attrs            2186 kernel/trace/trace_events_hist.c 		attrs->assignment_str[attrs->n_assignments++] = assignment;
attrs            2195 kernel/trace/trace_events_hist.c 	struct hist_trigger_attrs *attrs;
attrs            2198 kernel/trace/trace_events_hist.c 	attrs = kzalloc(sizeof(*attrs), GFP_KERNEL);
attrs            2199 kernel/trace/trace_events_hist.c 	if (!attrs)
attrs            2212 kernel/trace/trace_events_hist.c 			ret = parse_assignment(tr, str, attrs);
attrs            2216 kernel/trace/trace_events_hist.c 			attrs->pause = true;
attrs            2219 kernel/trace/trace_events_hist.c 			attrs->cont = true;
attrs            2221 kernel/trace/trace_events_hist.c 			attrs->clear = true;
attrs            2223 kernel/trace/trace_events_hist.c 			ret = parse_action(str, attrs);
attrs            2229 kernel/trace/trace_events_hist.c 	if (!attrs->keys_str) {
attrs            2234 kernel/trace/trace_events_hist.c 	if (!attrs->clock) {
attrs            2235 kernel/trace/trace_events_hist.c 		attrs->clock = kstrdup("global", GFP_KERNEL);
attrs            2236 kernel/trace/trace_events_hist.c 		if (!attrs->clock) {
attrs            2242 kernel/trace/trace_events_hist.c 	return attrs;
attrs            2244 kernel/trace/trace_events_hist.c 	destroy_hist_trigger_attrs(attrs);
attrs            2762 kernel/trace/trace_events_hist.c 	for (i = 0; i < hist_data->attrs->var_defs.n_vars; i++) {
attrs            2763 kernel/trace/trace_events_hist.c 		name = hist_data->attrs->var_defs.name[i];
attrs            2766 kernel/trace/trace_events_hist.c 			field = hist_data->attrs->var_defs.expr[i];
attrs            2866 kernel/trace/trace_events_hist.c 			hist_data->attrs->ts_in_usecs = true;
attrs            4587 kernel/trace/trace_events_hist.c 	fields_str = hist_data->attrs->vals_str;
attrs            4681 kernel/trace/trace_events_hist.c 	fields_str = hist_data->attrs->keys_str;
attrs            4710 kernel/trace/trace_events_hist.c 	unsigned int n_vars = hist_data->attrs->var_defs.n_vars;
attrs            4713 kernel/trace/trace_events_hist.c 		char *var_name = hist_data->attrs->var_defs.name[i];
attrs            4714 kernel/trace/trace_events_hist.c 		char *expr = hist_data->attrs->var_defs.expr[i];
attrs            4728 kernel/trace/trace_events_hist.c 	for (i = 0; i < hist_data->attrs->var_defs.n_vars; i++) {
attrs            4729 kernel/trace/trace_events_hist.c 		kfree(hist_data->attrs->var_defs.name[i]);
attrs            4730 kernel/trace/trace_events_hist.c 		kfree(hist_data->attrs->var_defs.expr[i]);
attrs            4733 kernel/trace/trace_events_hist.c 	hist_data->attrs->var_defs.n_vars = 0;
attrs            4743 kernel/trace/trace_events_hist.c 	for (i = 0; i < hist_data->attrs->n_assignments; i++) {
attrs            4744 kernel/trace/trace_events_hist.c 		str = hist_data->attrs->assignment_str[i];
attrs            4769 kernel/trace/trace_events_hist.c 			hist_data->attrs->var_defs.name[n_vars] = s;
attrs            4773 kernel/trace/trace_events_hist.c 				kfree(hist_data->attrs->var_defs.name[n_vars]);
attrs            4777 kernel/trace/trace_events_hist.c 			hist_data->attrs->var_defs.expr[n_vars++] = s;
attrs            4779 kernel/trace/trace_events_hist.c 			hist_data->attrs->var_defs.n_vars = n_vars;
attrs            4832 kernel/trace/trace_events_hist.c 	char *fields_str = hist_data->attrs->sort_key_str;
attrs            4938 kernel/trace/trace_events_hist.c 	for (i = 0; i < hist_data->attrs->n_actions; i++) {
attrs            4939 kernel/trace/trace_events_hist.c 		str = hist_data->attrs->action_str[i];
attrs            4984 kernel/trace/trace_events_hist.c 	for (i = 0; i < hist_data->attrs->n_actions; i++) {
attrs            5165 kernel/trace/trace_events_hist.c 	destroy_hist_trigger_attrs(hist_data->attrs);
attrs            5223 kernel/trace/trace_events_hist.c 		 struct hist_trigger_attrs *attrs,
attrs            5235 kernel/trace/trace_events_hist.c 	hist_data->attrs = attrs;
attrs            5267 kernel/trace/trace_events_hist.c 	hist_data->attrs = NULL;
attrs            5750 kernel/trace/trace_events_hist.c 		seq_printf(m, ":clock=%s", hist_data->attrs->clock);
attrs            5772 kernel/trace/trace_events_hist.c 	if (!data->ref && hist_data->attrs->name)
attrs            5773 kernel/trace/trace_events_hist.c 		save_named_trigger(hist_data->attrs->name, data);
attrs            5979 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->name) {
attrs            5980 kernel/trace/trace_events_hist.c 		named_data = find_named_trigger(hist_data->attrs->name);
attrs            5984 kernel/trace/trace_events_hist.c 				hist_err(tr, HIST_ERR_NAMED_MISMATCH, errpos(hist_data->attrs->name));
attrs            5991 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->name && !named_data)
attrs            6000 kernel/trace/trace_events_hist.c 			if (hist_data->attrs->pause)
attrs            6002 kernel/trace/trace_events_hist.c 			else if (hist_data->attrs->cont)
attrs            6004 kernel/trace/trace_events_hist.c 			else if (hist_data->attrs->clear)
attrs            6014 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->cont || hist_data->attrs->clear) {
attrs            6020 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->pause)
attrs            6036 kernel/trace/trace_events_hist.c 		char *clock = hist_data->attrs->clock;
attrs            6038 kernel/trace/trace_events_hist.c 		ret = tracing_set_clock(file->tr, hist_data->attrs->clock);
attrs            6082 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->name)
attrs            6083 kernel/trace/trace_events_hist.c 		named_data = find_named_trigger(hist_data->attrs->name);
attrs            6105 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->name)
attrs            6106 kernel/trace/trace_events_hist.c 		named_data = find_named_trigger(hist_data->attrs->name);
attrs            6132 kernel/trace/trace_events_hist.c 	if (hist_data->attrs->name)
attrs            6133 kernel/trace/trace_events_hist.c 		named_data = find_named_trigger(hist_data->attrs->name);
attrs            6212 kernel/trace/trace_events_hist.c 	struct hist_trigger_attrs *attrs;
attrs            6266 kernel/trace/trace_events_hist.c 	attrs = parse_hist_trigger_attrs(file->tr, trigger);
attrs            6267 kernel/trace/trace_events_hist.c 	if (IS_ERR(attrs))
attrs            6268 kernel/trace/trace_events_hist.c 		return PTR_ERR(attrs);
attrs            6270 kernel/trace/trace_events_hist.c 	if (attrs->map_bits)
attrs            6271 kernel/trace/trace_events_hist.c 		hist_trigger_bits = attrs->map_bits;
attrs            6273 kernel/trace/trace_events_hist.c 	hist_data = create_hist_data(hist_trigger_bits, attrs, file, remove);
attrs            6275 kernel/trace/trace_events_hist.c 		destroy_hist_trigger_attrs(attrs);
attrs            6328 kernel/trace/trace_events_hist.c 		if (!(attrs->pause || attrs->cont || attrs->clear))
attrs             175 kernel/workqueue.c 	struct workqueue_attrs	*attrs;		/* I: worker attributes */
attrs            1852 kernel/workqueue.c 	set_cpus_allowed_ptr(worker->task, pool->attrs->cpumask);
attrs            1928 kernel/workqueue.c 			 pool->attrs->nice < 0  ? "H" : "");
attrs            1937 kernel/workqueue.c 	set_user_nice(worker->task, pool->attrs->nice);
attrs            1938 kernel/workqueue.c 	kthread_bind_mask(worker->task, pool->attrs->cpumask);
attrs            3341 kernel/workqueue.c void free_workqueue_attrs(struct workqueue_attrs *attrs)
attrs            3343 kernel/workqueue.c 	if (attrs) {
attrs            3344 kernel/workqueue.c 		free_cpumask_var(attrs->cpumask);
attrs            3345 kernel/workqueue.c 		kfree(attrs);
attrs            3359 kernel/workqueue.c 	struct workqueue_attrs *attrs;
attrs            3361 kernel/workqueue.c 	attrs = kzalloc(sizeof(*attrs), GFP_KERNEL);
attrs            3362 kernel/workqueue.c 	if (!attrs)
attrs            3364 kernel/workqueue.c 	if (!alloc_cpumask_var(&attrs->cpumask, GFP_KERNEL))
attrs            3367 kernel/workqueue.c 	cpumask_copy(attrs->cpumask, cpu_possible_mask);
attrs            3368 kernel/workqueue.c 	return attrs;
attrs            3370 kernel/workqueue.c 	free_workqueue_attrs(attrs);
attrs            3388 kernel/workqueue.c static u32 wqattrs_hash(const struct workqueue_attrs *attrs)
attrs            3392 kernel/workqueue.c 	hash = jhash_1word(attrs->nice, hash);
attrs            3393 kernel/workqueue.c 	hash = jhash(cpumask_bits(attrs->cpumask),
attrs            3442 kernel/workqueue.c 	pool->attrs = alloc_workqueue_attrs();
attrs            3443 kernel/workqueue.c 	if (!pool->attrs)
attrs            3507 kernel/workqueue.c 	free_workqueue_attrs(pool->attrs);
attrs            3587 kernel/workqueue.c static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs)
attrs            3589 kernel/workqueue.c 	u32 hash = wqattrs_hash(attrs);
attrs            3598 kernel/workqueue.c 		if (wqattrs_equal(pool->attrs, attrs)) {
attrs            3607 kernel/workqueue.c 			if (cpumask_subset(attrs->cpumask,
attrs            3621 kernel/workqueue.c 	copy_workqueue_attrs(pool->attrs, attrs);
attrs            3628 kernel/workqueue.c 	pool->attrs->no_numa = false;
attrs            3778 kernel/workqueue.c 					const struct workqueue_attrs *attrs)
attrs            3785 kernel/workqueue.c 	pool = get_unbound_pool(attrs);
attrs            3821 kernel/workqueue.c static bool wq_calc_node_cpumask(const struct workqueue_attrs *attrs, int node,
attrs            3824 kernel/workqueue.c 	if (!wq_numa_enabled || attrs->no_numa)
attrs            3828 kernel/workqueue.c 	cpumask_and(cpumask, cpumask_of_node(node), attrs->cpumask);
attrs            3836 kernel/workqueue.c 	cpumask_and(cpumask, attrs->cpumask, wq_numa_possible_cpumask[node]);
attrs            3844 kernel/workqueue.c 	return !cpumask_equal(cpumask, attrs->cpumask);
attrs            3847 kernel/workqueue.c 	cpumask_copy(cpumask, attrs->cpumask);
attrs            3872 kernel/workqueue.c 	struct workqueue_attrs	*attrs;		/* attrs to apply */
attrs            3888 kernel/workqueue.c 		free_workqueue_attrs(ctx->attrs);
attrs            3897 kernel/workqueue.c 		      const struct workqueue_attrs *attrs)
attrs            3917 kernel/workqueue.c 	copy_workqueue_attrs(new_attrs, attrs);
attrs            3950 kernel/workqueue.c 	copy_workqueue_attrs(new_attrs, attrs);
attrs            3952 kernel/workqueue.c 	ctx->attrs = new_attrs;
attrs            3973 kernel/workqueue.c 	copy_workqueue_attrs(ctx->wq->unbound_attrs, ctx->attrs);
attrs            4001 kernel/workqueue.c 					const struct workqueue_attrs *attrs)
attrs            4017 kernel/workqueue.c 	ctx = apply_wqattrs_prepare(wq, attrs);
attrs            4047 kernel/workqueue.c 			  const struct workqueue_attrs *attrs)
attrs            4054 kernel/workqueue.c 	ret = apply_workqueue_attrs_locked(wq, attrs);
attrs            4114 kernel/workqueue.c 	if (wq_calc_node_cpumask(wq->dfl_pwq->pool->attrs, node, cpu_off, cpumask)) {
attrs            4115 kernel/workqueue.c 		if (cpumask_equal(cpumask, pwq->pool->attrs->cpumask))
attrs            4634 kernel/workqueue.c 	pr_cont(" cpus=%*pbl", nr_cpumask_bits, pool->attrs->cpumask);
attrs            4637 kernel/workqueue.c 	pr_cont(" flags=0x%x nice=%d", pool->flags, pool->attrs->nice);
attrs            4937 kernel/workqueue.c 						  pool->attrs->cpumask) < 0);
attrs            4999 kernel/workqueue.c 	if (!cpumask_test_cpu(cpu, pool->attrs->cpumask))
attrs            5002 kernel/workqueue.c 	cpumask_and(&cpumask, pool->attrs->cpumask, cpu_online_mask);
attrs            5426 kernel/workqueue.c 	struct workqueue_attrs *attrs;
attrs            5430 kernel/workqueue.c 	attrs = alloc_workqueue_attrs();
attrs            5431 kernel/workqueue.c 	if (!attrs)
attrs            5434 kernel/workqueue.c 	copy_workqueue_attrs(attrs, wq->unbound_attrs);
attrs            5435 kernel/workqueue.c 	return attrs;
attrs            5442 kernel/workqueue.c 	struct workqueue_attrs *attrs;
attrs            5447 kernel/workqueue.c 	attrs = wq_sysfs_prep_attrs(wq);
attrs            5448 kernel/workqueue.c 	if (!attrs)
attrs            5451 kernel/workqueue.c 	if (sscanf(buf, "%d", &attrs->nice) == 1 &&
attrs            5452 kernel/workqueue.c 	    attrs->nice >= MIN_NICE && attrs->nice <= MAX_NICE)
attrs            5453 kernel/workqueue.c 		ret = apply_workqueue_attrs_locked(wq, attrs);
attrs            5459 kernel/workqueue.c 	free_workqueue_attrs(attrs);
attrs            5481 kernel/workqueue.c 	struct workqueue_attrs *attrs;
attrs            5486 kernel/workqueue.c 	attrs = wq_sysfs_prep_attrs(wq);
attrs            5487 kernel/workqueue.c 	if (!attrs)
attrs            5490 kernel/workqueue.c 	ret = cpumask_parse(buf, attrs->cpumask);
attrs            5492 kernel/workqueue.c 		ret = apply_workqueue_attrs_locked(wq, attrs);
attrs            5496 kernel/workqueue.c 	free_workqueue_attrs(attrs);
attrs            5518 kernel/workqueue.c 	struct workqueue_attrs *attrs;
attrs            5523 kernel/workqueue.c 	attrs = wq_sysfs_prep_attrs(wq);
attrs            5524 kernel/workqueue.c 	if (!attrs)
attrs            5529 kernel/workqueue.c 		attrs->no_numa = !v;
attrs            5530 kernel/workqueue.c 		ret = apply_workqueue_attrs_locked(wq, attrs);
attrs            5535 kernel/workqueue.c 	free_workqueue_attrs(attrs);
attrs            5912 kernel/workqueue.c 			cpumask_copy(pool->attrs->cpumask, cpumask_of(cpu));
attrs            5913 kernel/workqueue.c 			pool->attrs->nice = std_nice[i++];
attrs            5925 kernel/workqueue.c 		struct workqueue_attrs *attrs;
attrs            5927 kernel/workqueue.c 		BUG_ON(!(attrs = alloc_workqueue_attrs()));
attrs            5928 kernel/workqueue.c 		attrs->nice = std_nice[i];
attrs            5929 kernel/workqueue.c 		unbound_std_wq_attrs[i] = attrs;
attrs            5936 kernel/workqueue.c 		BUG_ON(!(attrs = alloc_workqueue_attrs()));
attrs            5937 kernel/workqueue.c 		attrs->nice = std_nice[i];
attrs            5938 kernel/workqueue.c 		attrs->no_numa = true;
attrs            5939 kernel/workqueue.c 		ordered_wq_attrs[i] = attrs;
attrs             339 mm/huge_memory.c 	.attrs = hugepage_attr,
attrs            2762 mm/hugetlb.c   	.attrs = hstate_attrs,
attrs            2826 mm/hugetlb.c   	.attrs = per_node_hstate_attrs,
attrs             306 mm/khugepaged.c 	.attrs = khugepaged_attr,
attrs            3175 mm/ksm.c       	.attrs = ksm_attrs,
attrs            5515 mm/slub.c      	.attrs = slab_attrs,
attrs             818 mm/swap_state.c 	.attrs = swap_attrs,
attrs             445 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_AGGREGATED_OGMS_ENABLED]) {
attrs             446 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_AGGREGATED_OGMS_ENABLED];
attrs             451 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_AP_ISOLATION_ENABLED]) {
attrs             452 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_AP_ISOLATION_ENABLED];
attrs             457 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_ISOLATION_MARK]) {
attrs             458 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_ISOLATION_MARK];
attrs             463 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_ISOLATION_MASK]) {
attrs             464 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_ISOLATION_MASK];
attrs             469 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_BONDING_ENABLED]) {
attrs             470 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_BONDING_ENABLED];
attrs             476 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED]) {
attrs             477 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED];
attrs             486 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED]) {
attrs             487 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED];
attrs             495 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_FRAGMENTATION_ENABLED]) {
attrs             496 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_FRAGMENTATION_ENABLED];
attrs             502 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_GW_BANDWIDTH_DOWN]) {
attrs             503 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_GW_BANDWIDTH_DOWN];
attrs             509 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_GW_BANDWIDTH_UP]) {
attrs             510 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_GW_BANDWIDTH_UP];
attrs             516 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_GW_MODE]) {
attrs             519 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_GW_MODE];
attrs             545 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_GW_SEL_CLASS] &&
attrs             555 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_GW_SEL_CLASS];
attrs             567 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_HOP_PENALTY]) {
attrs             568 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_HOP_PENALTY];
attrs             574 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_LOG_LEVEL]) {
attrs             575 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_LOG_LEVEL];
attrs             583 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED]) {
attrs             584 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_MULTICAST_FORCEFLOOD_ENABLED];
attrs             589 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_MULTICAST_FANOUT]) {
attrs             590 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_MULTICAST_FANOUT];
attrs             597 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_NETWORK_CODING_ENABLED]) {
attrs             598 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_NETWORK_CODING_ENABLED];
attrs             605 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_ORIG_INTERVAL]) {
attrs             608 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_ORIG_INTERVAL];
attrs             719 net/batman-adv/netlink.c 	if (!info->attrs[BATADV_ATTR_ORIG_ADDRESS])
attrs             722 net/batman-adv/netlink.c 	if (!info->attrs[BATADV_ATTR_TPMETER_TEST_TIME])
attrs             725 net/batman-adv/netlink.c 	dst = nla_data(info->attrs[BATADV_ATTR_ORIG_ADDRESS]);
attrs             727 net/batman-adv/netlink.c 	test_length = nla_get_u32(info->attrs[BATADV_ATTR_TPMETER_TEST_TIME]);
attrs             772 net/batman-adv/netlink.c 	if (!info->attrs[BATADV_ATTR_ORIG_ADDRESS])
attrs             775 net/batman-adv/netlink.c 	dst = nla_data(info->attrs[BATADV_ATTR_ORIG_ADDRESS]);
attrs             927 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_ELP_INTERVAL]) {
attrs             928 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_ELP_INTERVAL];
attrs             933 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_THROUGHPUT_OVERRIDE]) {
attrs             934 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_THROUGHPUT_OVERRIDE];
attrs            1126 net/batman-adv/netlink.c 	if (info->attrs[BATADV_ATTR_AP_ISOLATION_ENABLED]) {
attrs            1127 net/batman-adv/netlink.c 		attr = info->attrs[BATADV_ATTR_AP_ISOLATION_ENABLED];
attrs            1151 net/batman-adv/netlink.c 	if (!info->attrs[BATADV_ATTR_MESH_IFINDEX])
attrs            1154 net/batman-adv/netlink.c 	ifindex = nla_get_u32(info->attrs[BATADV_ATTR_MESH_IFINDEX]);
attrs            1188 net/batman-adv/netlink.c 	if (!info->attrs[BATADV_ATTR_HARD_IFINDEX])
attrs            1191 net/batman-adv/netlink.c 	hardif_index = nla_get_u32(info->attrs[BATADV_ATTR_HARD_IFINDEX]);
attrs            1233 net/batman-adv/netlink.c 	if (!info->attrs[BATADV_ATTR_VLANID])
attrs            1236 net/batman-adv/netlink.c 	vid = nla_get_u16(info->attrs[BATADV_ATTR_VLANID]);
attrs             906 net/bridge/br_sysfs_br.c 	.attrs = bridge_attrs,
attrs             109 net/core/devlink.c 					      struct nlattr **attrs)
attrs             115 net/core/devlink.c 	if (!attrs[DEVLINK_ATTR_BUS_NAME] || !attrs[DEVLINK_ATTR_DEV_NAME])
attrs             118 net/core/devlink.c 	busname = nla_data(attrs[DEVLINK_ATTR_BUS_NAME]);
attrs             119 net/core/devlink.c 	devname = nla_data(attrs[DEVLINK_ATTR_DEV_NAME]);
attrs             135 net/core/devlink.c 	return devlink_get_from_attrs(genl_info_net(info), info->attrs);
attrs             157 net/core/devlink.c 							struct nlattr **attrs)
attrs             159 net/core/devlink.c 	if (attrs[DEVLINK_ATTR_PORT_INDEX]) {
attrs             160 net/core/devlink.c 		u32 port_index = nla_get_u32(attrs[DEVLINK_ATTR_PORT_INDEX]);
attrs             174 net/core/devlink.c 	return devlink_port_get_from_attrs(devlink, info->attrs);
attrs             211 net/core/devlink.c 						    struct nlattr **attrs)
attrs             213 net/core/devlink.c 	if (attrs[DEVLINK_ATTR_SB_INDEX]) {
attrs             214 net/core/devlink.c 		u32 sb_index = nla_get_u32(attrs[DEVLINK_ATTR_SB_INDEX]);
attrs             228 net/core/devlink.c 	return devlink_sb_get_from_attrs(devlink, info->attrs);
attrs             232 net/core/devlink.c 						struct nlattr **attrs,
attrs             237 net/core/devlink.c 	if (!attrs[DEVLINK_ATTR_SB_POOL_INDEX])
attrs             240 net/core/devlink.c 	val = nla_get_u16(attrs[DEVLINK_ATTR_SB_POOL_INDEX]);
attrs             251 net/core/devlink.c 	return devlink_sb_pool_index_get_from_attrs(devlink_sb, info->attrs,
attrs             256 net/core/devlink.c devlink_sb_pool_type_get_from_attrs(struct nlattr **attrs,
attrs             261 net/core/devlink.c 	if (!attrs[DEVLINK_ATTR_SB_POOL_TYPE])
attrs             264 net/core/devlink.c 	val = nla_get_u8(attrs[DEVLINK_ATTR_SB_POOL_TYPE]);
attrs             276 net/core/devlink.c 	return devlink_sb_pool_type_get_from_attrs(info->attrs, p_pool_type);
attrs             280 net/core/devlink.c devlink_sb_th_type_get_from_attrs(struct nlattr **attrs,
attrs             285 net/core/devlink.c 	if (!attrs[DEVLINK_ATTR_SB_POOL_THRESHOLD_TYPE])
attrs             288 net/core/devlink.c 	val = nla_get_u8(attrs[DEVLINK_ATTR_SB_POOL_THRESHOLD_TYPE]);
attrs             300 net/core/devlink.c 	return devlink_sb_th_type_get_from_attrs(info->attrs, p_th_type);
attrs             305 net/core/devlink.c 				   struct nlattr **attrs,
attrs             311 net/core/devlink.c 	if (!attrs[DEVLINK_ATTR_SB_TC_INDEX])
attrs             314 net/core/devlink.c 	val = nla_get_u16(attrs[DEVLINK_ATTR_SB_TC_INDEX]);
attrs             331 net/core/devlink.c 	return devlink_sb_tc_index_get_from_attrs(devlink_sb, info->attrs,
attrs             509 net/core/devlink.c 	struct devlink_port_attrs *attrs = &devlink_port->attrs;
attrs             511 net/core/devlink.c 	if (!attrs->set)
attrs             513 net/core/devlink.c 	if (nla_put_u16(msg, DEVLINK_ATTR_PORT_FLAVOUR, attrs->flavour))
attrs             515 net/core/devlink.c 	switch (devlink_port->attrs.flavour) {
attrs             518 net/core/devlink.c 				attrs->pci_pf.pf))
attrs             523 net/core/devlink.c 				attrs->pci_vf.pf) ||
attrs             525 net/core/devlink.c 				attrs->pci_vf.vf))
attrs             532 net/core/devlink.c 				attrs->phys.port_number))
attrs             534 net/core/devlink.c 		if (!attrs->split)
attrs             537 net/core/devlink.c 				attrs->phys.port_number))
attrs             540 net/core/devlink.c 				attrs->phys.split_subport_number))
attrs             771 net/core/devlink.c 	if (info->attrs[DEVLINK_ATTR_PORT_TYPE]) {
attrs             774 net/core/devlink.c 		port_type = nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_TYPE]);
attrs             799 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_PORT_INDEX] ||
attrs             800 net/core/devlink.c 	    !info->attrs[DEVLINK_ATTR_PORT_SPLIT_COUNT])
attrs             803 net/core/devlink.c 	port_index = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_INDEX]);
attrs             804 net/core/devlink.c 	count = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_SPLIT_COUNT]);
attrs             823 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_PORT_INDEX])
attrs             826 net/core/devlink.c 	port_index = nla_get_u32(info->attrs[DEVLINK_ATTR_PORT_INDEX]);
attrs            1098 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_SB_POOL_SIZE])
attrs            1101 net/core/devlink.c 	size = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_POOL_SIZE]);
attrs            1291 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_SB_THRESHOLD])
attrs            1294 net/core/devlink.c 	threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]);
attrs            1533 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_SB_THRESHOLD])
attrs            1536 net/core/devlink.c 	threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]);
attrs            1653 net/core/devlink.c 	if (info->attrs[DEVLINK_ATTR_ESWITCH_MODE]) {
attrs            1656 net/core/devlink.c 		mode = nla_get_u16(info->attrs[DEVLINK_ATTR_ESWITCH_MODE]);
attrs            1662 net/core/devlink.c 	if (info->attrs[DEVLINK_ATTR_ESWITCH_INLINE_MODE]) {
attrs            1666 net/core/devlink.c 				info->attrs[DEVLINK_ATTR_ESWITCH_INLINE_MODE]);
attrs            1673 net/core/devlink.c 	if (info->attrs[DEVLINK_ATTR_ESWITCH_ENCAP_MODE]) {
attrs            1676 net/core/devlink.c 		encap_mode = nla_get_u8(info->attrs[DEVLINK_ATTR_ESWITCH_ENCAP_MODE]);
attrs            1924 net/core/devlink.c 	if (info->attrs[DEVLINK_ATTR_DPIPE_TABLE_NAME])
attrs            1925 net/core/devlink.c 		table_name = nla_data(info->attrs[DEVLINK_ATTR_DPIPE_TABLE_NAME]);
attrs            2198 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_DPIPE_TABLE_NAME])
attrs            2201 net/core/devlink.c 	table_name = nla_data(info->attrs[DEVLINK_ATTR_DPIPE_TABLE_NAME]);
attrs            2382 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_DPIPE_TABLE_NAME] ||
attrs            2383 net/core/devlink.c 	    !info->attrs[DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED])
attrs            2386 net/core/devlink.c 	table_name = nla_data(info->attrs[DEVLINK_ATTR_DPIPE_TABLE_NAME]);
attrs            2387 net/core/devlink.c 	counters_enable = !!nla_get_u8(info->attrs[DEVLINK_ATTR_DPIPE_TABLE_COUNTERS_ENABLED]);
attrs            2472 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_RESOURCE_ID] ||
attrs            2473 net/core/devlink.c 	    !info->attrs[DEVLINK_ATTR_RESOURCE_SIZE])
attrs            2475 net/core/devlink.c 	resource_id = nla_get_u64(info->attrs[DEVLINK_ATTR_RESOURCE_ID]);
attrs            2481 net/core/devlink.c 	size = nla_get_u64(info->attrs[DEVLINK_ATTR_RESOURCE_SIZE]);
attrs            2830 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_FLASH_UPDATE_FILE_NAME])
attrs            2832 net/core/devlink.c 	file_name = nla_data(info->attrs[DEVLINK_ATTR_FLASH_UPDATE_FILE_NAME]);
attrs            2834 net/core/devlink.c 	nla_component = info->attrs[DEVLINK_ATTR_FLASH_UPDATE_COMPONENT];
attrs            3194 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_PARAM_TYPE])
attrs            3197 net/core/devlink.c 	switch (nla_get_u8(info->attrs[DEVLINK_ATTR_PARAM_TYPE])) {
attrs            3228 net/core/devlink.c 	param_data = info->attrs[DEVLINK_ATTR_PARAM_VALUE_DATA];
attrs            3271 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_PARAM_NAME])
attrs            3274 net/core/devlink.c 	param_name = nla_data(info->attrs[DEVLINK_ATTR_PARAM_NAME]);
attrs            3337 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_PARAM_VALUE_CMODE])
attrs            3339 net/core/devlink.c 	cmode = nla_get_u8(info->attrs[DEVLINK_ATTR_PARAM_VALUE_CMODE]);
attrs            3657 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_REGION_NAME])
attrs            3660 net/core/devlink.c 	region_name = nla_data(info->attrs[DEVLINK_ATTR_REGION_NAME]);
attrs            3728 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_REGION_NAME] ||
attrs            3729 net/core/devlink.c 	    !info->attrs[DEVLINK_ATTR_REGION_SNAPSHOT_ID])
attrs            3732 net/core/devlink.c 	region_name = nla_data(info->attrs[DEVLINK_ATTR_REGION_NAME]);
attrs            3733 net/core/devlink.c 	snapshot_id = nla_get_u32(info->attrs[DEVLINK_ATTR_REGION_SNAPSHOT_ID]);
attrs            3781 net/core/devlink.c 						struct nlattr **attrs,
attrs            3794 net/core/devlink.c 	snapshot_id = nla_get_u32(attrs[DEVLINK_ATTR_REGION_SNAPSHOT_ID]);
attrs            3833 net/core/devlink.c 	struct nlattr **attrs;
attrs            3840 net/core/devlink.c 	attrs = kmalloc_array(DEVLINK_ATTR_MAX + 1, sizeof(*attrs), GFP_KERNEL);
attrs            3841 net/core/devlink.c 	if (!attrs)
attrs            3846 net/core/devlink.c 				     attrs, DEVLINK_ATTR_MAX,
attrs            3852 net/core/devlink.c 	devlink = devlink_get_from_attrs(sock_net(cb->skb->sk), attrs);
attrs            3860 net/core/devlink.c 	if (!attrs[DEVLINK_ATTR_REGION_NAME] ||
attrs            3861 net/core/devlink.c 	    !attrs[DEVLINK_ATTR_REGION_SNAPSHOT_ID]) {
attrs            3866 net/core/devlink.c 	region_name = nla_data(attrs[DEVLINK_ATTR_REGION_NAME]);
attrs            3901 net/core/devlink.c 	if (attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR] &&
attrs            3902 net/core/devlink.c 	    attrs[DEVLINK_ATTR_REGION_CHUNK_LEN]) {
attrs            3905 net/core/devlink.c 				nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR]);
attrs            3907 net/core/devlink.c 		end_offset = nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR]);
attrs            3908 net/core/devlink.c 		end_offset += nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_LEN]);
attrs            3918 net/core/devlink.c 						   region, attrs,
attrs            3938 net/core/devlink.c 	kfree(attrs);
attrs            3949 net/core/devlink.c 	kfree(attrs);
attrs            4863 net/core/devlink.c 				       struct nlattr **attrs)
attrs            4868 net/core/devlink.c 	if (!attrs[DEVLINK_ATTR_HEALTH_REPORTER_NAME])
attrs            4871 net/core/devlink.c 	reporter_name = nla_data(attrs[DEVLINK_ATTR_HEALTH_REPORTER_NAME]);
attrs            4884 net/core/devlink.c 	return devlink_health_reporter_get_from_attrs(devlink, info->attrs);
attrs            4892 net/core/devlink.c 	struct nlattr **attrs;
attrs            4895 net/core/devlink.c 	attrs = kmalloc_array(DEVLINK_ATTR_MAX + 1, sizeof(*attrs), GFP_KERNEL);
attrs            4896 net/core/devlink.c 	if (!attrs)
attrs            4901 net/core/devlink.c 				     attrs, DEVLINK_ATTR_MAX,
attrs            4907 net/core/devlink.c 	devlink = devlink_get_from_attrs(sock_net(cb->skb->sk), attrs);
attrs            4911 net/core/devlink.c 	reporter = devlink_health_reporter_get_from_attrs(devlink, attrs);
attrs            4913 net/core/devlink.c 	kfree(attrs);
attrs            4918 net/core/devlink.c 	kfree(attrs);
attrs            5079 net/core/devlink.c 	    (info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD] ||
attrs            5080 net/core/devlink.c 	     info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER])) {
attrs            5085 net/core/devlink.c 	if (info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD])
attrs            5087 net/core/devlink.c 			nla_get_u64(info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_GRACEFUL_PERIOD]);
attrs            5089 net/core/devlink.c 	if (info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER])
attrs            5091 net/core/devlink.c 			nla_get_u8(info->attrs[DEVLINK_ATTR_HEALTH_REPORTER_AUTO_RECOVER]);
attrs            5285 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_TRAP_NAME])
attrs            5287 net/core/devlink.c 	attr = info->attrs[DEVLINK_ATTR_TRAP_NAME];
attrs            5298 net/core/devlink.c 	val = nla_get_u8(info->attrs[DEVLINK_ATTR_TRAP_ACTION]);
attrs            5539 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_TRAP_ACTION])
attrs            5595 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_TRAP_GROUP_NAME])
attrs            5597 net/core/devlink.c 	name = nla_data(info->attrs[DEVLINK_ATTR_TRAP_GROUP_NAME]);
attrs            5746 net/core/devlink.c 	if (!info->attrs[DEVLINK_ATTR_TRAP_ACTION])
attrs            6299 net/core/devlink.c 	return devlink_port->attrs.flavour != DEVLINK_PORT_FLAVOUR_CPU &&
attrs            6300 net/core/devlink.c 	       devlink_port->attrs.flavour != DEVLINK_PORT_FLAVOUR_DSA;
attrs            6465 net/core/devlink.c 	struct devlink_port_attrs *attrs = &devlink_port->attrs;
attrs            6469 net/core/devlink.c 	attrs->set = true;
attrs            6470 net/core/devlink.c 	attrs->flavour = flavour;
attrs            6472 net/core/devlink.c 		attrs->switch_port = true;
attrs            6475 net/core/devlink.c 		memcpy(attrs->switch_id.id, switch_id, switch_id_len);
attrs            6476 net/core/devlink.c 		attrs->switch_id.id_len = switch_id_len;
attrs            6478 net/core/devlink.c 		attrs->switch_port = false;
attrs            6504 net/core/devlink.c 	struct devlink_port_attrs *attrs = &devlink_port->attrs;
attrs            6511 net/core/devlink.c 	attrs->split = split;
attrs            6512 net/core/devlink.c 	attrs->phys.port_number = port_number;
attrs            6513 net/core/devlink.c 	attrs->phys.split_subport_number = split_subport_number;
attrs            6530 net/core/devlink.c 	struct devlink_port_attrs *attrs = &devlink_port->attrs;
attrs            6539 net/core/devlink.c 	attrs->pci_pf.pf = pf;
attrs            6558 net/core/devlink.c 	struct devlink_port_attrs *attrs = &devlink_port->attrs;
attrs            6566 net/core/devlink.c 	attrs->pci_vf.pf = pf;
attrs            6567 net/core/devlink.c 	attrs->pci_vf.vf = vf;
attrs            6574 net/core/devlink.c 	struct devlink_port_attrs *attrs = &devlink_port->attrs;
attrs            6577 net/core/devlink.c 	if (!attrs->set)
attrs            6580 net/core/devlink.c 	switch (attrs->flavour) {
attrs            6582 net/core/devlink.c 		if (!attrs->split)
attrs            6583 net/core/devlink.c 			n = snprintf(name, len, "p%u", attrs->phys.port_number);
attrs            6586 net/core/devlink.c 				     attrs->phys.port_number,
attrs            6587 net/core/devlink.c 				     attrs->phys.split_subport_number);
attrs            6597 net/core/devlink.c 		n = snprintf(name, len, "pf%u", attrs->pci_pf.pf);
attrs            6601 net/core/devlink.c 			     attrs->pci_vf.pf, attrs->pci_vf.vf);
attrs            8118 net/core/devlink.c 	if (!devlink_port || !devlink_port->attrs.switch_port)
attrs            8121 net/core/devlink.c 	memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid));
attrs            1162 net/core/drop_monitor.c 	val = nla_get_u8(info->attrs[NET_DM_ATTR_ALERT_MODE]);
attrs            1182 net/core/drop_monitor.c 	if (!info->attrs[NET_DM_ATTR_ALERT_MODE])
attrs            1198 net/core/drop_monitor.c 	if (!info->attrs[NET_DM_ATTR_TRUNC_LEN])
attrs            1201 net/core/drop_monitor.c 	net_dm_trunc_len = nla_get_u32(info->attrs[NET_DM_ATTR_TRUNC_LEN]);
attrs            1206 net/core/drop_monitor.c 	if (!info->attrs[NET_DM_ATTR_QUEUE_LEN])
attrs            1209 net/core/drop_monitor.c 	net_dm_queue_len = nla_get_u32(info->attrs[NET_DM_ATTR_QUEUE_LEN]);
attrs            1273 net/core/drop_monitor.c 	bool set_sw = !!info->attrs[NET_DM_ATTR_SW_DROPS];
attrs            1274 net/core/drop_monitor.c 	bool set_hw = !!info->attrs[NET_DM_ATTR_HW_DROPS];
attrs             182 net/core/lwtunnel.c 	struct nlattr *attrs;
attrs             189 net/core/lwtunnel.c 			attrs = rtnh_attrs(rtnh);
attrs             190 net/core/lwtunnel.c 			nla_entype = nla_find(attrs, attrlen, RTA_ENCAP_TYPE);
attrs             632 net/core/net-sysfs.c 	.attrs  = netstat_attrs,
attrs             642 net/core/net-sysfs.c 	.attrs = wireless_attrs,
attrs            1230 net/core/net-sysfs.c 	.attrs  = dql_attrs,
attrs             267 net/decnet/dn_fib.c struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r, struct nlattr *attrs[],
attrs             281 net/decnet/dn_fib.c 	if (attrs[RTA_MULTIPATH] &&
attrs             282 net/decnet/dn_fib.c 	    (nhs = dn_fib_count_nhs(attrs[RTA_MULTIPATH])) == 0)
attrs             294 net/decnet/dn_fib.c 	if (attrs[RTA_PRIORITY])
attrs             295 net/decnet/dn_fib.c 		fi->fib_priority = nla_get_u32(attrs[RTA_PRIORITY]);
attrs             297 net/decnet/dn_fib.c 	if (attrs[RTA_METRICS]) {
attrs             301 net/decnet/dn_fib.c 		nla_for_each_nested(attr, attrs[RTA_METRICS], rem) {
attrs             314 net/decnet/dn_fib.c 	if (attrs[RTA_PREFSRC])
attrs             315 net/decnet/dn_fib.c 		fi->fib_prefsrc = nla_get_le16(attrs[RTA_PREFSRC]);
attrs             317 net/decnet/dn_fib.c 	if (attrs[RTA_MULTIPATH]) {
attrs             318 net/decnet/dn_fib.c 		if ((err = dn_fib_get_nhs(fi, attrs[RTA_MULTIPATH], r)) != 0)
attrs             321 net/decnet/dn_fib.c 		if (attrs[RTA_OIF] &&
attrs             322 net/decnet/dn_fib.c 		    fi->fib_nh->nh_oif != nla_get_u32(attrs[RTA_OIF]))
attrs             325 net/decnet/dn_fib.c 		if (attrs[RTA_GATEWAY] &&
attrs             326 net/decnet/dn_fib.c 		    fi->fib_nh->nh_gw != nla_get_le16(attrs[RTA_GATEWAY]))
attrs             331 net/decnet/dn_fib.c 		if (attrs[RTA_OIF])
attrs             332 net/decnet/dn_fib.c 			nh->nh_oif = nla_get_u32(attrs[RTA_OIF]);
attrs             334 net/decnet/dn_fib.c 		if (attrs[RTA_GATEWAY])
attrs             335 net/decnet/dn_fib.c 			nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]);
attrs             342 net/decnet/dn_fib.c 		if (!attrs[RTA_GATEWAY] || nhs != 1 || attrs[RTA_OIF])
attrs             345 net/decnet/dn_fib.c 		fi->fib_nh->nh_gw = nla_get_le16(attrs[RTA_GATEWAY]);
attrs             350 net/decnet/dn_fib.c 		if (attrs[RTA_GATEWAY] || attrs[RTA_OIF] || attrs[RTA_MULTIPATH])
attrs             378 net/decnet/dn_fib.c 		if (r->rtm_type != RTN_LOCAL || !attrs[RTA_DST] ||
attrs             379 net/decnet/dn_fib.c 		    fi->fib_prefsrc != nla_get_le16(attrs[RTA_DST]))
attrs             497 net/decnet/dn_fib.c static inline u32 rtm_get_table(struct nlattr *attrs[], u8 table)
attrs             499 net/decnet/dn_fib.c 	if (attrs[RTA_TABLE])
attrs             500 net/decnet/dn_fib.c 		table = nla_get_u32(attrs[RTA_TABLE]);
attrs             511 net/decnet/dn_fib.c 	struct nlattr *attrs[RTA_MAX+1];
attrs             520 net/decnet/dn_fib.c 	err = nlmsg_parse_deprecated(nlh, sizeof(*r), attrs, RTA_MAX,
attrs             525 net/decnet/dn_fib.c 	tb = dn_fib_get_table(rtm_get_table(attrs, r->rtm_table), 0);
attrs             529 net/decnet/dn_fib.c 	return tb->delete(tb, r, attrs, nlh, &NETLINK_CB(skb));
attrs             538 net/decnet/dn_fib.c 	struct nlattr *attrs[RTA_MAX+1];
attrs             547 net/decnet/dn_fib.c 	err = nlmsg_parse_deprecated(nlh, sizeof(*r), attrs, RTA_MAX,
attrs             552 net/decnet/dn_fib.c 	tb = dn_fib_get_table(rtm_get_table(attrs, r->rtm_table), 1);
attrs             556 net/decnet/dn_fib.c 	return tb->insert(tb, r, attrs, nlh, &NETLINK_CB(skb));
attrs             584 net/decnet/dn_fib.c 	struct nlattr *attrs[RTA_MAX+1] = {
attrs             613 net/decnet/dn_fib.c 		tb->insert(tb, &req.rtm, attrs, &req.nlh, NULL);
attrs             615 net/decnet/dn_fib.c 		tb->delete(tb, &req.rtm, attrs, &req.nlh, NULL);
attrs             229 net/decnet/dn_table.c static int dn_fib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct nlattr *attrs[], struct dn_fib_info *fi)
attrs             234 net/decnet/dn_table.c 	if (attrs[RTA_PRIORITY] &&
attrs             235 net/decnet/dn_table.c 	    nla_get_u32(attrs[RTA_PRIORITY]) != fi->fib_priority)
attrs             238 net/decnet/dn_table.c 	if (attrs[RTA_OIF] || attrs[RTA_GATEWAY]) {
attrs             239 net/decnet/dn_table.c 		if ((!attrs[RTA_OIF] || nla_get_u32(attrs[RTA_OIF]) == fi->fib_nh->nh_oif) &&
attrs             240 net/decnet/dn_table.c 		    (!attrs[RTA_GATEWAY]  || nla_get_le16(attrs[RTA_GATEWAY]) != fi->fib_nh->nh_gw))
attrs             245 net/decnet/dn_table.c 	if (!attrs[RTA_MULTIPATH])
attrs             248 net/decnet/dn_table.c 	nhp = nla_data(attrs[RTA_MULTIPATH]);
attrs             249 net/decnet/dn_table.c 	nhlen = nla_len(attrs[RTA_MULTIPATH]);
attrs             529 net/decnet/dn_table.c static int dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[],
attrs             549 net/decnet/dn_table.c 	if (attrs[RTA_DST]) {
attrs             550 net/decnet/dn_table.c 		__le16 dst = nla_get_le16(attrs[RTA_DST]);
attrs             556 net/decnet/dn_table.c 	if ((fi = dn_fib_create_info(r, attrs, n, &err)) == NULL)
attrs             666 net/decnet/dn_table.c static int dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct nlattr *attrs[],
attrs             684 net/decnet/dn_table.c 	if (attrs[RTA_DST]) {
attrs             685 net/decnet/dn_table.c 		__le16 dst = nla_get_le16(attrs[RTA_DST]);
attrs             715 net/decnet/dn_table.c 				dn_fib_nh_match(r, n, attrs, fi) == 0)
attrs             285 net/dsa/master.c 	.attrs	= dsa_slave_attrs,
attrs             253 net/hsr/hsr_netlink.c 	na = info->attrs[HSR_A_IFINDEX];
attrs             256 net/hsr/hsr_netlink.c 	na = info->attrs[HSR_A_NODE_ADDR];
attrs             262 net/hsr/hsr_netlink.c 				       nla_get_u32(info->attrs[HSR_A_IFINDEX]));
attrs             290 net/hsr/hsr_netlink.c 				nla_data(info->attrs[HSR_A_NODE_ADDR]),
attrs             301 net/hsr/hsr_netlink.c 		      nla_data(info->attrs[HSR_A_NODE_ADDR]));
attrs             382 net/hsr/hsr_netlink.c 	na = info->attrs[HSR_A_IFINDEX];
attrs             388 net/hsr/hsr_netlink.c 				       nla_get_u32(info->attrs[HSR_A_IFINDEX]));
attrs             149 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_DEV_NAME]) {
attrs             152 net/ieee802154/nl-mac.c 		nla_strlcpy(name, info->attrs[IEEE802154_ATTR_DEV_NAME],
attrs             155 net/ieee802154/nl-mac.c 	} else if (info->attrs[IEEE802154_ATTR_DEV_INDEX]) {
attrs             157 net/ieee802154/nl-mac.c 			nla_get_u32(info->attrs[IEEE802154_ATTR_DEV_INDEX]));
attrs             180 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_CHANNEL] ||
attrs             181 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_COORD_PAN_ID] ||
attrs             182 net/ieee802154/nl-mac.c 	    (!info->attrs[IEEE802154_ATTR_COORD_HW_ADDR] &&
attrs             183 net/ieee802154/nl-mac.c 		!info->attrs[IEEE802154_ATTR_COORD_SHORT_ADDR]) ||
attrs             184 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CAPABILITY])
attrs             193 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_COORD_HW_ADDR]) {
attrs             196 net/ieee802154/nl-mac.c 				info->attrs[IEEE802154_ATTR_COORD_HW_ADDR]);
attrs             200 net/ieee802154/nl-mac.c 				info->attrs[IEEE802154_ATTR_COORD_SHORT_ADDR]);
attrs             203 net/ieee802154/nl-mac.c 			info->attrs[IEEE802154_ATTR_COORD_PAN_ID]);
attrs             205 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_PAGE])
attrs             206 net/ieee802154/nl-mac.c 		page = nla_get_u8(info->attrs[IEEE802154_ATTR_PAGE]);
attrs             211 net/ieee802154/nl-mac.c 			nla_get_u8(info->attrs[IEEE802154_ATTR_CHANNEL]),
attrs             213 net/ieee802154/nl-mac.c 			nla_get_u8(info->attrs[IEEE802154_ATTR_CAPABILITY]));
attrs             226 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_STATUS] ||
attrs             227 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_DEST_HW_ADDR] ||
attrs             228 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_DEST_SHORT_ADDR])
attrs             239 net/ieee802154/nl-mac.c 			info->attrs[IEEE802154_ATTR_DEST_HW_ADDR]);
attrs             245 net/ieee802154/nl-mac.c 		nla_get_shortaddr(info->attrs[IEEE802154_ATTR_DEST_SHORT_ADDR]),
attrs             246 net/ieee802154/nl-mac.c 		nla_get_u8(info->attrs[IEEE802154_ATTR_STATUS]));
attrs             259 net/ieee802154/nl-mac.c 	if ((!info->attrs[IEEE802154_ATTR_DEST_HW_ADDR] &&
attrs             260 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_DEST_SHORT_ADDR]) ||
attrs             261 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_REASON])
attrs             270 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_DEST_HW_ADDR]) {
attrs             273 net/ieee802154/nl-mac.c 				info->attrs[IEEE802154_ATTR_DEST_HW_ADDR]);
attrs             277 net/ieee802154/nl-mac.c 				info->attrs[IEEE802154_ATTR_DEST_SHORT_ADDR]);
attrs             284 net/ieee802154/nl-mac.c 			nla_get_u8(info->attrs[IEEE802154_ATTR_REASON]));
attrs             305 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_COORD_PAN_ID] ||
attrs             306 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_COORD_SHORT_ADDR] ||
attrs             307 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CHANNEL] ||
attrs             308 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_BCN_ORD] ||
attrs             309 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_SF_ORD] ||
attrs             310 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_PAN_COORD] ||
attrs             311 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_BAT_EXT] ||
attrs             312 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_COORD_REALIGN]
attrs             330 net/ieee802154/nl-mac.c 			info->attrs[IEEE802154_ATTR_COORD_SHORT_ADDR]);
attrs             332 net/ieee802154/nl-mac.c 			info->attrs[IEEE802154_ATTR_COORD_PAN_ID]);
attrs             334 net/ieee802154/nl-mac.c 	channel = nla_get_u8(info->attrs[IEEE802154_ATTR_CHANNEL]);
attrs             335 net/ieee802154/nl-mac.c 	bcn_ord = nla_get_u8(info->attrs[IEEE802154_ATTR_BCN_ORD]);
attrs             336 net/ieee802154/nl-mac.c 	sf_ord = nla_get_u8(info->attrs[IEEE802154_ATTR_SF_ORD]);
attrs             337 net/ieee802154/nl-mac.c 	pan_coord = nla_get_u8(info->attrs[IEEE802154_ATTR_PAN_COORD]);
attrs             338 net/ieee802154/nl-mac.c 	blx = nla_get_u8(info->attrs[IEEE802154_ATTR_BAT_EXT]);
attrs             339 net/ieee802154/nl-mac.c 	coord_realign = nla_get_u8(info->attrs[IEEE802154_ATTR_COORD_REALIGN]);
attrs             341 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_PAGE])
attrs             342 net/ieee802154/nl-mac.c 		page = nla_get_u8(info->attrs[IEEE802154_ATTR_PAGE]);
attrs             376 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_SCAN_TYPE] ||
attrs             377 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CHANNELS] ||
attrs             378 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_DURATION])
attrs             387 net/ieee802154/nl-mac.c 	type = nla_get_u8(info->attrs[IEEE802154_ATTR_SCAN_TYPE]);
attrs             388 net/ieee802154/nl-mac.c 	channels = nla_get_u32(info->attrs[IEEE802154_ATTR_CHANNELS]);
attrs             389 net/ieee802154/nl-mac.c 	duration = nla_get_u8(info->attrs[IEEE802154_ATTR_DURATION]);
attrs             391 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_PAGE])
attrs             392 net/ieee802154/nl-mac.c 		page = nla_get_u8(info->attrs[IEEE802154_ATTR_PAGE]);
attrs             490 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_LBT_ENABLED] &&
attrs             491 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CCA_MODE] &&
attrs             492 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CCA_ED_LEVEL] &&
attrs             493 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CSMA_RETRIES] &&
attrs             494 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CSMA_MIN_BE] &&
attrs             495 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_CSMA_MAX_BE] &&
attrs             496 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_FRAME_RETRIES])
attrs             505 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_TXPOWER])
attrs             506 net/ieee802154/nl-mac.c 		params.transmit_power = nla_get_s8(info->attrs[IEEE802154_ATTR_TXPOWER]) * 100;
attrs             508 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_LBT_ENABLED])
attrs             509 net/ieee802154/nl-mac.c 		params.lbt = nla_get_u8(info->attrs[IEEE802154_ATTR_LBT_ENABLED]);
attrs             511 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_CCA_MODE])
attrs             512 net/ieee802154/nl-mac.c 		params.cca.mode = nla_get_u8(info->attrs[IEEE802154_ATTR_CCA_MODE]);
attrs             514 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_CCA_ED_LEVEL])
attrs             515 net/ieee802154/nl-mac.c 		params.cca_ed_level = nla_get_s32(info->attrs[IEEE802154_ATTR_CCA_ED_LEVEL]) * 100;
attrs             517 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_CSMA_RETRIES])
attrs             518 net/ieee802154/nl-mac.c 		params.csma_retries = nla_get_u8(info->attrs[IEEE802154_ATTR_CSMA_RETRIES]);
attrs             520 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_CSMA_MIN_BE])
attrs             521 net/ieee802154/nl-mac.c 		params.min_be = nla_get_u8(info->attrs[IEEE802154_ATTR_CSMA_MIN_BE]);
attrs             523 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_CSMA_MAX_BE])
attrs             524 net/ieee802154/nl-mac.c 		params.max_be = nla_get_u8(info->attrs[IEEE802154_ATTR_CSMA_MAX_BE]);
attrs             526 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_FRAME_RETRIES])
attrs             527 net/ieee802154/nl-mac.c 		params.frame_retries = nla_get_s8(info->attrs[IEEE802154_ATTR_FRAME_RETRIES]);
attrs             548 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_LLSEC_KEY_MODE])
attrs             551 net/ieee802154/nl-mac.c 	desc->mode = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_KEY_MODE]);
attrs             554 net/ieee802154/nl-mac.c 		if (!info->attrs[IEEE802154_ATTR_PAN_ID] &&
attrs             555 net/ieee802154/nl-mac.c 		    !(info->attrs[IEEE802154_ATTR_SHORT_ADDR] ||
attrs             556 net/ieee802154/nl-mac.c 		      info->attrs[IEEE802154_ATTR_HW_ADDR]))
attrs             559 net/ieee802154/nl-mac.c 		desc->device_addr.pan_id = nla_get_shortaddr(info->attrs[IEEE802154_ATTR_PAN_ID]);
attrs             561 net/ieee802154/nl-mac.c 		if (info->attrs[IEEE802154_ATTR_SHORT_ADDR]) {
attrs             563 net/ieee802154/nl-mac.c 			desc->device_addr.short_addr = nla_get_shortaddr(info->attrs[IEEE802154_ATTR_SHORT_ADDR]);
attrs             566 net/ieee802154/nl-mac.c 			desc->device_addr.extended_addr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
attrs             571 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_KEY_ID])
attrs             575 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_KEY_SOURCE_SHORT])
attrs             579 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_KEY_SOURCE_EXTENDED])
attrs             583 net/ieee802154/nl-mac.c 		desc->id = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_KEY_ID]);
attrs             588 net/ieee802154/nl-mac.c 		u32 source = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_KEY_SOURCE_SHORT]);
attrs             594 net/ieee802154/nl-mac.c 		desc->extended_source = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_LLSEC_KEY_SOURCE_EXTENDED]);
attrs             709 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_LLSEC_ENABLED] &&
attrs             710 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_KEY_MODE] &&
attrs             711 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_SECLEVEL])
attrs             720 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_LLSEC_SECLEVEL] &&
attrs             721 net/ieee802154/nl-mac.c 	    nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_SECLEVEL]) > 7)
attrs             724 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_LLSEC_ENABLED]) {
attrs             725 net/ieee802154/nl-mac.c 		params.enabled = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_ENABLED]);
attrs             729 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_LLSEC_KEY_MODE]) {
attrs             736 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_LLSEC_SECLEVEL]) {
attrs             737 net/ieee802154/nl-mac.c 		params.out_level = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_SECLEVEL]);
attrs             741 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]) {
attrs             742 net/ieee802154/nl-mac.c 		u32 fc = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]);
attrs             839 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_LLSEC_KEY_USAGE_FRAME_TYPES] ||
attrs             840 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_KEY_BYTES])
attrs             843 net/ieee802154/nl-mac.c 	frames = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_KEY_USAGE_FRAME_TYPES]);
attrs             845 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_KEY_USAGE_COMMANDS])
attrs             848 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_LLSEC_KEY_USAGE_COMMANDS]) {
attrs             850 net/ieee802154/nl-mac.c 			   info->attrs[IEEE802154_ATTR_LLSEC_KEY_USAGE_COMMANDS],
attrs             863 net/ieee802154/nl-mac.c 	nla_memcpy(key->key, info->attrs[IEEE802154_ATTR_LLSEC_KEY_BYTES],
attrs             980 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER] ||
attrs             981 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_HW_ADDR] ||
attrs             982 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE] ||
attrs             983 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_DEV_KEY_MODE] ||
attrs             984 net/ieee802154/nl-mac.c 	    (!!info->attrs[IEEE802154_ATTR_PAN_ID] !=
attrs             985 net/ieee802154/nl-mac.c 	     !!info->attrs[IEEE802154_ATTR_SHORT_ADDR]))
attrs             988 net/ieee802154/nl-mac.c 	if (info->attrs[IEEE802154_ATTR_PAN_ID]) {
attrs             989 net/ieee802154/nl-mac.c 		dev->pan_id = nla_get_shortaddr(info->attrs[IEEE802154_ATTR_PAN_ID]);
attrs             990 net/ieee802154/nl-mac.c 		dev->short_addr = nla_get_shortaddr(info->attrs[IEEE802154_ATTR_SHORT_ADDR]);
attrs             995 net/ieee802154/nl-mac.c 	dev->hwaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
attrs             996 net/ieee802154/nl-mac.c 	dev->frame_counter = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]);
attrs             997 net/ieee802154/nl-mac.c 	dev->seclevel_exempt = !!nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE]);
attrs             998 net/ieee802154/nl-mac.c 	dev->key_mode = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_KEY_MODE]);
attrs            1031 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_HW_ADDR])
attrs            1034 net/ieee802154/nl-mac.c 	devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
attrs            1111 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER] ||
attrs            1112 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_HW_ADDR] ||
attrs            1116 net/ieee802154/nl-mac.c 	devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
attrs            1117 net/ieee802154/nl-mac.c 	key.frame_counter = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]);
attrs            1137 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_HW_ADDR] ||
attrs            1141 net/ieee802154/nl-mac.c 	devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]);
attrs            1226 net/ieee802154/nl-mac.c 	if (!info->attrs[IEEE802154_ATTR_LLSEC_FRAME_TYPE] ||
attrs            1227 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_SECLEVELS] ||
attrs            1228 net/ieee802154/nl-mac.c 	    !info->attrs[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE])
attrs            1231 net/ieee802154/nl-mac.c 	sl->frame_type = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_TYPE]);
attrs            1233 net/ieee802154/nl-mac.c 		if (!info->attrs[IEEE802154_ATTR_LLSEC_CMD_FRAME_ID])
attrs            1236 net/ieee802154/nl-mac.c 		sl->cmd_frame_id = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_CMD_FRAME_ID]);
attrs            1239 net/ieee802154/nl-mac.c 	sl->sec_levels = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_SECLEVELS]);
attrs            1240 net/ieee802154/nl-mac.c 	sl->device_override = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE]);
attrs              83 net/ieee802154/nl-phy.c 	if (!info->attrs[IEEE802154_ATTR_PHY_NAME])
attrs              86 net/ieee802154/nl-phy.c 	name = nla_data(info->attrs[IEEE802154_ATTR_PHY_NAME]);
attrs              87 net/ieee802154/nl-phy.c 	if (name[nla_len(info->attrs[IEEE802154_ATTR_PHY_NAME]) - 1] != '\0')
attrs             174 net/ieee802154/nl-phy.c 	if (!info->attrs[IEEE802154_ATTR_PHY_NAME])
attrs             177 net/ieee802154/nl-phy.c 	name = nla_data(info->attrs[IEEE802154_ATTR_PHY_NAME]);
attrs             178 net/ieee802154/nl-phy.c 	if (name[nla_len(info->attrs[IEEE802154_ATTR_PHY_NAME]) - 1] != '\0')
attrs             181 net/ieee802154/nl-phy.c 	if (info->attrs[IEEE802154_ATTR_DEV_NAME]) {
attrs             182 net/ieee802154/nl-phy.c 		devname = nla_data(info->attrs[IEEE802154_ATTR_DEV_NAME]);
attrs             183 net/ieee802154/nl-phy.c 		if (devname[nla_len(info->attrs[IEEE802154_ATTR_DEV_NAME]) - 1]
attrs             203 net/ieee802154/nl-phy.c 	if (info->attrs[IEEE802154_ATTR_HW_ADDR] &&
attrs             204 net/ieee802154/nl-phy.c 	    nla_len(info->attrs[IEEE802154_ATTR_HW_ADDR]) !=
attrs             210 net/ieee802154/nl-phy.c 	if (info->attrs[IEEE802154_ATTR_DEV_TYPE]) {
attrs             211 net/ieee802154/nl-phy.c 		type = nla_get_u8(info->attrs[IEEE802154_ATTR_DEV_TYPE]);
attrs             226 net/ieee802154/nl-phy.c 	if (info->attrs[IEEE802154_ATTR_HW_ADDR]) {
attrs             230 net/ieee802154/nl-phy.c 		nla_memcpy(&addr.sa_data, info->attrs[IEEE802154_ATTR_HW_ADDR],
attrs             274 net/ieee802154/nl-phy.c 	if (!info->attrs[IEEE802154_ATTR_DEV_NAME])
attrs             277 net/ieee802154/nl-phy.c 	name = nla_data(info->attrs[IEEE802154_ATTR_DEV_NAME]);
attrs             278 net/ieee802154/nl-phy.c 	if (name[nla_len(info->attrs[IEEE802154_ATTR_DEV_NAME]) - 1] != '\0')
attrs             294 net/ieee802154/nl-phy.c 	if (info->attrs[IEEE802154_ATTR_PHY_NAME]) {
attrs             298 net/ieee802154/nl-phy.c 			nla_data(info->attrs[IEEE802154_ATTR_PHY_NAME]);
attrs             299 net/ieee802154/nl-phy.c 		if (pname[nla_len(info->attrs[IEEE802154_ATTR_PHY_NAME]) - 1]
attrs              37 net/ieee802154/nl802154.c __cfg802154_wpan_dev_from_attrs(struct net *netns, struct nlattr **attrs)
attrs              41 net/ieee802154/nl802154.c 	bool have_ifidx = attrs[NL802154_ATTR_IFINDEX];
attrs              42 net/ieee802154/nl802154.c 	bool have_wpan_dev_id = attrs[NL802154_ATTR_WPAN_DEV];
attrs              53 net/ieee802154/nl802154.c 		ifidx = nla_get_u32(attrs[NL802154_ATTR_IFINDEX]);
attrs              55 net/ieee802154/nl802154.c 		wpan_dev_id = nla_get_u64(attrs[NL802154_ATTR_WPAN_DEV]);
attrs              92 net/ieee802154/nl802154.c __cfg802154_rdev_from_attrs(struct net *netns, struct nlattr **attrs)
attrs              99 net/ieee802154/nl802154.c 	if (!attrs[NL802154_ATTR_WPAN_PHY] &&
attrs             100 net/ieee802154/nl802154.c 	    !attrs[NL802154_ATTR_IFINDEX] &&
attrs             101 net/ieee802154/nl802154.c 	    !attrs[NL802154_ATTR_WPAN_DEV])
attrs             104 net/ieee802154/nl802154.c 	if (attrs[NL802154_ATTR_WPAN_PHY])
attrs             106 net/ieee802154/nl802154.c 				nla_get_u32(attrs[NL802154_ATTR_WPAN_PHY]));
attrs             108 net/ieee802154/nl802154.c 	if (attrs[NL802154_ATTR_WPAN_DEV]) {
attrs             109 net/ieee802154/nl802154.c 		u64 wpan_dev_id = nla_get_u64(attrs[NL802154_ATTR_WPAN_DEV]);
attrs             132 net/ieee802154/nl802154.c 	if (attrs[NL802154_ATTR_IFINDEX]) {
attrs             133 net/ieee802154/nl802154.c 		int ifindex = nla_get_u32(attrs[NL802154_ATTR_IFINDEX]);
attrs             173 net/ieee802154/nl802154.c 	return __cfg802154_rdev_from_attrs(netns, info->attrs);
attrs             924 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_IFNAME])
attrs             927 net/ieee802154/nl802154.c 	if (info->attrs[NL802154_ATTR_IFTYPE]) {
attrs             928 net/ieee802154/nl802154.c 		type = nla_get_u32(info->attrs[NL802154_ATTR_IFTYPE]);
attrs             934 net/ieee802154/nl802154.c 	if (info->attrs[NL802154_ATTR_EXTENDED_ADDR])
attrs             935 net/ieee802154/nl802154.c 		extended_addr = nla_get_le64(info->attrs[NL802154_ATTR_EXTENDED_ADDR]);
attrs             941 net/ieee802154/nl802154.c 				     nla_data(info->attrs[NL802154_ATTR_IFNAME]),
attrs             970 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_PAGE] ||
attrs             971 net/ieee802154/nl802154.c 	    !info->attrs[NL802154_ATTR_CHANNEL])
attrs             974 net/ieee802154/nl802154.c 	page = nla_get_u8(info->attrs[NL802154_ATTR_PAGE]);
attrs             975 net/ieee802154/nl802154.c 	channel = nla_get_u8(info->attrs[NL802154_ATTR_CHANNEL]);
attrs             993 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_CCA_MODE])
attrs             996 net/ieee802154/nl802154.c 	cca.mode = nla_get_u32(info->attrs[NL802154_ATTR_CCA_MODE]);
attrs            1004 net/ieee802154/nl802154.c 		if (!info->attrs[NL802154_ATTR_CCA_OPT])
attrs            1007 net/ieee802154/nl802154.c 		cca.opt = nla_get_u32(info->attrs[NL802154_ATTR_CCA_OPT]);
attrs            1025 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_CCA_ED_LEVEL])
attrs            1028 net/ieee802154/nl802154.c 	ed_level = nla_get_s32(info->attrs[NL802154_ATTR_CCA_ED_LEVEL]);
attrs            1047 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_TX_POWER])
attrs            1050 net/ieee802154/nl802154.c 	power = nla_get_s32(info->attrs[NL802154_ATTR_TX_POWER]);
attrs            1078 net/ieee802154/nl802154.c 	    !info->attrs[NL802154_ATTR_PAN_ID])
attrs            1081 net/ieee802154/nl802154.c 	pan_id = nla_get_le16(info->attrs[NL802154_ATTR_PAN_ID]);
attrs            1114 net/ieee802154/nl802154.c 	    !info->attrs[NL802154_ATTR_SHORT_ADDR])
attrs            1117 net/ieee802154/nl802154.c 	short_addr = nla_get_le16(info->attrs[NL802154_ATTR_SHORT_ADDR]);
attrs            1149 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_MIN_BE] ||
attrs            1150 net/ieee802154/nl802154.c 	    !info->attrs[NL802154_ATTR_MAX_BE])
attrs            1153 net/ieee802154/nl802154.c 	min_be = nla_get_u8(info->attrs[NL802154_ATTR_MIN_BE]);
attrs            1154 net/ieee802154/nl802154.c 	max_be = nla_get_u8(info->attrs[NL802154_ATTR_MAX_BE]);
attrs            1179 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_MAX_CSMA_BACKOFFS])
attrs            1183 net/ieee802154/nl802154.c 			info->attrs[NL802154_ATTR_MAX_CSMA_BACKOFFS]);
attrs            1204 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_MAX_FRAME_RETRIES])
attrs            1208 net/ieee802154/nl802154.c 			info->attrs[NL802154_ATTR_MAX_FRAME_RETRIES]);
attrs            1228 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_LBT_MODE])
attrs            1231 net/ieee802154/nl802154.c 	mode = nla_get_u8(info->attrs[NL802154_ATTR_LBT_MODE]);
attrs            1253 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_ACKREQ_DEFAULT])
attrs            1256 net/ieee802154/nl802154.c 	ackreq = nla_get_u8(info->attrs[NL802154_ATTR_ACKREQ_DEFAULT]);
attrs            1270 net/ieee802154/nl802154.c 	if (info->attrs[NL802154_ATTR_PID]) {
attrs            1271 net/ieee802154/nl802154.c 		u32 pid = nla_get_u32(info->attrs[NL802154_ATTR_PID]);
attrs            1274 net/ieee802154/nl802154.c 	} else if (info->attrs[NL802154_ATTR_NETNS_FD]) {
attrs            1275 net/ieee802154/nl802154.c 		u32 fd = nla_get_u32(info->attrs[NL802154_ATTR_NETNS_FD]);
attrs            1307 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_DEV_ADDR_ATTR_MAX + 1];
attrs            1309 net/ieee802154/nl802154.c 	if (!nla || nla_parse_nested_deprecated(attrs, NL802154_DEV_ADDR_ATTR_MAX, nla, nl802154_dev_addr_policy, NULL))
attrs            1312 net/ieee802154/nl802154.c 	if (!attrs[NL802154_DEV_ADDR_ATTR_PAN_ID] ||
attrs            1313 net/ieee802154/nl802154.c 	    !attrs[NL802154_DEV_ADDR_ATTR_MODE] ||
attrs            1314 net/ieee802154/nl802154.c 	    !(attrs[NL802154_DEV_ADDR_ATTR_SHORT] ||
attrs            1315 net/ieee802154/nl802154.c 	      attrs[NL802154_DEV_ADDR_ATTR_EXTENDED]))
attrs            1318 net/ieee802154/nl802154.c 	addr->pan_id = nla_get_le16(attrs[NL802154_DEV_ADDR_ATTR_PAN_ID]);
attrs            1319 net/ieee802154/nl802154.c 	addr->mode = nla_get_u32(attrs[NL802154_DEV_ADDR_ATTR_MODE]);
attrs            1322 net/ieee802154/nl802154.c 		addr->short_addr = nla_get_le16(attrs[NL802154_DEV_ADDR_ATTR_SHORT]);
attrs            1325 net/ieee802154/nl802154.c 		addr->extended_addr = nla_get_le64(attrs[NL802154_DEV_ADDR_ATTR_EXTENDED]);
attrs            1346 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_KEY_ID_ATTR_MAX + 1];
attrs            1348 net/ieee802154/nl802154.c 	if (!nla || nla_parse_nested_deprecated(attrs, NL802154_KEY_ID_ATTR_MAX, nla, nl802154_key_id_policy, NULL))
attrs            1351 net/ieee802154/nl802154.c 	if (!attrs[NL802154_KEY_ID_ATTR_MODE])
attrs            1354 net/ieee802154/nl802154.c 	desc->mode = nla_get_u32(attrs[NL802154_KEY_ID_ATTR_MODE]);
attrs            1357 net/ieee802154/nl802154.c 		if (!attrs[NL802154_KEY_ID_ATTR_IMPLICIT])
attrs            1360 net/ieee802154/nl802154.c 		if (ieee802154_llsec_parse_dev_addr(attrs[NL802154_KEY_ID_ATTR_IMPLICIT],
attrs            1367 net/ieee802154/nl802154.c 		if (!attrs[NL802154_KEY_ID_ATTR_SOURCE_SHORT])
attrs            1370 net/ieee802154/nl802154.c 		desc->short_source = nla_get_le32(attrs[NL802154_KEY_ID_ATTR_SOURCE_SHORT]);
attrs            1373 net/ieee802154/nl802154.c 		if (!attrs[NL802154_KEY_ID_ATTR_SOURCE_EXTENDED])
attrs            1376 net/ieee802154/nl802154.c 		desc->extended_source = nla_get_le64(attrs[NL802154_KEY_ID_ATTR_SOURCE_EXTENDED]);
attrs            1383 net/ieee802154/nl802154.c 		if (!attrs[NL802154_KEY_ID_ATTR_INDEX])
attrs            1387 net/ieee802154/nl802154.c 		desc->id = nla_get_u8(attrs[NL802154_KEY_ID_ATTR_INDEX]);
attrs            1403 net/ieee802154/nl802154.c 	if (info->attrs[NL802154_ATTR_SEC_ENABLED]) {
attrs            1406 net/ieee802154/nl802154.c 		enabled = nla_get_u8(info->attrs[NL802154_ATTR_SEC_ENABLED]);
attrs            1410 net/ieee802154/nl802154.c 		params.enabled = nla_get_u8(info->attrs[NL802154_ATTR_SEC_ENABLED]);
attrs            1414 net/ieee802154/nl802154.c 	if (info->attrs[NL802154_ATTR_SEC_OUT_KEY_ID]) {
attrs            1415 net/ieee802154/nl802154.c 		ret = ieee802154_llsec_parse_key_id(info->attrs[NL802154_ATTR_SEC_OUT_KEY_ID],
attrs            1423 net/ieee802154/nl802154.c 	if (info->attrs[NL802154_ATTR_SEC_OUT_LEVEL]) {
attrs            1424 net/ieee802154/nl802154.c 		params.out_level = nla_get_u32(info->attrs[NL802154_ATTR_SEC_OUT_LEVEL]);
attrs            1431 net/ieee802154/nl802154.c 	if (info->attrs[NL802154_ATTR_SEC_FRAME_COUNTER]) {
attrs            1432 net/ieee802154/nl802154.c 		params.frame_counter = nla_get_be32(info->attrs[NL802154_ATTR_SEC_FRAME_COUNTER]);
attrs            1558 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_KEY_ATTR_MAX + 1];
attrs            1563 net/ieee802154/nl802154.c 	if (nla_parse_nested_deprecated(attrs, NL802154_KEY_ATTR_MAX, info->attrs[NL802154_ATTR_SEC_KEY], nl802154_key_policy, info->extack))
attrs            1566 net/ieee802154/nl802154.c 	if (!attrs[NL802154_KEY_ATTR_USAGE_FRAMES] ||
attrs            1567 net/ieee802154/nl802154.c 	    !attrs[NL802154_KEY_ATTR_BYTES])
attrs            1570 net/ieee802154/nl802154.c 	if (ieee802154_llsec_parse_key_id(attrs[NL802154_KEY_ATTR_ID], &id) < 0)
attrs            1573 net/ieee802154/nl802154.c 	key.frame_types = nla_get_u8(attrs[NL802154_KEY_ATTR_USAGE_FRAMES]);
attrs            1576 net/ieee802154/nl802154.c 	     !attrs[NL802154_KEY_ATTR_USAGE_CMDS]))
attrs            1579 net/ieee802154/nl802154.c 	if (attrs[NL802154_KEY_ATTR_USAGE_CMDS]) {
attrs            1581 net/ieee802154/nl802154.c 		nla_memcpy(commands, attrs[NL802154_KEY_ATTR_USAGE_CMDS],
attrs            1595 net/ieee802154/nl802154.c 	nla_memcpy(key.key, attrs[NL802154_KEY_ATTR_BYTES], NL802154_KEY_SIZE);
attrs            1597 net/ieee802154/nl802154.c 	if (ieee802154_llsec_parse_key_id(attrs[NL802154_KEY_ATTR_ID], &id) < 0)
attrs            1608 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_KEY_ATTR_MAX + 1];
attrs            1611 net/ieee802154/nl802154.c 	if (nla_parse_nested_deprecated(attrs, NL802154_KEY_ATTR_MAX, info->attrs[NL802154_ATTR_SEC_KEY], nl802154_key_policy, info->extack))
attrs            1614 net/ieee802154/nl802154.c 	if (ieee802154_llsec_parse_key_id(attrs[NL802154_KEY_ATTR_ID], &id) < 0)
attrs            1723 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_DEV_ATTR_MAX + 1];
attrs            1725 net/ieee802154/nl802154.c 	if (!nla || nla_parse_nested_deprecated(attrs, NL802154_DEV_ATTR_MAX, nla, nl802154_dev_policy, NULL))
attrs            1730 net/ieee802154/nl802154.c 	if (!attrs[NL802154_DEV_ATTR_FRAME_COUNTER] ||
attrs            1731 net/ieee802154/nl802154.c 	    !attrs[NL802154_DEV_ATTR_PAN_ID] ||
attrs            1732 net/ieee802154/nl802154.c 	    !attrs[NL802154_DEV_ATTR_SHORT_ADDR] ||
attrs            1733 net/ieee802154/nl802154.c 	    !attrs[NL802154_DEV_ATTR_EXTENDED_ADDR] ||
attrs            1734 net/ieee802154/nl802154.c 	    !attrs[NL802154_DEV_ATTR_SECLEVEL_EXEMPT] ||
attrs            1735 net/ieee802154/nl802154.c 	    !attrs[NL802154_DEV_ATTR_KEY_MODE])
attrs            1739 net/ieee802154/nl802154.c 	dev->frame_counter = nla_get_u32(attrs[NL802154_DEV_ATTR_FRAME_COUNTER]);
attrs            1740 net/ieee802154/nl802154.c 	dev->pan_id = nla_get_le16(attrs[NL802154_DEV_ATTR_PAN_ID]);
attrs            1741 net/ieee802154/nl802154.c 	dev->short_addr = nla_get_le16(attrs[NL802154_DEV_ATTR_SHORT_ADDR]);
attrs            1743 net/ieee802154/nl802154.c 	dev->hwaddr = nla_get_le64(attrs[NL802154_DEV_ATTR_EXTENDED_ADDR]);
attrs            1744 net/ieee802154/nl802154.c 	dev->seclevel_exempt = nla_get_u8(attrs[NL802154_DEV_ATTR_SECLEVEL_EXEMPT]);
attrs            1745 net/ieee802154/nl802154.c 	dev->key_mode = nla_get_u32(attrs[NL802154_DEV_ATTR_KEY_MODE]);
attrs            1761 net/ieee802154/nl802154.c 	if (ieee802154_llsec_parse_device(info->attrs[NL802154_ATTR_SEC_DEVICE],
attrs            1773 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_DEV_ATTR_MAX + 1];
attrs            1776 net/ieee802154/nl802154.c 	if (nla_parse_nested_deprecated(attrs, NL802154_DEV_ATTR_MAX, info->attrs[NL802154_ATTR_SEC_DEVICE], nl802154_dev_policy, info->extack))
attrs            1779 net/ieee802154/nl802154.c 	if (!attrs[NL802154_DEV_ATTR_EXTENDED_ADDR])
attrs            1782 net/ieee802154/nl802154.c 	extended_addr = nla_get_le64(attrs[NL802154_DEV_ATTR_EXTENDED_ADDR]);
attrs            1897 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_DEVKEY_ATTR_MAX + 1];
attrs            1901 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_SEC_DEVKEY] ||
attrs            1902 net/ieee802154/nl802154.c 	    nla_parse_nested_deprecated(attrs, NL802154_DEVKEY_ATTR_MAX, info->attrs[NL802154_ATTR_SEC_DEVKEY], nl802154_devkey_policy, info->extack) < 0)
attrs            1905 net/ieee802154/nl802154.c 	if (!attrs[NL802154_DEVKEY_ATTR_FRAME_COUNTER] ||
attrs            1906 net/ieee802154/nl802154.c 	    !attrs[NL802154_DEVKEY_ATTR_EXTENDED_ADDR])
attrs            1910 net/ieee802154/nl802154.c 	if (ieee802154_llsec_parse_key_id(attrs[NL802154_DEVKEY_ATTR_ID],
attrs            1915 net/ieee802154/nl802154.c 	key.frame_counter = nla_get_u32(attrs[NL802154_DEVKEY_ATTR_FRAME_COUNTER]);
attrs            1919 net/ieee802154/nl802154.c 	extended_addr = nla_get_le64(attrs[NL802154_DEVKEY_ATTR_EXTENDED_ADDR]);
attrs            1928 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_DEVKEY_ATTR_MAX + 1];
attrs            1932 net/ieee802154/nl802154.c 	if (nla_parse_nested_deprecated(attrs, NL802154_DEVKEY_ATTR_MAX, info->attrs[NL802154_ATTR_SEC_DEVKEY], nl802154_devkey_policy, info->extack))
attrs            1935 net/ieee802154/nl802154.c 	if (!attrs[NL802154_DEVKEY_ATTR_EXTENDED_ADDR])
attrs            1939 net/ieee802154/nl802154.c 	if (ieee802154_llsec_parse_key_id(attrs[NL802154_DEVKEY_ATTR_ID],
attrs            1946 net/ieee802154/nl802154.c 	extended_addr = nla_get_le64(attrs[NL802154_DEVKEY_ATTR_EXTENDED_ADDR]);
attrs            2050 net/ieee802154/nl802154.c 	struct nlattr *attrs[NL802154_SECLEVEL_ATTR_MAX + 1];
attrs            2052 net/ieee802154/nl802154.c 	if (!nla || nla_parse_nested_deprecated(attrs, NL802154_SECLEVEL_ATTR_MAX, nla, nl802154_seclevel_policy, NULL))
attrs            2057 net/ieee802154/nl802154.c 	if (!attrs[NL802154_SECLEVEL_ATTR_LEVELS] ||
attrs            2058 net/ieee802154/nl802154.c 	    !attrs[NL802154_SECLEVEL_ATTR_FRAME] ||
attrs            2059 net/ieee802154/nl802154.c 	    !attrs[NL802154_SECLEVEL_ATTR_DEV_OVERRIDE])
attrs            2062 net/ieee802154/nl802154.c 	sl->sec_levels = nla_get_u8(attrs[NL802154_SECLEVEL_ATTR_LEVELS]);
attrs            2063 net/ieee802154/nl802154.c 	sl->frame_type = nla_get_u32(attrs[NL802154_SECLEVEL_ATTR_FRAME]);
attrs            2064 net/ieee802154/nl802154.c 	sl->device_override = nla_get_u8(attrs[NL802154_SECLEVEL_ATTR_DEV_OVERRIDE]);
attrs            2070 net/ieee802154/nl802154.c 		if (!attrs[NL802154_SECLEVEL_ATTR_CMD_FRAME])
attrs            2073 net/ieee802154/nl802154.c 		sl->cmd_frame_id = nla_get_u32(attrs[NL802154_SECLEVEL_ATTR_CMD_FRAME]);
attrs            2089 net/ieee802154/nl802154.c 	if (llsec_parse_seclevel(info->attrs[NL802154_ATTR_SEC_LEVEL],
attrs            2104 net/ieee802154/nl802154.c 	if (!info->attrs[NL802154_ATTR_SEC_LEVEL] ||
attrs            2105 net/ieee802154/nl802154.c 	    llsec_parse_seclevel(info->attrs[NL802154_ATTR_SEC_LEVEL],
attrs            2146 net/ieee802154/nl802154.c 							   info->attrs);
attrs             689 net/ipv4/fib_semantics.c 			struct nlattr *nla, *nlav, *attrs = rtnh_attrs(rtnh);
attrs             691 net/ipv4/fib_semantics.c 			nla = nla_find(attrs, attrlen, RTA_GATEWAY);
attrs             692 net/ipv4/fib_semantics.c 			nlav = nla_find(attrs, attrlen, RTA_VIA);
attrs             708 net/ipv4/fib_semantics.c 			nla = nla_find(attrs, attrlen, RTA_FLOW);
attrs             712 net/ipv4/fib_semantics.c 			fib_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP);
attrs             713 net/ipv4/fib_semantics.c 			nla = nla_find(attrs, attrlen, RTA_ENCAP_TYPE);
attrs             896 net/ipv4/fib_semantics.c 			struct nlattr *nla, *nlav, *attrs = rtnh_attrs(rtnh);
attrs             898 net/ipv4/fib_semantics.c 			nla = nla_find(attrs, attrlen, RTA_GATEWAY);
attrs             899 net/ipv4/fib_semantics.c 			nlav = nla_find(attrs, attrlen, RTA_VIA);
attrs             934 net/ipv4/fib_semantics.c 			nla = nla_find(attrs, attrlen, RTA_FLOW);
attrs             683 net/ipv4/fou.c 	if (info->attrs[FOU_ATTR_AF]) {
attrs             684 net/ipv4/fou.c 		u8 family = nla_get_u8(info->attrs[FOU_ATTR_AF]);
attrs             699 net/ipv4/fou.c 	if (info->attrs[FOU_ATTR_PORT]) {
attrs             700 net/ipv4/fou.c 		port = nla_get_be16(info->attrs[FOU_ATTR_PORT]);
attrs             704 net/ipv4/fou.c 	if (info->attrs[FOU_ATTR_IPPROTO])
attrs             705 net/ipv4/fou.c 		cfg->protocol = nla_get_u8(info->attrs[FOU_ATTR_IPPROTO]);
attrs             707 net/ipv4/fou.c 	if (info->attrs[FOU_ATTR_TYPE])
attrs             708 net/ipv4/fou.c 		cfg->type = nla_get_u8(info->attrs[FOU_ATTR_TYPE]);
attrs             710 net/ipv4/fou.c 	if (info->attrs[FOU_ATTR_REMCSUM_NOPARTIAL])
attrs             714 net/ipv4/fou.c 		if (info->attrs[FOU_ATTR_LOCAL_V4]) {
attrs             715 net/ipv4/fou.c 			attr = info->attrs[FOU_ATTR_LOCAL_V4];
attrs             720 net/ipv4/fou.c 		if (info->attrs[FOU_ATTR_PEER_V4]) {
attrs             721 net/ipv4/fou.c 			attr = info->attrs[FOU_ATTR_PEER_V4];
attrs             727 net/ipv4/fou.c 		if (info->attrs[FOU_ATTR_LOCAL_V6]) {
attrs             728 net/ipv4/fou.c 			attr = info->attrs[FOU_ATTR_LOCAL_V6];
attrs             733 net/ipv4/fou.c 		if (info->attrs[FOU_ATTR_PEER_V6]) {
attrs             734 net/ipv4/fou.c 			attr = info->attrs[FOU_ATTR_PEER_V6];
attrs             742 net/ipv4/fou.c 		if (info->attrs[FOU_ATTR_PEER_PORT]) {
attrs             743 net/ipv4/fou.c 			port = nla_get_be16(info->attrs[FOU_ATTR_PEER_PORT]);
attrs             750 net/ipv4/fou.c 	if (info->attrs[FOU_ATTR_IFINDEX]) {
attrs             754 net/ipv4/fou.c 		ifindex = nla_get_s32(info->attrs[FOU_ATTR_IFINDEX]);
attrs             777 net/ipv4/tcp_metrics.c 	a = info->attrs[v4];
attrs             784 net/ipv4/tcp_metrics.c 	a = info->attrs[v6];
attrs             101 net/ipv6/ila/ila_xlat.c 	if (info->attrs[ILA_ATTR_LOCATOR])
attrs             103 net/ipv6/ila/ila_xlat.c 			info->attrs[ILA_ATTR_LOCATOR]);
attrs             105 net/ipv6/ila/ila_xlat.c 	if (info->attrs[ILA_ATTR_LOCATOR_MATCH])
attrs             107 net/ipv6/ila/ila_xlat.c 			info->attrs[ILA_ATTR_LOCATOR_MATCH]);
attrs             109 net/ipv6/ila/ila_xlat.c 	if (info->attrs[ILA_ATTR_CSUM_MODE])
attrs             110 net/ipv6/ila/ila_xlat.c 		xp->ip.csum_mode = nla_get_u8(info->attrs[ILA_ATTR_CSUM_MODE]);
attrs             114 net/ipv6/ila/ila_xlat.c 	if (info->attrs[ILA_ATTR_IDENT_TYPE])
attrs             116 net/ipv6/ila/ila_xlat.c 				info->attrs[ILA_ATTR_IDENT_TYPE]);
attrs             120 net/ipv6/ila/ila_xlat.c 	if (info->attrs[ILA_ATTR_IFINDEX])
attrs             121 net/ipv6/ila/ila_xlat.c 		xp->ifindex = nla_get_s32(info->attrs[ILA_ATTR_IFINDEX]);
attrs            5095 net/ipv6/route.c 			struct nlattr *nla, *attrs = rtnh_attrs(rtnh);
attrs            5097 net/ipv6/route.c 			nla = nla_find(attrs, attrlen, RTA_GATEWAY);
attrs            5102 net/ipv6/route.c 			r_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP);
attrs            5103 net/ipv6/route.c 			nla = nla_find(attrs, attrlen, RTA_ENCAP_TYPE);
attrs            5248 net/ipv6/route.c 			struct nlattr *nla, *attrs = rtnh_attrs(rtnh);
attrs            5250 net/ipv6/route.c 			nla = nla_find(attrs, attrlen, RTA_GATEWAY);
attrs              96 net/ipv6/seg6.c 	if (!info->attrs[SEG6_ATTR_HMACKEYID] ||
attrs              97 net/ipv6/seg6.c 	    !info->attrs[SEG6_ATTR_SECRETLEN] ||
attrs              98 net/ipv6/seg6.c 	    !info->attrs[SEG6_ATTR_ALGID])
attrs             101 net/ipv6/seg6.c 	hmackeyid = nla_get_u32(info->attrs[SEG6_ATTR_HMACKEYID]);
attrs             102 net/ipv6/seg6.c 	slen = nla_get_u8(info->attrs[SEG6_ATTR_SECRETLEN]);
attrs             103 net/ipv6/seg6.c 	algid = nla_get_u8(info->attrs[SEG6_ATTR_ALGID]);
attrs             123 net/ipv6/seg6.c 	if (!info->attrs[SEG6_ATTR_SECRET]) {
attrs             134 net/ipv6/seg6.c 	secret = (char *)nla_data(info->attrs[SEG6_ATTR_SECRET]);
attrs             173 net/ipv6/seg6.c 	if (!info->attrs[SEG6_ATTR_DST])
attrs             176 net/ipv6/seg6.c 	val = nla_data(info->attrs[SEG6_ATTR_DST]);
attrs              38 net/ipv6/seg6_local.c 	unsigned long attrs;
attrs             550 net/ipv6/seg6_local.c 		.attrs		= 0,
attrs             555 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_NH6),
attrs             560 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_TABLE),
attrs             565 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_OIF),
attrs             570 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_NH6),
attrs             575 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_NH4),
attrs             580 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_TABLE),
attrs             585 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_SRH),
attrs             590 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_SRH),
attrs             596 net/ipv6/seg6_local.c 		.attrs		= (1 << SEG6_LOCAL_BPF),
attrs             647 net/ipv6/seg6_local.c static int parse_nla_srh(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             652 net/ipv6/seg6_local.c 	srh = nla_data(attrs[SEG6_LOCAL_SRH]);
attrs             653 net/ipv6/seg6_local.c 	len = nla_len(attrs[SEG6_LOCAL_SRH]);
attrs             699 net/ipv6/seg6_local.c static int parse_nla_table(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             701 net/ipv6/seg6_local.c 	slwt->table = nla_get_u32(attrs[SEG6_LOCAL_TABLE]);
attrs             722 net/ipv6/seg6_local.c static int parse_nla_nh4(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             724 net/ipv6/seg6_local.c 	memcpy(&slwt->nh4, nla_data(attrs[SEG6_LOCAL_NH4]),
attrs             748 net/ipv6/seg6_local.c static int parse_nla_nh6(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             750 net/ipv6/seg6_local.c 	memcpy(&slwt->nh6, nla_data(attrs[SEG6_LOCAL_NH6]),
attrs             774 net/ipv6/seg6_local.c static int parse_nla_iif(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             776 net/ipv6/seg6_local.c 	slwt->iif = nla_get_u32(attrs[SEG6_LOCAL_IIF]);
attrs             797 net/ipv6/seg6_local.c static int parse_nla_oif(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             799 net/ipv6/seg6_local.c 	slwt->oif = nla_get_u32(attrs[SEG6_LOCAL_OIF]);
attrs             827 net/ipv6/seg6_local.c static int parse_nla_bpf(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             835 net/ipv6/seg6_local.c 					  attrs[SEG6_LOCAL_BPF],
attrs             891 net/ipv6/seg6_local.c 	int (*parse)(struct nlattr **attrs, struct seg6_local_lwt *slwt);
attrs             927 net/ipv6/seg6_local.c static int parse_nla_action(struct nlattr **attrs, struct seg6_local_lwt *slwt)
attrs             944 net/ipv6/seg6_local.c 		if (desc->attrs & (1 << i)) {
attrs             945 net/ipv6/seg6_local.c 			if (!attrs[i])
attrs             950 net/ipv6/seg6_local.c 			err = param->parse(attrs, slwt);
attrs            1011 net/ipv6/seg6_local.c 	if (slwt->desc->attrs & (1 << SEG6_LOCAL_BPF)) {
attrs            1030 net/ipv6/seg6_local.c 		if (slwt->desc->attrs & (1 << i)) {
attrs            1044 net/ipv6/seg6_local.c 	unsigned long attrs;
attrs            1049 net/ipv6/seg6_local.c 	attrs = slwt->desc->attrs;
attrs            1051 net/ipv6/seg6_local.c 	if (attrs & (1 << SEG6_LOCAL_SRH))
attrs            1054 net/ipv6/seg6_local.c 	if (attrs & (1 << SEG6_LOCAL_TABLE))
attrs            1057 net/ipv6/seg6_local.c 	if (attrs & (1 << SEG6_LOCAL_NH4))
attrs            1060 net/ipv6/seg6_local.c 	if (attrs & (1 << SEG6_LOCAL_NH6))
attrs            1063 net/ipv6/seg6_local.c 	if (attrs & (1 << SEG6_LOCAL_IIF))
attrs            1066 net/ipv6/seg6_local.c 	if (attrs & (1 << SEG6_LOCAL_OIF))
attrs            1069 net/ipv6/seg6_local.c 	if (attrs & (1 << SEG6_LOCAL_BPF))
attrs            1090 net/ipv6/seg6_local.c 	if (slwt_a->desc->attrs != slwt_b->desc->attrs)
attrs            1094 net/ipv6/seg6_local.c 		if (slwt_a->desc->attrs & (1 << i)) {
attrs              57 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_IFNAME]) {
attrs              58 net/l2tp/l2tp_netlink.c 		ifname = nla_data(info->attrs[L2TP_ATTR_IFNAME]);
attrs              60 net/l2tp/l2tp_netlink.c 	} else if ((info->attrs[L2TP_ATTR_SESSION_ID]) &&
attrs              61 net/l2tp/l2tp_netlink.c 		   (info->attrs[L2TP_ATTR_CONN_ID])) {
attrs              62 net/l2tp/l2tp_netlink.c 		tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]);
attrs              63 net/l2tp/l2tp_netlink.c 		session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]);
attrs             171 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_CONN_ID]) {
attrs             175 net/l2tp/l2tp_netlink.c 	tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]);
attrs             177 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_PEER_CONN_ID]) {
attrs             181 net/l2tp/l2tp_netlink.c 	peer_tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_PEER_CONN_ID]);
attrs             183 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_PROTO_VERSION]) {
attrs             187 net/l2tp/l2tp_netlink.c 	proto_version = nla_get_u8(info->attrs[L2TP_ATTR_PROTO_VERSION]);
attrs             189 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_ENCAP_TYPE]) {
attrs             193 net/l2tp/l2tp_netlink.c 	cfg.encap = nla_get_u16(info->attrs[L2TP_ATTR_ENCAP_TYPE]);
attrs             196 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_FD]) {
attrs             197 net/l2tp/l2tp_netlink.c 		fd = nla_get_u32(info->attrs[L2TP_ATTR_FD]);
attrs             200 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_IP6_SADDR] &&
attrs             201 net/l2tp/l2tp_netlink.c 		    info->attrs[L2TP_ATTR_IP6_DADDR]) {
attrs             203 net/l2tp/l2tp_netlink.c 				info->attrs[L2TP_ATTR_IP6_SADDR]);
attrs             205 net/l2tp/l2tp_netlink.c 				info->attrs[L2TP_ATTR_IP6_DADDR]);
attrs             208 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_IP_SADDR] &&
attrs             209 net/l2tp/l2tp_netlink.c 		    info->attrs[L2TP_ATTR_IP_DADDR]) {
attrs             211 net/l2tp/l2tp_netlink.c 				info->attrs[L2TP_ATTR_IP_SADDR]);
attrs             213 net/l2tp/l2tp_netlink.c 				info->attrs[L2TP_ATTR_IP_DADDR]);
attrs             218 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_UDP_SPORT])
attrs             219 net/l2tp/l2tp_netlink.c 			cfg.local_udp_port = nla_get_u16(info->attrs[L2TP_ATTR_UDP_SPORT]);
attrs             220 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_UDP_DPORT])
attrs             221 net/l2tp/l2tp_netlink.c 			cfg.peer_udp_port = nla_get_u16(info->attrs[L2TP_ATTR_UDP_DPORT]);
attrs             223 net/l2tp/l2tp_netlink.c 			info->attrs[L2TP_ATTR_UDP_CSUM]);
attrs             227 net/l2tp/l2tp_netlink.c 			info->attrs[L2TP_ATTR_UDP_ZERO_CSUM6_TX]);
attrs             229 net/l2tp/l2tp_netlink.c 			info->attrs[L2TP_ATTR_UDP_ZERO_CSUM6_RX]);
attrs             233 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_DEBUG])
attrs             234 net/l2tp/l2tp_netlink.c 		cfg.debug = nla_get_u32(info->attrs[L2TP_ATTR_DEBUG]);
attrs             269 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_CONN_ID]) {
attrs             273 net/l2tp/l2tp_netlink.c 	tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]);
attrs             299 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_CONN_ID]) {
attrs             303 net/l2tp/l2tp_netlink.c 	tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]);
attrs             311 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_DEBUG])
attrs             312 net/l2tp/l2tp_netlink.c 		tunnel->debug = nla_get_u32(info->attrs[L2TP_ATTR_DEBUG]);
attrs             444 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_CONN_ID]) {
attrs             449 net/l2tp/l2tp_netlink.c 	tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]);
attrs             519 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_CONN_ID]) {
attrs             524 net/l2tp/l2tp_netlink.c 	tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]);
attrs             531 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_SESSION_ID]) {
attrs             535 net/l2tp/l2tp_netlink.c 	session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]);
attrs             537 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_PEER_SESSION_ID]) {
attrs             541 net/l2tp/l2tp_netlink.c 	peer_session_id = nla_get_u32(info->attrs[L2TP_ATTR_PEER_SESSION_ID]);
attrs             543 net/l2tp/l2tp_netlink.c 	if (!info->attrs[L2TP_ATTR_PW_TYPE]) {
attrs             547 net/l2tp/l2tp_netlink.c 	cfg.pw_type = nla_get_u16(info->attrs[L2TP_ATTR_PW_TYPE]);
attrs             560 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_L2SPEC_TYPE]) {
attrs             561 net/l2tp/l2tp_netlink.c 			cfg.l2specific_type = nla_get_u8(info->attrs[L2TP_ATTR_L2SPEC_TYPE]);
attrs             571 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_COOKIE]) {
attrs             572 net/l2tp/l2tp_netlink.c 			u16 len = nla_len(info->attrs[L2TP_ATTR_COOKIE]);
attrs             578 net/l2tp/l2tp_netlink.c 			memcpy(&cfg.cookie[0], nla_data(info->attrs[L2TP_ATTR_COOKIE]), len);
attrs             580 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_PEER_COOKIE]) {
attrs             581 net/l2tp/l2tp_netlink.c 			u16 len = nla_len(info->attrs[L2TP_ATTR_PEER_COOKIE]);
attrs             587 net/l2tp/l2tp_netlink.c 			memcpy(&cfg.peer_cookie[0], nla_data(info->attrs[L2TP_ATTR_PEER_COOKIE]), len);
attrs             589 net/l2tp/l2tp_netlink.c 		if (info->attrs[L2TP_ATTR_IFNAME])
attrs             590 net/l2tp/l2tp_netlink.c 			cfg.ifname = nla_data(info->attrs[L2TP_ATTR_IFNAME]);
attrs             593 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_DEBUG])
attrs             594 net/l2tp/l2tp_netlink.c 		cfg.debug = nla_get_u32(info->attrs[L2TP_ATTR_DEBUG]);
attrs             596 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_RECV_SEQ])
attrs             597 net/l2tp/l2tp_netlink.c 		cfg.recv_seq = nla_get_u8(info->attrs[L2TP_ATTR_RECV_SEQ]);
attrs             599 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_SEND_SEQ])
attrs             600 net/l2tp/l2tp_netlink.c 		cfg.send_seq = nla_get_u8(info->attrs[L2TP_ATTR_SEND_SEQ]);
attrs             602 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_LNS_MODE])
attrs             603 net/l2tp/l2tp_netlink.c 		cfg.lns_mode = nla_get_u8(info->attrs[L2TP_ATTR_LNS_MODE]);
attrs             605 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_RECV_TIMEOUT])
attrs             606 net/l2tp/l2tp_netlink.c 		cfg.reorder_timeout = nla_get_msecs(info->attrs[L2TP_ATTR_RECV_TIMEOUT]);
attrs             678 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_DEBUG])
attrs             679 net/l2tp/l2tp_netlink.c 		session->debug = nla_get_u32(info->attrs[L2TP_ATTR_DEBUG]);
attrs             681 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_RECV_SEQ])
attrs             682 net/l2tp/l2tp_netlink.c 		session->recv_seq = nla_get_u8(info->attrs[L2TP_ATTR_RECV_SEQ]);
attrs             684 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_SEND_SEQ]) {
attrs             685 net/l2tp/l2tp_netlink.c 		session->send_seq = nla_get_u8(info->attrs[L2TP_ATTR_SEND_SEQ]);
attrs             689 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_LNS_MODE])
attrs             690 net/l2tp/l2tp_netlink.c 		session->lns_mode = nla_get_u8(info->attrs[L2TP_ATTR_LNS_MODE]);
attrs             692 net/l2tp/l2tp_netlink.c 	if (info->attrs[L2TP_ATTR_RECV_TIMEOUT])
attrs             693 net/l2tp/l2tp_netlink.c 		session->reorder_timeout = nla_get_msecs(info->attrs[L2TP_ATTR_RECV_TIMEOUT]);
attrs             844 net/mpls/af_mpls.c 		struct nlattr *nla, *attrs = rtnh_attrs(rtnh);
attrs             849 net/mpls/af_mpls.c 		nla = nla_find(attrs, attrlen, RTA_VIA);
attrs             860 net/mpls/af_mpls.c 		nla = nla_find(attrs, attrlen, RTA_NEWDST);
attrs             910 net/mpls/af_mpls.c 			struct nlattr *attrs = rtnh_attrs(rtnh);
attrs             912 net/mpls/af_mpls.c 			nla_via = nla_find(attrs, attrlen, RTA_VIA);
attrs             913 net/mpls/af_mpls.c 			nla_newdst = nla_find(attrs, attrlen, RTA_NEWDST);
attrs             159 net/ncsi/ncsi-netlink.c 	if (!info || !info->attrs)
attrs             162 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_IFINDEX])
attrs             165 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_PACKAGE_ID])
attrs             169 net/ncsi/ncsi-netlink.c 			       nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX]));
attrs             184 net/ncsi/ncsi-netlink.c 	package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]);
attrs             211 net/ncsi/ncsi-netlink.c 	struct nlattr *attrs[NCSI_ATTR_MAX + 1];
attrs             219 net/ncsi/ncsi-netlink.c 	rc = genlmsg_parse_deprecated(cb->nlh, &ncsi_genl_family, attrs, NCSI_ATTR_MAX,
attrs             224 net/ncsi/ncsi-netlink.c 	if (!attrs[NCSI_ATTR_IFINDEX])
attrs             228 net/ncsi/ncsi-netlink.c 			       nla_get_u32(attrs[NCSI_ATTR_IFINDEX]));
attrs             279 net/ncsi/ncsi-netlink.c 	if (!info || !info->attrs)
attrs             282 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_IFINDEX])
attrs             285 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_PACKAGE_ID])
attrs             289 net/ncsi/ncsi-netlink.c 			       nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX]));
attrs             293 net/ncsi/ncsi-netlink.c 	package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]);
attrs             305 net/ncsi/ncsi-netlink.c 	if (info->attrs[NCSI_ATTR_CHANNEL_ID]) {
attrs             306 net/ncsi/ncsi-netlink.c 		channel_id = nla_get_u32(info->attrs[NCSI_ATTR_CHANNEL_ID]);
attrs             358 net/ncsi/ncsi-netlink.c 	if (!info || !info->attrs)
attrs             361 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_IFINDEX])
attrs             365 net/ncsi/ncsi-netlink.c 			       nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX]));
attrs             401 net/ncsi/ncsi-netlink.c 	if (!info || !info->attrs) {
attrs             406 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_IFINDEX]) {
attrs             411 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_PACKAGE_ID]) {
attrs             416 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_CHANNEL_ID]) {
attrs             421 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_DATA]) {
attrs             427 net/ncsi/ncsi-netlink.c 			       nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX]));
attrs             433 net/ncsi/ncsi-netlink.c 	package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]);
attrs             434 net/ncsi/ncsi-netlink.c 	channel_id = nla_get_u32(info->attrs[NCSI_ATTR_CHANNEL_ID]);
attrs             441 net/ncsi/ncsi-netlink.c 	len = nla_len(info->attrs[NCSI_ATTR_DATA]);
attrs             448 net/ncsi/ncsi-netlink.c 		data = (unsigned char *)nla_data(info->attrs[NCSI_ATTR_DATA]);
attrs             594 net/ncsi/ncsi-netlink.c 	if (!info || !info->attrs)
attrs             597 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_IFINDEX])
attrs             600 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_PACKAGE_MASK])
attrs             604 net/ncsi/ncsi-netlink.c 			       nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX]));
attrs             609 net/ncsi/ncsi-netlink.c 	if (nla_get_flag(info->attrs[NCSI_ATTR_MULTI_FLAG])) {
attrs             625 net/ncsi/ncsi-netlink.c 			nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_MASK]);
attrs             646 net/ncsi/ncsi-netlink.c 	if (!info || !info->attrs)
attrs             649 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_IFINDEX])
attrs             652 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_PACKAGE_ID])
attrs             655 net/ncsi/ncsi-netlink.c 	if (!info->attrs[NCSI_ATTR_CHANNEL_MASK])
attrs             659 net/ncsi/ncsi-netlink.c 			       nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX]));
attrs             663 net/ncsi/ncsi-netlink.c 	package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]);
attrs             676 net/ncsi/ncsi-netlink.c 	if (info->attrs[NCSI_ATTR_CHANNEL_ID]) {
attrs             677 net/ncsi/ncsi-netlink.c 		channel_id = nla_get_u32(info->attrs[NCSI_ATTR_CHANNEL_ID]);
attrs             693 net/ncsi/ncsi-netlink.c 		nla_get_u32(info->attrs[NCSI_ATTR_CHANNEL_MASK]);
attrs             701 net/ncsi/ncsi-netlink.c 	if (nla_get_flag(info->attrs[NCSI_ATTR_MULTI_FLAG])) {
attrs            3158 net/netfilter/ipvs/ip_vs_ctl.c 	struct nlattr *attrs[IPVS_SVC_ATTR_MAX + 1];
attrs            3164 net/netfilter/ipvs/ip_vs_ctl.c 	    nla_parse_nested_deprecated(attrs, IPVS_SVC_ATTR_MAX, nla, ip_vs_svc_policy, NULL))
attrs            3167 net/netfilter/ipvs/ip_vs_ctl.c 	nla_af		= attrs[IPVS_SVC_ATTR_AF];
attrs            3168 net/netfilter/ipvs/ip_vs_ctl.c 	nla_protocol	= attrs[IPVS_SVC_ATTR_PROTOCOL];
attrs            3169 net/netfilter/ipvs/ip_vs_ctl.c 	nla_addr	= attrs[IPVS_SVC_ATTR_ADDR];
attrs            3170 net/netfilter/ipvs/ip_vs_ctl.c 	nla_port	= attrs[IPVS_SVC_ATTR_PORT];
attrs            3171 net/netfilter/ipvs/ip_vs_ctl.c 	nla_fwmark	= attrs[IPVS_SVC_ATTR_FWMARK];
attrs            3207 net/netfilter/ipvs/ip_vs_ctl.c 		nla_sched = attrs[IPVS_SVC_ATTR_SCHED_NAME];
attrs            3208 net/netfilter/ipvs/ip_vs_ctl.c 		nla_pe = attrs[IPVS_SVC_ATTR_PE_NAME];
attrs            3209 net/netfilter/ipvs/ip_vs_ctl.c 		nla_flags = attrs[IPVS_SVC_ATTR_FLAGS];
attrs            3210 net/netfilter/ipvs/ip_vs_ctl.c 		nla_timeout = attrs[IPVS_SVC_ATTR_TIMEOUT];
attrs            3211 net/netfilter/ipvs/ip_vs_ctl.c 		nla_netmask = attrs[IPVS_SVC_ATTR_NETMASK];
attrs            3321 net/netfilter/ipvs/ip_vs_ctl.c 	struct nlattr *attrs[IPVS_CMD_ATTR_MAX + 1];
attrs            3328 net/netfilter/ipvs/ip_vs_ctl.c 	if (nlmsg_parse_deprecated(cb->nlh, GENL_HDRLEN, attrs, IPVS_CMD_ATTR_MAX, ip_vs_cmd_policy, cb->extack))
attrs            3332 net/netfilter/ipvs/ip_vs_ctl.c 	svc = ip_vs_genl_find_service(ipvs, attrs[IPVS_CMD_ATTR_SERVICE]);
attrs            3358 net/netfilter/ipvs/ip_vs_ctl.c 	struct nlattr *attrs[IPVS_DEST_ATTR_MAX + 1];
attrs            3364 net/netfilter/ipvs/ip_vs_ctl.c 	    nla_parse_nested_deprecated(attrs, IPVS_DEST_ATTR_MAX, nla, ip_vs_dest_policy, NULL))
attrs            3367 net/netfilter/ipvs/ip_vs_ctl.c 	nla_addr	= attrs[IPVS_DEST_ATTR_ADDR];
attrs            3368 net/netfilter/ipvs/ip_vs_ctl.c 	nla_port	= attrs[IPVS_DEST_ATTR_PORT];
attrs            3369 net/netfilter/ipvs/ip_vs_ctl.c 	nla_addr_family	= attrs[IPVS_DEST_ATTR_ADDR_FAMILY];
attrs            3390 net/netfilter/ipvs/ip_vs_ctl.c 		nla_fwd		= attrs[IPVS_DEST_ATTR_FWD_METHOD];
attrs            3391 net/netfilter/ipvs/ip_vs_ctl.c 		nla_weight	= attrs[IPVS_DEST_ATTR_WEIGHT];
attrs            3392 net/netfilter/ipvs/ip_vs_ctl.c 		nla_u_thresh	= attrs[IPVS_DEST_ATTR_U_THRESH];
attrs            3393 net/netfilter/ipvs/ip_vs_ctl.c 		nla_l_thresh	= attrs[IPVS_DEST_ATTR_L_THRESH];
attrs            3394 net/netfilter/ipvs/ip_vs_ctl.c 		nla_tun_type	= attrs[IPVS_DEST_ATTR_TUN_TYPE];
attrs            3395 net/netfilter/ipvs/ip_vs_ctl.c 		nla_tun_port	= attrs[IPVS_DEST_ATTR_TUN_PORT];
attrs            3396 net/netfilter/ipvs/ip_vs_ctl.c 		nla_tun_flags	= attrs[IPVS_DEST_ATTR_TUN_FLAGS];
attrs            3507 net/netfilter/ipvs/ip_vs_ctl.c static int ip_vs_genl_new_daemon(struct netns_ipvs *ipvs, struct nlattr **attrs)
attrs            3514 net/netfilter/ipvs/ip_vs_ctl.c 	if (!(attrs[IPVS_DAEMON_ATTR_STATE] &&
attrs            3515 net/netfilter/ipvs/ip_vs_ctl.c 	      attrs[IPVS_DAEMON_ATTR_MCAST_IFN] &&
attrs            3516 net/netfilter/ipvs/ip_vs_ctl.c 	      attrs[IPVS_DAEMON_ATTR_SYNC_ID]))
attrs            3518 net/netfilter/ipvs/ip_vs_ctl.c 	strlcpy(c.mcast_ifn, nla_data(attrs[IPVS_DAEMON_ATTR_MCAST_IFN]),
attrs            3520 net/netfilter/ipvs/ip_vs_ctl.c 	c.syncid = nla_get_u32(attrs[IPVS_DAEMON_ATTR_SYNC_ID]);
attrs            3522 net/netfilter/ipvs/ip_vs_ctl.c 	a = attrs[IPVS_DAEMON_ATTR_SYNC_MAXLEN];
attrs            3526 net/netfilter/ipvs/ip_vs_ctl.c 	a = attrs[IPVS_DAEMON_ATTR_MCAST_GROUP];
attrs            3533 net/netfilter/ipvs/ip_vs_ctl.c 		a = attrs[IPVS_DAEMON_ATTR_MCAST_GROUP6];
attrs            3549 net/netfilter/ipvs/ip_vs_ctl.c 	a = attrs[IPVS_DAEMON_ATTR_MCAST_PORT];
attrs            3553 net/netfilter/ipvs/ip_vs_ctl.c 	a = attrs[IPVS_DAEMON_ATTR_MCAST_TTL];
attrs            3564 net/netfilter/ipvs/ip_vs_ctl.c 				nla_get_u32(attrs[IPVS_DAEMON_ATTR_STATE]));
attrs            3568 net/netfilter/ipvs/ip_vs_ctl.c static int ip_vs_genl_del_daemon(struct netns_ipvs *ipvs, struct nlattr **attrs)
attrs            3572 net/netfilter/ipvs/ip_vs_ctl.c 	if (!attrs[IPVS_DAEMON_ATTR_STATE])
attrs            3576 net/netfilter/ipvs/ip_vs_ctl.c 			       nla_get_u32(attrs[IPVS_DAEMON_ATTR_STATE]));
attrs            3580 net/netfilter/ipvs/ip_vs_ctl.c static int ip_vs_genl_set_config(struct netns_ipvs *ipvs, struct nlattr **attrs)
attrs            3586 net/netfilter/ipvs/ip_vs_ctl.c 	if (attrs[IPVS_CMD_ATTR_TIMEOUT_TCP])
attrs            3587 net/netfilter/ipvs/ip_vs_ctl.c 		t.tcp_timeout = nla_get_u32(attrs[IPVS_CMD_ATTR_TIMEOUT_TCP]);
attrs            3589 net/netfilter/ipvs/ip_vs_ctl.c 	if (attrs[IPVS_CMD_ATTR_TIMEOUT_TCP_FIN])
attrs            3591 net/netfilter/ipvs/ip_vs_ctl.c 			nla_get_u32(attrs[IPVS_CMD_ATTR_TIMEOUT_TCP_FIN]);
attrs            3593 net/netfilter/ipvs/ip_vs_ctl.c 	if (attrs[IPVS_CMD_ATTR_TIMEOUT_UDP])
attrs            3594 net/netfilter/ipvs/ip_vs_ctl.c 		t.udp_timeout = nla_get_u32(attrs[IPVS_CMD_ATTR_TIMEOUT_UDP]);
attrs            3610 net/netfilter/ipvs/ip_vs_ctl.c 		if (!info->attrs[IPVS_CMD_ATTR_DAEMON] ||
attrs            3611 net/netfilter/ipvs/ip_vs_ctl.c 		    nla_parse_nested_deprecated(daemon_attrs, IPVS_DAEMON_ATTR_MAX, info->attrs[IPVS_CMD_ATTR_DAEMON], ip_vs_daemon_policy, info->extack))
attrs            3642 net/netfilter/ipvs/ip_vs_ctl.c 		ret = ip_vs_genl_set_config(ipvs, info->attrs);
attrs            3645 net/netfilter/ipvs/ip_vs_ctl.c 		   !info->attrs[IPVS_CMD_ATTR_SERVICE]) {
attrs            3657 net/netfilter/ipvs/ip_vs_ctl.c 				       info->attrs[IPVS_CMD_ATTR_SERVICE],
attrs            3677 net/netfilter/ipvs/ip_vs_ctl.c 					    info->attrs[IPVS_CMD_ATTR_DEST],
attrs            3790 net/netfilter/ipvs/ip_vs_ctl.c 					      info->attrs[IPVS_CMD_ATTR_SERVICE]);
attrs              80 net/netlabel/netlabel_calipso.c 	doi_def->doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]);
attrs             104 net/netlabel/netlabel_calipso.c 	if (!info->attrs[NLBL_CALIPSO_A_DOI] ||
attrs             105 net/netlabel/netlabel_calipso.c 	    !info->attrs[NLBL_CALIPSO_A_MTYPE])
attrs             109 net/netlabel/netlabel_calipso.c 	switch (nla_get_u32(info->attrs[NLBL_CALIPSO_A_MTYPE])) {
attrs             138 net/netlabel/netlabel_calipso.c 	if (!info->attrs[NLBL_CALIPSO_A_DOI]) {
attrs             143 net/netlabel/netlabel_calipso.c 	doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]);
attrs             287 net/netlabel/netlabel_calipso.c 	if (!info->attrs[NLBL_CALIPSO_A_DOI])
attrs             291 net/netlabel/netlabel_calipso.c 	cb_arg.doi = nla_get_u32(info->attrs[NLBL_CALIPSO_A_DOI]);
attrs              86 net/netlabel/netlabel_cipso_v4.c 	doi_def->doi = nla_get_u32(info->attrs[NLBL_CIPSOV4_A_DOI]);
attrs              88 net/netlabel/netlabel_cipso_v4.c 	if (nla_validate_nested_deprecated(info->attrs[NLBL_CIPSOV4_A_TAGLST],
attrs              94 net/netlabel/netlabel_cipso_v4.c 	nla_for_each_nested(nla, info->attrs[NLBL_CIPSOV4_A_TAGLST], nla_rem)
attrs             132 net/netlabel/netlabel_cipso_v4.c 	if (!info->attrs[NLBL_CIPSOV4_A_TAGLST] ||
attrs             133 net/netlabel/netlabel_cipso_v4.c 	    !info->attrs[NLBL_CIPSOV4_A_MLSLVLLST])
attrs             136 net/netlabel/netlabel_cipso_v4.c 	if (nla_validate_nested_deprecated(info->attrs[NLBL_CIPSOV4_A_MLSLVLLST],
attrs             158 net/netlabel/netlabel_cipso_v4.c 			    info->attrs[NLBL_CIPSOV4_A_MLSLVLLST],
attrs             207 net/netlabel/netlabel_cipso_v4.c 			    info->attrs[NLBL_CIPSOV4_A_MLSLVLLST],
attrs             225 net/netlabel/netlabel_cipso_v4.c 	if (info->attrs[NLBL_CIPSOV4_A_MLSCATLST]) {
attrs             226 net/netlabel/netlabel_cipso_v4.c 		if (nla_validate_nested_deprecated(info->attrs[NLBL_CIPSOV4_A_MLSCATLST],
attrs             233 net/netlabel/netlabel_cipso_v4.c 				    info->attrs[NLBL_CIPSOV4_A_MLSCATLST],
attrs             284 net/netlabel/netlabel_cipso_v4.c 				    info->attrs[NLBL_CIPSOV4_A_MLSCATLST],
attrs             332 net/netlabel/netlabel_cipso_v4.c 	if (!info->attrs[NLBL_CIPSOV4_A_TAGLST])
attrs             371 net/netlabel/netlabel_cipso_v4.c 	if (!info->attrs[NLBL_CIPSOV4_A_TAGLST])
attrs             409 net/netlabel/netlabel_cipso_v4.c 	if (!info->attrs[NLBL_CIPSOV4_A_DOI] ||
attrs             410 net/netlabel/netlabel_cipso_v4.c 	    !info->attrs[NLBL_CIPSOV4_A_MTYPE])
attrs             414 net/netlabel/netlabel_cipso_v4.c 	switch (nla_get_u32(info->attrs[NLBL_CIPSOV4_A_MTYPE])) {
attrs             460 net/netlabel/netlabel_cipso_v4.c 	if (!info->attrs[NLBL_CIPSOV4_A_DOI]) {
attrs             478 net/netlabel/netlabel_cipso_v4.c 	doi = nla_get_u32(info->attrs[NLBL_CIPSOV4_A_DOI]);
attrs             706 net/netlabel/netlabel_cipso_v4.c 	if (!info->attrs[NLBL_CIPSOV4_A_DOI])
attrs             710 net/netlabel/netlabel_cipso_v4.c 	cb_arg.doi = nla_get_u32(info->attrs[NLBL_CIPSOV4_A_DOI]);
attrs              90 net/netlabel/netlabel_mgmt.c 	entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]);
attrs              91 net/netlabel/netlabel_mgmt.c 	if (info->attrs[NLBL_MGMT_A_DOMAIN]) {
attrs              92 net/netlabel/netlabel_mgmt.c 		size_t tmp_size = nla_len(info->attrs[NLBL_MGMT_A_DOMAIN]);
attrs              99 net/netlabel/netlabel_mgmt.c 			    info->attrs[NLBL_MGMT_A_DOMAIN], tmp_size);
attrs             109 net/netlabel/netlabel_mgmt.c 		if (info->attrs[NLBL_MGMT_A_FAMILY])
attrs             111 net/netlabel/netlabel_mgmt.c 				nla_get_u16(info->attrs[NLBL_MGMT_A_FAMILY]);
attrs             116 net/netlabel/netlabel_mgmt.c 		if (!info->attrs[NLBL_MGMT_A_CV4DOI])
attrs             119 net/netlabel/netlabel_mgmt.c 		tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CV4DOI]);
attrs             128 net/netlabel/netlabel_mgmt.c 		if (!info->attrs[NLBL_MGMT_A_CLPDOI])
attrs             131 net/netlabel/netlabel_mgmt.c 		tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CLPDOI]);
attrs             143 net/netlabel/netlabel_mgmt.c 	if ((entry->family == AF_INET && info->attrs[NLBL_MGMT_A_IPV6ADDR]) ||
attrs             144 net/netlabel/netlabel_mgmt.c 	    (entry->family == AF_INET6 && info->attrs[NLBL_MGMT_A_IPV4ADDR]))
attrs             147 net/netlabel/netlabel_mgmt.c 	if (info->attrs[NLBL_MGMT_A_IPV4ADDR]) {
attrs             160 net/netlabel/netlabel_mgmt.c 		if (nla_len(info->attrs[NLBL_MGMT_A_IPV4ADDR]) !=
attrs             165 net/netlabel/netlabel_mgmt.c 		if (nla_len(info->attrs[NLBL_MGMT_A_IPV4MASK]) !=
attrs             170 net/netlabel/netlabel_mgmt.c 		addr = nla_data(info->attrs[NLBL_MGMT_A_IPV4ADDR]);
attrs             171 net/netlabel/netlabel_mgmt.c 		mask = nla_data(info->attrs[NLBL_MGMT_A_IPV4MASK]);
attrs             195 net/netlabel/netlabel_mgmt.c 	} else if (info->attrs[NLBL_MGMT_A_IPV6ADDR]) {
attrs             208 net/netlabel/netlabel_mgmt.c 		if (nla_len(info->attrs[NLBL_MGMT_A_IPV6ADDR]) !=
attrs             213 net/netlabel/netlabel_mgmt.c 		if (nla_len(info->attrs[NLBL_MGMT_A_IPV6MASK]) !=
attrs             218 net/netlabel/netlabel_mgmt.c 		addr = nla_data(info->attrs[NLBL_MGMT_A_IPV6ADDR]);
attrs             219 net/netlabel/netlabel_mgmt.c 		mask = nla_data(info->attrs[NLBL_MGMT_A_IPV6MASK]);
attrs             425 net/netlabel/netlabel_mgmt.c 	if ((!info->attrs[NLBL_MGMT_A_DOMAIN]) ||
attrs             426 net/netlabel/netlabel_mgmt.c 	    (!info->attrs[NLBL_MGMT_A_PROTOCOL]) ||
attrs             427 net/netlabel/netlabel_mgmt.c 	    (info->attrs[NLBL_MGMT_A_IPV4ADDR] &&
attrs             428 net/netlabel/netlabel_mgmt.c 	     info->attrs[NLBL_MGMT_A_IPV6ADDR]) ||
attrs             429 net/netlabel/netlabel_mgmt.c 	    (info->attrs[NLBL_MGMT_A_IPV4MASK] &&
attrs             430 net/netlabel/netlabel_mgmt.c 	     info->attrs[NLBL_MGMT_A_IPV6MASK]) ||
attrs             431 net/netlabel/netlabel_mgmt.c 	    ((info->attrs[NLBL_MGMT_A_IPV4ADDR] != NULL) ^
attrs             432 net/netlabel/netlabel_mgmt.c 	     (info->attrs[NLBL_MGMT_A_IPV4MASK] != NULL)) ||
attrs             433 net/netlabel/netlabel_mgmt.c 	    ((info->attrs[NLBL_MGMT_A_IPV6ADDR] != NULL) ^
attrs             434 net/netlabel/netlabel_mgmt.c 	     (info->attrs[NLBL_MGMT_A_IPV6MASK] != NULL)))
attrs             457 net/netlabel/netlabel_mgmt.c 	if (!info->attrs[NLBL_MGMT_A_DOMAIN])
attrs             462 net/netlabel/netlabel_mgmt.c 	domain = nla_data(info->attrs[NLBL_MGMT_A_DOMAIN]);
attrs             549 net/netlabel/netlabel_mgmt.c 	if ((!info->attrs[NLBL_MGMT_A_PROTOCOL]) ||
attrs             550 net/netlabel/netlabel_mgmt.c 	    (info->attrs[NLBL_MGMT_A_IPV4ADDR] &&
attrs             551 net/netlabel/netlabel_mgmt.c 	     info->attrs[NLBL_MGMT_A_IPV6ADDR]) ||
attrs             552 net/netlabel/netlabel_mgmt.c 	    (info->attrs[NLBL_MGMT_A_IPV4MASK] &&
attrs             553 net/netlabel/netlabel_mgmt.c 	     info->attrs[NLBL_MGMT_A_IPV6MASK]) ||
attrs             554 net/netlabel/netlabel_mgmt.c 	    ((info->attrs[NLBL_MGMT_A_IPV4ADDR] != NULL) ^
attrs             555 net/netlabel/netlabel_mgmt.c 	     (info->attrs[NLBL_MGMT_A_IPV4MASK] != NULL)) ||
attrs             556 net/netlabel/netlabel_mgmt.c 	    ((info->attrs[NLBL_MGMT_A_IPV6ADDR] != NULL) ^
attrs             557 net/netlabel/netlabel_mgmt.c 	     (info->attrs[NLBL_MGMT_A_IPV6MASK] != NULL)))
attrs             603 net/netlabel/netlabel_mgmt.c 	if (info->attrs[NLBL_MGMT_A_FAMILY])
attrs             604 net/netlabel/netlabel_mgmt.c 		family = nla_get_u16(info->attrs[NLBL_MGMT_A_FAMILY]);
attrs             770 net/netlabel/netlabel_unlabeled.c 	if (info->attrs[NLBL_UNLABEL_A_IPV4ADDR] &&
attrs             771 net/netlabel/netlabel_unlabeled.c 	    info->attrs[NLBL_UNLABEL_A_IPV4MASK]) {
attrs             772 net/netlabel/netlabel_unlabeled.c 		addr_len = nla_len(info->attrs[NLBL_UNLABEL_A_IPV4ADDR]);
attrs             774 net/netlabel/netlabel_unlabeled.c 		    addr_len != nla_len(info->attrs[NLBL_UNLABEL_A_IPV4MASK]))
attrs             777 net/netlabel/netlabel_unlabeled.c 		*addr = nla_data(info->attrs[NLBL_UNLABEL_A_IPV4ADDR]);
attrs             778 net/netlabel/netlabel_unlabeled.c 		*mask = nla_data(info->attrs[NLBL_UNLABEL_A_IPV4MASK]);
attrs             780 net/netlabel/netlabel_unlabeled.c 	} else if (info->attrs[NLBL_UNLABEL_A_IPV6ADDR]) {
attrs             781 net/netlabel/netlabel_unlabeled.c 		addr_len = nla_len(info->attrs[NLBL_UNLABEL_A_IPV6ADDR]);
attrs             783 net/netlabel/netlabel_unlabeled.c 		    addr_len != nla_len(info->attrs[NLBL_UNLABEL_A_IPV6MASK]))
attrs             786 net/netlabel/netlabel_unlabeled.c 		*addr = nla_data(info->attrs[NLBL_UNLABEL_A_IPV6ADDR]);
attrs             787 net/netlabel/netlabel_unlabeled.c 		*mask = nla_data(info->attrs[NLBL_UNLABEL_A_IPV6MASK]);
attrs             813 net/netlabel/netlabel_unlabeled.c 	if (info->attrs[NLBL_UNLABEL_A_ACPTFLG]) {
attrs             814 net/netlabel/netlabel_unlabeled.c 		value = nla_get_u8(info->attrs[NLBL_UNLABEL_A_ACPTFLG]);
attrs             891 net/netlabel/netlabel_unlabeled.c 	if (!info->attrs[NLBL_UNLABEL_A_SECCTX] ||
attrs             892 net/netlabel/netlabel_unlabeled.c 	    !info->attrs[NLBL_UNLABEL_A_IFACE] ||
attrs             893 net/netlabel/netlabel_unlabeled.c 	    !((!info->attrs[NLBL_UNLABEL_A_IPV4ADDR] ||
attrs             894 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV4MASK]) ^
attrs             895 net/netlabel/netlabel_unlabeled.c 	      (!info->attrs[NLBL_UNLABEL_A_IPV6ADDR] ||
attrs             896 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV6MASK])))
attrs             904 net/netlabel/netlabel_unlabeled.c 	dev_name = nla_data(info->attrs[NLBL_UNLABEL_A_IFACE]);
attrs             906 net/netlabel/netlabel_unlabeled.c 		                  nla_data(info->attrs[NLBL_UNLABEL_A_SECCTX]),
attrs             907 net/netlabel/netlabel_unlabeled.c 				  nla_len(info->attrs[NLBL_UNLABEL_A_SECCTX]),
attrs             942 net/netlabel/netlabel_unlabeled.c 	if (!info->attrs[NLBL_UNLABEL_A_SECCTX] ||
attrs             943 net/netlabel/netlabel_unlabeled.c 	    !((!info->attrs[NLBL_UNLABEL_A_IPV4ADDR] ||
attrs             944 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV4MASK]) ^
attrs             945 net/netlabel/netlabel_unlabeled.c 	      (!info->attrs[NLBL_UNLABEL_A_IPV6ADDR] ||
attrs             946 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV6MASK])))
attrs             955 net/netlabel/netlabel_unlabeled.c 		                  nla_data(info->attrs[NLBL_UNLABEL_A_SECCTX]),
attrs             956 net/netlabel/netlabel_unlabeled.c 				  nla_len(info->attrs[NLBL_UNLABEL_A_SECCTX]),
attrs             989 net/netlabel/netlabel_unlabeled.c 	if (!info->attrs[NLBL_UNLABEL_A_IFACE] ||
attrs             990 net/netlabel/netlabel_unlabeled.c 	    !((!info->attrs[NLBL_UNLABEL_A_IPV4ADDR] ||
attrs             991 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV4MASK]) ^
attrs             992 net/netlabel/netlabel_unlabeled.c 	      (!info->attrs[NLBL_UNLABEL_A_IPV6ADDR] ||
attrs             993 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV6MASK])))
attrs            1001 net/netlabel/netlabel_unlabeled.c 	dev_name = nla_data(info->attrs[NLBL_UNLABEL_A_IFACE]);
attrs            1030 net/netlabel/netlabel_unlabeled.c 	if (!((!info->attrs[NLBL_UNLABEL_A_IPV4ADDR] ||
attrs            1031 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV4MASK]) ^
attrs            1032 net/netlabel/netlabel_unlabeled.c 	      (!info->attrs[NLBL_UNLABEL_A_IPV6ADDR] ||
attrs            1033 net/netlabel/netlabel_unlabeled.c 	       !info->attrs[NLBL_UNLABEL_A_IPV6MASK])))
attrs             618 net/netlink/genetlink.c 	info.attrs = attrbuf;
attrs             883 net/netlink/genetlink.c 	if (info->attrs[CTRL_ATTR_FAMILY_ID]) {
attrs             884 net/netlink/genetlink.c 		u16 id = nla_get_u16(info->attrs[CTRL_ATTR_FAMILY_ID]);
attrs             889 net/netlink/genetlink.c 	if (info->attrs[CTRL_ATTR_FAMILY_NAME]) {
attrs             892 net/netlink/genetlink.c 		name = nla_data(info->attrs[CTRL_ATTR_FAMILY_NAME]);
attrs             730 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX])
attrs             733 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             767 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX])
attrs             770 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             788 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX])
attrs             791 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             812 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs             813 net/nfc/netlink.c 	    ((!info->attrs[NFC_ATTR_IM_PROTOCOLS] &&
attrs             814 net/nfc/netlink.c 	      !info->attrs[NFC_ATTR_PROTOCOLS]) &&
attrs             815 net/nfc/netlink.c 	      !info->attrs[NFC_ATTR_TM_PROTOCOLS]))
attrs             818 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             820 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_TM_PROTOCOLS])
attrs             821 net/nfc/netlink.c 		tm_protocols = nla_get_u32(info->attrs[NFC_ATTR_TM_PROTOCOLS]);
attrs             823 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_IM_PROTOCOLS])
attrs             824 net/nfc/netlink.c 		im_protocols = nla_get_u32(info->attrs[NFC_ATTR_IM_PROTOCOLS]);
attrs             825 net/nfc/netlink.c 	else if (info->attrs[NFC_ATTR_PROTOCOLS])
attrs             826 net/nfc/netlink.c 		im_protocols = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]);
attrs             850 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX])
attrs             853 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             890 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs             891 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_TARGET_INDEX] ||
attrs             892 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_PROTOCOLS])
attrs             895 net/nfc/netlink.c 	device_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             901 net/nfc/netlink.c 	target_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]);
attrs             902 net/nfc/netlink.c 	protocol = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]);
attrs             918 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs             919 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_TARGET_INDEX])
attrs             922 net/nfc/netlink.c 	device_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             928 net/nfc/netlink.c 	target_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]);
attrs             945 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs             946 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_COMM_MODE])
attrs             949 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs             950 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_TARGET_INDEX])
attrs             953 net/nfc/netlink.c 		tgt_idx = nla_get_u32(info->attrs[NFC_ATTR_TARGET_INDEX]);
attrs             955 net/nfc/netlink.c 	comm = nla_get_u8(info->attrs[NFC_ATTR_COMM_MODE]);
attrs             977 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs             978 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_TARGET_INDEX])
attrs             981 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1026 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs            1027 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_FIRMWARE_NAME])
attrs            1030 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1076 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs            1077 net/nfc/netlink.c 	    (!info->attrs[NFC_ATTR_LLC_PARAM_LTO] &&
attrs            1078 net/nfc/netlink.c 	     !info->attrs[NFC_ATTR_LLC_PARAM_RW] &&
attrs            1079 net/nfc/netlink.c 	     !info->attrs[NFC_ATTR_LLC_PARAM_MIUX]))
attrs            1082 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_LLC_PARAM_RW]) {
attrs            1083 net/nfc/netlink.c 		rw = nla_get_u8(info->attrs[NFC_ATTR_LLC_PARAM_RW]);
attrs            1089 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_LLC_PARAM_MIUX]) {
attrs            1090 net/nfc/netlink.c 		miux = nla_get_u16(info->attrs[NFC_ATTR_LLC_PARAM_MIUX]);
attrs            1096 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1110 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_LLC_PARAM_LTO]) {
attrs            1116 net/nfc/netlink.c 		local->lto = nla_get_u8(info->attrs[NFC_ATTR_LLC_PARAM_LTO]);
attrs            1119 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_LLC_PARAM_RW])
attrs            1122 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_LLC_PARAM_MIUX])
attrs            1146 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs            1147 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_LLC_SDP])
attrs            1150 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1173 net/nfc/netlink.c 	nla_for_each_nested(attr, info->attrs[NFC_ATTR_LLC_SDP], rem) {
attrs            1228 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX])
attrs            1231 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1237 net/nfc/netlink.c 	nla_strlcpy(firmware_name, info->attrs[NFC_ATTR_FIRMWARE_NAME],
attrs            1284 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs            1285 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_SE_INDEX])
attrs            1288 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1289 net/nfc/netlink.c 	se_idx = nla_get_u32(info->attrs[NFC_ATTR_SE_INDEX]);
attrs            1307 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs            1308 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_SE_INDEX])
attrs            1311 net/nfc/netlink.c 	idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1312 net/nfc/netlink.c 	se_idx = nla_get_u32(info->attrs[NFC_ATTR_SE_INDEX]);
attrs            1504 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs            1505 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_SE_INDEX] ||
attrs            1506 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_SE_APDU])
attrs            1509 net/nfc/netlink.c 	dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1510 net/nfc/netlink.c 	se_idx = nla_get_u32(info->attrs[NFC_ATTR_SE_INDEX]);
attrs            1519 net/nfc/netlink.c 	apdu_len = nla_len(info->attrs[NFC_ATTR_SE_APDU]);
attrs            1523 net/nfc/netlink.c 	apdu = nla_data(info->attrs[NFC_ATTR_SE_APDU]);
attrs            1547 net/nfc/netlink.c 	if (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||
attrs            1548 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_VENDOR_ID] ||
attrs            1549 net/nfc/netlink.c 	    !info->attrs[NFC_ATTR_VENDOR_SUBCMD])
attrs            1552 net/nfc/netlink.c 	dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
attrs            1553 net/nfc/netlink.c 	vid = nla_get_u32(info->attrs[NFC_ATTR_VENDOR_ID]);
attrs            1554 net/nfc/netlink.c 	subcmd = nla_get_u32(info->attrs[NFC_ATTR_VENDOR_SUBCMD]);
attrs            1560 net/nfc/netlink.c 	if (info->attrs[NFC_ATTR_VENDOR_DATA]) {
attrs            1561 net/nfc/netlink.c 		data = nla_data(info->attrs[NFC_ATTR_VENDOR_DATA]);
attrs            1562 net/nfc/netlink.c 		data_len = nla_len(info->attrs[NFC_ATTR_VENDOR_DATA]);
attrs            2119 net/openvswitch/conntrack.c 	struct nlattr **a = info->attrs;
attrs            2153 net/openvswitch/conntrack.c 	struct nlattr **a = info->attrs;
attrs            2185 net/openvswitch/conntrack.c 	struct nlattr **a = info->attrs;
attrs             537 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs             899 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            1138 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            1239 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            1298 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            1551 net/openvswitch/datapath.c 	dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs);
attrs            1591 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            1738 net/openvswitch/datapath.c 	dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs);
attrs            1771 net/openvswitch/datapath.c 	dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs);
attrs            1776 net/openvswitch/datapath.c 	err = ovs_dp_change(dp, info->attrs);
attrs            1806 net/openvswitch/datapath.c 	dp = lookup_datapath(sock_net(skb->sk), info->userhdr, info->attrs);
attrs            2038 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            2127 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            2181 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs            2235 net/openvswitch/datapath.c 	struct nlattr **a = info->attrs;
attrs             903 net/openvswitch/flow.c 	u64 attrs = 0;
attrs             906 net/openvswitch/flow.c 	err = parse_flow_nlattrs(attr, a, &attrs, log);
attrs             911 net/openvswitch/flow.c 	err = ovs_nla_get_flow_metadata(net, a, attrs, key, log);
attrs             933 net/openvswitch/flow.c 	if (attrs & (1 << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4) &&
attrs             936 net/openvswitch/flow.c 	if (attrs & (1 << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6) &&
attrs             466 net/openvswitch/flow_netlink.c 	u64 attrs;
attrs             469 net/openvswitch/flow_netlink.c 	attrs = *attrsp;
attrs             480 net/openvswitch/flow_netlink.c 		if (attrs & (1 << type)) {
attrs             493 net/openvswitch/flow_netlink.c 			attrs |= 1 << type;
attrs             502 net/openvswitch/flow_netlink.c 	*attrsp = attrs;
attrs            1122 net/openvswitch/flow_netlink.c 				       u64 *attrs, const struct nlattr **a,
attrs            1138 net/openvswitch/flow_netlink.c 	*attrs &= ~(1 << OVS_KEY_ATTR_ETHERTYPE);
attrs            1143 net/openvswitch/flow_netlink.c 				 u64 *attrs, const struct nlattr **a,
attrs            1148 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_DP_HASH)) {
attrs            1152 net/openvswitch/flow_netlink.c 		*attrs &= ~(1 << OVS_KEY_ATTR_DP_HASH);
attrs            1155 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_RECIRC_ID)) {
attrs            1159 net/openvswitch/flow_netlink.c 		*attrs &= ~(1 << OVS_KEY_ATTR_RECIRC_ID);
attrs            1162 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_PRIORITY)) {
attrs            1165 net/openvswitch/flow_netlink.c 		*attrs &= ~(1 << OVS_KEY_ATTR_PRIORITY);
attrs            1168 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_IN_PORT)) {
attrs            1180 net/openvswitch/flow_netlink.c 		*attrs &= ~(1 << OVS_KEY_ATTR_IN_PORT);
attrs            1185 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_SKB_MARK)) {
attrs            1189 net/openvswitch/flow_netlink.c 		*attrs &= ~(1 << OVS_KEY_ATTR_SKB_MARK);
attrs            1191 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_TUNNEL)) {
attrs            1195 net/openvswitch/flow_netlink.c 		*attrs &= ~(1 << OVS_KEY_ATTR_TUNNEL);
attrs            1198 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_CT_STATE) &&
attrs            1209 net/openvswitch/flow_netlink.c 		*attrs &= ~(1ULL << OVS_KEY_ATTR_CT_STATE);
attrs            1211 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_CT_ZONE) &&
attrs            1216 net/openvswitch/flow_netlink.c 		*attrs &= ~(1ULL << OVS_KEY_ATTR_CT_ZONE);
attrs            1218 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_CT_MARK) &&
attrs            1223 net/openvswitch/flow_netlink.c 		*attrs &= ~(1ULL << OVS_KEY_ATTR_CT_MARK);
attrs            1225 net/openvswitch/flow_netlink.c 	if (*attrs & (1 << OVS_KEY_ATTR_CT_LABELS) &&
attrs            1232 net/openvswitch/flow_netlink.c 		*attrs &= ~(1ULL << OVS_KEY_ATTR_CT_LABELS);
attrs            1234 net/openvswitch/flow_netlink.c 	if (*attrs & (1ULL << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4)) {
attrs            1244 net/openvswitch/flow_netlink.c 		*attrs &= ~(1ULL << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4);
attrs            1246 net/openvswitch/flow_netlink.c 	if (*attrs & (1ULL << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6)) {
attrs            1260 net/openvswitch/flow_netlink.c 		*attrs &= ~(1ULL << OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6);
attrs            1266 net/openvswitch/flow_netlink.c 	if (!(*attrs & (1ULL << OVS_KEY_ATTR_ETHERNET)) &&
attrs            1267 net/openvswitch/flow_netlink.c 	    (*attrs & (1ULL << OVS_KEY_ATTR_ETHERTYPE)))
attrs            1274 net/openvswitch/flow_netlink.c 		return parse_eth_type_from_nlattrs(match, attrs, a, is_mask,
attrs            1496 net/openvswitch/flow_netlink.c 				u64 attrs, const struct nlattr **a,
attrs            1501 net/openvswitch/flow_netlink.c 	err = metadata_from_nlattrs(net, match, &attrs, a, is_mask, log);
attrs            1505 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_ETHERNET)) {
attrs            1513 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_ETHERNET);
attrs            1515 net/openvswitch/flow_netlink.c 		if (attrs & (1 << OVS_KEY_ATTR_VLAN)) {
attrs            1523 net/openvswitch/flow_netlink.c 		if (attrs & (1 << OVS_KEY_ATTR_ETHERTYPE)) {
attrs            1524 net/openvswitch/flow_netlink.c 			err = parse_eth_type_from_nlattrs(match, &attrs, a, is_mask,
attrs            1536 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_IPV4)) {
attrs            1557 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_IPV4);
attrs            1560 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_IPV6)) {
attrs            1595 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_IPV6);
attrs            1598 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_ARP)) {
attrs            1619 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_ARP);
attrs            1622 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_NSH)) {
attrs            1626 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_NSH);
attrs            1629 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_MPLS)) {
attrs            1636 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_MPLS);
attrs            1639 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_TCP)) {
attrs            1645 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_TCP);
attrs            1648 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_TCP_FLAGS)) {
attrs            1652 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_TCP_FLAGS);
attrs            1655 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_UDP)) {
attrs            1661 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_UDP);
attrs            1664 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_SCTP)) {
attrs            1670 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_SCTP);
attrs            1673 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_ICMP)) {
attrs            1681 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_ICMP);
attrs            1684 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_ICMPV6)) {
attrs            1692 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_ICMPV6);
attrs            1695 net/openvswitch/flow_netlink.c 	if (attrs & (1 << OVS_KEY_ATTR_ND)) {
attrs            1707 net/openvswitch/flow_netlink.c 		attrs &= ~(1 << OVS_KEY_ATTR_ND);
attrs            1710 net/openvswitch/flow_netlink.c 	if (attrs != 0) {
attrs            1712 net/openvswitch/flow_netlink.c 			  (unsigned long long)attrs);
attrs            1912 net/openvswitch/flow_netlink.c 			      u64 attrs, struct sw_flow_key *key, bool log)
attrs            1928 net/openvswitch/flow_netlink.c 	return metadata_from_nlattrs(net, &match, &attrs, a, false, log);
attrs            2417 net/openvswitch/flow_netlink.c 	const struct nlattr *attrs[OVS_SAMPLE_ATTR_MAX + 1];
attrs            2423 net/openvswitch/flow_netlink.c 	memset(attrs, 0, sizeof(attrs));
attrs            2426 net/openvswitch/flow_netlink.c 		if (!type || type > OVS_SAMPLE_ATTR_MAX || attrs[type])
attrs            2428 net/openvswitch/flow_netlink.c 		attrs[type] = a;
attrs            2433 net/openvswitch/flow_netlink.c 	probability = attrs[OVS_SAMPLE_ATTR_PROBABILITY];
attrs            2437 net/openvswitch/flow_netlink.c 	actions = attrs[OVS_SAMPLE_ATTR_ACTIONS];
attrs              39 net/openvswitch/flow_netlink.h 			      u64 attrs, struct sw_flow_key *key, bool log);
attrs             270 net/openvswitch/meter.c 	struct nlattr **a = info->attrs;
attrs             339 net/openvswitch/meter.c 	struct nlattr **a = info->attrs;
attrs             392 net/openvswitch/meter.c 	struct nlattr **a = info->attrs;
attrs             149 net/rds/ib.c   	rds_ibdev->max_wrs = device->attrs.max_qp_wr;
attrs             150 net/rds/ib.c   	rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE);
attrs             152 net/rds/ib.c   	has_fr = (device->attrs.device_cap_flags &
attrs             158 net/rds/ib.c   	rds_ibdev->fmr_max_remaps = device->attrs.max_map_per_fmr?: 32;
attrs             159 net/rds/ib.c   	rds_ibdev->max_1m_mrs = device->attrs.max_mr ?
attrs             160 net/rds/ib.c   		min_t(unsigned int, (device->attrs.max_mr / 2),
attrs             163 net/rds/ib.c   	rds_ibdev->max_8k_mrs = device->attrs.max_mr ?
attrs             164 net/rds/ib.c   		min_t(unsigned int, ((device->attrs.max_mr / 2) * RDS_MR_8K_SCALE),
attrs             167 net/rds/ib.c   	rds_ibdev->max_initiator_depth = device->attrs.max_qp_init_rd_atom;
attrs             168 net/rds/ib.c   	rds_ibdev->max_responder_resources = device->attrs.max_qp_rd_atom;
attrs             201 net/rds/ib.c   		 device->attrs.max_fmr, rds_ibdev->max_wrs, rds_ibdev->max_sge,
attrs             427 net/smc/smc_pnet.c 	rc = smc_pnet_fill_entry(net, &pnetelem, info->attrs);
attrs             439 net/smc/smc_pnet.c 	if (!info->attrs[SMC_PNETID_NAME])
attrs             442 net/smc/smc_pnet.c 				(char *)nla_data(info->attrs[SMC_PNETID_NAME]));
attrs             579 net/smc/smc_pnet.c 	if (!info->attrs[SMC_PNETID_NAME])
attrs             587 net/smc/smc_pnet.c 		       nla_data(info->attrs[SMC_PNETID_NAME]), 0);
attrs              61 net/sunrpc/xprtrdma/frwr_ops.c 	struct ib_device_attr *attrs = &device->attrs;
attrs              63 net/sunrpc/xprtrdma/frwr_ops.c 	if (!(attrs->device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS))
attrs              65 net/sunrpc/xprtrdma/frwr_ops.c 	if (attrs->max_fast_reg_page_list_len == 0)
attrs             219 net/sunrpc/xprtrdma/frwr_ops.c 	struct ib_device_attr *attrs = &ia->ri_id->device->attrs;
attrs             223 net/sunrpc/xprtrdma/frwr_ops.c 	if (attrs->device_cap_flags & IB_DEVICE_SG_GAPS_REG)
attrs             230 net/sunrpc/xprtrdma/frwr_ops.c 	if (attrs->max_sge_rd > 1)
attrs             231 net/sunrpc/xprtrdma/frwr_ops.c 		ia->ri_max_frwr_depth = attrs->max_sge_rd;
attrs             233 net/sunrpc/xprtrdma/frwr_ops.c 		ia->ri_max_frwr_depth = attrs->max_fast_reg_page_list_len;
attrs             261 net/sunrpc/xprtrdma/frwr_ops.c 	max_qp_wr = ia->ri_id->device->attrs.max_qp_wr;
attrs             426 net/sunrpc/xprtrdma/svc_rdma_transport.c 	if (newxprt->sc_max_send_sges > dev->attrs.max_send_sge)
attrs             427 net/sunrpc/xprtrdma/svc_rdma_transport.c 		newxprt->sc_max_send_sges = dev->attrs.max_send_sge;
attrs             432 net/sunrpc/xprtrdma/svc_rdma_transport.c 	if (rq_depth > dev->attrs.max_qp_wr) {
attrs             434 net/sunrpc/xprtrdma/svc_rdma_transport.c 			dev->attrs.max_qp_wr);
attrs             435 net/sunrpc/xprtrdma/svc_rdma_transport.c 		rq_depth = dev->attrs.max_qp_wr;
attrs             443 net/sunrpc/xprtrdma/svc_rdma_transport.c 	if (newxprt->sc_sq_depth > dev->attrs.max_qp_wr) {
attrs             445 net/sunrpc/xprtrdma/svc_rdma_transport.c 			dev->attrs.max_qp_wr);
attrs             446 net/sunrpc/xprtrdma/svc_rdma_transport.c 		newxprt->sc_sq_depth = dev->attrs.max_qp_wr;
attrs             495 net/sunrpc/xprtrdma/svc_rdma_transport.c 	if (!(dev->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS))
attrs             519 net/sunrpc/xprtrdma/svc_rdma_transport.c 					   dev->attrs.max_qp_init_rd_atom);
attrs             488 net/sunrpc/xprtrdma/verbs.c 	max_sge = min_t(unsigned int, ia->ri_id->device->attrs.max_send_sge,
attrs             557 net/sunrpc/xprtrdma/verbs.c 		min_t(int, U8_MAX, ia->ri_id->device->attrs.max_qp_rd_atom);
attrs             638 net/tipc/bcast.c int tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[])
attrs             646 net/tipc/bcast.c 	if (!attrs[TIPC_NLA_LINK_PROP])
attrs             649 net/tipc/bcast.c 	err = tipc_nl_parse_link_prop(attrs[TIPC_NLA_LINK_PROP], props);
attrs              98 net/tipc/bcast.h int tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[]);
attrs             746 net/tipc/bearer.c 	struct nlattr *attrs;
attrs             754 net/tipc/bearer.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_BEARER);
attrs             755 net/tipc/bearer.c 	if (!attrs)
attrs             783 net/tipc/bearer.c 	nla_nest_end(msg->skb, attrs);
attrs             791 net/tipc/bearer.c 	nla_nest_cancel(msg->skb, attrs);
attrs             837 net/tipc/bearer.c 	struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
attrs             840 net/tipc/bearer.c 	if (!info->attrs[TIPC_NLA_BEARER])
attrs             843 net/tipc/bearer.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_BEARER_MAX,
attrs             844 net/tipc/bearer.c 					  info->attrs[TIPC_NLA_BEARER],
attrs             849 net/tipc/bearer.c 	if (!attrs[TIPC_NLA_BEARER_NAME])
attrs             851 net/tipc/bearer.c 	name = nla_data(attrs[TIPC_NLA_BEARER_NAME]);
attrs             886 net/tipc/bearer.c 	struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
attrs             889 net/tipc/bearer.c 	if (!info->attrs[TIPC_NLA_BEARER])
attrs             892 net/tipc/bearer.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_BEARER_MAX,
attrs             893 net/tipc/bearer.c 					  info->attrs[TIPC_NLA_BEARER],
attrs             898 net/tipc/bearer.c 	if (!attrs[TIPC_NLA_BEARER_NAME])
attrs             901 net/tipc/bearer.c 	name = nla_data(attrs[TIPC_NLA_BEARER_NAME]);
attrs             927 net/tipc/bearer.c 	struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
attrs             934 net/tipc/bearer.c 	if (!info->attrs[TIPC_NLA_BEARER])
attrs             937 net/tipc/bearer.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_BEARER_MAX,
attrs             938 net/tipc/bearer.c 					  info->attrs[TIPC_NLA_BEARER],
attrs             943 net/tipc/bearer.c 	if (!attrs[TIPC_NLA_BEARER_NAME])
attrs             946 net/tipc/bearer.c 	bearer = nla_data(attrs[TIPC_NLA_BEARER_NAME]);
attrs             948 net/tipc/bearer.c 	if (attrs[TIPC_NLA_BEARER_DOMAIN])
attrs             949 net/tipc/bearer.c 		domain = nla_get_u32(attrs[TIPC_NLA_BEARER_DOMAIN]);
attrs             951 net/tipc/bearer.c 	if (attrs[TIPC_NLA_BEARER_PROP]) {
attrs             954 net/tipc/bearer.c 		err = tipc_nl_parse_link_prop(attrs[TIPC_NLA_BEARER_PROP],
attrs             963 net/tipc/bearer.c 	return tipc_enable_bearer(net, bearer, domain, prio, attrs);
attrs             982 net/tipc/bearer.c 	struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
attrs             985 net/tipc/bearer.c 	if (!info->attrs[TIPC_NLA_BEARER])
attrs             988 net/tipc/bearer.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_BEARER_MAX,
attrs             989 net/tipc/bearer.c 					  info->attrs[TIPC_NLA_BEARER],
attrs             994 net/tipc/bearer.c 	if (!attrs[TIPC_NLA_BEARER_NAME])
attrs             996 net/tipc/bearer.c 	name = nla_data(attrs[TIPC_NLA_BEARER_NAME]);
attrs            1006 net/tipc/bearer.c 	if (attrs[TIPC_NLA_BEARER_UDP_OPTS]) {
attrs            1008 net/tipc/bearer.c 					     attrs[TIPC_NLA_BEARER_UDP_OPTS]);
attrs            1023 net/tipc/bearer.c 	struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
attrs            1028 net/tipc/bearer.c 	if (!info->attrs[TIPC_NLA_BEARER])
attrs            1031 net/tipc/bearer.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_BEARER_MAX,
attrs            1032 net/tipc/bearer.c 					  info->attrs[TIPC_NLA_BEARER],
attrs            1037 net/tipc/bearer.c 	if (!attrs[TIPC_NLA_BEARER_NAME])
attrs            1039 net/tipc/bearer.c 	name = nla_data(attrs[TIPC_NLA_BEARER_NAME]);
attrs            1045 net/tipc/bearer.c 	if (attrs[TIPC_NLA_BEARER_PROP]) {
attrs            1048 net/tipc/bearer.c 		err = tipc_nl_parse_link_prop(attrs[TIPC_NLA_BEARER_PROP],
attrs            1092 net/tipc/bearer.c 	struct nlattr *attrs;
attrs            1100 net/tipc/bearer.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_MEDIA);
attrs            1101 net/tipc/bearer.c 	if (!attrs)
attrs            1121 net/tipc/bearer.c 	nla_nest_end(msg->skb, attrs);
attrs            1129 net/tipc/bearer.c 	nla_nest_cancel(msg->skb, attrs);
attrs            1169 net/tipc/bearer.c 	struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
attrs            1171 net/tipc/bearer.c 	if (!info->attrs[TIPC_NLA_MEDIA])
attrs            1174 net/tipc/bearer.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_MEDIA_MAX,
attrs            1175 net/tipc/bearer.c 					  info->attrs[TIPC_NLA_MEDIA],
attrs            1180 net/tipc/bearer.c 	if (!attrs[TIPC_NLA_MEDIA_NAME])
attrs            1182 net/tipc/bearer.c 	name = nla_data(attrs[TIPC_NLA_MEDIA_NAME]);
attrs            1217 net/tipc/bearer.c 	struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1];
attrs            1219 net/tipc/bearer.c 	if (!info->attrs[TIPC_NLA_MEDIA])
attrs            1222 net/tipc/bearer.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_MEDIA_MAX,
attrs            1223 net/tipc/bearer.c 					  info->attrs[TIPC_NLA_MEDIA],
attrs            1226 net/tipc/bearer.c 	if (!attrs[TIPC_NLA_MEDIA_NAME])
attrs            1228 net/tipc/bearer.c 	name = nla_data(attrs[TIPC_NLA_MEDIA_NAME]);
attrs            1234 net/tipc/bearer.c 	if (attrs[TIPC_NLA_MEDIA_PROP]) {
attrs            1237 net/tipc/bearer.c 		err = tipc_nl_parse_link_prop(attrs[TIPC_NLA_MEDIA_PROP],
attrs             212 net/tipc/bearer.h 			 struct nlattr *attrs[]);
attrs            2438 net/tipc/link.c 	struct nlattr *attrs;
attrs            2448 net/tipc/link.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_LINK);
attrs            2449 net/tipc/link.c 	if (!attrs)
attrs            2488 net/tipc/link.c 	nla_nest_end(msg->skb, attrs);
attrs            2496 net/tipc/link.c 	nla_nest_cancel(msg->skb, attrs);
attrs            2558 net/tipc/link.c 	struct nlattr *attrs;
attrs            2577 net/tipc/link.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_LINK);
attrs            2578 net/tipc/link.c 	if (!attrs)
attrs            2612 net/tipc/link.c 	nla_nest_end(msg->skb, attrs);
attrs            2620 net/tipc/link.c 	nla_nest_cancel(msg->skb, attrs);
attrs             706 net/tipc/monitor.c 	struct nlattr *attrs;
attrs             714 net/tipc/monitor.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_MON_PEER);
attrs             715 net/tipc/monitor.c 	if (!attrs)
attrs             744 net/tipc/monitor.c 	nla_nest_end(msg->skb, attrs);
attrs             749 net/tipc/monitor.c 	nla_nest_cancel(msg->skb, attrs);
attrs             790 net/tipc/monitor.c 	struct nlattr *attrs;
attrs             803 net/tipc/monitor.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_MON);
attrs             804 net/tipc/monitor.c 	if (!attrs)
attrs             821 net/tipc/monitor.c 	nla_nest_end(msg->skb, attrs);
attrs             828 net/tipc/monitor.c 	nla_nest_cancel(msg->skb, attrs);
attrs             807 net/tipc/name_table.c 	struct nlattr *attrs;
attrs             832 net/tipc/name_table.c 		attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NAME_TABLE);
attrs             833 net/tipc/name_table.c 		if (!attrs)
attrs             856 net/tipc/name_table.c 		nla_nest_end(msg->skb, attrs);
attrs             866 net/tipc/name_table.c 	nla_nest_cancel(msg->skb, attrs);
attrs             184 net/tipc/net.c 	struct nlattr *attrs;
attrs             192 net/tipc/net.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NET);
attrs             193 net/tipc/net.c 	if (!attrs)
attrs             202 net/tipc/net.c 	nla_nest_end(msg->skb, attrs);
attrs             208 net/tipc/net.c 	nla_nest_cancel(msg->skb, attrs);
attrs             242 net/tipc/net.c 	struct nlattr *attrs[TIPC_NLA_NET_MAX + 1];
attrs             247 net/tipc/net.c 	if (!info->attrs[TIPC_NLA_NET])
attrs             250 net/tipc/net.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_NET_MAX,
attrs             251 net/tipc/net.c 					  info->attrs[TIPC_NLA_NET],
attrs             261 net/tipc/net.c 	if (attrs[TIPC_NLA_NET_ID]) {
attrs             264 net/tipc/net.c 		val = nla_get_u32(attrs[TIPC_NLA_NET_ID]);
attrs             271 net/tipc/net.c 	if (attrs[TIPC_NLA_NET_ADDR]) {
attrs             274 net/tipc/net.c 		addr = nla_get_u32(attrs[TIPC_NLA_NET_ADDR]);
attrs             281 net/tipc/net.c 	if (attrs[TIPC_NLA_NET_NODEID]) {
attrs             286 net/tipc/net.c 		if (!attrs[TIPC_NLA_NET_NODEID_W1])
attrs             288 net/tipc/net.c 		*w0 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID]);
attrs             289 net/tipc/net.c 		*w1 = nla_get_u64(attrs[TIPC_NLA_NET_NODEID_W1]);
attrs              68 net/tipc/netlink_compat.c 	int (*format)(struct tipc_nl_compat_msg *msg, struct nlattr **attrs);
attrs             210 net/tipc/netlink_compat.c 			struct nlattr **attrs;
attrs             212 net/tipc/netlink_compat.c 			err = tipc_nlmsg_parse(nlmsg, &attrs);
attrs             216 net/tipc/netlink_compat.c 			err = (*cmd->format)(msg, attrs);
attrs             326 net/tipc/netlink_compat.c 	info.attrs = attrbuf;
attrs             376 net/tipc/netlink_compat.c 				      struct nlattr **attrs)
attrs             381 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_BEARER])
attrs             385 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_BEARER], NULL, NULL);
attrs             512 net/tipc/netlink_compat.c 					 struct nlattr **attrs)
attrs             521 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_LINK])
attrs             525 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_LINK], NULL, NULL);
attrs             652 net/tipc/netlink_compat.c 				    struct nlattr **attrs)
attrs             658 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_LINK])
attrs             662 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_LINK], NULL, NULL);
attrs             865 net/tipc/netlink_compat.c 					  struct nlattr **attrs)
attrs             876 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_NAME_TABLE])
attrs             880 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_NAME_TABLE], NULL,
attrs             940 net/tipc/netlink_compat.c 				      struct nlattr **attrs)
attrs             946 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_PUBL])
attrs             950 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_PUBL], NULL, NULL);
attrs            1010 net/tipc/netlink_compat.c 				  struct nlattr **attrs)
attrs            1016 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_SOCK])
attrs            1020 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_SOCK], NULL, NULL);
attrs            1064 net/tipc/netlink_compat.c 				     struct nlattr **attrs)
attrs            1069 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_MEDIA])
attrs            1073 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_MEDIA], NULL, NULL);
attrs            1083 net/tipc/netlink_compat.c 				    struct nlattr **attrs)
attrs            1089 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_NODE])
attrs            1093 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_NODE], NULL, NULL);
attrs            1130 net/tipc/netlink_compat.c 				   struct nlattr **attrs)
attrs            1136 net/tipc/netlink_compat.c 	if (!attrs[TIPC_NLA_NET])
attrs            1140 net/tipc/netlink_compat.c 					  attrs[TIPC_NLA_NET], NULL, NULL);
attrs            1397 net/tipc/node.c 	struct nlattr *attrs;
attrs            1404 net/tipc/node.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NODE);
attrs            1405 net/tipc/node.c 	if (!attrs)
attrs            1414 net/tipc/node.c 	nla_nest_end(msg->skb, attrs);
attrs            1420 net/tipc/node.c 	nla_nest_cancel(msg->skb, attrs);
attrs            1928 net/tipc/node.c 	struct nlattr *attrs[TIPC_NLA_NET_MAX + 1];
attrs            1934 net/tipc/node.c 	if (!info->attrs[TIPC_NLA_NET])
attrs            1937 net/tipc/node.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_NET_MAX,
attrs            1938 net/tipc/node.c 					  info->attrs[TIPC_NLA_NET],
attrs            1943 net/tipc/node.c 	if (!attrs[TIPC_NLA_NET_ADDR])
attrs            1946 net/tipc/node.c 	addr = nla_get_u32(attrs[TIPC_NLA_NET_ADDR]);
attrs            2087 net/tipc/node.c 	struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1];
attrs            2092 net/tipc/node.c 	if (!info->attrs[TIPC_NLA_LINK])
attrs            2095 net/tipc/node.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_LINK_MAX,
attrs            2096 net/tipc/node.c 					  info->attrs[TIPC_NLA_LINK],
attrs            2101 net/tipc/node.c 	if (!attrs[TIPC_NLA_LINK_NAME])
attrs            2104 net/tipc/node.c 	name = nla_data(attrs[TIPC_NLA_LINK_NAME]);
attrs            2107 net/tipc/node.c 		return tipc_nl_bc_link_set(net, attrs);
attrs            2121 net/tipc/node.c 	if (attrs[TIPC_NLA_LINK_PROP]) {
attrs            2124 net/tipc/node.c 		err = tipc_nl_parse_link_prop(attrs[TIPC_NLA_LINK_PROP],
attrs            2160 net/tipc/node.c 	struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1];
attrs            2168 net/tipc/node.c 	if (!info->attrs[TIPC_NLA_LINK])
attrs            2171 net/tipc/node.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_LINK_MAX,
attrs            2172 net/tipc/node.c 					  info->attrs[TIPC_NLA_LINK],
attrs            2177 net/tipc/node.c 	if (!attrs[TIPC_NLA_LINK_NAME])
attrs            2180 net/tipc/node.c 	name = nla_data(attrs[TIPC_NLA_LINK_NAME]);
attrs            2229 net/tipc/node.c 	struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1];
attrs            2233 net/tipc/node.c 	if (!info->attrs[TIPC_NLA_LINK])
attrs            2236 net/tipc/node.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_LINK_MAX,
attrs            2237 net/tipc/node.c 					  info->attrs[TIPC_NLA_LINK],
attrs            2242 net/tipc/node.c 	if (!attrs[TIPC_NLA_LINK_NAME])
attrs            2245 net/tipc/node.c 	link_name = nla_data(attrs[TIPC_NLA_LINK_NAME]);
attrs            2369 net/tipc/node.c 	struct nlattr *attrs[TIPC_NLA_MON_MAX + 1];
attrs            2373 net/tipc/node.c 	if (!info->attrs[TIPC_NLA_MON])
attrs            2376 net/tipc/node.c 	err = nla_parse_nested_deprecated(attrs, TIPC_NLA_MON_MAX,
attrs            2377 net/tipc/node.c 					  info->attrs[TIPC_NLA_MON],
attrs            2383 net/tipc/node.c 	if (attrs[TIPC_NLA_MON_ACTIVATION_THRESHOLD]) {
attrs            2386 net/tipc/node.c 		val = nla_get_u32(attrs[TIPC_NLA_MON_ACTIVATION_THRESHOLD]);
attrs            2397 net/tipc/node.c 	struct nlattr *attrs;
attrs            2406 net/tipc/node.c 	attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_MON);
attrs            2407 net/tipc/node.c 	if (!attrs)
attrs            2415 net/tipc/node.c 	nla_nest_end(msg->skb, attrs);
attrs            2421 net/tipc/node.c 	nla_nest_cancel(msg->skb, attrs);
attrs            2487 net/tipc/node.c 		struct nlattr **attrs;
attrs            2490 net/tipc/node.c 		err = tipc_nlmsg_parse(cb->nlh, &attrs);
attrs            2494 net/tipc/node.c 		if (!attrs[TIPC_NLA_MON])
attrs            2498 net/tipc/node.c 						  attrs[TIPC_NLA_MON],
attrs            3333 net/tipc/socket.c 	struct nlattr *attrs;
attrs            3341 net/tipc/socket.c 	attrs = nla_nest_start_noflag(skb, TIPC_NLA_SOCK);
attrs            3342 net/tipc/socket.c 	if (!attrs)
attrs            3348 net/tipc/socket.c 	nla_nest_end(skb, attrs);
attrs            3354 net/tipc/socket.c 	nla_nest_cancel(skb, attrs);
attrs            3439 net/tipc/socket.c 	struct nlattr *attrs;
attrs            3446 net/tipc/socket.c 	attrs = nla_nest_start_noflag(skb, TIPC_NLA_SOCK);
attrs            3447 net/tipc/socket.c 	if (!attrs)
attrs            3490 net/tipc/socket.c 	nla_nest_end(skb, attrs);
attrs            3497 net/tipc/socket.c 	nla_nest_cancel(skb, attrs);
attrs            3514 net/tipc/socket.c 	struct nlattr *attrs;
attrs            3521 net/tipc/socket.c 	attrs = nla_nest_start_noflag(skb, TIPC_NLA_PUBL);
attrs            3522 net/tipc/socket.c 	if (!attrs)
attrs            3534 net/tipc/socket.c 	nla_nest_end(skb, attrs);
attrs            3540 net/tipc/socket.c 	nla_nest_cancel(skb, attrs);
attrs            3598 net/tipc/socket.c 		struct nlattr **attrs;
attrs            3601 net/tipc/socket.c 		err = tipc_nlmsg_parse(cb->nlh, &attrs);
attrs            3605 net/tipc/socket.c 		if (!attrs[TIPC_NLA_SOCK])
attrs            3609 net/tipc/socket.c 						  attrs[TIPC_NLA_SOCK],
attrs             460 net/tipc/udp_media.c 		struct nlattr **attrs;
attrs             463 net/tipc/udp_media.c 		err = tipc_nlmsg_parse(cb->nlh, &attrs);
attrs             467 net/tipc/udp_media.c 		if (!attrs[TIPC_NLA_BEARER])
attrs             471 net/tipc/udp_media.c 						  attrs[TIPC_NLA_BEARER],
attrs             656 net/tipc/udp_media.c 			   struct nlattr *attrs[])
attrs             674 net/tipc/udp_media.c 	if (!attrs[TIPC_NLA_BEARER_UDP_OPTS])
attrs             677 net/tipc/udp_media.c 	if (nla_parse_nested_deprecated(opts, TIPC_NLA_UDP_MAX, attrs[TIPC_NLA_BEARER_UDP_OPTS], tipc_nl_udp_policy, NULL))
attrs             330 net/wimax/op-msg.c 	if (info->attrs[WIMAX_GNL_MSG_IFIDX] == NULL) {
attrs             334 net/wimax/op-msg.c 	ifindex = nla_get_u32(info->attrs[WIMAX_GNL_MSG_IFIDX]);
attrs             342 net/wimax/op-msg.c 	if (info->attrs[WIMAX_GNL_MSG_DATA] == NULL) {
attrs             347 net/wimax/op-msg.c 	msg_buf = nla_data(info->attrs[WIMAX_GNL_MSG_DATA]);
attrs             348 net/wimax/op-msg.c 	msg_len = nla_len(info->attrs[WIMAX_GNL_MSG_DATA]);
attrs             350 net/wimax/op-msg.c 	if (info->attrs[WIMAX_GNL_MSG_PIPE_NAME] == NULL)
attrs             353 net/wimax/op-msg.c 		struct nlattr *attr = info->attrs[WIMAX_GNL_MSG_PIPE_NAME];
attrs              94 net/wimax/op-reset.c 	if (info->attrs[WIMAX_GNL_RESET_IFIDX] == NULL) {
attrs              98 net/wimax/op-reset.c 	ifindex = nla_get_u32(info->attrs[WIMAX_GNL_RESET_IFIDX]);
attrs             407 net/wimax/op-rfkill.c 	if (info->attrs[WIMAX_GNL_RFKILL_IFIDX] == NULL) {
attrs             411 net/wimax/op-rfkill.c 	ifindex = nla_get_u32(info->attrs[WIMAX_GNL_RFKILL_IFIDX]);
attrs             417 net/wimax/op-rfkill.c 	if (info->attrs[WIMAX_GNL_RFKILL_STATE] == NULL) {
attrs             422 net/wimax/op-rfkill.c 	new_state = nla_get_u32(info->attrs[WIMAX_GNL_RFKILL_STATE]);
attrs              38 net/wimax/op-state-get.c 	if (info->attrs[WIMAX_GNL_STGET_IFIDX] == NULL) {
attrs              42 net/wimax/op-state-get.c 	ifindex = nla_get_u32(info->attrs[WIMAX_GNL_STGET_IFIDX]);
attrs              66 net/wireless/nl80211.c __cfg80211_wdev_from_attrs(struct net *netns, struct nlattr **attrs)
attrs              70 net/wireless/nl80211.c 	bool have_ifidx = attrs[NL80211_ATTR_IFINDEX];
attrs              71 net/wireless/nl80211.c 	bool have_wdev_id = attrs[NL80211_ATTR_WDEV];
attrs              82 net/wireless/nl80211.c 		ifidx = nla_get_u32(attrs[NL80211_ATTR_IFINDEX]);
attrs              84 net/wireless/nl80211.c 		wdev_id = nla_get_u64(attrs[NL80211_ATTR_WDEV]);
attrs             119 net/wireless/nl80211.c __cfg80211_rdev_from_attrs(struct net *netns, struct nlattr **attrs)
attrs             126 net/wireless/nl80211.c 	if (!attrs[NL80211_ATTR_WIPHY] &&
attrs             127 net/wireless/nl80211.c 	    !attrs[NL80211_ATTR_IFINDEX] &&
attrs             128 net/wireless/nl80211.c 	    !attrs[NL80211_ATTR_WDEV])
attrs             131 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_WIPHY])
attrs             133 net/wireless/nl80211.c 				nla_get_u32(attrs[NL80211_ATTR_WIPHY]));
attrs             135 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_WDEV]) {
attrs             136 net/wireless/nl80211.c 		u64 wdev_id = nla_get_u64(attrs[NL80211_ATTR_WDEV]);
attrs             159 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_IFINDEX]) {
attrs             160 net/wireless/nl80211.c 		int ifindex = nla_get_u32(attrs[NL80211_ATTR_IFINDEX]);
attrs             201 net/wireless/nl80211.c 	return __cfg80211_rdev_from_attrs(netns, info->attrs);
attrs            1097 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_DATA]) {
attrs            1098 net/wireless/nl80211.c 		k->p.key = nla_data(info->attrs[NL80211_ATTR_KEY_DATA]);
attrs            1099 net/wireless/nl80211.c 		k->p.key_len = nla_len(info->attrs[NL80211_ATTR_KEY_DATA]);
attrs            1102 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_SEQ]) {
attrs            1103 net/wireless/nl80211.c 		k->p.seq = nla_data(info->attrs[NL80211_ATTR_KEY_SEQ]);
attrs            1104 net/wireless/nl80211.c 		k->p.seq_len = nla_len(info->attrs[NL80211_ATTR_KEY_SEQ]);
attrs            1107 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_IDX])
attrs            1108 net/wireless/nl80211.c 		k->idx = nla_get_u8(info->attrs[NL80211_ATTR_KEY_IDX]);
attrs            1110 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_CIPHER])
attrs            1111 net/wireless/nl80211.c 		k->p.cipher = nla_get_u32(info->attrs[NL80211_ATTR_KEY_CIPHER]);
attrs            1113 net/wireless/nl80211.c 	k->def = !!info->attrs[NL80211_ATTR_KEY_DEFAULT];
attrs            1114 net/wireless/nl80211.c 	k->defmgmt = !!info->attrs[NL80211_ATTR_KEY_DEFAULT_MGMT];
attrs            1123 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_TYPE])
attrs            1124 net/wireless/nl80211.c 		k->type = nla_get_u32(info->attrs[NL80211_ATTR_KEY_TYPE]);
attrs            1126 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_DEFAULT_TYPES]) {
attrs            1130 net/wireless/nl80211.c 						      info->attrs[NL80211_ATTR_KEY_DEFAULT_TYPES],
attrs            1151 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY])
attrs            1152 net/wireless/nl80211.c 		err = nl80211_parse_key_new(info, info->attrs[NL80211_ATTR_KEY], k);
attrs            1198 net/wireless/nl80211.c 	struct nlattr *keys = info->attrs[NL80211_ATTR_KEYS];
attrs            2668 net/wireless/nl80211.c 	struct nlattr **attrs = info->attrs;
attrs            2671 net/wireless/nl80211.c 	if (!attrs[NL80211_ATTR_WIPHY_FREQ])
attrs            2674 net/wireless/nl80211.c 	control_freq = nla_get_u32(attrs[NL80211_ATTR_WIPHY_FREQ]);
attrs            2685 net/wireless/nl80211.c 		NL_SET_ERR_MSG_ATTR(extack, attrs[NL80211_ATTR_WIPHY_FREQ],
attrs            2690 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_WIPHY_CHANNEL_TYPE]) {
attrs            2693 net/wireless/nl80211.c 		chantype = nla_get_u32(attrs[NL80211_ATTR_WIPHY_CHANNEL_TYPE]);
attrs            2703 net/wireless/nl80211.c 			if (attrs[NL80211_ATTR_CENTER_FREQ1] &&
attrs            2704 net/wireless/nl80211.c 			    chandef->center_freq1 != nla_get_u32(attrs[NL80211_ATTR_CENTER_FREQ1])) {
attrs            2706 net/wireless/nl80211.c 						    attrs[NL80211_ATTR_CENTER_FREQ1],
attrs            2711 net/wireless/nl80211.c 			if (attrs[NL80211_ATTR_CENTER_FREQ2] &&
attrs            2712 net/wireless/nl80211.c 			    nla_get_u32(attrs[NL80211_ATTR_CENTER_FREQ2])) {
attrs            2714 net/wireless/nl80211.c 						    attrs[NL80211_ATTR_CENTER_FREQ2],
attrs            2721 net/wireless/nl80211.c 					    attrs[NL80211_ATTR_WIPHY_CHANNEL_TYPE],
attrs            2725 net/wireless/nl80211.c 	} else if (attrs[NL80211_ATTR_CHANNEL_WIDTH]) {
attrs            2727 net/wireless/nl80211.c 			nla_get_u32(attrs[NL80211_ATTR_CHANNEL_WIDTH]);
attrs            2728 net/wireless/nl80211.c 		if (attrs[NL80211_ATTR_CENTER_FREQ1])
attrs            2730 net/wireless/nl80211.c 				nla_get_u32(attrs[NL80211_ATTR_CENTER_FREQ1]);
attrs            2731 net/wireless/nl80211.c 		if (attrs[NL80211_ATTR_CENTER_FREQ2])
attrs            2733 net/wireless/nl80211.c 				nla_get_u32(attrs[NL80211_ATTR_CENTER_FREQ2]);
attrs            2736 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_EDMG_CHANNELS]) {
attrs            2738 net/wireless/nl80211.c 		      nla_get_u8(info->attrs[NL80211_ATTR_WIPHY_EDMG_CHANNELS]);
attrs            2740 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_WIPHY_EDMG_BW_CONFIG])
attrs            2742 net/wireless/nl80211.c 		     nla_get_u8(info->attrs[NL80211_ATTR_WIPHY_EDMG_BW_CONFIG]);
attrs            2845 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            2857 net/wireless/nl80211.c 	bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            2886 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IFINDEX]) {
attrs            2887 net/wireless/nl80211.c 		int ifindex = nla_get_u32(info->attrs[NL80211_ATTR_IFINDEX]);
attrs            2898 net/wireless/nl80211.c 						  info->attrs);
attrs            2912 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_NAME])
attrs            2914 net/wireless/nl80211.c 			rdev, nla_data(info->attrs[NL80211_ATTR_WIPHY_NAME]));
attrs            2919 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS]) {
attrs            2937 net/wireless/nl80211.c 				    info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS],
attrs            2957 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_FREQ]) {
attrs            2966 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_TX_POWER_SETTING]) {
attrs            2978 net/wireless/nl80211.c 		type = nla_get_u32(info->attrs[idx]);
attrs            2980 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_WIPHY_TX_POWER_LEVEL] &&
attrs            2986 net/wireless/nl80211.c 			mbm = nla_get_u32(info->attrs[idx]);
attrs            2994 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_ANTENNA_TX] &&
attrs            2995 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_WIPHY_ANTENNA_RX]) {
attrs            3003 net/wireless/nl80211.c 		tx_ant = nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_ANTENNA_TX]);
attrs            3004 net/wireless/nl80211.c 		rx_ant = nla_get_u32(info->attrs[NL80211_ATTR_WIPHY_ANTENNA_RX]);
attrs            3022 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_RETRY_SHORT]) {
attrs            3024 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_WIPHY_RETRY_SHORT]);
attrs            3029 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_RETRY_LONG]) {
attrs            3031 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_WIPHY_RETRY_LONG]);
attrs            3036 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_FRAG_THRESHOLD]) {
attrs            3038 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_WIPHY_FRAG_THRESHOLD]);
attrs            3054 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_RTS_THRESHOLD]) {
attrs            3056 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_WIPHY_RTS_THRESHOLD]);
attrs            3060 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_COVERAGE_CLASS]) {
attrs            3061 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_WIPHY_DYN_ACK])
attrs            3065 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_WIPHY_COVERAGE_CLASS]);
attrs            3069 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_DYN_ACK]) {
attrs            3076 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_TXQ_LIMIT]) {
attrs            3081 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_TXQ_LIMIT]);
attrs            3085 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_TXQ_MEMORY_LIMIT]) {
attrs            3090 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_TXQ_MEMORY_LIMIT]);
attrs            3094 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_TXQ_QUANTUM]) {
attrs            3099 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_TXQ_QUANTUM]);
attrs            3420 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MNTR_FLAGS]) {
attrs            3424 net/wireless/nl80211.c 		err = parse_monitor_flags(info->attrs[NL80211_ATTR_MNTR_FLAGS],
attrs            3436 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MU_MIMO_GROUP_DATA]) {
attrs            3447 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_MU_MIMO_GROUP_DATA]);
attrs            3458 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR]) {
attrs            3468 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR]);
attrs            3514 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IFTYPE]) {
attrs            3515 net/wireless/nl80211.c 		ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]);
attrs            3520 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MESH_ID]) {
attrs            3532 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_MESH_ID]);
attrs            3533 net/wireless/nl80211.c 		memcpy(wdev->ssid, nla_data(info->attrs[NL80211_ATTR_MESH_ID]),
attrs            3538 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_4ADDR]) {
attrs            3539 net/wireless/nl80211.c 		params.use_4addr = !!nla_get_u8(info->attrs[NL80211_ATTR_4ADDR]);
attrs            3585 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_IFNAME])
attrs            3588 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IFTYPE])
attrs            3589 net/wireless/nl80211.c 		type = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]);
attrs            3596 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_MAC]) {
attrs            3597 net/wireless/nl80211.c 		nla_memcpy(params.macaddr, info->attrs[NL80211_ATTR_MAC],
attrs            3603 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_4ADDR]) {
attrs            3604 net/wireless/nl80211.c 		params.use_4addr = !!nla_get_u8(info->attrs[NL80211_ATTR_4ADDR]);
attrs            3622 net/wireless/nl80211.c 				nla_data(info->attrs[NL80211_ATTR_IFNAME]),
attrs            3632 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SOCKET_OWNER])
attrs            3637 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_MESH_ID])
attrs            3643 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_MESH_ID]);
attrs            3644 net/wireless/nl80211.c 		memcpy(wdev->ssid, nla_data(info->attrs[NL80211_ATTR_MESH_ID]),
attrs            3696 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_NOACK_MAP])
attrs            3702 net/wireless/nl80211.c 	noack_map = nla_get_u16(info->attrs[NL80211_ATTR_NOACK_MAP]);
attrs            3768 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_IDX])
attrs            3769 net/wireless/nl80211.c 		key_idx = nla_get_u8(info->attrs[NL80211_ATTR_KEY_IDX]);
attrs            3771 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC])
attrs            3772 net/wireless/nl80211.c 		mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            3775 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_KEY_TYPE]) {
attrs            3776 net/wireless/nl80211.c 		u32 kt = nla_get_u32(info->attrs[NL80211_ATTR_KEY_TYPE]);
attrs            3897 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_MAC])
attrs            3898 net/wireless/nl80211.c 			mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            3932 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC])
attrs            3933 net/wireless/nl80211.c 		mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            3978 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC])
attrs            3979 net/wireless/nl80211.c 		mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            4053 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_ACL_POLICY])
attrs            4056 net/wireless/nl80211.c 	acl_policy = nla_get_u32(info->attrs[NL80211_ATTR_ACL_POLICY]);
attrs            4061 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC_ADDRS])
attrs            4064 net/wireless/nl80211.c 	n_entries = validate_acl_mac_addrs(info->attrs[NL80211_ATTR_MAC_ADDRS]);
attrs            4075 net/wireless/nl80211.c 	nla_for_each_nested(attr, info->attrs[NL80211_ATTR_MAC_ADDRS], tmp) {
attrs            4268 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_TX_RATES])
attrs            4275 net/wireless/nl80211.c 	nla_for_each_nested(tx_rates, info->attrs[NL80211_ATTR_TX_RATES], rem) {
attrs            4403 net/wireless/nl80211.c 				struct nlattr *attrs[],
attrs            4411 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_BEACON_HEAD]) {
attrs            4412 net/wireless/nl80211.c 		bcn->head = nla_data(attrs[NL80211_ATTR_BEACON_HEAD]);
attrs            4413 net/wireless/nl80211.c 		bcn->head_len = nla_len(attrs[NL80211_ATTR_BEACON_HEAD]);
attrs            4419 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_BEACON_TAIL]) {
attrs            4420 net/wireless/nl80211.c 		bcn->tail = nla_data(attrs[NL80211_ATTR_BEACON_TAIL]);
attrs            4421 net/wireless/nl80211.c 		bcn->tail_len = nla_len(attrs[NL80211_ATTR_BEACON_TAIL]);
attrs            4428 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_IE]) {
attrs            4429 net/wireless/nl80211.c 		bcn->beacon_ies = nla_data(attrs[NL80211_ATTR_IE]);
attrs            4430 net/wireless/nl80211.c 		bcn->beacon_ies_len = nla_len(attrs[NL80211_ATTR_IE]);
attrs            4433 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_IE_PROBE_RESP]) {
attrs            4435 net/wireless/nl80211.c 			nla_data(attrs[NL80211_ATTR_IE_PROBE_RESP]);
attrs            4437 net/wireless/nl80211.c 			nla_len(attrs[NL80211_ATTR_IE_PROBE_RESP]);
attrs            4440 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_IE_ASSOC_RESP]) {
attrs            4442 net/wireless/nl80211.c 			nla_data(attrs[NL80211_ATTR_IE_ASSOC_RESP]);
attrs            4444 net/wireless/nl80211.c 			nla_len(attrs[NL80211_ATTR_IE_ASSOC_RESP]);
attrs            4447 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_PROBE_RESP]) {
attrs            4448 net/wireless/nl80211.c 		bcn->probe_resp = nla_data(attrs[NL80211_ATTR_PROBE_RESP]);
attrs            4449 net/wireless/nl80211.c 		bcn->probe_resp_len = nla_len(attrs[NL80211_ATTR_PROBE_RESP]);
attrs            4452 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_FTM_RESPONDER]) {
attrs            4457 net/wireless/nl80211.c 						  attrs[NL80211_ATTR_FTM_RESPONDER],
attrs            4485 net/wireless/nl80211.c static int nl80211_parse_he_obss_pd(struct nlattr *attrs,
attrs            4491 net/wireless/nl80211.c 	err = nla_parse_nested(tb, NL80211_HE_OBSS_PD_ATTR_MAX, attrs,
attrs            4653 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_BEACON_INTERVAL] ||
attrs            4654 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_DTIM_PERIOD] ||
attrs            4655 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_BEACON_HEAD])
attrs            4658 net/wireless/nl80211.c 	err = nl80211_parse_beacon(rdev, info->attrs, &params.beacon);
attrs            4663 net/wireless/nl80211.c 		nla_get_u32(info->attrs[NL80211_ATTR_BEACON_INTERVAL]);
attrs            4665 net/wireless/nl80211.c 		nla_get_u32(info->attrs[NL80211_ATTR_DTIM_PERIOD]);
attrs            4679 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SSID]) {
attrs            4680 net/wireless/nl80211.c 		params.ssid = nla_data(info->attrs[NL80211_ATTR_SSID]);
attrs            4682 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_SSID]);
attrs            4688 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HIDDEN_SSID])
attrs            4690 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_HIDDEN_SSID]);
attrs            4692 net/wireless/nl80211.c 	params.privacy = !!info->attrs[NL80211_ATTR_PRIVACY];
attrs            4694 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AUTH_TYPE]) {
attrs            4696 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_AUTH_TYPE]);
attrs            4708 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_INACTIVITY_TIMEOUT]) {
attrs            4712 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_INACTIVITY_TIMEOUT]);
attrs            4715 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_P2P_CTWINDOW]) {
attrs            4719 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_P2P_CTWINDOW]);
attrs            4725 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_P2P_OPPPS]) {
attrs            4730 net/wireless/nl80211.c 		tmp = nla_get_u8(info->attrs[NL80211_ATTR_P2P_OPPPS]);
attrs            4737 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_FREQ]) {
attrs            4750 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_TX_RATES]) {
attrs            4761 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SMPS_MODE]) {
attrs            4763 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_SMPS_MODE]);
attrs            4784 net/wireless/nl80211.c 	params.pbss = nla_get_flag(info->attrs[NL80211_ATTR_PBSS]);
attrs            4788 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_ACL_POLICY]) {
attrs            4795 net/wireless/nl80211.c 		    nla_get_flag(info->attrs[NL80211_ATTR_TWT_RESPONDER]);
attrs            4797 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HE_OBSS_PD]) {
attrs            4799 net/wireless/nl80211.c 					info->attrs[NL80211_ATTR_HE_OBSS_PD],
attrs            4806 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_EXTERNAL_AUTH_SUPPORT])
attrs            4818 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_SOCKET_OWNER])
attrs            4847 net/wireless/nl80211.c 	err = nl80211_parse_beacon(rdev, info->attrs, &params);
attrs            4887 net/wireless/nl80211.c 	nla = info->attrs[NL80211_ATTR_STA_FLAGS2];
attrs            4903 net/wireless/nl80211.c 	nla = info->attrs[NL80211_ATTR_STA_FLAGS];
attrs            5341 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            5344 net/wireless/nl80211.c 	mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            5527 net/wireless/nl80211.c 	struct nlattr *vlanattr = info->attrs[NL80211_ATTR_STA_VLAN];
attrs            5575 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_STA_WME])
attrs            5578 net/wireless/nl80211.c 	nla = info->attrs[NL80211_ATTR_STA_WME];
attrs            5605 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_SUPPORTED_CHANNELS]) {
attrs            5607 net/wireless/nl80211.c 		     nla_data(info->attrs[NL80211_ATTR_STA_SUPPORTED_CHANNELS]);
attrs            5609 net/wireless/nl80211.c 		     nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_CHANNELS]);
attrs            5621 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES]) {
attrs            5623 net/wireless/nl80211.c 		 nla_data(info->attrs[NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES]);
attrs            5625 net/wireless/nl80211.c 		  nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_OPER_CLASSES]);
attrs            5642 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PEER_AID])
attrs            5643 net/wireless/nl80211.c 		params->aid = nla_get_u16(info->attrs[NL80211_ATTR_PEER_AID]);
attrs            5644 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY])
attrs            5646 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY]);
attrs            5647 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_VHT_CAPABILITY])
attrs            5649 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_VHT_CAPABILITY]);
attrs            5650 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HE_CAPABILITY]) {
attrs            5652 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_HE_CAPABILITY]);
attrs            5654 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_HE_CAPABILITY]);
attrs            5673 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_TX_POWER_SETTING]) {
attrs            5680 net/wireless/nl80211.c 		params->txpwr.type = nla_get_u8(info->attrs[idx]);
attrs            5685 net/wireless/nl80211.c 			if (info->attrs[idx])
attrs            5687 net/wireless/nl80211.c 					nla_get_s16(info->attrs[idx]);
attrs            5715 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_AID])
attrs            5716 net/wireless/nl80211.c 		params.aid = nla_get_u16(info->attrs[NL80211_ATTR_STA_AID]);
attrs            5718 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_LISTEN_INTERVAL])
attrs            5720 net/wireless/nl80211.c 		     nla_get_u16(info->attrs[NL80211_ATTR_STA_LISTEN_INTERVAL]);
attrs            5724 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_SUPPORT_P2P_PS])
attrs            5726 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_STA_SUPPORT_P2P_PS]);
attrs            5730 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            5733 net/wireless/nl80211.c 	mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            5735 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]) {
attrs            5737 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]);
attrs            5739 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]);
attrs            5742 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_CAPABILITY]) {
attrs            5744 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_STA_CAPABILITY]);
attrs            5748 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]) {
attrs            5750 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]);
attrs            5752 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]);
attrs            5758 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_PLINK_ACTION])
attrs            5760 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_STA_PLINK_ACTION]);
attrs            5762 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_PLINK_STATE]) {
attrs            5764 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_STA_PLINK_STATE]);
attrs            5765 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_MESH_PEER_AID])
attrs            5767 net/wireless/nl80211.c 				info->attrs[NL80211_ATTR_MESH_PEER_AID]);
attrs            5771 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_LOCAL_MESH_POWER_MODE])
attrs            5773 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_LOCAL_MESH_POWER_MODE]);
attrs            5775 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_OPMODE_NOTIF]) {
attrs            5778 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_OPMODE_NOTIF]);
attrs            5781 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AIRTIME_WEIGHT])
attrs            5783 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_AIRTIME_WEIGHT]);
attrs            5842 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            5845 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_STA_LISTEN_INTERVAL])
attrs            5848 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES])
attrs            5851 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_STA_AID] &&
attrs            5852 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_PEER_AID])
attrs            5855 net/wireless/nl80211.c 	mac_addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            5857 net/wireless/nl80211.c 		nla_data(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]);
attrs            5859 net/wireless/nl80211.c 		nla_len(info->attrs[NL80211_ATTR_STA_SUPPORTED_RATES]);
attrs            5861 net/wireless/nl80211.c 		nla_get_u16(info->attrs[NL80211_ATTR_STA_LISTEN_INTERVAL]);
attrs            5863 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_SUPPORT_P2P_PS]) {
attrs            5865 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_STA_SUPPORT_P2P_PS]);
attrs            5875 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PEER_AID])
attrs            5876 net/wireless/nl80211.c 		params.aid = nla_get_u16(info->attrs[NL80211_ATTR_PEER_AID]);
attrs            5878 net/wireless/nl80211.c 		params.aid = nla_get_u16(info->attrs[NL80211_ATTR_STA_AID]);
attrs            5880 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_CAPABILITY]) {
attrs            5882 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_STA_CAPABILITY]);
attrs            5886 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]) {
attrs            5888 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]);
attrs            5890 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_STA_EXT_CAPABILITY]);
attrs            5893 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY])
attrs            5895 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY]);
attrs            5897 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_VHT_CAPABILITY])
attrs            5899 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_VHT_CAPABILITY]);
attrs            5901 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HE_CAPABILITY]) {
attrs            5903 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_HE_CAPABILITY]);
attrs            5905 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_HE_CAPABILITY]);
attrs            5912 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_OPMODE_NOTIF]) {
attrs            5915 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_OPMODE_NOTIF]);
attrs            5918 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_STA_PLINK_ACTION])
attrs            5920 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_STA_PLINK_ACTION]);
attrs            5922 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AIRTIME_WEIGHT])
attrs            5924 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_AIRTIME_WEIGHT]);
attrs            5974 net/wireless/nl80211.c 		    info->attrs[NL80211_ATTR_PEER_AID])
attrs            6014 net/wireless/nl80211.c 		    info->attrs[NL80211_ATTR_PEER_AID])
attrs            6063 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC])
attrs            6064 net/wireless/nl80211.c 		params.mac = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            6075 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MGMT_SUBTYPE]) {
attrs            6077 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_MGMT_SUBTYPE]);
attrs            6086 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_REASON_CODE]) {
attrs            6088 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_REASON_CODE]);
attrs            6222 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            6225 net/wireless/nl80211.c 	dst = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            6257 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            6260 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MPATH_NEXT_HOP])
attrs            6263 net/wireless/nl80211.c 	dst = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            6264 net/wireless/nl80211.c 	next_hop = nla_data(info->attrs[NL80211_ATTR_MPATH_NEXT_HOP]);
attrs            6282 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            6285 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MPATH_NEXT_HOP])
attrs            6288 net/wireless/nl80211.c 	dst = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            6289 net/wireless/nl80211.c 	next_hop = nla_data(info->attrs[NL80211_ATTR_MPATH_NEXT_HOP]);
attrs            6306 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC])
attrs            6307 net/wireless/nl80211.c 		dst = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            6330 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            6333 net/wireless/nl80211.c 	dst = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            6427 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_CTS_PROT])
attrs            6429 net/wireless/nl80211.c 		    nla_get_u8(info->attrs[NL80211_ATTR_BSS_CTS_PROT]);
attrs            6430 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_SHORT_PREAMBLE])
attrs            6432 net/wireless/nl80211.c 		    nla_get_u8(info->attrs[NL80211_ATTR_BSS_SHORT_PREAMBLE]);
attrs            6433 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_SHORT_SLOT_TIME])
attrs            6435 net/wireless/nl80211.c 		    nla_get_u8(info->attrs[NL80211_ATTR_BSS_SHORT_SLOT_TIME]);
attrs            6436 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_BASIC_RATES]) {
attrs            6438 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]);
attrs            6440 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]);
attrs            6442 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AP_ISOLATE])
attrs            6443 net/wireless/nl80211.c 		params.ap_isolate = !!nla_get_u8(info->attrs[NL80211_ATTR_AP_ISOLATE]);
attrs            6444 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_HT_OPMODE])
attrs            6446 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_BSS_HT_OPMODE]);
attrs            6448 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_P2P_CTWINDOW]) {
attrs            6452 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_P2P_CTWINDOW]);
attrs            6458 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_P2P_OPPPS]) {
attrs            6463 net/wireless/nl80211.c 		tmp = nla_get_u8(info->attrs[NL80211_ATTR_P2P_OPPPS]);
attrs            6500 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_USER_REG_HINT_TYPE])
attrs            6502 net/wireless/nl80211.c 		  nla_get_u32(info->attrs[NL80211_ATTR_USER_REG_HINT_TYPE]);
attrs            6509 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_REG_ALPHA2])
attrs            6512 net/wireless/nl80211.c 		data = nla_data(info->attrs[NL80211_ATTR_REG_ALPHA2]);
attrs            6515 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_SOCKET_OWNER]) {
attrs            6517 net/wireless/nl80211.c 			is_indoor = !!info->attrs[NL80211_ATTR_REG_INDOOR];
attrs            6722 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MESH_CONFIG])
attrs            6724 net/wireless/nl80211.c 	if (nla_parse_nested_deprecated(tb, NL80211_MESHCONF_ATTR_MAX, info->attrs[NL80211_ATTR_MESH_CONFIG], nl80211_meshconf_params_policy, info->extack))
attrs            6855 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MESH_SETUP])
attrs            6857 net/wireless/nl80211.c 	if (nla_parse_nested_deprecated(tb, NL80211_MESH_SETUP_ATTR_MAX, info->attrs[NL80211_ATTR_MESH_SETUP], nl80211_mesh_setup_params_policy, info->extack))
attrs            7013 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY]) {
attrs            7203 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_REG_ALPHA2])
attrs            7206 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_REG_RULES])
attrs            7209 net/wireless/nl80211.c 	alpha2 = nla_data(info->attrs[NL80211_ATTR_REG_ALPHA2]);
attrs            7211 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_DFS_REGION])
attrs            7212 net/wireless/nl80211.c 		dfs_region = nla_get_u8(info->attrs[NL80211_ATTR_DFS_REGION]);
attrs            7214 net/wireless/nl80211.c 	nla_for_each_nested(nl_reg_rule, info->attrs[NL80211_ATTR_REG_RULES],
attrs            7239 net/wireless/nl80211.c 	nla_for_each_nested(nl_reg_rule, info->attrs[NL80211_ATTR_REG_RULES],
attrs            7363 net/wireless/nl80211.c int nl80211_parse_random_mac(struct nlattr **attrs,
attrs            7368 net/wireless/nl80211.c 	if (!attrs[NL80211_ATTR_MAC] && !attrs[NL80211_ATTR_MAC_MASK]) {
attrs            7378 net/wireless/nl80211.c 	if (!attrs[NL80211_ATTR_MAC] || !attrs[NL80211_ATTR_MAC_MASK])
attrs            7381 net/wireless/nl80211.c 	memcpy(mac_addr, nla_data(attrs[NL80211_ATTR_MAC]), ETH_ALEN);
attrs            7382 net/wireless/nl80211.c 	memcpy(mac_addr_mask, nla_data(attrs[NL80211_ATTR_MAC_MASK]), ETH_ALEN);
attrs            7425 net/wireless/nl80211.c 			 void *request, struct nlattr **attrs,
attrs            7432 net/wireless/nl80211.c 	if (!attrs[NL80211_ATTR_SCAN_FLAGS])
attrs            7453 net/wireless/nl80211.c 	*flags = nla_get_u32(attrs[NL80211_ATTR_SCAN_FLAGS]);
attrs            7493 net/wireless/nl80211.c 		err = nl80211_parse_random_mac(attrs, mac_addr, mac_addr_mask);
attrs            7524 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SCAN_FREQUENCIES]) {
attrs            7526 net/wireless/nl80211.c 				info->attrs[NL80211_ATTR_SCAN_FREQUENCIES]);
attrs            7535 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SCAN_SSIDS])
attrs            7536 net/wireless/nl80211.c 		nla_for_each_nested(attr, info->attrs[NL80211_ATTR_SCAN_SSIDS], tmp)
attrs            7544 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE])
attrs            7545 net/wireless/nl80211.c 		ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            7574 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SCAN_FREQUENCIES]) {
attrs            7576 net/wireless/nl80211.c 		nla_for_each_nested(attr, info->attrs[NL80211_ATTR_SCAN_FREQUENCIES], tmp) {
attrs            7644 net/wireless/nl80211.c 		nla_for_each_nested(attr, info->attrs[NL80211_ATTR_SCAN_SSIDS], tmp) {
attrs            7655 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            7656 net/wireless/nl80211.c 		request->ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            7658 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_IE]),
attrs            7667 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SCAN_SUPP_RATES]) {
attrs            7669 net/wireless/nl80211.c 				    info->attrs[NL80211_ATTR_SCAN_SUPP_RATES],
attrs            7690 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MEASUREMENT_DURATION]) {
attrs            7698 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_MEASUREMENT_DURATION]);
attrs            7700 net/wireless/nl80211.c 			nla_get_flag(info->attrs[NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY]);
attrs            7703 net/wireless/nl80211.c 	err = nl80211_check_scan_flags(wiphy, wdev, request, info->attrs,
attrs            7709 net/wireless/nl80211.c 		nla_get_flag(info->attrs[NL80211_ATTR_TX_NO_CCK_RATE]);
attrs            7720 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSSID])
attrs            7722 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_BSSID]), ETH_ALEN);
attrs            7724 net/wireless/nl80211.c 		 info->attrs[NL80211_ATTR_MAC])
attrs            7725 net/wireless/nl80211.c 		memcpy(request->bssid, nla_data(info->attrs[NL80211_ATTR_MAC]),
attrs            7772 net/wireless/nl80211.c 			       struct nlattr **attrs)
attrs            7777 net/wireless/nl80211.c 	if (!attrs[NL80211_ATTR_SCHED_SCAN_PLANS]) {
attrs            7786 net/wireless/nl80211.c 		interval = nla_get_u32(attrs[NL80211_ATTR_SCHED_SCAN_INTERVAL]);
attrs            7803 net/wireless/nl80211.c 	nla_for_each_nested(attr, attrs[NL80211_ATTR_SCHED_SCAN_PLANS], tmp) {
attrs            7891 net/wireless/nl80211.c 			 struct nlattr **attrs, int max_match_sets)
attrs            7901 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCAN_FREQUENCIES]) {
attrs            7903 net/wireless/nl80211.c 				attrs[NL80211_ATTR_SCAN_FREQUENCIES]);
attrs            7910 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCAN_SSIDS])
attrs            7911 net/wireless/nl80211.c 		nla_for_each_nested(attr, attrs[NL80211_ATTR_SCAN_SSIDS],
attrs            7927 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCHED_SCAN_MATCH]) {
attrs            7929 net/wireless/nl80211.c 				    attrs[NL80211_ATTR_SCHED_SCAN_MATCH],
attrs            7965 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_IE])
attrs            7966 net/wireless/nl80211.c 		ie_len = nla_len(attrs[NL80211_ATTR_IE]);
attrs            7973 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCHED_SCAN_PLANS]) {
attrs            7978 net/wireless/nl80211.c 		if (attrs[NL80211_ATTR_SCHED_SCAN_INTERVAL])
attrs            7982 net/wireless/nl80211.c 				    attrs[NL80211_ATTR_SCHED_SCAN_PLANS], tmp)
attrs            7991 net/wireless/nl80211.c 		if (!attrs[NL80211_ATTR_SCHED_SCAN_INTERVAL])
attrs            8002 net/wireless/nl80211.c 	    (attrs[NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI] ||
attrs            8003 net/wireless/nl80211.c 	     attrs[NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST]))
attrs            8050 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCAN_FREQUENCIES]) {
attrs            8053 net/wireless/nl80211.c 				    attrs[NL80211_ATTR_SCAN_FREQUENCIES],
attrs            8101 net/wireless/nl80211.c 		nla_for_each_nested(attr, attrs[NL80211_ATTR_SCAN_SSIDS],
attrs            8115 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCHED_SCAN_MATCH]) {
attrs            8117 net/wireless/nl80211.c 				    attrs[NL80211_ATTR_SCHED_SCAN_MATCH],
attrs            8198 net/wireless/nl80211.c 		       nla_data(attrs[NL80211_ATTR_IE]),
attrs            8202 net/wireless/nl80211.c 	err = nl80211_check_scan_flags(wiphy, wdev, request, attrs, true);
attrs            8206 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCHED_SCAN_DELAY])
attrs            8208 net/wireless/nl80211.c 			nla_get_u32(attrs[NL80211_ATTR_SCHED_SCAN_DELAY]);
attrs            8210 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI]) {
attrs            8212 net/wireless/nl80211.c 			attrs[NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI]);
attrs            8217 net/wireless/nl80211.c 	    attrs[NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST]) {
attrs            8221 net/wireless/nl80211.c 			attrs[NL80211_ATTR_SCHED_SCAN_RSSI_ADJUST]);
attrs            8230 net/wireless/nl80211.c 	err = nl80211_parse_sched_scan_plans(wiphy, n_plans, request, attrs);
attrs            8256 net/wireless/nl80211.c 	want_multi = info->attrs[NL80211_ATTR_SCHED_SCAN_MULTI];
attrs            8262 net/wireless/nl80211.c 						  info->attrs,
attrs            8284 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SOCKET_OWNER])
attrs            8308 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_COOKIE]) {
attrs            8309 net/wireless/nl80211.c 		cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]);
attrs            8485 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_WIPHY_FREQ] ||
attrs            8486 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_CH_SWITCH_COUNT])
attrs            8490 net/wireless/nl80211.c 	if (need_new_beacon && !info->attrs[NL80211_ATTR_CSA_IES])
attrs            8496 net/wireless/nl80211.c 	cs_count = nla_get_u32(info->attrs[NL80211_ATTR_CH_SWITCH_COUNT]);
attrs            8505 net/wireless/nl80211.c 	err = nl80211_parse_beacon(rdev, info->attrs, &params.beacon_after);
attrs            8510 net/wireless/nl80211.c 					  info->attrs[NL80211_ATTR_CSA_IES],
attrs            8591 net/wireless/nl80211.c 		    !nla_get_flag(info->attrs[NL80211_ATTR_HANDLE_DFS])) {
attrs            8596 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CH_SWITCH_BLOCK_TX])
attrs            8947 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            8950 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_AUTH_TYPE])
attrs            8953 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_SSID])
attrs            8956 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_WIPHY_FREQ])
attrs            9001 net/wireless/nl80211.c 	bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            9003 net/wireless/nl80211.c 				      info->attrs[NL80211_ATTR_WIPHY_FREQ]);
attrs            9007 net/wireless/nl80211.c 	ssid = nla_data(info->attrs[NL80211_ATTR_SSID]);
attrs            9008 net/wireless/nl80211.c 	ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]);
attrs            9010 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            9011 net/wireless/nl80211.c 		ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            9012 net/wireless/nl80211.c 		ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            9015 net/wireless/nl80211.c 	auth_type = nla_get_u32(info->attrs[NL80211_ATTR_AUTH_TYPE]);
attrs            9023 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_AUTH_DATA])
attrs            9026 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AUTH_DATA]) {
attrs            9032 net/wireless/nl80211.c 		auth_data = nla_data(info->attrs[NL80211_ATTR_AUTH_DATA]);
attrs            9033 net/wireless/nl80211.c 		auth_data_len = nla_len(info->attrs[NL80211_ATTR_AUTH_DATA]);
attrs            9039 net/wireless/nl80211.c 	local_state_change = !!info->attrs[NL80211_ATTR_LOCAL_STATE_CHANGE];
attrs            9060 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_SOCKET_OWNER]) {
attrs            9080 net/wireless/nl80211.c 	settings->control_port = info->attrs[NL80211_ATTR_CONTROL_PORT];
attrs            9082 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]) {
attrs            9086 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]);
attrs            9091 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT])
attrs            9096 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CONTROL_PORT_OVER_NL80211]) {
attrs            9105 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CIPHER_SUITES_PAIRWISE]) {
attrs            9109 net/wireless/nl80211.c 		data = nla_data(info->attrs[NL80211_ATTR_CIPHER_SUITES_PAIRWISE]);
attrs            9110 net/wireless/nl80211.c 		len = nla_len(info->attrs[NL80211_ATTR_CIPHER_SUITES_PAIRWISE]);
attrs            9128 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CIPHER_SUITE_GROUP]) {
attrs            9130 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_CIPHER_SUITE_GROUP]);
attrs            9136 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WPA_VERSIONS]) {
attrs            9138 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_WPA_VERSIONS]);
attrs            9143 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AKM_SUITES]) {
attrs            9147 net/wireless/nl80211.c 		data = nla_data(info->attrs[NL80211_ATTR_AKM_SUITES]);
attrs            9148 net/wireless/nl80211.c 		len = nla_len(info->attrs[NL80211_ATTR_AKM_SUITES]);
attrs            9160 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PMK]) {
attrs            9161 net/wireless/nl80211.c 		if (nla_len(info->attrs[NL80211_ATTR_PMK]) != WLAN_PMK_LEN)
attrs            9166 net/wireless/nl80211.c 		settings->psk = nla_data(info->attrs[NL80211_ATTR_PMK]);
attrs            9169 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SAE_PASSWORD]) {
attrs            9174 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_SAE_PASSWORD]);
attrs            9176 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_SAE_PASSWORD]);
attrs            9195 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC] ||
attrs            9196 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_SSID] ||
attrs            9197 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_WIPHY_FREQ])
attrs            9207 net/wireless/nl80211.c 	bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            9210 net/wireless/nl80211.c 				      info->attrs[NL80211_ATTR_WIPHY_FREQ]);
attrs            9214 net/wireless/nl80211.c 	ssid = nla_data(info->attrs[NL80211_ATTR_SSID]);
attrs            9215 net/wireless/nl80211.c 	ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]);
attrs            9217 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            9218 net/wireless/nl80211.c 		req.ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            9219 net/wireless/nl80211.c 		req.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            9222 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_USE_MFP]) {
attrs            9224 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_USE_MFP]);
attrs            9231 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PREV_BSSID])
attrs            9232 net/wireless/nl80211.c 		req.prev_bssid = nla_data(info->attrs[NL80211_ATTR_PREV_BSSID]);
attrs            9234 net/wireless/nl80211.c 	if (nla_get_flag(info->attrs[NL80211_ATTR_DISABLE_HT]))
attrs            9237 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK])
attrs            9239 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK]),
attrs            9242 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY]) {
attrs            9243 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK])
attrs            9246 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY]),
attrs            9250 net/wireless/nl80211.c 	if (nla_get_flag(info->attrs[NL80211_ATTR_DISABLE_VHT]))
attrs            9253 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_VHT_CAPABILITY_MASK])
attrs            9255 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_VHT_CAPABILITY_MASK]),
attrs            9258 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_VHT_CAPABILITY]) {
attrs            9259 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_VHT_CAPABILITY_MASK])
attrs            9262 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_VHT_CAPABILITY]),
attrs            9266 net/wireless/nl80211.c 	if (nla_get_flag(info->attrs[NL80211_ATTR_USE_RRM])) {
attrs            9276 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_FILS_KEK]) {
attrs            9277 net/wireless/nl80211.c 		req.fils_kek = nla_data(info->attrs[NL80211_ATTR_FILS_KEK]);
attrs            9278 net/wireless/nl80211.c 		req.fils_kek_len = nla_len(info->attrs[NL80211_ATTR_FILS_KEK]);
attrs            9279 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_FILS_NONCES])
attrs            9282 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_NONCES]);
attrs            9292 net/wireless/nl80211.c 		if (!err && info->attrs[NL80211_ATTR_SOCKET_OWNER]) {
attrs            9318 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            9321 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_REASON_CODE])
attrs            9331 net/wireless/nl80211.c 	bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            9333 net/wireless/nl80211.c 	reason_code = nla_get_u16(info->attrs[NL80211_ATTR_REASON_CODE]);
attrs            9339 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            9340 net/wireless/nl80211.c 		ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            9341 net/wireless/nl80211.c 		ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            9344 net/wireless/nl80211.c 	local_state_change = !!info->attrs[NL80211_ATTR_LOCAL_STATE_CHANGE];
attrs            9366 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            9369 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_REASON_CODE])
attrs            9379 net/wireless/nl80211.c 	bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            9381 net/wireless/nl80211.c 	reason_code = nla_get_u16(info->attrs[NL80211_ATTR_REASON_CODE]);
attrs            9387 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            9388 net/wireless/nl80211.c 		ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            9389 net/wireless/nl80211.c 		ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            9392 net/wireless/nl80211.c 	local_state_change = !!info->attrs[NL80211_ATTR_LOCAL_STATE_CHANGE];
attrs            9440 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_SSID] ||
attrs            9441 net/wireless/nl80211.c 	    !nla_len(info->attrs[NL80211_ATTR_SSID]))
attrs            9446 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BEACON_INTERVAL])
attrs            9448 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_BEACON_INTERVAL]);
attrs            9463 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC]) {
attrs            9464 net/wireless/nl80211.c 		ibss.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            9469 net/wireless/nl80211.c 	ibss.ssid = nla_data(info->attrs[NL80211_ATTR_SSID]);
attrs            9470 net/wireless/nl80211.c 	ibss.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]);
attrs            9472 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            9473 net/wireless/nl80211.c 		ibss.ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            9474 net/wireless/nl80211.c 		ibss.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            9508 net/wireless/nl80211.c 	ibss.channel_fixed = !!info->attrs[NL80211_ATTR_FREQ_FIXED];
attrs            9509 net/wireless/nl80211.c 	ibss.privacy = !!info->attrs[NL80211_ATTR_PRIVACY];
attrs            9511 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_BASIC_RATES]) {
attrs            9513 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]);
attrs            9515 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]);
attrs            9525 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK])
attrs            9527 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK]),
attrs            9530 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY]) {
attrs            9531 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK])
attrs            9534 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY]),
attrs            9538 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MCAST_RATE] &&
attrs            9540 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_MCAST_RATE])))
attrs            9543 net/wireless/nl80211.c 	if (ibss.privacy && info->attrs[NL80211_ATTR_KEYS]) {
attrs            9558 net/wireless/nl80211.c 		nla_get_flag(info->attrs[NL80211_ATTR_CONTROL_PORT]);
attrs            9560 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CONTROL_PORT_OVER_NL80211]) {
attrs            9572 net/wireless/nl80211.c 		nla_get_flag(info->attrs[NL80211_ATTR_HANDLE_DFS]);
attrs            9578 net/wireless/nl80211.c 	else if (info->attrs[NL80211_ATTR_SOCKET_OWNER])
attrs            9617 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MCAST_RATE])
attrs            9620 net/wireless/nl80211.c 	nla_rate = nla_get_u32(info->attrs[NL80211_ATTR_MCAST_RATE]);
attrs            9753 net/wireless/nl80211.c 		__cfg80211_wdev_from_attrs(genl_info_net(info), info->attrs);
attrs            9768 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_TESTDATA])
attrs            9773 net/wireless/nl80211.c 				nla_data(info->attrs[NL80211_ATTR_TESTDATA]),
attrs            9774 net/wireless/nl80211.c 				nla_len(info->attrs[NL80211_ATTR_TESTDATA]));
attrs            9894 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_SSID] ||
attrs            9895 net/wireless/nl80211.c 	    !nla_len(info->attrs[NL80211_ATTR_SSID]))
attrs            9898 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AUTH_TYPE]) {
attrs            9900 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_AUTH_TYPE]);
attrs            9907 net/wireless/nl80211.c 	connect.privacy = info->attrs[NL80211_ATTR_PRIVACY];
attrs            9909 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WANT_1X_4WAY_HS] &&
attrs            9913 net/wireless/nl80211.c 	connect.want_1x = info->attrs[NL80211_ATTR_WANT_1X_4WAY_HS];
attrs            9927 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BG_SCAN_PERIOD] &&
attrs            9930 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_BG_SCAN_PERIOD]);
attrs            9933 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC])
attrs            9934 net/wireless/nl80211.c 		connect.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            9935 net/wireless/nl80211.c 	else if (info->attrs[NL80211_ATTR_MAC_HINT])
attrs            9937 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_MAC_HINT]);
attrs            9938 net/wireless/nl80211.c 	connect.ssid = nla_data(info->attrs[NL80211_ATTR_SSID]);
attrs            9939 net/wireless/nl80211.c 	connect.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]);
attrs            9941 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            9942 net/wireless/nl80211.c 		connect.ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            9943 net/wireless/nl80211.c 		connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            9946 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_USE_MFP]) {
attrs            9947 net/wireless/nl80211.c 		connect.mfp = nla_get_u32(info->attrs[NL80211_ATTR_USE_MFP]);
attrs            9956 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PREV_BSSID])
attrs            9958 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_PREV_BSSID]);
attrs            9960 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_FREQ]) {
attrs            9962 net/wireless/nl80211.c 			wiphy, info->attrs[NL80211_ATTR_WIPHY_FREQ]);
attrs            9965 net/wireless/nl80211.c 	} else if (info->attrs[NL80211_ATTR_WIPHY_FREQ_HINT]) {
attrs            9967 net/wireless/nl80211.c 			wiphy, info->attrs[NL80211_ATTR_WIPHY_FREQ_HINT]);
attrs            9972 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_EDMG_CHANNELS]) {
attrs            9974 net/wireless/nl80211.c 		      nla_get_u8(info->attrs[NL80211_ATTR_WIPHY_EDMG_CHANNELS]);
attrs            9976 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_WIPHY_EDMG_BW_CONFIG])
attrs            9978 net/wireless/nl80211.c 				nla_get_u8(info->attrs[NL80211_ATTR_WIPHY_EDMG_BW_CONFIG]);
attrs            9981 net/wireless/nl80211.c 	if (connect.privacy && info->attrs[NL80211_ATTR_KEYS]) {
attrs            9987 net/wireless/nl80211.c 	if (nla_get_flag(info->attrs[NL80211_ATTR_DISABLE_HT]))
attrs            9990 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK])
attrs            9992 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK]),
attrs            9995 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_HT_CAPABILITY]) {
attrs            9996 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_HT_CAPABILITY_MASK]) {
attrs            10001 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_HT_CAPABILITY]),
attrs            10005 net/wireless/nl80211.c 	if (nla_get_flag(info->attrs[NL80211_ATTR_DISABLE_VHT]))
attrs            10008 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_VHT_CAPABILITY_MASK])
attrs            10010 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_VHT_CAPABILITY_MASK]),
attrs            10013 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_VHT_CAPABILITY]) {
attrs            10014 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_VHT_CAPABILITY_MASK]) {
attrs            10019 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_VHT_CAPABILITY]),
attrs            10023 net/wireless/nl80211.c 	if (nla_get_flag(info->attrs[NL80211_ATTR_USE_RRM])) {
attrs            10035 net/wireless/nl80211.c 	connect.pbss = nla_get_flag(info->attrs[NL80211_ATTR_PBSS]);
attrs            10041 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_SELECT]) {
attrs            10048 net/wireless/nl80211.c 		err = parse_bss_select(info->attrs[NL80211_ATTR_BSS_SELECT],
attrs            10058 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_USERNAME] &&
attrs            10059 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_REALM] &&
attrs            10060 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM] &&
attrs            10061 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_RRK]) {
attrs            10063 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]);
attrs            10065 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]);
attrs            10067 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_ERP_REALM]);
attrs            10069 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_FILS_ERP_REALM]);
attrs            10072 net/wireless/nl80211.c 			   info->attrs[NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM]);
attrs            10074 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_ERP_RRK]);
attrs            10076 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_FILS_ERP_RRK]);
attrs            10077 net/wireless/nl80211.c 	} else if (info->attrs[NL80211_ATTR_FILS_ERP_USERNAME] ||
attrs            10078 net/wireless/nl80211.c 		   info->attrs[NL80211_ATTR_FILS_ERP_REALM] ||
attrs            10079 net/wireless/nl80211.c 		   info->attrs[NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM] ||
attrs            10080 net/wireless/nl80211.c 		   info->attrs[NL80211_ATTR_FILS_ERP_RRK]) {
attrs            10085 net/wireless/nl80211.c 	if (nla_get_flag(info->attrs[NL80211_ATTR_EXTERNAL_AUTH_SUPPORT])) {
attrs            10086 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_SOCKET_OWNER]) {
attrs            10102 net/wireless/nl80211.c 	if (!err && info->attrs[NL80211_ATTR_SOCKET_OWNER]) {
attrs            10132 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            10133 net/wireless/nl80211.c 		connect.ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            10134 net/wireless/nl80211.c 		connect.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            10147 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_USERNAME] &&
attrs            10148 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_REALM] &&
attrs            10149 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM] &&
attrs            10150 net/wireless/nl80211.c 	    info->attrs[NL80211_ATTR_FILS_ERP_RRK]) {
attrs            10152 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]);
attrs            10154 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_FILS_ERP_USERNAME]);
attrs            10156 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_ERP_REALM]);
attrs            10158 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_FILS_ERP_REALM]);
attrs            10161 net/wireless/nl80211.c 			   info->attrs[NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM]);
attrs            10163 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_ERP_RRK]);
attrs            10165 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_FILS_ERP_RRK]);
attrs            10167 net/wireless/nl80211.c 	} else if (info->attrs[NL80211_ATTR_FILS_ERP_USERNAME] ||
attrs            10168 net/wireless/nl80211.c 		   info->attrs[NL80211_ATTR_FILS_ERP_REALM] ||
attrs            10169 net/wireless/nl80211.c 		   info->attrs[NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM] ||
attrs            10170 net/wireless/nl80211.c 		   info->attrs[NL80211_ATTR_FILS_ERP_RRK]) {
attrs            10174 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_AUTH_TYPE]) {
attrs            10175 net/wireless/nl80211.c 		auth_type = nla_get_u32(info->attrs[NL80211_ATTR_AUTH_TYPE]);
attrs            10209 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_REASON_CODE])
attrs            10212 net/wireless/nl80211.c 		reason = nla_get_u16(info->attrs[NL80211_ATTR_REASON_CODE]);
attrs            10233 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PID]) {
attrs            10234 net/wireless/nl80211.c 		u32 pid = nla_get_u32(info->attrs[NL80211_ATTR_PID]);
attrs            10237 net/wireless/nl80211.c 	} else if (info->attrs[NL80211_ATTR_NETNS_FD]) {
attrs            10238 net/wireless/nl80211.c 		u32 fd = nla_get_u32(info->attrs[NL80211_ATTR_NETNS_FD]);
attrs            10268 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_PMKID])
attrs            10271 net/wireless/nl80211.c 	pmksa.pmkid = nla_data(info->attrs[NL80211_ATTR_PMKID]);
attrs            10273 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MAC]) {
attrs            10274 net/wireless/nl80211.c 		pmksa.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            10275 net/wireless/nl80211.c 	} else if (info->attrs[NL80211_ATTR_SSID] &&
attrs            10276 net/wireless/nl80211.c 		   info->attrs[NL80211_ATTR_FILS_CACHE_ID] &&
attrs            10278 net/wireless/nl80211.c 		    info->attrs[NL80211_ATTR_PMK])) {
attrs            10279 net/wireless/nl80211.c 		pmksa.ssid = nla_data(info->attrs[NL80211_ATTR_SSID]);
attrs            10280 net/wireless/nl80211.c 		pmksa.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]);
attrs            10282 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FILS_CACHE_ID]);
attrs            10286 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PMK]) {
attrs            10287 net/wireless/nl80211.c 		pmksa.pmk = nla_data(info->attrs[NL80211_ATTR_PMK]);
attrs            10288 net/wireless/nl80211.c 		pmksa.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]);
attrs            10345 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_TDLS_ACTION] ||
attrs            10346 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_STATUS_CODE] ||
attrs            10347 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_TDLS_DIALOG_TOKEN] ||
attrs            10348 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_IE] ||
attrs            10349 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_MAC])
attrs            10352 net/wireless/nl80211.c 	peer = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            10353 net/wireless/nl80211.c 	action_code = nla_get_u8(info->attrs[NL80211_ATTR_TDLS_ACTION]);
attrs            10354 net/wireless/nl80211.c 	status_code = nla_get_u16(info->attrs[NL80211_ATTR_STATUS_CODE]);
attrs            10355 net/wireless/nl80211.c 	dialog_token = nla_get_u8(info->attrs[NL80211_ATTR_TDLS_DIALOG_TOKEN]);
attrs            10356 net/wireless/nl80211.c 	initiator = nla_get_flag(info->attrs[NL80211_ATTR_TDLS_INITIATOR]);
attrs            10357 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_TDLS_PEER_CAPABILITY])
attrs            10359 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_TDLS_PEER_CAPABILITY]);
attrs            10364 net/wireless/nl80211.c 			      nla_data(info->attrs[NL80211_ATTR_IE]),
attrs            10365 net/wireless/nl80211.c 			      nla_len(info->attrs[NL80211_ATTR_IE]));
attrs            10379 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_TDLS_OPERATION] ||
attrs            10380 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_MAC])
attrs            10383 net/wireless/nl80211.c 	operation = nla_get_u8(info->attrs[NL80211_ATTR_TDLS_OPERATION]);
attrs            10384 net/wireless/nl80211.c 	peer = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            10402 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_WIPHY_FREQ] ||
attrs            10403 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_DURATION])
attrs            10406 net/wireless/nl80211.c 	duration = nla_get_u32(info->attrs[NL80211_ATTR_DURATION]);
attrs            10475 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_COOKIE])
attrs            10481 net/wireless/nl80211.c 	cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]);
attrs            10510 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_FRAME_MATCH])
attrs            10513 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_FRAME_TYPE])
attrs            10514 net/wireless/nl80211.c 		frame_type = nla_get_u16(info->attrs[NL80211_ATTR_FRAME_TYPE]);
attrs            10536 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_FRAME_MATCH]),
attrs            10537 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_FRAME_MATCH]));
attrs            10551 net/wireless/nl80211.c 			info->attrs[NL80211_ATTR_DONT_WAIT_FOR_ACK],
attrs            10554 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_FRAME])
attrs            10562 net/wireless/nl80211.c 		if (!info->attrs[NL80211_ATTR_WIPHY_FREQ])
attrs            10577 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_DURATION]) {
attrs            10580 net/wireless/nl80211.c 		params.wait = nla_get_u32(info->attrs[NL80211_ATTR_DURATION]);
attrs            10591 net/wireless/nl80211.c 	params.offchan = info->attrs[NL80211_ATTR_OFFCHANNEL_TX_OK];
attrs            10596 net/wireless/nl80211.c 	params.no_cck = nla_get_flag(info->attrs[NL80211_ATTR_TX_NO_CCK_RATE]);
attrs            10602 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_FREQ]) {
attrs            10618 net/wireless/nl80211.c 	params.buf = nla_data(info->attrs[NL80211_ATTR_FRAME]);
attrs            10619 net/wireless/nl80211.c 	params.len = nla_len(info->attrs[NL80211_ATTR_FRAME]);
attrs            10621 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CSA_C_OFFSETS_TX]) {
attrs            10622 net/wireless/nl80211.c 		int len = nla_len(info->attrs[NL80211_ATTR_CSA_C_OFFSETS_TX]);
attrs            10630 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_CSA_C_OFFSETS_TX]);
attrs            10681 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_COOKIE])
attrs            10701 net/wireless/nl80211.c 	cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]);
attrs            10715 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_PS_STATE])
attrs            10718 net/wireless/nl80211.c 	ps_state = nla_get_u32(info->attrs[NL80211_ATTR_PS_STATE]);
attrs            10944 net/wireless/nl80211.c 	struct nlattr *attrs[NL80211_ATTR_CQM_MAX + 1];
attrs            10948 net/wireless/nl80211.c 	cqm = info->attrs[NL80211_ATTR_CQM];
attrs            10952 net/wireless/nl80211.c 	err = nla_parse_nested_deprecated(attrs, NL80211_ATTR_CQM_MAX, cqm,
attrs            10958 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_CQM_RSSI_THOLD] &&
attrs            10959 net/wireless/nl80211.c 	    attrs[NL80211_ATTR_CQM_RSSI_HYST]) {
attrs            10961 net/wireless/nl80211.c 			nla_data(attrs[NL80211_ATTR_CQM_RSSI_THOLD]);
attrs            10962 net/wireless/nl80211.c 		int len = nla_len(attrs[NL80211_ATTR_CQM_RSSI_THOLD]);
attrs            10963 net/wireless/nl80211.c 		u32 hysteresis = nla_get_u32(attrs[NL80211_ATTR_CQM_RSSI_HYST]);
attrs            10972 net/wireless/nl80211.c 	if (attrs[NL80211_ATTR_CQM_TXE_RATE] &&
attrs            10973 net/wireless/nl80211.c 	    attrs[NL80211_ATTR_CQM_TXE_PKTS] &&
attrs            10974 net/wireless/nl80211.c 	    attrs[NL80211_ATTR_CQM_TXE_INTVL]) {
attrs            10975 net/wireless/nl80211.c 		u32 rate = nla_get_u32(attrs[NL80211_ATTR_CQM_TXE_RATE]);
attrs            10976 net/wireless/nl80211.c 		u32 pkts = nla_get_u32(attrs[NL80211_ATTR_CQM_TXE_PKTS]);
attrs            10977 net/wireless/nl80211.c 		u32 intvl = nla_get_u32(attrs[NL80211_ATTR_CQM_TXE_INTVL]);
attrs            11019 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MESH_CONFIG]) {
attrs            11026 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MESH_ID] ||
attrs            11027 net/wireless/nl80211.c 	    !nla_len(info->attrs[NL80211_ATTR_MESH_ID]))
attrs            11030 net/wireless/nl80211.c 	setup.mesh_id = nla_data(info->attrs[NL80211_ATTR_MESH_ID]);
attrs            11031 net/wireless/nl80211.c 	setup.mesh_id_len = nla_len(info->attrs[NL80211_ATTR_MESH_ID]);
attrs            11033 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MCAST_RATE] &&
attrs            11035 net/wireless/nl80211.c 			    nla_get_u32(info->attrs[NL80211_ATTR_MCAST_RATE])))
attrs            11038 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BEACON_INTERVAL]) {
attrs            11040 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_BEACON_INTERVAL]);
attrs            11049 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_DTIM_PERIOD]) {
attrs            11051 net/wireless/nl80211.c 			nla_get_u32(info->attrs[NL80211_ATTR_DTIM_PERIOD]);
attrs            11056 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_MESH_SETUP]) {
attrs            11066 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_WIPHY_FREQ]) {
attrs            11075 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BSS_BASIC_RATES]) {
attrs            11076 net/wireless/nl80211.c 		u8 *rates = nla_data(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]);
attrs            11078 net/wireless/nl80211.c 			nla_len(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]);
attrs            11092 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_TX_RATES]) {
attrs            11107 net/wireless/nl80211.c 		nla_get_flag(info->attrs[NL80211_ATTR_HANDLE_DFS]);
attrs            11109 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CONTROL_PORT_OVER_NL80211]) {
attrs            11120 net/wireless/nl80211.c 	if (!err && info->attrs[NL80211_ATTR_SOCKET_OWNER])
attrs            11568 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_WOWLAN_TRIGGERS]) {
attrs            11575 net/wireless/nl80211.c 					  info->attrs[NL80211_ATTR_WOWLAN_TRIGGERS],
attrs            11969 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_COALESCE_RULE]) {
attrs            11975 net/wireless/nl80211.c 	nla_for_each_nested(rule, info->attrs[NL80211_ATTR_COALESCE_RULE],
attrs            11989 net/wireless/nl80211.c 	nla_for_each_nested(rule, info->attrs[NL80211_ATTR_COALESCE_RULE],
attrs            12033 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_REKEY_DATA])
attrs            12037 net/wireless/nl80211.c 					  info->attrs[NL80211_ATTR_REKEY_DATA],
attrs            12106 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            12123 net/wireless/nl80211.c 	addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            12238 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_NAN_MASTER_PREF])
attrs            12242 net/wireless/nl80211.c 		nla_get_u8(info->attrs[NL80211_ATTR_NAN_MASTER_PREF]);
attrs            12244 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BANDS]) {
attrs            12245 net/wireless/nl80211.c 		u32 bands = nla_get_u32(info->attrs[NL80211_ATTR_BANDS]);
attrs            12347 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_NAN_FUNC])
attrs            12351 net/wireless/nl80211.c 					  info->attrs[NL80211_ATTR_NAN_FUNC],
attrs            12582 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_COOKIE])
attrs            12585 net/wireless/nl80211.c 	cookie = nla_get_u64(info->attrs[NL80211_ATTR_COOKIE]);
attrs            12606 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_NAN_MASTER_PREF]) {
attrs            12608 net/wireless/nl80211.c 			nla_get_u8(info->attrs[NL80211_ATTR_NAN_MASTER_PREF]);
attrs            12615 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_BANDS]) {
attrs            12616 net/wireless/nl80211.c 		u32 bands = nla_get_u32(info->attrs[NL80211_ATTR_BANDS]);
attrs            12810 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MDID] ||
attrs            12811 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_IE])
attrs            12815 net/wireless/nl80211.c 	ft_params.md = nla_get_u16(info->attrs[NL80211_ATTR_MDID]);
attrs            12816 net/wireless/nl80211.c 	ft_params.ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            12817 net/wireless/nl80211.c 	ft_params.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            12841 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_CRIT_PROT_ID])
attrs            12842 net/wireless/nl80211.c 		proto = nla_get_u16(info->attrs[NL80211_ATTR_CRIT_PROT_ID]);
attrs            12848 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAX_CRIT_PROT_DURATION])
attrs            12852 net/wireless/nl80211.c 		nla_get_u16(info->attrs[NL80211_ATTR_MAX_CRIT_PROT_DURATION]);
attrs            12907 net/wireless/nl80211.c 		__cfg80211_wdev_from_attrs(genl_info_net(info), info->attrs);
attrs            12923 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_VENDOR_ID] ||
attrs            12924 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_VENDOR_SUBCMD])
attrs            12927 net/wireless/nl80211.c 	vid = nla_get_u32(info->attrs[NL80211_ATTR_VENDOR_ID]);
attrs            12928 net/wireless/nl80211.c 	subcmd = nla_get_u32(info->attrs[NL80211_ATTR_VENDOR_SUBCMD]);
attrs            12958 net/wireless/nl80211.c 		if (info->attrs[NL80211_ATTR_VENDOR_DATA]) {
attrs            12959 net/wireless/nl80211.c 			data = nla_data(info->attrs[NL80211_ATTR_VENDOR_DATA]);
attrs            12960 net/wireless/nl80211.c 			len = nla_len(info->attrs[NL80211_ATTR_VENDOR_DATA]);
attrs            12963 net/wireless/nl80211.c 					info->attrs[NL80211_ATTR_VENDOR_DATA],
attrs            13238 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_QOS_MAP]) {
attrs            13239 net/wireless/nl80211.c 		pos = nla_data(info->attrs[NL80211_ATTR_QOS_MAP]);
attrs            13240 net/wireless/nl80211.c 		len = nla_len(info->attrs[NL80211_ATTR_QOS_MAP]);
attrs            13290 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_TSID] || !info->attrs[NL80211_ATTR_MAC] ||
attrs            13291 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_USER_PRIO])
attrs            13294 net/wireless/nl80211.c 	tsid = nla_get_u8(info->attrs[NL80211_ATTR_TSID]);
attrs            13295 net/wireless/nl80211.c 	up = nla_get_u8(info->attrs[NL80211_ATTR_USER_PRIO]);
attrs            13306 net/wireless/nl80211.c 	peer = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13308 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_ADMITTED_TIME]) {
attrs            13310 net/wireless/nl80211.c 			nla_get_u16(info->attrs[NL80211_ATTR_ADMITTED_TIME]);
attrs            13344 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_TSID] || !info->attrs[NL80211_ATTR_MAC])
attrs            13347 net/wireless/nl80211.c 	tsid = nla_get_u8(info->attrs[NL80211_ATTR_TSID]);
attrs            13348 net/wireless/nl80211.c 	peer = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13380 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC] ||
attrs            13381 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_OPER_CLASS])
attrs            13407 net/wireless/nl80211.c 	addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13408 net/wireless/nl80211.c 	oper_class = nla_get_u8(info->attrs[NL80211_ATTR_OPER_CLASS]);
attrs            13438 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            13441 net/wireless/nl80211.c 	addr = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13466 net/wireless/nl80211.c 	nla = info->attrs[NL80211_ATTR_MULTICAST_TO_UNICAST_ENABLED];
attrs            13488 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC] || !info->attrs[NL80211_ATTR_PMK])
attrs            13497 net/wireless/nl80211.c 	pmk_conf.aa = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13503 net/wireless/nl80211.c 	pmk_conf.pmk = nla_data(info->attrs[NL80211_ATTR_PMK]);
attrs            13504 net/wireless/nl80211.c 	pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]);
attrs            13511 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PMKR0_NAME]) {
attrs            13512 net/wireless/nl80211.c 		int r0_name_len = nla_len(info->attrs[NL80211_ATTR_PMKR0_NAME]);
attrs            13520 net/wireless/nl80211.c 			nla_data(info->attrs[NL80211_ATTR_PMKR0_NAME]);
attrs            13545 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC])
attrs            13549 net/wireless/nl80211.c 	aa = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13565 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_SSID] &&
attrs            13570 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_BSSID])
attrs            13573 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_STATUS_CODE])
attrs            13578 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_SSID]) {
attrs            13579 net/wireless/nl80211.c 		params.ssid.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]);
attrs            13584 net/wireless/nl80211.c 		       nla_data(info->attrs[NL80211_ATTR_SSID]),
attrs            13588 net/wireless/nl80211.c 	memcpy(params.bssid, nla_data(info->attrs[NL80211_ATTR_BSSID]),
attrs            13591 net/wireless/nl80211.c 	params.status = nla_get_u16(info->attrs[NL80211_ATTR_STATUS_CODE]);
attrs            13593 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_PMKID])
attrs            13594 net/wireless/nl80211.c 		params.pmkid = nla_data(info->attrs[NL80211_ATTR_PMKID]);
attrs            13618 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_FRAME] ||
attrs            13619 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_MAC] ||
attrs            13620 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]) {
attrs            13646 net/wireless/nl80211.c 	buf = nla_data(info->attrs[NL80211_ATTR_FRAME]);
attrs            13647 net/wireless/nl80211.c 	len = nla_len(info->attrs[NL80211_ATTR_FRAME]);
attrs            13648 net/wireless/nl80211.c 	dest = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13649 net/wireless/nl80211.c 	proto = nla_get_u16(info->attrs[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]);
attrs            13651 net/wireless/nl80211.c 		nla_get_flag(info->attrs[NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT]);
attrs            13741 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_STATUS_CODE] ||
attrs            13742 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_MAC])
attrs            13746 net/wireless/nl80211.c 	owe_info.status = nla_get_u16(info->attrs[NL80211_ATTR_STATUS_CODE]);
attrs            13747 net/wireless/nl80211.c 	nla_memcpy(owe_info.peer, info->attrs[NL80211_ATTR_MAC], ETH_ALEN);
attrs            13749 net/wireless/nl80211.c 	if (info->attrs[NL80211_ATTR_IE]) {
attrs            13750 net/wireless/nl80211.c 		owe_info.ie = nla_data(info->attrs[NL80211_ATTR_IE]);
attrs            13751 net/wireless/nl80211.c 		owe_info.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]);
attrs            13771 net/wireless/nl80211.c 	if (!info->attrs[NL80211_ATTR_MAC] ||
attrs            13772 net/wireless/nl80211.c 	    !info->attrs[NL80211_ATTR_FRAME]) {
attrs            13780 net/wireless/nl80211.c 	dest = nla_data(info->attrs[NL80211_ATTR_MAC]);
attrs            13781 net/wireless/nl80211.c 	buf = nla_data(info->attrs[NL80211_ATTR_FRAME]);
attrs            13782 net/wireless/nl80211.c 	len = nla_len(info->attrs[NL80211_ATTR_FRAME]);
attrs            13836 net/wireless/nl80211.c 						  info->attrs);
attrs              34 net/wireless/nl80211.h int nl80211_parse_random_mac(struct nlattr **attrs,
attrs             157 net/wireless/pmsr.c 	memset(info->attrs, 0, sizeof(*info->attrs) * (NL80211_ATTR_MAX + 1));
attrs             159 net/wireless/pmsr.c 	err = nla_parse_nested_deprecated(info->attrs, NL80211_ATTR_MAX,
attrs             211 net/wireless/pmsr.c 	struct nlattr *reqattr = info->attrs[NL80211_ATTR_PEER_MEASUREMENTS];
attrs             244 net/wireless/pmsr.c 	if (info->attrs[NL80211_ATTR_TIMEOUT])
attrs             245 net/wireless/pmsr.c 		req->timeout = nla_get_u32(info->attrs[NL80211_ATTR_TIMEOUT]);
attrs             247 net/wireless/pmsr.c 	if (info->attrs[NL80211_ATTR_MAC]) {
attrs             250 net/wireless/pmsr.c 					    info->attrs[NL80211_ATTR_MAC],
attrs             256 net/wireless/pmsr.c 		err = nl80211_parse_random_mac(info->attrs, req->mac_addr,
attrs              37 net/xfrm/xfrm_user.c static int verify_one_alg(struct nlattr **attrs, enum xfrm_attr_type_t type)
attrs              39 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[type];
attrs              63 net/xfrm/xfrm_user.c static int verify_auth_trunc(struct nlattr **attrs)
attrs              65 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_ALG_AUTH_TRUNC];
attrs              79 net/xfrm/xfrm_user.c static int verify_aead(struct nlattr **attrs)
attrs              81 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_ALG_AEAD];
attrs              95 net/xfrm/xfrm_user.c static void verify_one_addr(struct nlattr **attrs, enum xfrm_attr_type_t type,
attrs              98 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[type];
attrs             104 net/xfrm/xfrm_user.c static inline int verify_sec_ctx_len(struct nlattr **attrs)
attrs             106 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_SEC_CTX];
attrs             121 net/xfrm/xfrm_user.c 				struct nlattr **attrs)
attrs             123 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_REPLAY_ESN_VAL];
attrs             149 net/xfrm/xfrm_user.c 			     struct nlattr **attrs)
attrs             198 net/xfrm/xfrm_user.c 		if ((!attrs[XFRMA_ALG_AUTH]	&&
attrs             199 net/xfrm/xfrm_user.c 		     !attrs[XFRMA_ALG_AUTH_TRUNC]) ||
attrs             200 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AEAD]	||
attrs             201 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_CRYPT]	||
attrs             202 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_COMP]	||
attrs             203 net/xfrm/xfrm_user.c 		    attrs[XFRMA_TFCPAD])
attrs             208 net/xfrm/xfrm_user.c 		if (attrs[XFRMA_ALG_COMP])
attrs             210 net/xfrm/xfrm_user.c 		if (!attrs[XFRMA_ALG_AUTH] &&
attrs             211 net/xfrm/xfrm_user.c 		    !attrs[XFRMA_ALG_AUTH_TRUNC] &&
attrs             212 net/xfrm/xfrm_user.c 		    !attrs[XFRMA_ALG_CRYPT] &&
attrs             213 net/xfrm/xfrm_user.c 		    !attrs[XFRMA_ALG_AEAD])
attrs             215 net/xfrm/xfrm_user.c 		if ((attrs[XFRMA_ALG_AUTH] ||
attrs             216 net/xfrm/xfrm_user.c 		     attrs[XFRMA_ALG_AUTH_TRUNC] ||
attrs             217 net/xfrm/xfrm_user.c 		     attrs[XFRMA_ALG_CRYPT]) &&
attrs             218 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AEAD])
attrs             220 net/xfrm/xfrm_user.c 		if (attrs[XFRMA_TFCPAD] &&
attrs             226 net/xfrm/xfrm_user.c 		if (!attrs[XFRMA_ALG_COMP]	||
attrs             227 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AEAD]	||
attrs             228 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AUTH]	||
attrs             229 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AUTH_TRUNC]	||
attrs             230 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_CRYPT]	||
attrs             231 net/xfrm/xfrm_user.c 		    attrs[XFRMA_TFCPAD]		||
attrs             239 net/xfrm/xfrm_user.c 		if (attrs[XFRMA_ALG_COMP]	||
attrs             240 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AUTH]	||
attrs             241 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AUTH_TRUNC]	||
attrs             242 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_AEAD]	||
attrs             243 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ALG_CRYPT]	||
attrs             244 net/xfrm/xfrm_user.c 		    attrs[XFRMA_ENCAP]		||
attrs             245 net/xfrm/xfrm_user.c 		    attrs[XFRMA_SEC_CTX]	||
attrs             246 net/xfrm/xfrm_user.c 		    attrs[XFRMA_TFCPAD]		||
attrs             247 net/xfrm/xfrm_user.c 		    !attrs[XFRMA_COADDR])
attrs             256 net/xfrm/xfrm_user.c 	if ((err = verify_aead(attrs)))
attrs             258 net/xfrm/xfrm_user.c 	if ((err = verify_auth_trunc(attrs)))
attrs             260 net/xfrm/xfrm_user.c 	if ((err = verify_one_alg(attrs, XFRMA_ALG_AUTH)))
attrs             262 net/xfrm/xfrm_user.c 	if ((err = verify_one_alg(attrs, XFRMA_ALG_CRYPT)))
attrs             264 net/xfrm/xfrm_user.c 	if ((err = verify_one_alg(attrs, XFRMA_ALG_COMP)))
attrs             266 net/xfrm/xfrm_user.c 	if ((err = verify_sec_ctx_len(attrs)))
attrs             268 net/xfrm/xfrm_user.c 	if ((err = verify_replay(p, attrs)))
attrs             516 net/xfrm/xfrm_user.c static void xfrm_update_ae_params(struct xfrm_state *x, struct nlattr **attrs,
attrs             519 net/xfrm/xfrm_user.c 	struct nlattr *rp = attrs[XFRMA_REPLAY_VAL];
attrs             520 net/xfrm/xfrm_user.c 	struct nlattr *re = update_esn ? attrs[XFRMA_REPLAY_ESN_VAL] : NULL;
attrs             521 net/xfrm/xfrm_user.c 	struct nlattr *lt = attrs[XFRMA_LTIME_VAL];
attrs             522 net/xfrm/xfrm_user.c 	struct nlattr *et = attrs[XFRMA_ETIMER_THRESH];
attrs             523 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_REPLAY_THRESH];
attrs             557 net/xfrm/xfrm_user.c static void xfrm_smark_init(struct nlattr **attrs, struct xfrm_mark *m)
attrs             559 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_SET_MARK]) {
attrs             560 net/xfrm/xfrm_user.c 		m->v = nla_get_u32(attrs[XFRMA_SET_MARK]);
attrs             561 net/xfrm/xfrm_user.c 		if (attrs[XFRMA_SET_MARK_MASK])
attrs             562 net/xfrm/xfrm_user.c 			m->m = nla_get_u32(attrs[XFRMA_SET_MARK_MASK]);
attrs             572 net/xfrm/xfrm_user.c 					       struct nlattr **attrs,
attrs             583 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_SA_EXTRA_FLAGS])
attrs             584 net/xfrm/xfrm_user.c 		x->props.extra_flags = nla_get_u32(attrs[XFRMA_SA_EXTRA_FLAGS]);
attrs             586 net/xfrm/xfrm_user.c 	if ((err = attach_aead(x, attrs[XFRMA_ALG_AEAD])))
attrs             589 net/xfrm/xfrm_user.c 				     attrs[XFRMA_ALG_AUTH_TRUNC])))
attrs             593 net/xfrm/xfrm_user.c 				       attrs[XFRMA_ALG_AUTH])))
attrs             596 net/xfrm/xfrm_user.c 	if ((err = attach_crypt(x, attrs[XFRMA_ALG_CRYPT])))
attrs             600 net/xfrm/xfrm_user.c 				   attrs[XFRMA_ALG_COMP])))
attrs             603 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_ENCAP]) {
attrs             604 net/xfrm/xfrm_user.c 		x->encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]),
attrs             610 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_TFCPAD])
attrs             611 net/xfrm/xfrm_user.c 		x->tfcpad = nla_get_u32(attrs[XFRMA_TFCPAD]);
attrs             613 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_COADDR]) {
attrs             614 net/xfrm/xfrm_user.c 		x->coaddr = kmemdup(nla_data(attrs[XFRMA_COADDR]),
attrs             620 net/xfrm/xfrm_user.c 	xfrm_mark_get(attrs, &x->mark);
attrs             622 net/xfrm/xfrm_user.c 	xfrm_smark_init(attrs, &x->props.smark);
attrs             624 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_IF_ID])
attrs             625 net/xfrm/xfrm_user.c 		x->if_id = nla_get_u32(attrs[XFRMA_IF_ID]);
attrs             627 net/xfrm/xfrm_user.c 	err = __xfrm_init_state(x, false, attrs[XFRMA_OFFLOAD_DEV]);
attrs             631 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_SEC_CTX]) {
attrs             633 net/xfrm/xfrm_user.c 						nla_data(attrs[XFRMA_SEC_CTX]));
attrs             639 net/xfrm/xfrm_user.c 					       attrs[XFRMA_REPLAY_ESN_VAL])))
attrs             651 net/xfrm/xfrm_user.c 	xfrm_update_ae_params(x, attrs, 0);
attrs             654 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_OFFLOAD_DEV]) {
attrs             656 net/xfrm/xfrm_user.c 					 nla_data(attrs[XFRMA_OFFLOAD_DEV]));
attrs             672 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs             680 net/xfrm/xfrm_user.c 	err = verify_newsa_info(p, attrs);
attrs             684 net/xfrm/xfrm_user.c 	x = xfrm_state_construct(net, p, attrs, &err);
attrs             718 net/xfrm/xfrm_user.c 						 struct nlattr **attrs,
attrs             724 net/xfrm/xfrm_user.c 	u32 mark = xfrm_mark_get(attrs, &m);
attrs             732 net/xfrm/xfrm_user.c 		verify_one_addr(attrs, XFRMA_SRCADDR, &saddr);
attrs             751 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs             759 net/xfrm/xfrm_user.c 	x = xfrm_user_state_lookup(net, p, attrs, &err);
attrs            1025 net/xfrm/xfrm_user.c 		struct nlattr *attrs[XFRMA_MAX+1];
attrs            1030 net/xfrm/xfrm_user.c 		err = nlmsg_parse_deprecated(cb->nlh, 0, attrs, XFRMA_MAX,
attrs            1035 net/xfrm/xfrm_user.c 		if (attrs[XFRMA_ADDRESS_FILTER]) {
attrs            1036 net/xfrm/xfrm_user.c 			filter = kmemdup(nla_data(attrs[XFRMA_ADDRESS_FILTER]),
attrs            1042 net/xfrm/xfrm_user.c 		if (attrs[XFRMA_PROTO])
attrs            1043 net/xfrm/xfrm_user.c 			proto = nla_get_u8(attrs[XFRMA_PROTO]);
attrs            1158 net/xfrm/xfrm_user.c 			    struct nlattr **attrs)
attrs            1165 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_SPD_IPV4_HTHRESH]) {
attrs            1166 net/xfrm/xfrm_user.c 		struct nlattr *rta = attrs[XFRMA_SPD_IPV4_HTHRESH];
attrs            1174 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_SPD_IPV6_HTHRESH]) {
attrs            1175 net/xfrm/xfrm_user.c 		struct nlattr *rta = attrs[XFRMA_SPD_IPV6_HTHRESH];
attrs            1203 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            1262 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            1282 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            1290 net/xfrm/xfrm_user.c 	x = xfrm_user_state_lookup(net, p, attrs, &err);
attrs            1306 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            1329 net/xfrm/xfrm_user.c 	mark = xfrm_mark_get(attrs, &m);
attrs            1331 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_IF_ID])
attrs            1332 net/xfrm/xfrm_user.c 		if_id = nla_get_u32(attrs[XFRMA_IF_ID]);
attrs            1454 net/xfrm/xfrm_user.c static int copy_from_user_sec_ctx(struct xfrm_policy *pol, struct nlattr **attrs)
attrs            1456 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_SEC_CTX];
attrs            1544 net/xfrm/xfrm_user.c static int copy_from_user_tmpl(struct xfrm_policy *pol, struct nlattr **attrs)
attrs            1546 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_TMPL];
attrs            1564 net/xfrm/xfrm_user.c static int copy_from_user_policy_type(u8 *tp, struct nlattr **attrs)
attrs            1566 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_POLICY_TYPE];
attrs            1611 net/xfrm/xfrm_user.c static struct xfrm_policy *xfrm_policy_construct(struct net *net, struct xfrm_userpolicy_info *p, struct nlattr **attrs, int *errp)
attrs            1623 net/xfrm/xfrm_user.c 	err = copy_from_user_policy_type(&xp->type, attrs);
attrs            1627 net/xfrm/xfrm_user.c 	if (!(err = copy_from_user_tmpl(xp, attrs)))
attrs            1628 net/xfrm/xfrm_user.c 		err = copy_from_user_sec_ctx(xp, attrs);
attrs            1632 net/xfrm/xfrm_user.c 	xfrm_mark_get(attrs, &xp->mark);
attrs            1634 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_IF_ID])
attrs            1635 net/xfrm/xfrm_user.c 		xp->if_id = nla_get_u32(attrs[XFRMA_IF_ID]);
attrs            1646 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            1658 net/xfrm/xfrm_user.c 	err = verify_sec_ctx_len(attrs);
attrs            1662 net/xfrm/xfrm_user.c 	xp = xfrm_policy_construct(net, p, attrs, &err);
attrs            1856 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            1866 net/xfrm/xfrm_user.c 	u32 mark = xfrm_mark_get(attrs, &m);
attrs            1872 net/xfrm/xfrm_user.c 	err = copy_from_user_policy_type(&type, attrs);
attrs            1880 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_IF_ID])
attrs            1881 net/xfrm/xfrm_user.c 		if_id = nla_get_u32(attrs[XFRMA_IF_ID]);
attrs            1886 net/xfrm/xfrm_user.c 		struct nlattr *rt = attrs[XFRMA_SEC_CTX];
attrs            1889 net/xfrm/xfrm_user.c 		err = verify_sec_ctx_len(attrs);
attrs            1937 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            2037 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            2049 net/xfrm/xfrm_user.c 	mark = xfrm_mark_get(attrs, &m);
attrs            2081 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            2090 net/xfrm/xfrm_user.c 	struct nlattr *rp = attrs[XFRMA_REPLAY_VAL];
attrs            2091 net/xfrm/xfrm_user.c 	struct nlattr *re = attrs[XFRMA_REPLAY_ESN_VAL];
attrs            2092 net/xfrm/xfrm_user.c 	struct nlattr *lt = attrs[XFRMA_LTIME_VAL];
attrs            2093 net/xfrm/xfrm_user.c 	struct nlattr *et = attrs[XFRMA_ETIMER_THRESH];
attrs            2094 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_REPLAY_THRESH];
attrs            2103 net/xfrm/xfrm_user.c 	mark = xfrm_mark_get(attrs, &m);
attrs            2117 net/xfrm/xfrm_user.c 	xfrm_update_ae_params(x, attrs, 1);
attrs            2132 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            2139 net/xfrm/xfrm_user.c 	err = copy_from_user_policy_type(&type, attrs);
attrs            2160 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            2169 net/xfrm/xfrm_user.c 	u32 mark = xfrm_mark_get(attrs, &m);
attrs            2172 net/xfrm/xfrm_user.c 	err = copy_from_user_policy_type(&type, attrs);
attrs            2180 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_IF_ID])
attrs            2181 net/xfrm/xfrm_user.c 		if_id = nla_get_u32(attrs[XFRMA_IF_ID]);
attrs            2186 net/xfrm/xfrm_user.c 		struct nlattr *rt = attrs[XFRMA_SEC_CTX];
attrs            2189 net/xfrm/xfrm_user.c 		err = verify_sec_ctx_len(attrs);
attrs            2224 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            2232 net/xfrm/xfrm_user.c 	u32 mark = xfrm_mark_get(attrs, &m);
attrs            2258 net/xfrm/xfrm_user.c 		struct nlattr **attrs)
attrs            2264 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_TMPL];
attrs            2274 net/xfrm/xfrm_user.c 	xfrm_mark_get(attrs, &mark);
attrs            2279 net/xfrm/xfrm_user.c 	err = verify_sec_ctx_len(attrs);
attrs            2284 net/xfrm/xfrm_user.c 	xp = xfrm_policy_construct(net, &ua->policy, attrs, &err);
attrs            2322 net/xfrm/xfrm_user.c 				  struct nlattr **attrs, int *num)
attrs            2324 net/xfrm/xfrm_user.c 	struct nlattr *rt = attrs[XFRMA_MIGRATE];
attrs            2331 net/xfrm/xfrm_user.c 		uk = nla_data(attrs[XFRMA_KMADDRESS]);
attrs            2363 net/xfrm/xfrm_user.c 			   struct nlattr **attrs)
attrs            2374 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_MIGRATE] == NULL)
attrs            2377 net/xfrm/xfrm_user.c 	kmp = attrs[XFRMA_KMADDRESS] ? &km : NULL;
attrs            2379 net/xfrm/xfrm_user.c 	err = copy_from_user_policy_type(&type, attrs);
attrs            2383 net/xfrm/xfrm_user.c 	err = copy_from_user_migrate((struct xfrm_migrate *)m, kmp, attrs, &n);
attrs            2390 net/xfrm/xfrm_user.c 	if (attrs[XFRMA_ENCAP]) {
attrs            2391 net/xfrm/xfrm_user.c 		encap = kmemdup(nla_data(attrs[XFRMA_ENCAP]),
attrs            2405 net/xfrm/xfrm_user.c 			   struct nlattr **attrs)
attrs            2637 net/xfrm/xfrm_user.c 	struct nlattr *attrs[XFRMA_MAX+1];
attrs            2671 net/xfrm/xfrm_user.c 	err = nlmsg_parse_deprecated(nlh, xfrm_msg_min[type], attrs,
attrs            2680 net/xfrm/xfrm_user.c 	return link->doit(skb, nlh, attrs);
attrs              92 samples/kobject/kobject-example.c static struct attribute *attrs[] = {
attrs             106 samples/kobject/kobject-example.c 	.attrs = attrs,
attrs            1349 samples/vfio-mdev/mbochs.c 	.attrs = mdev_dev_attrs,
attrs            1401 samples/vfio-mdev/mbochs.c 	.attrs = mdev_types_attrs,
attrs            1406 samples/vfio-mdev/mbochs.c 	.attrs = mdev_types_attrs,
attrs            1411 samples/vfio-mdev/mbochs.c 	.attrs = mdev_types_attrs,
attrs             658 samples/vfio-mdev/mdpy.c 	.attrs = mdev_dev_attrs,
attrs             708 samples/vfio-mdev/mdpy.c 	.attrs = mdev_types_attrs,
attrs             713 samples/vfio-mdev/mdpy.c 	.attrs = mdev_types_attrs,
attrs             718 samples/vfio-mdev/mdpy.c 	.attrs = mdev_types_attrs,
attrs            1276 samples/vfio-mdev/mtty.c 	.attrs = mtty_dev_attrs,
attrs            1303 samples/vfio-mdev/mtty.c 	.attrs = mdev_dev_attrs,
attrs            1376 samples/vfio-mdev/mtty.c 	.attrs = mdev_types_attrs,
attrs            1381 samples/vfio-mdev/mtty.c 	.attrs = mdev_types_attrs,
attrs             278 sound/ac97/bus.c 	.attrs	= ac97_controller_device_attrs,
attrs             703 sound/core/init.c 	.attrs	= card_dev_attrs,
attrs            1032 sound/core/pcm.c 	.attrs	= pcm_dev_attrs,
attrs              70 sound/hda/hdac_sysfs.c 	.attrs	= hdac_dev_attrs,
attrs             304 sound/hda/hdac_sysfs.c 	.attrs = widget_node_attrs,
attrs             308 sound/hda/hdac_sysfs.c 	.attrs = widget_afg_attrs,
attrs             766 sound/pci/hda/hda_sysfs.c 	.attrs	= hda_dev_attrs,
attrs             261 sound/soc/intel/atom/sst/sst.c 	.attrs = (struct attribute **)sst_fw_version_attrs,
attrs             134 sound/soc/soc-core.c 	.attrs = soc_dapm_dev_attrs,
attrs             139 sound/soc/soc-core.c 	.attrs = soc_dev_attrs,
attrs             304 sound/soc/ti/omap-mcbsp-st.c 	.attrs = (struct attribute **)sidetone_attrs,
attrs             610 sound/soc/ti/omap-mcbsp.c 	.attrs = (struct attribute **)additional_attrs,
attrs             310 sound/usb/line6/pod.c 	.attrs = pod_dev_attrs,
attrs             168 sound/usb/line6/podhd.c 	.attrs = podhd_dev_attrs,
attrs             239 tools/perf/util/evlist.c 				  struct perf_event_attr *attrs, size_t nr_attrs)
attrs             246 tools/perf/util/evlist.c 		evsel = perf_evsel__new_idx(attrs + i, evlist->core.nr_entries + i);
attrs             263 tools/perf/util/evlist.c 				     struct perf_event_attr *attrs, size_t nr_attrs)
attrs             268 tools/perf/util/evlist.c 		event_attr_init(attrs + i);
attrs             270 tools/perf/util/evlist.c 	return evlist__add_attrs(evlist, attrs, nr_attrs);
attrs             103 tools/perf/util/evlist.h 				     struct perf_event_attr *attrs, size_t nr_attrs);
attrs            3103 tools/perf/util/header.c 		.attrs = {
attrs            3571 tools/perf/util/header.c 	nr_attrs = f_header.attrs.size / f_header.attr_size;
attrs            3572 tools/perf/util/header.c 	lseek(fd, f_header.attrs.offset, SEEK_SET);
attrs              68 tools/perf/util/header.h 	struct perf_file_section	attrs;
attrs            1779 tools/perf/util/synthetic-events.c 				       struct evlist *evlist, perf_event__handler_t process, bool attrs)
attrs            1783 tools/perf/util/synthetic-events.c 	if (attrs) {
attrs            1791 tools/perf/util/synthetic-events.c 	err = perf_event__synthesize_extra_attr(tool, evlist, process, attrs);
attrs              50 tools/perf/util/synthetic-events.h int perf_event__synthesize_stat_events(struct perf_stat_config *config, struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process, bool attrs);
attrs            1634 tools/testing/nvdimm/test/nfit.c 	.attrs = nfit_test_dimm_attributes,