segment            62 arch/arm/kernel/machine_kexec.c 		current_segment = &image->segment[i];
segment           145 arch/arm/kernel/process.c 		const char *segment;
segment           149 arch/arm/kernel/process.c 			segment = "none";
segment           151 arch/arm/kernel/process.c 			segment = "kernel";
segment           153 arch/arm/kernel/process.c 			segment = "user";
segment           159 arch/arm/kernel/process.c 			isa_modes[isa_mode(regs)], segment);
segment            99 arch/arm64/kernel/kexec_image.c 	kernel_segment = &image->segment[image->nr_segments - 1];
segment            49 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].mem,
segment            50 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].mem + kimage->segment[i].memsz,
segment            51 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].memsz,
segment            52 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].memsz /  PAGE_SIZE);
segment           129 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].mem,
segment           130 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].mem + kimage->segment[i].memsz,
segment           131 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].memsz,
segment           132 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].memsz /  PAGE_SIZE);
segment           134 arch/arm64/kernel/machine_kexec.c 		__flush_dcache_area(phys_to_virt(kimage->segment[i].mem),
segment           135 arch/arm64/kernel/machine_kexec.c 			kimage->segment[i].memsz);
segment           284 arch/arm64/kernel/machine_kexec.c 			__phys_to_virt(kexec_crash_image->segment[i].mem),
segment           285 arch/arm64/kernel/machine_kexec.c 			kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0);
segment           294 arch/arm64/kernel/machine_kexec.c 			__phys_to_virt(kexec_crash_image->segment[i].mem),
segment           295 arch/arm64/kernel/machine_kexec.c 			kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1);
segment           347 arch/arm64/kernel/machine_kexec.c 		if (addr >= kexec_crash_image->segment[i].mem &&
segment           348 arch/arm64/kernel/machine_kexec.c 				addr < (kexec_crash_image->segment[i].mem +
segment           349 arch/arm64/kernel/machine_kexec.c 					kexec_crash_image->segment[i].memsz))
segment            80 arch/arm64/kernel/pci.c 	return root->segment;
segment           119 arch/arm64/kernel/pci.c 	u16 seg = root->segment;
segment            16 arch/ia64/include/asm/pci.h 	__u16 segment;	/* PCI Segment number */
segment            49 arch/ia64/include/asm/pci.h 	int segment;
segment            57 arch/ia64/include/asm/pci.h #define pci_domain_nr(busdev)    (PCI_CONTROLLER(busdev)->segment)
segment           299 arch/ia64/pci/pci.c 			root->segment, (int)root->secondary.start);
segment           303 arch/ia64/pci/pci.c 	info->controller.segment = root->segment;
segment           358 arch/m68k/sun3/mmu_emu.c 	unsigned long segment, offset;
segment           379 arch/m68k/sun3/mmu_emu.c 	segment = (vaddr >> SUN3_PMEG_SIZE_BITS) & 0x7FF;
segment           383 arch/m68k/sun3/mmu_emu.c 	pr_info("mmu_emu_handle_fault: segment=%lx offset=%lx\n", segment,
segment           387 arch/m68k/sun3/mmu_emu.c 	pte = (pte_t *) pgd_val (*(crp + segment));
segment           162 arch/mips/cavium-octeon/setup.c 		if (!strncmp(bootloader, (char *)image->segment[i].buf,
segment           169 arch/mips/cavium-octeon/setup.c 			char *str = (char *)image->segment[i].buf;
segment           176 arch/mips/cavium-octeon/setup.c 						image->segment[i].mem + offt;
segment           230 arch/mips/cavium-octeon/setup.c 				kimage_ptr->segment[i].memsz + 2*PAGE_SIZE,
segment           231 arch/mips/cavium-octeon/setup.c 				kimage_ptr->segment[i].mem - PAGE_SIZE,
segment           278 arch/mips/include/asm/octeon/cvmx-address.h #define CVMX_ADD_SEG32(segment, add) \
segment           279 arch/mips/include/asm/octeon/cvmx-address.h 	(((int32_t)segment << 31) | (int32_t)(add))
segment           291 arch/mips/include/asm/octeon/cvmx-address.h #define CVMX_ADD_SEG(segment, add) ((((uint64_t)segment) << 62) | (add))
segment            44 arch/mips/include/asm/octeon/cvmx.h #define CVMX_ADD_SEG32(segment, add) \
segment            45 arch/mips/include/asm/octeon/cvmx.h 	(((int32_t)segment << 31) | (int32_t)(add))
segment            50 arch/mips/include/asm/octeon/cvmx.h #define CVMX_ADD_SEG(segment, add) \
segment            51 arch/mips/include/asm/octeon/cvmx.h 	((((uint64_t)segment) << 62) | (add))
segment            46 arch/mips/kernel/machine_kexec.c 			kimage->segment[i].mem,
segment            47 arch/mips/kernel/machine_kexec.c 			kimage->segment[i].mem + kimage->segment[i].memsz,
segment            48 arch/mips/kernel/machine_kexec.c 			(unsigned long)kimage->segment[i].memsz,
segment            49 arch/mips/kernel/machine_kexec.c 			(unsigned long)kimage->segment[i].memsz /  PAGE_SIZE);
segment            67 arch/mips/kernel/machine_kexec.c 		if (kimage->segment[i].memsz <= sizeof(fdt))
segment            70 arch/mips/kernel/machine_kexec.c 		if (copy_from_user(&fdt, kimage->segment[i].buf, sizeof(fdt)))
segment            78 arch/mips/kernel/machine_kexec.c 			phys_to_virt((unsigned long)kimage->segment[i].mem);
segment            25 arch/parisc/kernel/kexec.c 			kimage->segment[n].mem,
segment            26 arch/parisc/kernel/kexec.c 			kimage->segment[n].mem + kimage->segment[n].memsz,
segment            27 arch/parisc/kernel/kexec.c 			(unsigned long)kimage->segment[n].memsz,
segment            28 arch/parisc/kernel/kexec.c 			(unsigned long)kimage->segment[n].memsz /  PAGE_SIZE);
segment            39 arch/parisc/kernel/kexec_file.c 		image->segment[i].mem = __pa(image->segment[i].mem);
segment            50 arch/powerpc/include/asm/uaccess.h #define __access_ok(addr, size, segment)	\
segment            51 arch/powerpc/include/asm/uaccess.h 	(((addr) <= (segment).seg) && ((size) <= (segment).seg))
segment            50 arch/powerpc/kernel/machine_kexec_64.c 		if (image->segment[i].mem < __pa(_end))
segment            64 arch/powerpc/kernel/machine_kexec_64.c 			begin = image->segment[i].mem;
segment            65 arch/powerpc/kernel/machine_kexec_64.c 			end = begin + image->segment[i].memsz;
segment           114 arch/powerpc/kernel/machine_kexec_64.c 	memcpy(ranges, image->segment, sizeof(ranges));
segment           863 arch/powerpc/platforms/cell/iommu.c 	unsigned long segment, offset;
segment           865 arch/powerpc/platforms/cell/iommu.c 	segment = addr >> IO_SEGMENT_SHIFT;
segment           866 arch/powerpc/platforms/cell/iommu.c 	offset = (addr >> 24) - (segment << IO_PAGENO_BITS(24));
segment           867 arch/powerpc/platforms/cell/iommu.c 	ptab = ptab + (segment * (1 << 12) / sizeof(unsigned long));
segment           870 arch/powerpc/platforms/cell/iommu.c 		  addr, ptab, segment, offset);
segment           376 arch/s390/mm/pgalloc.c BASE_ADDR_END_FUNC(segment, _SEGMENT_SIZE)
segment            59 arch/sh/kernel/machine_kexec.c 		       (unsigned int)image->segment[i].mem,
segment            60 arch/sh/kernel/machine_kexec.c 		       (unsigned int)image->segment[i].mem +
segment            61 arch/sh/kernel/machine_kexec.c 				     image->segment[i].memsz,
segment            62 arch/sh/kernel/machine_kexec.c 		       (unsigned int)image->segment[i].memsz);
segment           107 arch/x86/boot/compressed/eboot.c 				&rom->segment, &rom->bus, &rom->device,
segment          2397 arch/x86/events/core.c static unsigned long get_segment_base(unsigned int segment)
segment          2400 arch/x86/events/core.c 	unsigned int idx = segment >> 3;
segment          2402 arch/x86/events/core.c 	if ((segment & SEGMENT_TI_MASK) == SEGMENT_LDT) {
segment            39 arch/x86/events/intel/uncore.c 		if (map->segment == pci_domain_nr(bus)) {
segment            59 arch/x86/events/intel/uncore.c struct pci2phy_map *__find_pci2phy_map(int segment)
segment            68 arch/x86/events/intel/uncore.c 		if (map->segment == segment)
segment            85 arch/x86/events/intel/uncore.c 	map->segment = segment;
segment           161 arch/x86/events/intel/uncore.h 	int segment;
segment           165 arch/x86/events/intel/uncore.h struct pci2phy_map *__find_pci2phy_map(int segment);
segment           533 arch/x86/events/intel/uncore_snb.c 	int bus, segment;
segment           540 arch/x86/events/intel/uncore_snb.c 	segment = pci_domain_nr(dev->bus);
segment           543 arch/x86/events/intel/uncore_snb.c 	map = __find_pci2phy_map(segment);
segment          1296 arch/x86/events/intel/uncore_snbep.c 	int i, bus, nodeid, segment;
segment          1317 arch/x86/events/intel/uncore_snbep.c 		segment = pci_domain_nr(ubox_dev->bus);
segment          1319 arch/x86/events/intel/uncore_snbep.c 		map = __find_pci2phy_map(segment);
segment            94 arch/x86/include/asm/desc.h 	gate->segment		= __KERNEL_CS;
segment            99 arch/x86/include/asm/desc.h 	gate->segment		= seg;
segment            79 arch/x86/include/asm/desc_defs.h 	u16		segment;
segment           102 arch/x86/include/asm/desc_defs.h 	return g->segment;
segment           155 arch/x86/include/asm/pci.h 	unsigned long segment;
segment           147 arch/x86/include/asm/pci_x86.h 	u16 segment;
segment           160 arch/x86/include/asm/pci_x86.h extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus);
segment           161 arch/x86/include/asm/pci_x86.h extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
segment           389 arch/x86/kernel/apm_32.c 	unsigned short	segment;
segment          2328 arch/x86/kernel/apm_32.c 	apm_bios_entry.segment = APM_CS;
segment            14 arch/x86/kernel/idt.c 	unsigned int	segment;
segment            32 arch/x86/kernel/idt.c 		.segment	= _segment,		\
segment           208 arch/x86/kernel/idt.c 	gate->segment		= (u16) d->segment;
segment           239 arch/x86/kernel/idt.c 	data.segment	= __KERNEL_CS;
segment           235 arch/x86/kernel/machine_kexec_64.c 		mstart = image->segment[i].mem;
segment           236 arch/x86/kernel/machine_kexec_64.c 		mend   = mstart + image->segment[i].memsz;
segment          3744 arch/x86/kvm/emulate.c static int em_store_sreg(struct x86_emulate_ctxt *ctxt, int segment)
segment          3746 arch/x86/kvm/emulate.c 	if (segment > VCPU_SREG_GS &&
segment          3751 arch/x86/kvm/emulate.c 	ctxt->dst.val = get_segment_selector(ctxt, segment);
segment           128 arch/x86/math-emu/fpu_emu.h 	u_char address_size, operand_size, segment;
segment           570 arch/x86/math-emu/fpu_entry.c 			override->segment = PREFIX_CS_;
segment           573 arch/x86/math-emu/fpu_entry.c 			override->segment = PREFIX_ES_;
segment           576 arch/x86/math-emu/fpu_entry.c 			override->segment = PREFIX_SS_;
segment           579 arch/x86/math-emu/fpu_entry.c 			override->segment = PREFIX_FS_;
segment           582 arch/x86/math-emu/fpu_entry.c 			override->segment = PREFIX_GS_;
segment           585 arch/x86/math-emu/fpu_entry.c 			override->segment = PREFIX_DS_;
segment           123 arch/x86/math-emu/get_address.c static unsigned long vm86_segment(u_char segment, struct address *addr)
segment           125 arch/x86/math-emu/get_address.c 	segment--;
segment           127 arch/x86/math-emu/get_address.c 	if (segment > PREFIX_SS_) {
segment           132 arch/x86/math-emu/get_address.c 	addr->selector = VM86_REG_(segment);
segment           133 arch/x86/math-emu/get_address.c 	return (unsigned long)VM86_REG_(segment) << 4;
segment           137 arch/x86/math-emu/get_address.c static long pm_address(u_char FPU_modrm, u_char segment,
segment           143 arch/x86/math-emu/get_address.c 	segment--;
segment           147 arch/x86/math-emu/get_address.c 	if (segment > PREFIX_SS_) {
segment           153 arch/x86/math-emu/get_address.c 	switch (segment) {
segment           159 arch/x86/math-emu/get_address.c 		addr->selector = PM_REG_(segment);
segment           221 arch/x86/math-emu/get_address.c 	    && (addr_modes.override.segment == PREFIX_CS_)) {
segment           281 arch/x86/math-emu/get_address.c 		address += vm86_segment(addr_modes.override.segment, addr);
segment           285 arch/x86/math-emu/get_address.c 		address = pm_address(FPU_modrm, addr_modes.override.segment,
segment           305 arch/x86/math-emu/get_address.c 	    && (addr_modes.override.segment == PREFIX_CS_)) {
segment           356 arch/x86/math-emu/get_address.c 		if (addr_modes.override.segment == PREFIX_DEFAULT)
segment           357 arch/x86/math-emu/get_address.c 			addr_modes.override.segment = PREFIX_SS_;
segment           361 arch/x86/math-emu/get_address.c 		if (addr_modes.override.segment == PREFIX_DEFAULT)
segment           362 arch/x86/math-emu/get_address.c 			addr_modes.override.segment = PREFIX_SS_;
segment           372 arch/x86/math-emu/get_address.c 		if (addr_modes.override.segment == PREFIX_DEFAULT)
segment           373 arch/x86/math-emu/get_address.c 			addr_modes.override.segment = PREFIX_SS_;
segment           389 arch/x86/math-emu/get_address.c 		address += vm86_segment(addr_modes.override.segment, addr);
segment           393 arch/x86/math-emu/get_address.c 		address = pm_address(FPU_modrm, addr_modes.override.segment,
segment           328 arch/x86/pci/acpi.c 	int domain = root->segment;
segment           334 arch/x86/pci/acpi.c 		root->segment = domain = 0;
segment           686 arch/x86/pci/common.c 			if ((pci_domain_nr(dev->bus) == rom->segment) &&
segment            59 arch/x86/pci/mmconfig-shared.c 		if (cfg->segment > new->segment ||
segment            60 arch/x86/pci/mmconfig-shared.c 		    (cfg->segment == new->segment &&
segment            69 arch/x86/pci/mmconfig-shared.c static struct pci_mmcfg_region *pci_mmconfig_alloc(int segment, int start,
segment            83 arch/x86/pci/mmconfig-shared.c 	new->segment = segment;
segment            92 arch/x86/pci/mmconfig-shared.c 		 "PCI MMCONFIG %04x [bus %02x-%02x]", segment, start, end);
segment            98 arch/x86/pci/mmconfig-shared.c struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
segment           103 arch/x86/pci/mmconfig-shared.c 	new = pci_mmconfig_alloc(segment, start, end, addr);
segment           112 arch/x86/pci/mmconfig-shared.c 		       segment, start, end, &new->res, (unsigned long)addr);
segment           118 arch/x86/pci/mmconfig-shared.c struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus)
segment           123 arch/x86/pci/mmconfig-shared.c 		if (cfg->segment == segment &&
segment           481 arch/x86/pci/mmconfig-shared.c 			 cfg->segment, cfg->start_bus, cfg->end_bus);
segment           492 arch/x86/pci/mmconfig-shared.c 				cfg->segment, cfg->start_bus, cfg->end_bus,
segment           646 arch/x86/pci/mmconfig-shared.c 			if (cfg->segment)
segment           742 arch/x86/pci/mmconfig-shared.c 				  cfg->segment, cfg->start_bus, cfg->end_bus);
segment           801 arch/x86/pci/mmconfig-shared.c 		if (cfg->segment == seg && cfg->start_bus == start &&
segment            84 arch/x86/pci/pcbios.c 	unsigned short segment;
segment           125 arch/x86/pci/pcbios.c 	unsigned short segment;
segment           128 arch/x86/pci/pcbios.c 	.segment = __KERNEL_CS,
segment           350 arch/x86/pci/pcbios.c 	u16 segment;
segment           367 arch/x86/pci/pcbios.c 	opt.segment = __KERNEL_DS;
segment            31 arch/x86/platform/olpc/olpc-xo1-pm.c 	unsigned short segment;
segment           274 drivers/acpi/acpica/evrgnini.c 		pci_id->segment = ACPI_LOWORD(pci_value);
segment           364 drivers/acpi/acpica/exregion.c 			  function, bit_width, pci_id->segment, pci_id->bus,
segment           217 drivers/acpi/acpica/hwpci.c 			  pci_id->segment, pci_id->bus, pci_id->device,
segment           243 drivers/acpi/acpica/hwpci.c 			  pci_id->segment, pci_id->bus, pci_id->device,
segment           484 drivers/acpi/apei/ghes.c 		aer_recover_queue(pcie_err->device_id.segment,
segment           803 drivers/acpi/osl.c 	result = raw_pci_read(pci_id->segment, pci_id->bus,
segment           831 drivers/acpi/osl.c 	result = raw_pci_write(pci_id->segment, pci_id->bus,
segment            85 drivers/acpi/pci_irq.c 	unsigned int		segment;
segment           123 drivers/acpi/pci_irq.c 		    entry->id.segment == quirk->segment &&
segment           132 drivers/acpi/pci_irq.c 				entry->id.segment, entry->id.bus,
segment           144 drivers/acpi/pci_irq.c 	int segment = pci_domain_nr(dev->bus);
segment           162 drivers/acpi/pci_irq.c 	entry->id.segment = segment;
segment           197 drivers/acpi/pci_irq.c 			      entry->id.segment, entry->id.bus,
segment            20 drivers/acpi/pci_mcfg.c 	u16			segment;
segment            30 drivers/acpi/pci_mcfg.c 	u16 segment;
segment           151 drivers/acpi/pci_mcfg.c static int pci_mcfg_quirk_matches(struct mcfg_fixup *f, u16 segment,
segment           158 drivers/acpi/pci_mcfg.c 	    f->segment == segment &&
segment           171 drivers/acpi/pci_mcfg.c 	u16 segment = root->segment;
segment           177 drivers/acpi/pci_mcfg.c 		if (pci_mcfg_quirk_matches(f, segment, bus_range)) {
segment           198 drivers/acpi/pci_mcfg.c 	u16 seg = root->segment;
segment           210 drivers/acpi/pci_mcfg.c 		if (e->segment == seg && e->bus_start <= bus_res->start &&
segment           260 drivers/acpi/pci_mcfg.c 		e->segment = mptr->pci_segment;
segment           524 drivers/acpi/pci_root.c 	unsigned long long segment, bus;
segment           537 drivers/acpi/pci_root.c 	segment = 0;
segment           539 drivers/acpi/pci_root.c 				       &segment);
segment           573 drivers/acpi/pci_root.c 	root->segment = segment & 0xFFFF;
segment           585 drivers/acpi/pci_root.c 	       root->segment, &root->secondary);
segment           607 drivers/acpi/pci_root.c 			root->segment, (unsigned int)root->secondary.start);
segment           890 drivers/acpi/pci_root.c 		 root->segment, busnum);
segment           307 drivers/bluetooth/btqca.c 	const u8 *segment;
segment           321 drivers/bluetooth/btqca.c 	segment = fw->data;
segment           333 drivers/bluetooth/btqca.c 		ret = qca_tlv_send_segment(hdev, segsize, segment,
segment           338 drivers/bluetooth/btqca.c 		segment += segsize;
segment           828 drivers/char/agp/frontend.c 		struct agp_segment *segment;
segment           833 drivers/char/agp/frontend.c 		segment = kmalloc((sizeof(struct agp_segment) * reserve.seg_count),
segment           836 drivers/char/agp/frontend.c 		if (segment == NULL)
segment           839 drivers/char/agp/frontend.c 		if (copy_from_user(segment, (void __user *) reserve.seg_list,
segment           841 drivers/char/agp/frontend.c 			kfree(segment);
segment           844 drivers/char/agp/frontend.c 		reserve.seg_list = segment;
segment           851 drivers/char/agp/frontend.c 				kfree(segment);
segment           562 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_vdma_tx_segment *segment;
segment           565 drivers/dma/xilinx/xilinx_dma.c 	segment = dma_pool_zalloc(chan->desc_pool, GFP_ATOMIC, &phys);
segment           566 drivers/dma/xilinx/xilinx_dma.c 	if (!segment)
segment           569 drivers/dma/xilinx/xilinx_dma.c 	segment->phys = phys;
segment           571 drivers/dma/xilinx/xilinx_dma.c 	return segment;
segment           583 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_cdma_tx_segment *segment;
segment           586 drivers/dma/xilinx/xilinx_dma.c 	segment = dma_pool_zalloc(chan->desc_pool, GFP_ATOMIC, &phys);
segment           587 drivers/dma/xilinx/xilinx_dma.c 	if (!segment)
segment           590 drivers/dma/xilinx/xilinx_dma.c 	segment->phys = phys;
segment           592 drivers/dma/xilinx/xilinx_dma.c 	return segment;
segment           604 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_axidma_tx_segment *segment = NULL;
segment           609 drivers/dma/xilinx/xilinx_dma.c 		segment = list_first_entry(&chan->free_seg_list,
segment           612 drivers/dma/xilinx/xilinx_dma.c 		list_del(&segment->node);
segment           616 drivers/dma/xilinx/xilinx_dma.c 	return segment;
segment           636 drivers/dma/xilinx/xilinx_dma.c 				struct xilinx_axidma_tx_segment *segment)
segment           638 drivers/dma/xilinx/xilinx_dma.c 	xilinx_dma_clean_hw_desc(&segment->hw);
segment           640 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&segment->node, &chan->free_seg_list);
segment           649 drivers/dma/xilinx/xilinx_dma.c 				struct xilinx_cdma_tx_segment *segment)
segment           651 drivers/dma/xilinx/xilinx_dma.c 	dma_pool_free(chan->desc_pool, segment, segment->phys);
segment           660 drivers/dma/xilinx/xilinx_dma.c 					struct xilinx_vdma_tx_segment *segment)
segment           662 drivers/dma/xilinx/xilinx_dma.c 	dma_pool_free(chan->desc_pool, segment, segment->phys);
segment           694 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_vdma_tx_segment *segment, *next;
segment           702 drivers/dma/xilinx/xilinx_dma.c 		list_for_each_entry_safe(segment, next, &desc->segments, node) {
segment           703 drivers/dma/xilinx/xilinx_dma.c 			list_del(&segment->node);
segment           704 drivers/dma/xilinx/xilinx_dma.c 			xilinx_vdma_free_tx_segment(chan, segment);
segment          1006 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_axidma_tx_segment *segment;
segment          1022 drivers/dma/xilinx/xilinx_dma.c 			list_for_each_entry(segment, &desc->segments, node) {
segment          1023 drivers/dma/xilinx/xilinx_dma.c 				hw = &segment->hw;
segment          1103 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_vdma_tx_segment *segment, *last = NULL;
segment          1164 drivers/dma/xilinx/xilinx_dma.c 	list_for_each_entry(segment, &desc->segments, node) {
segment          1168 drivers/dma/xilinx/xilinx_dma.c 				   segment->hw.buf_addr,
segment          1169 drivers/dma/xilinx/xilinx_dma.c 				   segment->hw.buf_addr_msb);
segment          1173 drivers/dma/xilinx/xilinx_dma.c 					segment->hw.buf_addr);
segment          1175 drivers/dma/xilinx/xilinx_dma.c 		last = segment;
segment          1245 drivers/dma/xilinx/xilinx_dma.c 		struct xilinx_cdma_tx_segment *segment;
segment          1248 drivers/dma/xilinx/xilinx_dma.c 		segment = list_first_entry(&head_desc->segments,
segment          1252 drivers/dma/xilinx/xilinx_dma.c 		hw = &segment->hw;
segment          1352 drivers/dma/xilinx/xilinx_dma.c 		struct xilinx_axidma_tx_segment *segment;
segment          1355 drivers/dma/xilinx/xilinx_dma.c 		segment = list_first_entry(&head_desc->segments,
segment          1358 drivers/dma/xilinx/xilinx_dma.c 		hw = &segment->hw;
segment          1642 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_vdma_tx_segment *segment;
segment          1664 drivers/dma/xilinx/xilinx_dma.c 	segment = xilinx_vdma_alloc_tx_segment(chan);
segment          1665 drivers/dma/xilinx/xilinx_dma.c 	if (!segment)
segment          1669 drivers/dma/xilinx/xilinx_dma.c 	hw = &segment->hw;
segment          1694 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&segment->node, &desc->segments);
segment          1697 drivers/dma/xilinx/xilinx_dma.c 	segment = list_first_entry(&desc->segments,
segment          1699 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
segment          1724 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_cdma_tx_segment *segment;
segment          1738 drivers/dma/xilinx/xilinx_dma.c 	segment = xilinx_cdma_alloc_tx_segment(chan);
segment          1739 drivers/dma/xilinx/xilinx_dma.c 	if (!segment)
segment          1742 drivers/dma/xilinx/xilinx_dma.c 	hw = &segment->hw;
segment          1752 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&segment->node, &desc->segments);
segment          1754 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
segment          1755 drivers/dma/xilinx/xilinx_dma.c 	hw->next_desc = segment->phys;
segment          1782 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_axidma_tx_segment *segment = NULL;
segment          1809 drivers/dma/xilinx/xilinx_dma.c 			segment = xilinx_axidma_alloc_tx_segment(chan);
segment          1810 drivers/dma/xilinx/xilinx_dma.c 			if (!segment)
segment          1819 drivers/dma/xilinx/xilinx_dma.c 			hw = &segment->hw;
segment          1839 drivers/dma/xilinx/xilinx_dma.c 			list_add_tail(&segment->node, &desc->segments);
segment          1843 drivers/dma/xilinx/xilinx_dma.c 	segment = list_first_entry(&desc->segments,
segment          1845 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
segment          1849 drivers/dma/xilinx/xilinx_dma.c 		segment->hw.control |= XILINX_DMA_BD_SOP;
segment          1850 drivers/dma/xilinx/xilinx_dma.c 		segment = list_last_entry(&desc->segments,
segment          1853 drivers/dma/xilinx/xilinx_dma.c 		segment->hw.control |= XILINX_DMA_BD_EOP;
segment          1881 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_axidma_tx_segment *segment, *head_segment, *prev = NULL;
segment          1914 drivers/dma/xilinx/xilinx_dma.c 			segment = xilinx_axidma_alloc_tx_segment(chan);
segment          1915 drivers/dma/xilinx/xilinx_dma.c 			if (!segment)
segment          1924 drivers/dma/xilinx/xilinx_dma.c 			hw = &segment->hw;
segment          1930 drivers/dma/xilinx/xilinx_dma.c 				prev->hw.next_desc = segment->phys;
segment          1932 drivers/dma/xilinx/xilinx_dma.c 			prev = segment;
segment          1939 drivers/dma/xilinx/xilinx_dma.c 			list_add_tail(&segment->node, &desc->segments);
segment          1952 drivers/dma/xilinx/xilinx_dma.c 	segment = list_last_entry(&desc->segments,
segment          1955 drivers/dma/xilinx/xilinx_dma.c 	segment->hw.next_desc = (u32) head_segment->phys;
segment          1960 drivers/dma/xilinx/xilinx_dma.c 		segment->hw.control |= XILINX_DMA_BD_EOP;
segment          1986 drivers/dma/xilinx/xilinx_dma.c 	struct xilinx_axidma_tx_segment *segment;
segment          2008 drivers/dma/xilinx/xilinx_dma.c 	segment = xilinx_axidma_alloc_tx_segment(chan);
segment          2009 drivers/dma/xilinx/xilinx_dma.c 	if (!segment)
segment          2012 drivers/dma/xilinx/xilinx_dma.c 	hw = &segment->hw;
segment          2031 drivers/dma/xilinx/xilinx_dma.c 	list_add_tail(&segment->node, &desc->segments);
segment          2034 drivers/dma/xilinx/xilinx_dma.c 	segment = list_first_entry(&desc->segments,
segment          2036 drivers/dma/xilinx/xilinx_dma.c 	desc->async_tx.phys = segment->phys;
segment          2040 drivers/dma/xilinx/xilinx_dma.c 		segment->hw.control |= XILINX_DMA_BD_SOP;
segment          2041 drivers/dma/xilinx/xilinx_dma.c 		segment = list_last_entry(&desc->segments,
segment          2044 drivers/dma/xilinx/xilinx_dma.c 		segment->hw.control |= XILINX_DMA_BD_EOP;
segment           323 drivers/firmware/dmi_scan.c static void __init dmi_save_dev_pciaddr(int instance, int segment, int bus,
segment           330 drivers/firmware/dmi_scan.c 	    segment == 0xFFFF && bus == 0xFF && devfn == 0xFF)
segment           338 drivers/firmware/dmi_scan.c 	dev->segment = segment;
segment           375 drivers/firmware/efi/cper.c 		       pcie->device_id.segment, pcie->device_id.bus,
segment            66 drivers/firmware/pcdp.h 	u8			segment;
segment           446 drivers/gpu/drm/amd/amdgpu/soc15.c 		reg =  adev->reg_offset[entry->hwip][entry->instance][entry->segment] + entry->reg;
segment            39 drivers/gpu/drm/amd/amdgpu/soc15.h 	u32	segment;
segment            34 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c 	unsigned int segment[MAX_SEGMENT];
segment            63 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c 	(MP1_BASE.instance[0].segment[mm ## reg_name ## _BASE_IDX] + mm ## reg_name)
segment            53 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c 	(CLK_BASE.instance[0].segment[mm ## reg_name ## _BASE_IDX] + mm ## reg_name)
segment            36 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c 	(MP0_BASE.instance[0].segment[mm ## reg_name ## _BASE_IDX] + mm ## reg_name)
segment           160 drivers/gpu/drm/amd/display/dc/dm_services.h 		dm_write_reg_func(ctx, reg + DCE_BASE.instance[0].segment[reg##_BASE_IDX] + inst_offset, value, __func__)
segment           163 drivers/gpu/drm/amd/display/dc/dm_services.h 		dm_read_reg_func(ctx, reg + DCE_BASE.instance[0].segment[reg##_BASE_IDX] + inst_offset, __func__)
segment           166 drivers/gpu/drm/amd/display/dc/dm_services.h 		generic_reg_update_ex(ctx, DCE_BASE.instance[0].segment[mm##reg_name##_BASE_IDX] +  mm##reg_name + inst_offset, \
segment           170 drivers/gpu/drm/amd/display/dc/dm_services.h 		generic_reg_set_ex(ctx, DCE_BASE.instance[0].segment[mm##reg_name##_BASE_IDX] + mm##reg_name + inst_offset, 0, \
segment            76 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 	int32_t segment;
segment            84 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 	for (segment = 6; segment > (6 - NUM_REGIONS); segment--) {
segment            88 drivers/gpu/drm/amd/display/modules/color/color_gamma.c 		seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION;
segment            30 drivers/gpu/drm/amd/include/arct_ip_offset.h     unsigned int segment[MAX_SEGMENT];
segment            29 drivers/gpu/drm/amd/include/navi10_ip_offset.h 	unsigned int segment[MAX_SEGMENT];
segment            30 drivers/gpu/drm/amd/include/navi12_ip_offset.h     unsigned int segment[MAX_SEGMENT];
segment            30 drivers/gpu/drm/amd/include/navi14_ip_offset.h     unsigned int segment[MAX_SEGMENT];
segment            30 drivers/gpu/drm/amd/include/renoir_ip_offset.h     unsigned int segment[MAX_SEGMENT];
segment            29 drivers/gpu/drm/amd/include/vega10_ip_offset.h     unsigned int segment[MAX_SEGMENT];
segment            30 drivers/gpu/drm/amd/include/vega20_ip_offset.h     unsigned int segment[MAX_SEGMENT];
segment          1506 drivers/gpu/drm/drm_edid.c 	unsigned char segment = block >> 1;
segment          1507 drivers/gpu/drm/drm_edid.c 	unsigned char xfers = segment ? 3 : 2;
segment          1523 drivers/gpu/drm/drm_edid.c 				.buf	= &segment,
segment           219 drivers/iommu/dmar.c 			  void *start, void*end, u16 segment,
segment           228 drivers/iommu/dmar.c 	if (segment != info->seg)
segment           275 drivers/iommu/dmar.c int dmar_remove_dev_scope(struct dmar_pci_notify_info *info, u16 segment,
segment           281 drivers/iommu/dmar.c 	if (info->seg != segment)
segment           309 drivers/iommu/dmar.c 				dmaru->segment,
segment           327 drivers/iommu/dmar.c 		if (dmar_remove_dev_scope(info, dmaru->segment,
segment           376 drivers/iommu/dmar.c 		if (dmaru->segment == drhd->segment &&
segment           410 drivers/iommu/dmar.c 	dmaru->segment = drhd->segment;
segment           686 drivers/iommu/dmar.c 		    drhd->segment == pci_domain_nr(dev->bus))
segment          1062 drivers/iommu/dmar.c 	iommu->segment = drhd->segment;
segment           768 drivers/iommu/intel-iommu.c 	u16 segment = 0;
segment           789 drivers/iommu/intel-iommu.c 		segment = pci_domain_nr(pdev->bus);
segment           795 drivers/iommu/intel-iommu.c 		if (pdev && segment != drhd->segment)
segment          2449 drivers/iommu/intel-iommu.c dmar_search_domain_by_dev_info(int segment, int bus, int devfn)
segment          2454 drivers/iommu/intel-iommu.c 		if (info->iommu->segment == segment && info->bus == bus &&
segment          2516 drivers/iommu/intel-iommu.c 		info2 = dmar_search_domain_by_dev_info(iommu->segment, bus, devfn);
segment          4341 drivers/iommu/intel-iommu.c 		if (atsr->segment != tmp->segment)
segment          4581 drivers/iommu/intel-iommu.c 		if (atsr->segment != pci_domain_nr(dev->bus))
segment          4615 drivers/iommu/intel-iommu.c 				rmrr->segment, rmrru->devices,
segment          4620 drivers/iommu/intel-iommu.c 			dmar_remove_dev_scope(info, rmrr->segment,
segment          4633 drivers/iommu/intel-iommu.c 					atsr->segment, atsru->devices,
segment          4640 drivers/iommu/intel-iommu.c 			if (dmar_remove_dev_scope(info, atsr->segment,
segment            87 drivers/iommu/intel-pasid.c 	int			segment;
segment            96 drivers/iommu/intel-pasid.c 	if (info->iommu->segment == data->segment &&
segment           111 drivers/iommu/intel-pasid.c 	data->segment = pci_domain_nr(pdev->bus);
segment           304 drivers/md/dm-flakey.c 			char *segment = (page_address(bio_iter_page(bio, iter))
segment           306 drivers/md/dm-flakey.c 			segment[corrupt_bio_byte] = fc->corrupt_bio_value;
segment           545 drivers/media/dvb-frontends/mb86a20s.c 				   u32 segment)
segment           607 drivers/media/dvb-frontends/mb86a20s.c 	rate = isdbt_rate[mod][fec][guard] * segment * BER_SAMPLING_RATE;
segment           618 drivers/media/dvb-frontends/mb86a20s.c 		segment * isdbt_rate[mod][fec][guard]/1000,
segment           786 drivers/media/i2c/ad9389b.c 				  int segment, u8 *buf)
segment           793 drivers/media/i2c/ad9389b.c 	v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment);
segment           840 drivers/media/i2c/ad9389b.c 	ed.segment = ad9389b_rd(sd, 0xc4);
segment           976 drivers/media/i2c/ad9389b.c static bool edid_verify_crc(struct v4l2_subdev *sd, u32 segment)
segment           982 drivers/media/i2c/ad9389b.c 	if (edid_block_verify_crc(&data[segment * 256])) {
segment           983 drivers/media/i2c/ad9389b.c 		if ((segment + 1) * 2 <= blocks)
segment           984 drivers/media/i2c/ad9389b.c 			return edid_block_verify_crc(&data[segment * 256 + 128]);
segment           990 drivers/media/i2c/ad9389b.c static bool edid_verify_header(struct v4l2_subdev *sd, u32 segment)
segment           999 drivers/media/i2c/ad9389b.c 	if (segment)
segment          1013 drivers/media/i2c/ad9389b.c 	int segment;
segment          1022 drivers/media/i2c/ad9389b.c 	segment = ad9389b_rd(sd, 0xc4);
segment          1023 drivers/media/i2c/ad9389b.c 	if (segment >= EDID_MAX_SEGM) {
segment          1027 drivers/media/i2c/ad9389b.c 	v4l2_dbg(1, debug, sd, "%s: got segment %d\n", __func__, segment);
segment          1028 drivers/media/i2c/ad9389b.c 	ad9389b_edid_rd(sd, 256, &state->edid.data[segment * 256]);
segment          1029 drivers/media/i2c/ad9389b.c 	ad9389b_dbg_dump_edid(2, debug, sd, segment,
segment          1030 drivers/media/i2c/ad9389b.c 			      &state->edid.data[segment * 256]);
segment          1031 drivers/media/i2c/ad9389b.c 	if (segment == 0) {
segment          1036 drivers/media/i2c/ad9389b.c 	if (!edid_verify_crc(sd, segment) ||
segment          1037 drivers/media/i2c/ad9389b.c 	    !edid_verify_header(sd, segment)) {
segment          1045 drivers/media/i2c/ad9389b.c 	state->edid.segments = segment + 1;
segment          1059 drivers/media/i2c/ad9389b.c 	ed.segment = 0;
segment          1454 drivers/media/i2c/adv7511-v4l2.c static void adv7511_dbg_dump_edid(int lvl, int debug, struct v4l2_subdev *sd, int segment, u8 *buf)
segment          1458 drivers/media/i2c/adv7511-v4l2.c 		v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment);
segment          1481 drivers/media/i2c/adv7511-v4l2.c 	ed.segment = adv7511_rd(sd, 0xc4);
segment          1631 drivers/media/i2c/adv7511-v4l2.c static bool edid_verify_crc(struct v4l2_subdev *sd, u32 segment)
segment          1637 drivers/media/i2c/adv7511-v4l2.c 	if (!edid_block_verify_crc(&data[segment * 256]))
segment          1639 drivers/media/i2c/adv7511-v4l2.c 	if ((segment + 1) * 2 <= blocks)
segment          1640 drivers/media/i2c/adv7511-v4l2.c 		return edid_block_verify_crc(&data[segment * 256 + 128]);
segment          1644 drivers/media/i2c/adv7511-v4l2.c static bool edid_verify_header(struct v4l2_subdev *sd, u32 segment)
segment          1652 drivers/media/i2c/adv7511-v4l2.c 	if (segment != 0)
segment          1669 drivers/media/i2c/adv7511-v4l2.c 		int segment = adv7511_rd(sd, 0xc4);
segment          1672 drivers/media/i2c/adv7511-v4l2.c 		if (segment >= EDID_MAX_SEGM) {
segment          1676 drivers/media/i2c/adv7511-v4l2.c 		v4l2_dbg(1, debug, sd, "%s: got segment %d\n", __func__, segment);
segment          1677 drivers/media/i2c/adv7511-v4l2.c 		adv7511_edid_rd(sd, 256, &state->edid.data[segment * 256]);
segment          1678 drivers/media/i2c/adv7511-v4l2.c 		adv7511_dbg_dump_edid(2, debug, sd, segment, &state->edid.data[segment * 256]);
segment          1679 drivers/media/i2c/adv7511-v4l2.c 		if (segment == 0) {
segment          1683 drivers/media/i2c/adv7511-v4l2.c 		if (!edid_verify_crc(sd, segment) ||
segment          1684 drivers/media/i2c/adv7511-v4l2.c 		    !edid_verify_header(sd, segment)) {
segment          1693 drivers/media/i2c/adv7511-v4l2.c 		state->edid.segments = segment + 1;
segment          1714 drivers/media/i2c/adv7511-v4l2.c 		ed.segment = 0;
segment           158 drivers/misc/eeprom/at25.c 		unsigned	segment;
segment           191 drivers/misc/eeprom/at25.c 		segment = buf_size - (offset % buf_size);
segment           192 drivers/misc/eeprom/at25.c 		if (segment > count)
segment           193 drivers/misc/eeprom/at25.c 			segment = count;
segment           194 drivers/misc/eeprom/at25.c 		memcpy(cp, buf, segment);
segment           196 drivers/misc/eeprom/at25.c 				segment + at25->addrlen + 1);
segment           198 drivers/misc/eeprom/at25.c 			segment, offset, status);
segment           226 drivers/misc/eeprom/at25.c 				segment, offset,
segment           233 drivers/misc/eeprom/at25.c 		off += segment;
segment           234 drivers/misc/eeprom/at25.c 		buf += segment;
segment           235 drivers/misc/eeprom/at25.c 		count -= segment;
segment          1704 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	int segment;
segment          1709 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	segment = (tpd->word3 >> TPD_SEGMENT_EN_SHIFT) & TPD_SEGMENT_EN_MASK;
segment          1710 drivers/net/ethernet/atheros/atl1e/atl1e_main.c 	if (segment) {
segment          2377 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 			offsetof(struct cstorm_def_status_block_u, segment)
segment          2379 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 			offsetof(struct cstorm_def_status_block_c, segment)
segment          2381 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 			offsetof(struct xstorm_def_status_block, segment)
segment          2383 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 			offsetof(struct tstorm_def_status_block, segment)
segment           202 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment,
segment           639 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 					u8 segment, u16 index, u8 op,
segment           646 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			 (segment << IGU_REGULAR_SEGMENT_ACCESS_SHIFT) |
segment           684 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		u8 segment;
segment           687 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			segment = storm;
segment           689 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			segment = IGU_SEG_ACCESS_DEF;
segment           691 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			segment = IGU_SEG_ACCESS_ATTN;
segment           693 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 			segment = IGU_SEG_ACCESS_DEF;
segment           694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h 		bnx2x_igu_ack_sb(bp, igu_sb_id, segment, index, op, update);
segment          5220 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment,
segment          5225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	bnx2x_igu_ack_sb_gen(bp, igu_sb_id, segment, index, op, update,
segment            79 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 				u8 igu_sb_id, u8 segment, u16 index, u8 op,
segment            92 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 			 (segment << IGU_REGULAR_SEGMENT_ACCESS_SHIFT) |
segment          3069 drivers/net/ethernet/broadcom/cnic.c static void cnic_ack_igu_sb(struct cnic_dev *dev, u8 igu_sb_id, u8 segment,
segment          3077 drivers/net/ethernet/broadcom/cnic.c 		(segment << IGU_REGULAR_SEGMENT_ACCESS_SHIFT) |
segment          1272 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	int segment;
segment          1274 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	for (segment = 0; segment < sh->gso_segs; segment++) {
segment          5491 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_generic_seg_header *segment;
segment          5496 drivers/net/ethernet/intel/i40e/i40e_common.c 		segment =
segment          5500 drivers/net/ethernet/intel/i40e/i40e_common.c 		if (segment->type == segment_type)
segment          5501 drivers/net/ethernet/intel/i40e/i40e_common.c 			return segment;
segment           207 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	u32 segment;
segment           234 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	for (segment = 0; segment < pkg_hdr->segment_count; ++segment) {
segment           235 drivers/net/ethernet/intel/i40e/i40e_ddp.c 		u32 offset = pkg_hdr->segment_offset[segment];
segment           240 drivers/net/ethernet/intel/i40e/i40e_ddp.c 				   segment);
segment           246 drivers/net/ethernet/intel/i40e/i40e_ddp.c 				   segment);
segment          7144 drivers/net/ethernet/qlogic/qed/qed_debug.c 			u8 update_flag, en_dis_int_for_sb, segment;
segment          7152 drivers/net/ethernet/qlogic/qed/qed_debug.c 			segment = GET_FIELD(wr_data,
segment          7164 drivers/net/ethernet/qlogic/qed/qed_debug.c 				segment ? "attn" : "regular",
segment           109 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 	u16 i, segment;
segment           128 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 		for (segment = 1; i + segment < size; segment++)
segment           129 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 			if (!p_valid[i + segment])
segment           134 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 				       addr + (i << 2), segment, NULL);
segment           139 drivers/net/ethernet/qlogic/qed/qed_init_ops.c 		i += segment;
segment            60 drivers/pci/controller/dwc/pcie-al.c 	ret = acpi_get_rc_resources(dev, "AMZN0001", root->segment, res);
segment            63 drivers/pci/controller/dwc/pcie-al.c 			root->segment);
segment            93 drivers/pci/controller/dwc/pcie-hisi.c 	ret = acpi_get_rc_resources(dev, "HISI0081", root->segment, res);
segment           363 drivers/pci/controller/pci-thunder-pem.c 	index = root->segment - PEM_MIN_DOM_IN_NODE;
segment           382 drivers/pci/controller/pci-thunder-pem.c 	ret = acpi_get_rc_resources(dev, "CAVA02B", root->segment, res_pem);
segment           395 drivers/pci/controller/pci-thunder-pem.c 		thunder_pem_reserve_range(dev, root->segment, res_pem);
segment           399 drivers/pci/controller/pci-thunder-pem.c 		thunder_pem_reserve_range(dev, root->segment, &cfg->res);
segment            64 drivers/pci/pci-acpi.c 	u16 *segment = context;
segment            69 drivers/pci/pci-acpi.c 	if (ACPI_FAILURE(status) || uid != *segment)
segment            76 drivers/pci/pci-acpi.c int acpi_get_rc_resources(struct device *dev, const char *hid, u16 segment,
segment            84 drivers/pci/pci-acpi.c 	status = acpi_get_devices(hid, acpi_match_rc, &segment, &handle);
segment            60 drivers/pci/pci-label.c 		if (donboard && donboard->segment == domain_nr &&
segment           589 drivers/pci/pci.h int acpi_get_rc_resources(struct device *dev, const char *hid, u16 segment,
segment            27 drivers/pnp/pnpbios/bioscalls.c 	u16 segment;
segment           478 drivers/pnp/pnpbios/bioscalls.c 	pnp_bios_callpoint.segment = PNP_CS16;
segment          1072 drivers/remoteproc/qcom_q6v5_mss.c 				   struct rproc_dump_segment *segment,
segment          1077 drivers/remoteproc/qcom_q6v5_mss.c 	unsigned long mask = BIT((unsigned long)segment->priv);
segment          1078 drivers/remoteproc/qcom_q6v5_mss.c 	void *ptr = rproc_da_to_va(rproc, segment->da, segment->size);
segment          1093 drivers/remoteproc/qcom_q6v5_mss.c 		memset(dest, 0xff, segment->size);
segment          1095 drivers/remoteproc/qcom_q6v5_mss.c 		memcpy(dest, ptr, segment->size);
segment          1505 drivers/remoteproc/remoteproc_core.c 	struct rproc_dump_segment *segment;
segment          1507 drivers/remoteproc/remoteproc_core.c 	segment = kzalloc(sizeof(*segment), GFP_KERNEL);
segment          1508 drivers/remoteproc/remoteproc_core.c 	if (!segment)
segment          1511 drivers/remoteproc/remoteproc_core.c 	segment->da = da;
segment          1512 drivers/remoteproc/remoteproc_core.c 	segment->size = size;
segment          1514 drivers/remoteproc/remoteproc_core.c 	list_add_tail(&segment->node, &rproc->dump_segments);
segment          1537 drivers/remoteproc/remoteproc_core.c 						     struct rproc_dump_segment *segment,
segment          1541 drivers/remoteproc/remoteproc_core.c 	struct rproc_dump_segment *segment;
segment          1543 drivers/remoteproc/remoteproc_core.c 	segment = kzalloc(sizeof(*segment), GFP_KERNEL);
segment          1544 drivers/remoteproc/remoteproc_core.c 	if (!segment)
segment          1547 drivers/remoteproc/remoteproc_core.c 	segment->da = da;
segment          1548 drivers/remoteproc/remoteproc_core.c 	segment->size = size;
segment          1549 drivers/remoteproc/remoteproc_core.c 	segment->priv = priv;
segment          1550 drivers/remoteproc/remoteproc_core.c 	segment->dump = dumpfn;
segment          1552 drivers/remoteproc/remoteproc_core.c 	list_add_tail(&segment->node, &rproc->dump_segments);
segment          1567 drivers/remoteproc/remoteproc_core.c 	struct rproc_dump_segment *segment;
segment          1580 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry(segment, &rproc->dump_segments, node) {
segment          1581 drivers/remoteproc/remoteproc_core.c 		data_size += sizeof(*phdr) + segment->size;
segment          1609 drivers/remoteproc/remoteproc_core.c 	list_for_each_entry(segment, &rproc->dump_segments, node) {
segment          1613 drivers/remoteproc/remoteproc_core.c 		phdr->p_vaddr = segment->da;
segment          1614 drivers/remoteproc/remoteproc_core.c 		phdr->p_paddr = segment->da;
segment          1615 drivers/remoteproc/remoteproc_core.c 		phdr->p_filesz = segment->size;
segment          1616 drivers/remoteproc/remoteproc_core.c 		phdr->p_memsz = segment->size;
segment          1620 drivers/remoteproc/remoteproc_core.c 		if (segment->dump) {
segment          1621 drivers/remoteproc/remoteproc_core.c 			segment->dump(rproc, segment, data + offset);
segment          1623 drivers/remoteproc/remoteproc_core.c 			ptr = rproc_da_to_va(rproc, segment->da, segment->size);
segment          1627 drivers/remoteproc/remoteproc_core.c 					&segment->da, segment->size);
segment          1628 drivers/remoteproc/remoteproc_core.c 				memset(data + offset, 0xff, segment->size);
segment          1630 drivers/remoteproc/remoteproc_core.c 				memcpy(data + offset, ptr, segment->size);
segment           365 drivers/remoteproc/stm32_rproc.c 	struct rproc_dump_segment *segment;
segment           371 drivers/remoteproc/stm32_rproc.c 		list_for_each_entry(segment, &rproc->dump_segments, node) {
segment           372 drivers/remoteproc/stm32_rproc.c 			if (segment->da == trace->trace_mem.da) {
segment            37 drivers/s390/char/tape_34xx.c 	unsigned int	segment		: 7;
segment           914 drivers/s390/char/tape_34xx.c 	if (!sbid_list || (bid.segment < 2 && bid.wrap == 0))
segment           929 drivers/s390/char/tape_34xx.c 			(sbid->bid.segment == bid.segment) &&
segment           953 drivers/s390/char/tape_34xx.c 			sbid->bid.segment,
segment           980 drivers/s390/char/tape_34xx.c 				sbid->bid.segment,
segment          1004 drivers/s390/char/tape_34xx.c 	bid->segment = 1;
segment          1019 drivers/s390/char/tape_34xx.c 		bid->segment = sbid_to_use->bid.segment;
segment          1022 drivers/s390/char/tape_34xx.c 			sbid_to_use->bid.segment,
segment            82 drivers/scsi/aic7xxx/aiclib.h 	uint8_t segment;
segment           153 drivers/scsi/iscsi_tcp.c 	iscsi_tcp_segment_unmap(&tcp_conn->in.segment);
segment           260 drivers/scsi/iscsi_tcp.c 				     struct iscsi_segment *segment)
segment           267 drivers/scsi/iscsi_tcp.c 	while (!iscsi_tcp_segment_done(tcp_conn, segment, 0, r)) {
segment           273 drivers/scsi/iscsi_tcp.c 		offset = segment->copied;
segment           274 drivers/scsi/iscsi_tcp.c 		copy = segment->size - offset;
segment           276 drivers/scsi/iscsi_tcp.c 		if (segment->total_copied + segment->size < segment->total_size)
segment           280 drivers/scsi/iscsi_tcp.c 		if (!segment->data) {
segment           281 drivers/scsi/iscsi_tcp.c 			sg = segment->sg;
segment           282 drivers/scsi/iscsi_tcp.c 			offset += segment->sg_offset + sg->offset;
segment           288 drivers/scsi/iscsi_tcp.c 				.iov_base = segment->data + offset,
segment           296 drivers/scsi/iscsi_tcp.c 			iscsi_tcp_segment_unmap(segment);
segment           312 drivers/scsi/iscsi_tcp.c 	struct iscsi_segment *segment = &tcp_sw_conn->out.segment;
segment           317 drivers/scsi/iscsi_tcp.c 		rc = iscsi_sw_tcp_xmit_segment(tcp_conn, segment);
segment           333 drivers/scsi/iscsi_tcp.c 		if (segment->total_copied >= segment->total_size) {
segment           334 drivers/scsi/iscsi_tcp.c 			if (segment->done != NULL) {
segment           335 drivers/scsi/iscsi_tcp.c 				rc = segment->done(tcp_conn, segment);
segment           363 drivers/scsi/iscsi_tcp.c 	struct iscsi_segment *segment = &tcp_sw_conn->out.segment;
segment           365 drivers/scsi/iscsi_tcp.c 	return segment->total_copied - segment->total_size;
segment           404 drivers/scsi/iscsi_tcp.c 				      struct iscsi_segment *segment)
segment           408 drivers/scsi/iscsi_tcp.c 	tcp_sw_conn->out.segment = tcp_sw_conn->out.data_segment;
segment           411 drivers/scsi/iscsi_tcp.c 			 tcp_sw_conn->out.segment.size,
segment           412 drivers/scsi/iscsi_tcp.c 			 tcp_sw_conn->out.segment.total_size);
segment           446 drivers/scsi/iscsi_tcp.c 	iscsi_segment_init_linear(&tcp_sw_conn->out.segment, hdr, hdrlen,
segment            25 drivers/scsi/iscsi_tcp.h 	struct iscsi_segment	segment;
segment            64 drivers/scsi/libiscsi_tcp.c 				   struct iscsi_segment *segment);
segment            90 drivers/scsi/libiscsi_tcp.c iscsi_tcp_segment_init_sg(struct iscsi_segment *segment,
segment            93 drivers/scsi/libiscsi_tcp.c 	segment->sg = sg;
segment            94 drivers/scsi/libiscsi_tcp.c 	segment->sg_offset = offset;
segment            95 drivers/scsi/libiscsi_tcp.c 	segment->size = min(sg->length - offset,
segment            96 drivers/scsi/libiscsi_tcp.c 			    segment->total_size - segment->total_copied);
segment            97 drivers/scsi/libiscsi_tcp.c 	segment->data = NULL;
segment           109 drivers/scsi/libiscsi_tcp.c static void iscsi_tcp_segment_map(struct iscsi_segment *segment, int recv)
segment           113 drivers/scsi/libiscsi_tcp.c 	if (segment->data != NULL || !segment->sg)
segment           116 drivers/scsi/libiscsi_tcp.c 	sg = segment->sg;
segment           117 drivers/scsi/libiscsi_tcp.c 	BUG_ON(segment->sg_mapped);
segment           135 drivers/scsi/libiscsi_tcp.c 		segment->atomic_mapped = true;
segment           136 drivers/scsi/libiscsi_tcp.c 		segment->sg_mapped = kmap_atomic(sg_page(sg));
segment           138 drivers/scsi/libiscsi_tcp.c 		segment->atomic_mapped = false;
segment           140 drivers/scsi/libiscsi_tcp.c 		segment->sg_mapped = kmap(sg_page(sg));
segment           143 drivers/scsi/libiscsi_tcp.c 	segment->data = segment->sg_mapped + sg->offset + segment->sg_offset;
segment           146 drivers/scsi/libiscsi_tcp.c void iscsi_tcp_segment_unmap(struct iscsi_segment *segment)
segment           148 drivers/scsi/libiscsi_tcp.c 	if (segment->sg_mapped) {
segment           149 drivers/scsi/libiscsi_tcp.c 		if (segment->atomic_mapped)
segment           150 drivers/scsi/libiscsi_tcp.c 			kunmap_atomic(segment->sg_mapped);
segment           152 drivers/scsi/libiscsi_tcp.c 			kunmap(sg_page(segment->sg));
segment           153 drivers/scsi/libiscsi_tcp.c 		segment->sg_mapped = NULL;
segment           154 drivers/scsi/libiscsi_tcp.c 		segment->data = NULL;
segment           163 drivers/scsi/libiscsi_tcp.c iscsi_tcp_segment_splice_digest(struct iscsi_segment *segment, void *digest)
segment           165 drivers/scsi/libiscsi_tcp.c 	segment->data = digest;
segment           166 drivers/scsi/libiscsi_tcp.c 	segment->digest_len = ISCSI_DIGEST_SIZE;
segment           167 drivers/scsi/libiscsi_tcp.c 	segment->total_size += ISCSI_DIGEST_SIZE;
segment           168 drivers/scsi/libiscsi_tcp.c 	segment->size = ISCSI_DIGEST_SIZE;
segment           169 drivers/scsi/libiscsi_tcp.c 	segment->copied = 0;
segment           170 drivers/scsi/libiscsi_tcp.c 	segment->sg = NULL;
segment           171 drivers/scsi/libiscsi_tcp.c 	segment->hash = NULL;
segment           191 drivers/scsi/libiscsi_tcp.c 			   struct iscsi_segment *segment, int recv,
segment           198 drivers/scsi/libiscsi_tcp.c 		      segment->copied, copied, segment->size,
segment           200 drivers/scsi/libiscsi_tcp.c 	if (segment->hash && copied) {
segment           205 drivers/scsi/libiscsi_tcp.c 		iscsi_tcp_segment_unmap(segment);
segment           207 drivers/scsi/libiscsi_tcp.c 		if (!segment->data) {
segment           209 drivers/scsi/libiscsi_tcp.c 			sg_set_page(&sg, sg_page(segment->sg), copied,
segment           210 drivers/scsi/libiscsi_tcp.c 				    segment->copied + segment->sg_offset +
segment           211 drivers/scsi/libiscsi_tcp.c 							segment->sg->offset);
segment           213 drivers/scsi/libiscsi_tcp.c 			sg_init_one(&sg, segment->data + segment->copied,
segment           215 drivers/scsi/libiscsi_tcp.c 		ahash_request_set_crypt(segment->hash, &sg, NULL, copied);
segment           216 drivers/scsi/libiscsi_tcp.c 		crypto_ahash_update(segment->hash);
segment           219 drivers/scsi/libiscsi_tcp.c 	segment->copied += copied;
segment           220 drivers/scsi/libiscsi_tcp.c 	if (segment->copied < segment->size) {
segment           221 drivers/scsi/libiscsi_tcp.c 		iscsi_tcp_segment_map(segment, recv);
segment           225 drivers/scsi/libiscsi_tcp.c 	segment->total_copied += segment->copied;
segment           226 drivers/scsi/libiscsi_tcp.c 	segment->copied = 0;
segment           227 drivers/scsi/libiscsi_tcp.c 	segment->size = 0;
segment           230 drivers/scsi/libiscsi_tcp.c 	iscsi_tcp_segment_unmap(segment);
segment           234 drivers/scsi/libiscsi_tcp.c 		      segment->total_copied, segment->total_size);
segment           235 drivers/scsi/libiscsi_tcp.c 	if (segment->total_copied < segment->total_size) {
segment           237 drivers/scsi/libiscsi_tcp.c 		iscsi_tcp_segment_init_sg(segment, sg_next(segment->sg),
segment           239 drivers/scsi/libiscsi_tcp.c 		iscsi_tcp_segment_map(segment, recv);
segment           240 drivers/scsi/libiscsi_tcp.c 		BUG_ON(segment->size == 0);
segment           246 drivers/scsi/libiscsi_tcp.c 		pad = iscsi_padding(segment->total_copied);
segment           250 drivers/scsi/libiscsi_tcp.c 			segment->total_size += pad;
segment           251 drivers/scsi/libiscsi_tcp.c 			segment->size = pad;
segment           252 drivers/scsi/libiscsi_tcp.c 			segment->data = segment->padbuf;
segment           261 drivers/scsi/libiscsi_tcp.c 	if (segment->hash) {
segment           262 drivers/scsi/libiscsi_tcp.c 		ahash_request_set_crypt(segment->hash, NULL,
segment           263 drivers/scsi/libiscsi_tcp.c 					segment->digest, 0);
segment           264 drivers/scsi/libiscsi_tcp.c 		crypto_ahash_final(segment->hash);
segment           265 drivers/scsi/libiscsi_tcp.c 		iscsi_tcp_segment_splice_digest(segment,
segment           266 drivers/scsi/libiscsi_tcp.c 				 recv ? segment->recv_digest : segment->digest);
segment           293 drivers/scsi/libiscsi_tcp.c 		       struct iscsi_segment *segment, const void *ptr,
segment           298 drivers/scsi/libiscsi_tcp.c 	while (!iscsi_tcp_segment_done(tcp_conn, segment, 1, copy)) {
segment           305 drivers/scsi/libiscsi_tcp.c 		copy = min(len - copied, segment->size - segment->copied);
segment           307 drivers/scsi/libiscsi_tcp.c 		memcpy(segment->data + segment->copied, ptr + copied, copy);
segment           327 drivers/scsi/libiscsi_tcp.c 		      struct iscsi_segment *segment)
segment           329 drivers/scsi/libiscsi_tcp.c 	if (!segment->digest_len)
segment           332 drivers/scsi/libiscsi_tcp.c 	if (memcmp(segment->recv_digest, segment->digest,
segment           333 drivers/scsi/libiscsi_tcp.c 		   segment->digest_len)) {
segment           345 drivers/scsi/libiscsi_tcp.c __iscsi_segment_init(struct iscsi_segment *segment, size_t size,
segment           348 drivers/scsi/libiscsi_tcp.c 	memset(segment, 0, sizeof(*segment));
segment           349 drivers/scsi/libiscsi_tcp.c 	segment->total_size = size;
segment           350 drivers/scsi/libiscsi_tcp.c 	segment->done = done;
segment           353 drivers/scsi/libiscsi_tcp.c 		segment->hash = hash;
segment           359 drivers/scsi/libiscsi_tcp.c iscsi_segment_init_linear(struct iscsi_segment *segment, void *data,
segment           363 drivers/scsi/libiscsi_tcp.c 	__iscsi_segment_init(segment, size, done, hash);
segment           364 drivers/scsi/libiscsi_tcp.c 	segment->data = data;
segment           365 drivers/scsi/libiscsi_tcp.c 	segment->size = size;
segment           370 drivers/scsi/libiscsi_tcp.c iscsi_segment_seek_sg(struct iscsi_segment *segment,
segment           379 drivers/scsi/libiscsi_tcp.c 	__iscsi_segment_init(segment, size, done, hash);
segment           382 drivers/scsi/libiscsi_tcp.c 			iscsi_tcp_segment_init_sg(segment, sg, offset);
segment           405 drivers/scsi/libiscsi_tcp.c 	iscsi_segment_init_linear(&tcp_conn->in.segment,
segment           416 drivers/scsi/libiscsi_tcp.c 			 struct iscsi_segment *segment)
segment           421 drivers/scsi/libiscsi_tcp.c 	if (!iscsi_tcp_dgst_verify(tcp_conn, segment))
segment           443 drivers/scsi/libiscsi_tcp.c 	iscsi_segment_init_linear(&tcp_conn->in.segment,
segment           617 drivers/scsi/libiscsi_tcp.c 			  struct iscsi_segment *segment)
segment           623 drivers/scsi/libiscsi_tcp.c 	if (!iscsi_tcp_dgst_verify(tcp_conn, segment))
segment           712 drivers/scsi/libiscsi_tcp.c 			rc = iscsi_segment_seek_sg(&tcp_conn->in.segment,
segment           808 drivers/scsi/libiscsi_tcp.c 			struct iscsi_segment *segment)
segment           818 drivers/scsi/libiscsi_tcp.c 	if (segment->copied == sizeof(struct iscsi_hdr) && hdr->hlength) {
segment           828 drivers/scsi/libiscsi_tcp.c 		segment->total_size += ahslen;
segment           829 drivers/scsi/libiscsi_tcp.c 		segment->size += ahslen;
segment           838 drivers/scsi/libiscsi_tcp.c 		if (segment->digest_len == 0) {
segment           844 drivers/scsi/libiscsi_tcp.c 			iscsi_tcp_segment_splice_digest(segment,
segment           845 drivers/scsi/libiscsi_tcp.c 							segment->recv_digest);
segment           850 drivers/scsi/libiscsi_tcp.c 				      segment->total_copied - ISCSI_DIGEST_SIZE,
segment           851 drivers/scsi/libiscsi_tcp.c 				      segment->digest);
segment           853 drivers/scsi/libiscsi_tcp.c 		if (!iscsi_tcp_dgst_verify(tcp_conn, segment))
segment           870 drivers/scsi/libiscsi_tcp.c 	return tcp_conn->in.segment.done == iscsi_tcp_hdr_recv_done;
segment           889 drivers/scsi/libiscsi_tcp.c 	struct iscsi_segment *segment = &tcp_conn->in.segment;
segment           909 drivers/scsi/libiscsi_tcp.c 		segment->total_copied = segment->total_size;
segment           925 drivers/scsi/libiscsi_tcp.c 		BUG_ON(segment->copied >= segment->size);
segment           929 drivers/scsi/libiscsi_tcp.c 		rc = iscsi_tcp_segment_recv(tcp_conn, segment, ptr, avail);
segment           933 drivers/scsi/libiscsi_tcp.c 		if (segment->total_copied >= segment->total_size) {
segment           942 drivers/scsi/libiscsi_tcp.c 	rc = segment->done(tcp_conn, segment);
segment          7641 drivers/scsi/ncr53c8xx.c 	int segment	= 0;
segment          7658 drivers/scsi/ncr53c8xx.c 		scsi_for_each_sg(cmd, sg, use_sg, segment) {
segment          7662 drivers/scsi/ncr53c8xx.c 			ncr_build_sge(np, &data[segment], baddr, len);
segment          7666 drivers/scsi/ncr53c8xx.c 		segment = -2;
segment          7668 drivers/scsi/ncr53c8xx.c 	return segment;
segment           247 drivers/scsi/sym53c8xx_2/sym_glue.c 	int segment;
segment           265 drivers/scsi/sym53c8xx_2/sym_glue.c 		scsi_for_each_sg(cmd, sg, use_sg, segment) {
segment           274 drivers/scsi/sym53c8xx_2/sym_glue.c 			sym_build_sge(np, &data[segment], baddr, len);
segment           278 drivers/scsi/sym53c8xx_2/sym_glue.c 		segment = -2;
segment           281 drivers/scsi/sym53c8xx_2/sym_glue.c 	return segment;
segment          2108 drivers/staging/rts5208/ms.c 	ms_card->segment = vzalloc(size);
segment          2109 drivers/staging/rts5208/ms.c 	if (!ms_card->segment)
segment          2134 drivers/staging/rts5208/ms.c 		block_no = ms_card->segment[seg_no].disable_count++;
segment          2135 drivers/staging/rts5208/ms.c 		ms_card->segment[seg_no].defect_list[block_no] = defect_block;
segment          2139 drivers/staging/rts5208/ms.c 		ms_card->segment[i].build_flag = 0;
segment          2140 drivers/staging/rts5208/ms.c 		ms_card->segment[i].l2p_table = NULL;
segment          2141 drivers/staging/rts5208/ms.c 		ms_card->segment[i].free_table = NULL;
segment          2142 drivers/staging/rts5208/ms.c 		ms_card->segment[i].get_index = 0;
segment          2143 drivers/staging/rts5208/ms.c 		ms_card->segment[i].set_index = 0;
segment          2144 drivers/staging/rts5208/ms.c 		ms_card->segment[i].unused_blk_cnt = 0;
segment          2147 drivers/staging/rts5208/ms.c 			i, ms_card->segment[i].disable_count);
segment          2153 drivers/staging/rts5208/ms.c 	vfree(ms_card->segment);
segment          2154 drivers/staging/rts5208/ms.c 	ms_card->segment = NULL;
segment          2162 drivers/staging/rts5208/ms.c 	struct zone_entry *segment;
segment          2164 drivers/staging/rts5208/ms.c 	if (!ms_card->segment)
segment          2167 drivers/staging/rts5208/ms.c 	segment = &ms_card->segment[seg_no];
segment          2169 drivers/staging/rts5208/ms.c 	if (segment->l2p_table)
segment          2170 drivers/staging/rts5208/ms.c 		return segment->l2p_table[log_off];
segment          2179 drivers/staging/rts5208/ms.c 	struct zone_entry *segment;
segment          2181 drivers/staging/rts5208/ms.c 	if (!ms_card->segment)
segment          2184 drivers/staging/rts5208/ms.c 	segment = &ms_card->segment[seg_no];
segment          2185 drivers/staging/rts5208/ms.c 	if (segment->l2p_table)
segment          2186 drivers/staging/rts5208/ms.c 		segment->l2p_table[log_off] = phy_blk;
segment          2192 drivers/staging/rts5208/ms.c 	struct zone_entry *segment;
segment          2196 drivers/staging/rts5208/ms.c 	segment = &ms_card->segment[seg_no];
segment          2198 drivers/staging/rts5208/ms.c 	segment->free_table[segment->set_index++] = phy_blk;
segment          2199 drivers/staging/rts5208/ms.c 	if (segment->set_index >= MS_FREE_TABLE_CNT)
segment          2200 drivers/staging/rts5208/ms.c 		segment->set_index = 0;
segment          2202 drivers/staging/rts5208/ms.c 	segment->unused_blk_cnt++;
segment          2208 drivers/staging/rts5208/ms.c 	struct zone_entry *segment;
segment          2211 drivers/staging/rts5208/ms.c 	segment = &ms_card->segment[seg_no];
segment          2213 drivers/staging/rts5208/ms.c 	if (segment->unused_blk_cnt <= 0)
segment          2216 drivers/staging/rts5208/ms.c 	phy_blk = segment->free_table[segment->get_index];
segment          2217 drivers/staging/rts5208/ms.c 	segment->free_table[segment->get_index++] = 0xFFFF;
segment          2218 drivers/staging/rts5208/ms.c 	if (segment->get_index >= MS_FREE_TABLE_CNT)
segment          2219 drivers/staging/rts5208/ms.c 		segment->get_index = 0;
segment          2221 drivers/staging/rts5208/ms.c 	segment->unused_blk_cnt--;
segment          2235 drivers/staging/rts5208/ms.c 	struct zone_entry *segment;
segment          2240 drivers/staging/rts5208/ms.c 	segment = &ms_card->segment[seg_no];
segment          2241 drivers/staging/rts5208/ms.c 	tmp_blk = segment->l2p_table[log_off];
segment          2249 drivers/staging/rts5208/ms.c 			segment->l2p_table[log_off] = phy_blk;
segment          2267 drivers/staging/rts5208/ms.c 			segment->l2p_table[log_off] = phy_blk;
segment          2277 drivers/staging/rts5208/ms.c 	struct zone_entry *segment;
segment          2285 drivers/staging/rts5208/ms.c 	if (!ms_card->segment) {
segment          2291 drivers/staging/rts5208/ms.c 	if (ms_card->segment[seg_no].build_flag) {
segment          2302 drivers/staging/rts5208/ms.c 	segment = &ms_card->segment[seg_no];
segment          2304 drivers/staging/rts5208/ms.c 	if (!segment->l2p_table) {
segment          2305 drivers/staging/rts5208/ms.c 		segment->l2p_table = vmalloc(array_size(table_size, 2));
segment          2306 drivers/staging/rts5208/ms.c 		if (!segment->l2p_table)
segment          2309 drivers/staging/rts5208/ms.c 	memset((u8 *)(segment->l2p_table), 0xff, table_size * 2);
segment          2311 drivers/staging/rts5208/ms.c 	if (!segment->free_table) {
segment          2312 drivers/staging/rts5208/ms.c 		segment->free_table = vmalloc(MS_FREE_TABLE_CNT * 2);
segment          2313 drivers/staging/rts5208/ms.c 		if (!segment->free_table)
segment          2316 drivers/staging/rts5208/ms.c 	memset((u8 *)(segment->free_table), 0xff, MS_FREE_TABLE_CNT * 2);
segment          2321 drivers/staging/rts5208/ms.c 	disable_cnt = segment->disable_count;
segment          2323 drivers/staging/rts5208/ms.c 	segment->get_index = 0;
segment          2324 drivers/staging/rts5208/ms.c 	segment->set_index = 0;
segment          2325 drivers/staging/rts5208/ms.c 	segment->unused_blk_cnt = 0;
segment          2330 drivers/staging/rts5208/ms.c 			for (i = 0; i < segment->disable_count; i++) {
segment          2331 drivers/staging/rts5208/ms.c 				if (phy_blk == segment->defect_list[i]) {
segment          2394 drivers/staging/rts5208/ms.c 		if (segment->l2p_table[idx] == 0xFFFF) {
segment          2395 drivers/staging/rts5208/ms.c 			segment->l2p_table[idx] = phy_blk;
segment          2400 drivers/staging/rts5208/ms.c 		tmp_blk = segment->l2p_table[idx];
segment          2412 drivers/staging/rts5208/ms.c 	segment->build_flag = 1;
segment          2415 drivers/staging/rts5208/ms.c 		segment->unused_blk_cnt);
segment          2419 drivers/staging/rts5208/ms.c 		if (segment->unused_blk_cnt < 2)
segment          2422 drivers/staging/rts5208/ms.c 		if (segment->unused_blk_cnt < 1)
segment          2432 drivers/staging/rts5208/ms.c 		if (segment->l2p_table[idx] == 0xFFFF) {
segment          2442 drivers/staging/rts5208/ms.c 			segment->l2p_table[idx] = phy_blk;
segment          2444 drivers/staging/rts5208/ms.c 				if (segment->unused_blk_cnt < 2) {
segment          2449 drivers/staging/rts5208/ms.c 				if (segment->unused_blk_cnt < 1) {
segment          2460 drivers/staging/rts5208/ms.c 			tmp_blk = segment->l2p_table[log_blk];
segment          2474 drivers/staging/rts5208/ms.c 				segment->l2p_table[log_blk] = phy_blk;
segment          2486 drivers/staging/rts5208/ms.c 	segment->build_flag = 0;
segment          2487 drivers/staging/rts5208/ms.c 	vfree(segment->l2p_table);
segment          2488 drivers/staging/rts5208/ms.c 	segment->l2p_table = NULL;
segment          2489 drivers/staging/rts5208/ms.c 	vfree(segment->free_table);
segment          2490 drivers/staging/rts5208/ms.c 	segment->free_table = NULL;
segment          3426 drivers/staging/rts5208/ms.c 	if (ms_card->segment[seg_no].build_flag == 0) {
segment          3581 drivers/staging/rts5208/ms.c 		if (ms_card->segment[seg_no].build_flag == 0) {
segment          3665 drivers/staging/rts5208/ms.c 	if (ms_card->segment) {
segment          3667 drivers/staging/rts5208/ms.c 			vfree(ms_card->segment[i].l2p_table);
segment          3668 drivers/staging/rts5208/ms.c 			ms_card->segment[i].l2p_table = NULL;
segment          3669 drivers/staging/rts5208/ms.c 			vfree(ms_card->segment[i].free_table);
segment          3670 drivers/staging/rts5208/ms.c 			ms_card->segment[i].free_table = NULL;
segment          3672 drivers/staging/rts5208/ms.c 		vfree(ms_card->segment);
segment          3673 drivers/staging/rts5208/ms.c 		ms_card->segment = NULL;
segment           593 drivers/staging/rts5208/rtsx_chip.h 	struct zone_entry *segment;
segment           182 drivers/usb/early/xhci-dbc.c 	ring->segment = seg;
segment           189 drivers/usb/early/xhci-dbc.c 	struct xdbc_segment *seg = ring->segment;
segment           195 drivers/usb/early/xhci-dbc.c 	ring->segment = NULL;
segment           200 drivers/usb/early/xhci-dbc.c 	struct xdbc_segment *seg = ring->segment;
segment           400 drivers/usb/early/xhci-dbc.c 	if (ring->enqueue >= &ring->segment->trbs[TRBS_PER_SEGMENT - 1]) {
segment           407 drivers/usb/early/xhci-dbc.c 		ring->enqueue = ring->segment->trbs;
segment           117 drivers/usb/early/xhci-dbc.h 	struct xdbc_segment	*segment;
segment           478 drivers/usb/host/ehci-fsl.c 	pdata->pm_segment  = ehci_readl(ehci, &ehci->regs->segment);
segment           544 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, pdata->pm_segment, &ehci->regs->segment);
segment           598 drivers/usb/host/ehci-hcd.c 		ehci_writel(ehci, 0, &ehci->regs->segment);
segment           411 drivers/usb/host/ehci-hub.c 	ehci_writel(ehci, 0, &ehci->regs->segment);
segment           267 drivers/usb/host/fotg210.h 	u32		segment;	/* address bits 63:32 if needed */
segment           158 drivers/usb/host/oxu210hp-hcd.c 	u32		segment;	/* address bits 63:32 if needed */
segment          3141 drivers/usb/host/oxu210hp-hcd.c 		writel(0, &oxu->regs->segment);
segment          3952 drivers/usb/host/oxu210hp-hcd.c 	writel(0, &oxu->regs->segment);
segment           575 drivers/vfio/pci/vfio_pci.c 	fill->devices[fill->cur].segment = pci_domain_nr(pdev->bus);
segment           236 drivers/xen/pci.c 		r.segment = cfg->segment;
segment           386 fs/binfmt_flat.c 	static const char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" };
segment           401 fs/binfmt_flat.c 		 r.reloc.offset, ptr, val, segment[r.reloc.type]);
segment            40 fs/romfs/storage.c 	size_t segment;
segment            47 fs/romfs/storage.c 		segment = min_t(size_t, maxlen, 16);
segment            48 fs/romfs/storage.c 		ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf);
segment            70 fs/romfs/storage.c 	size_t len, segment;
segment            78 fs/romfs/storage.c 		segment = min_t(size_t, size + 1, 17);
segment            79 fs/romfs/storage.c 		ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf);
segment           108 fs/romfs/storage.c 	size_t segment;
segment           113 fs/romfs/storage.c 		segment = min_t(size_t, buflen, ROMBSIZE - offset);
segment           117 fs/romfs/storage.c 		memcpy(buf, bh->b_data + offset, segment);
segment           119 fs/romfs/storage.c 		buf += segment;
segment           120 fs/romfs/storage.c 		buflen -= segment;
segment           121 fs/romfs/storage.c 		pos += segment;
segment           136 fs/romfs/storage.c 	size_t segment;
segment           142 fs/romfs/storage.c 		segment = min_t(size_t, limit, ROMBSIZE - offset);
segment           147 fs/romfs/storage.c 		p = memchr(buf, 0, segment);
segment           151 fs/romfs/storage.c 		limit -= segment;
segment           152 fs/romfs/storage.c 		pos += segment;
segment           153 fs/romfs/storage.c 		n += segment;
segment           168 fs/romfs/storage.c 	size_t segment;
segment           174 fs/romfs/storage.c 		segment = min_t(size_t, size, ROMBSIZE - offset);
segment           178 fs/romfs/storage.c 		matched = (memcmp(bh->b_data + offset, str, segment) == 0);
segment           180 fs/romfs/storage.c 		size -= segment;
segment           181 fs/romfs/storage.c 		pos += segment;
segment           182 fs/romfs/storage.c 		str += segment;
segment           183 fs/romfs/storage.c 		if (matched && size == 0 && offset + segment < ROMBSIZE) {
segment           184 fs/romfs/storage.c 			if (!bh->b_data[offset + segment])
segment           576 include/acpi/acpi_bus.h 	u16 segment;
segment           557 include/acpi/actbl1.h 	u16 segment;
segment           570 include/acpi/actbl1.h 	u16 segment;
segment           585 include/acpi/actbl1.h 	u16 segment;
segment          1710 include/acpi/actbl2.h 	u16 segment;
segment          1197 include/acpi/actypes.h 	u16 segment;
segment           506 include/linux/cper.h 		u16	segment;
segment            48 include/linux/dmar.h 	u16	segment;		/* PCI domain		*/
segment           112 include/linux/dmar.h 				struct dmar_dev_scope **devices, u16 segment);
segment           116 include/linux/dmar.h 				 void *start, void*end, u16 segment,
segment           120 include/linux/dmar.h 				 u16 segment, struct dmar_dev_scope *devices,
segment            94 include/linux/dmi.h 	int segment;
segment           533 include/linux/intel-iommu.h 	u16		segment;     /* PCI segment# */
segment           255 include/linux/kexec.h 	struct kexec_segment segment[KEXEC_SEGMENT_MAX];
segment           163 include/linux/pe.h 	uint16_t segment;
segment           446 include/linux/remoteproc.h 	void (*dump)(struct rproc *rproc, struct rproc_dump_segment *segment,
segment           618 include/linux/remoteproc.h 						     struct rproc_dump_segment *segment,
segment           111 include/linux/usb/ehci_def.h 	u32		segment;	/* address bits 63:32 if needed */
segment            34 include/media/i2c/ad9389b.h 	int segment;
segment            22 include/media/i2c/adv7511.h 	int segment;
segment            47 include/scsi/libiscsi_tcp.h 	struct iscsi_segment	segment;
segment            96 include/scsi/libiscsi_tcp.h 				  struct iscsi_segment *segment, int recv,
segment            98 include/scsi/libiscsi_tcp.h extern void iscsi_tcp_segment_unmap(struct iscsi_segment *segment);
segment           100 include/scsi/libiscsi_tcp.h extern void iscsi_segment_init_linear(struct iscsi_segment *segment,
segment           105 include/scsi/libiscsi_tcp.h iscsi_segment_seek_sg(struct iscsi_segment *segment,
segment           592 include/uapi/linux/vfio.h 	__u16	segment;
segment           245 include/xen/interface/physdev.h     uint16_t segment;
segment            32 kernel/kexec.c 	ret = copy_from_user(image->segment, segments, segment_bytes);
segment           155 kernel/kexec.c 		ret = kimage_load_segment(image, &image->segment[i]);
segment           171 kernel/kexec_core.c 		mstart = image->segment[i].mem;
segment           172 kernel/kexec_core.c 		mend   = mstart + image->segment[i].memsz;
segment           190 kernel/kexec_core.c 		mstart = image->segment[i].mem;
segment           191 kernel/kexec_core.c 		mend   = mstart + image->segment[i].memsz;
segment           195 kernel/kexec_core.c 			pstart = image->segment[j].mem;
segment           196 kernel/kexec_core.c 			pend   = pstart + image->segment[j].memsz;
segment           209 kernel/kexec_core.c 		if (image->segment[i].bufsz > image->segment[i].memsz)
segment           219 kernel/kexec_core.c 		if (PAGE_COUNT(image->segment[i].memsz) > nr_pages / 2)
segment           222 kernel/kexec_core.c 		total_pages += PAGE_COUNT(image->segment[i].memsz);
segment           242 kernel/kexec_core.c 			mstart = image->segment[i].mem;
segment           243 kernel/kexec_core.c 			mend = mstart + image->segment[i].memsz - 1;
segment           290 kernel/kexec_core.c 		mstart = image->segment[i].mem;
segment           291 kernel/kexec_core.c 		mend = mstart + image->segment[i].memsz;
segment           458 kernel/kexec_core.c 			mstart = image->segment[i].mem;
segment           459 kernel/kexec_core.c 			mend   = mstart + image->segment[i].memsz - 1;
segment           776 kernel/kexec_core.c 					 struct kexec_segment *segment)
segment           786 kernel/kexec_core.c 		kbuf = segment->kbuf;
segment           788 kernel/kexec_core.c 		buf = segment->buf;
segment           789 kernel/kexec_core.c 	ubytes = segment->bufsz;
segment           790 kernel/kexec_core.c 	mbytes = segment->memsz;
segment           791 kernel/kexec_core.c 	maddr = segment->mem;
segment           845 kernel/kexec_core.c 					struct kexec_segment *segment)
segment           859 kernel/kexec_core.c 		kbuf = segment->kbuf;
segment           861 kernel/kexec_core.c 		buf = segment->buf;
segment           862 kernel/kexec_core.c 	ubytes = segment->bufsz;
segment           863 kernel/kexec_core.c 	mbytes = segment->memsz;
segment           864 kernel/kexec_core.c 	maddr = segment->mem;
segment           913 kernel/kexec_core.c 				struct kexec_segment *segment)
segment           919 kernel/kexec_core.c 		result = kimage_load_normal_segment(image, segment);
segment           922 kernel/kexec_core.c 		result = kimage_load_crash_segment(image, segment);
segment           432 kernel/kexec_file.c 		ksegment = &image->segment[i];
segment           437 kernel/kexec_file.c 		ret = kimage_load_segment(image, &image->segment[i]);
segment           696 kernel/kexec_file.c 	ksegment = &kbuf->image->segment[kbuf->image->nr_segments];
segment           756 kernel/kexec_file.c 		ksegment = &image->segment[i];
segment            11 kernel/kexec_internal.h int kimage_load_segment(struct kimage *image, struct kexec_segment *segment);
segment            88 sound/drivers/opl3/opl3_midi.c 		int segment;
segment            95 sound/drivers/opl3/opl3_midi.c 		segment = pitchbend / 0x1000;
segment            96 sound/drivers/opl3/opl3_midi.c 		freq = opl3_note_table[idx+segment];
segment            97 sound/drivers/opl3/opl3_midi.c 		freq += ((opl3_note_table[idx+segment+1] - freq) *
segment           132 tools/testing/selftests/kvm/lib/x86_64/processor.c static void segment_dump(FILE *stream, struct kvm_segment *segment,
segment           137 tools/testing/selftests/kvm/lib/x86_64/processor.c 		indent, "", segment->base, segment->limit,
segment           138 tools/testing/selftests/kvm/lib/x86_64/processor.c 		segment->selector, segment->type);
segment           141 tools/testing/selftests/kvm/lib/x86_64/processor.c 		indent, "", segment->present, segment->dpl,
segment           142 tools/testing/selftests/kvm/lib/x86_64/processor.c 		segment->db, segment->s, segment->l);
segment           145 tools/testing/selftests/kvm/lib/x86_64/processor.c 		indent, "", segment->g, segment->avl,
segment           146 tools/testing/selftests/kvm/lib/x86_64/processor.c 		segment->unusable, segment->padding);