/linux-2.4.37.9/drivers/char/ftape/zftape/ |
D | zftape-rw.c | 67 unsigned int zft_get_seg_sz(unsigned int segment) in zft_get_seg_sz() argument 73 count_ones(ftape_get_bad_sector_entry(segment))*FT_SECTOR_SIZE; in zft_get_seg_sz() 125 int segment; in zft_calc_seg_byte_coord() local 131 segment = ft_first_data_segment; in zft_calc_seg_byte_coord() 135 for (segment = ft_first_data_segment; in zft_calc_seg_byte_coord() 136 ((tape_pos > 0) && (segment <= ft_last_data_segment)); in zft_calc_seg_byte_coord() 137 segment++) { in zft_calc_seg_byte_coord() 138 seg_sz = zft_get_seg_sz(segment); in zft_calc_seg_byte_coord() 147 segment--; in zft_calc_seg_byte_coord() 151 TRACE_EXIT(segment); in zft_calc_seg_byte_coord() [all …]
|
D | zftape-read.c | 98 int zft_fetch_segment_fraction(const unsigned int segment, void *buffer, in zft_fetch_segment_fraction() argument 106 if (segment == zft_deblock_segment) { in zft_fetch_segment_fraction() 109 segment); in zft_fetch_segment_fraction() 110 seg_sz = zft_get_seg_sz(segment); in zft_fetch_segment_fraction() 117 seg_sz, start, segment); in zft_fetch_segment_fraction() 124 seg_sz = ftape_read_segment_fraction(segment, buffer, read_mode, in zft_fetch_segment_fraction() 126 TRACE(ft_t_data_flow, "segment %d, result %d", segment, seg_sz); in zft_fetch_segment_fraction() 131 zft_deblock_segment = segment; in zft_fetch_segment_fraction()
|
D | zftape-read.h | 41 extern int zft_fetch_segment_fraction(const unsigned int segment, 46 #define zft_fetch_segment(segment, address, read_mode) \ argument 47 zft_fetch_segment_fraction(segment, address, read_mode, \
|
D | zftape-rw.h | 92 extern unsigned int zft_get_seg_sz(unsigned int segment); 95 extern __s64 zft_calc_tape_pos(int segment); 99 extern int zft_verify_write_segments(unsigned int segment,
|
D | zftape-vtbl.c | 289 int zft_update_volume_table(unsigned int segment) in zft_update_volume_table() argument 299 TRACE(ft_t_noise, "writing volume table segment %d", segment); in zft_update_volume_table() 301 TRACE_CATCH(zft_verify_write_segments(segment, in zft_update_volume_table() 307 TRACE_CATCH(ftape_write_segment(segment, zft_deblock_buf, in zft_update_volume_table() 440 unsigned int segment, sector; in zft_fake_volume_headers() local 446 (GET2(&eof_map[num_failed_sectors - 1].mark.segment, 0) in zft_fake_volume_headers() 448 GET2(&eof_map[num_failed_sectors - 2].mark.segment, 0) + 1) && in zft_fake_volume_headers() 460 segment = GET2(&eof_map[vol_no].mark.segment, 0); in zft_fake_volume_headers() 464 zft_last_vtbl->end_seg = segment; in zft_fake_volume_headers() 465 zft_eom_vtbl->start_seg = segment + 1; in zft_fake_volume_headers() [all …]
|
D | zftape-eof.c | 172 __u16 tmp = GET2(&zft_eof_map[i].mark.segment,0); in zft_ftape_extract_file_marks() 173 PUT2(&zft_eof_map[i].mark.segment, 0, in zft_ftape_extract_file_marks() 180 GET2(&zft_eof_map[i].mark.segment, 0), in zft_ftape_extract_file_marks()
|
/linux-2.4.37.9/arch/i386/math-emu/ |
D | get_address.c | 136 static unsigned long vm86_segment(u_char segment, in vm86_segment() argument 139 segment--; in vm86_segment() 141 if ( segment > PREFIX_SS_ ) in vm86_segment() 147 addr->selector = VM86_REG_(segment); in vm86_segment() 148 return (unsigned long)VM86_REG_(segment) << 4; in vm86_segment() 153 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address() argument 160 segment--; in pm_address() 164 if ( segment > PREFIX_SS_ ) in pm_address() 171 switch ( segment ) in pm_address() 189 addr->selector = PM_REG_(segment); in pm_address() [all …]
|
/linux-2.4.37.9/drivers/char/ftape/lowlevel/ |
D | ftape-rw.c | 289 ft_location.segment = (ft_location.track + in check_bot_eot() 295 TRACE(ft_t_flow, "segment = %d", ft_location.segment); in check_bot_eot() 328 ft_location.segment = (ftape_segments_per_head in ftape_read_id() 361 ft_location.segment, ft_location.sector); in ftape_read_id() 364 ft_location.segment, ft_location.sector); in ftape_read_id() 631 int prev_segment = ft_location.segment; in seek_forward() 645 ft_location.segment, ft_location.sector,segment_id,margin); in seek_forward() 646 count = target - ft_location.segment - overshoot; in seek_forward() 657 while (ft_location.segment < segment_id) { in seek_forward() 678 ft_location.segment, ft_location.sector, in seek_forward() [all …]
|
D | ftape-bsm.c | 301 int segment; in forward_seek_entry() local 305 segment = cvt2segment(sector); in forward_seek_entry() 306 } while (sector != 0 && segment < segment_id); in forward_seek_entry() 310 if (sector == 0 || segment != segment_id) { in forward_seek_entry() 323 (segment = cvt2segment(sector)) == segment_id) { in forward_seek_entry() 336 int segment; /* max unsigned int */ in backwards_seek_entry() local 344 segment = cvt2segment(sector); in backwards_seek_entry() 345 } while (*ptr > (SectorCount *)bad_sector_map && segment > segment_id); in backwards_seek_entry() 346 if (segment > segment_id) { /* at start of list, no entry found */ in backwards_seek_entry() 349 } else if (segment < segment_id) { in backwards_seek_entry() [all …]
|
D | ftape-read.h | 41 extern int ftape_read_segment_fraction(const int segment, 46 #define ftape_read_segment(segment, address, read_mode) \ argument 47 ftape_read_segment_fraction(segment, address, read_mode, \
|
/linux-2.4.37.9/drivers/acpi/ |
D | pci_bind.c | 115 acpi_device_bid(device), id->segment, id->bus, in acpi_os_get_pci_id() 162 data->id.segment = pdata->id.segment; in acpi_pci_bind() 175 data->id.segment, data->id.bus, data->id.device, in acpi_pci_bind() 193 data->id.segment, data->id.bus, in acpi_pci_bind() 201 data->id.segment, data->id.bus, in acpi_pci_bind() 216 data->id.segment, data->id.bus, in acpi_pci_bind() 249 acpi_pci_irq_add_prt(device->handle, data->id.segment, in acpi_pci_bind() 252 acpi_pci_irq_add_prt(device->handle, data->id.segment, in acpi_pci_bind() 293 "%02x:%02x\n", pathname, id->segment, id->bus)); in acpi_pci_bind_root()
|
D | pci_irq.c | 66 int segment, in acpi_pci_irq_find_prt_entry() argument 87 if ((segment == entry->id.segment) in acpi_pci_irq_find_prt_entry() 102 int segment, in acpi_pci_irq_add_entry() argument 118 entry->id.segment = segment; in acpi_pci_irq_add_entry() 153 entry->id.segment, entry->id.bus, entry->id.device, in acpi_pci_irq_add_entry() 167 int segment, in acpi_pci_irq_add_prt() argument 227 acpi_pci_irq_add_entry(handle, segment, bus, entry); in acpi_pci_irq_add_prt() 244 int segment, in acpi_pci_irq_lookup() argument 255 segment, bus, device, ('A' + pin))); in acpi_pci_irq_lookup() 257 entry = acpi_pci_irq_find_prt_entry(segment, bus, device, pin); in acpi_pci_irq_lookup()
|
D | pci_root.c | 189 root->id.segment = (u16) value; in acpi_pci_root_add() 194 root->id.segment = 0; in acpi_pci_root_add() 225 if ((tmp->id.segment == root->id.segment) in acpi_pci_root_add() 261 root->id.segment, root->id.bus); in acpi_pci_root_add() 274 root->id.segment, root->id.bus); in acpi_pci_root_add() 279 root->id.segment, root->id.bus)); in acpi_pci_root_add() 300 result = acpi_pci_irq_add_prt(root->handle, root->id.segment, in acpi_pci_root_add()
|
/linux-2.4.37.9/arch/mips64/ |
D | ld.script.elf64 | 5 /* Read-only sections, merged into text segment: */ 11 /* Set the vaddr for the text segment to a value 69 /* Adjust the address for the data segment. We want to adjust up to 74 text segment ending precisely at the end of a page; it causes the 75 data segment to skip a page. The above expression does not have 77 a single segment, combining both text and data, for this case. 78 This will prevent the text segment from being shared among 107 we can shorten the on-disk segment size. */
|
/linux-2.4.37.9/arch/mips/baget/ |
D | ld.script.balo | 6 /* Read-only sections, merged into text segment: */ 52 /* Adjust the address for the data segment. We want to adjust up to 57 text segment ending precisely at the end of a page; it causes the 58 data segment to skip a page. The above expression does not have 60 a single segment, combining both text and data, for this case. 61 This will prevent the text segment from being shared among 81 we can shorten the on-disk segment size. */
|
/linux-2.4.37.9/arch/mips/ |
D | ld.script.in | 5 /* Read-only sections, merged into text segment: */ 58 /* Adjust the address for the data segment. We want to adjust up to 63 text segment ending precisely at the end of a page; it causes the 64 data segment to skip a page. The above expression does not have 66 a single segment, combining both text and data, for this case. 67 This will prevent the text segment from being shared among 97 we can shorten the on-disk segment size. */
|
/linux-2.4.37.9/include/asm-ia64/ |
D | uaccess.h | 61 #define __access_ok(addr,size,segment) \ argument 62 likely(((unsigned long) (addr)) <= (segment).seg \ 63 && ((segment).seg == KERNEL_DS.seg \ 109 #define __get_user_check(x,ptr,size,segment) \ argument 114 if (__access_ok((long)__gu_addr,size,segment)) { \ 183 #define __put_user_check(x,ptr,size,segment) \ argument 187 if (__access_ok((long)__pu_addr,size,segment)) { \
|
D | pci.h | 24 struct pci_bus *pcibios_scan_root(void *acpi_handle, int segment, int bus); 104 int segment; member 113 #define PCI_SEGMENT(dev) (PCI_CONTROLLER(dev)->segment)
|
/linux-2.4.37.9/arch/ia64/kernel/ |
D | iosapic.c | 583 pci_pin_to_gsi (int segment, int bus, int slot, int pci_pin, unsigned int *gsi) in pci_pin_to_gsi() argument 588 if (r->segment == segment && r->bus == bus && in pci_pin_to_gsi() 602 pci_pin_to_vector (int segment, int bus, int slot, int pci_pin) in pci_pin_to_vector() argument 607 if (pci_pin_to_gsi(segment, bus, slot, pci_pin, &gsi) < 0) { in pci_pin_to_vector() 609 segment, bus, slot, 'A' + pci_pin); in pci_pin_to_vector() 627 segment, bus, slot, 'A' + pci_pin, gsi, vector); in pci_pin_to_vector() 698 int segment; in iosapic_fixup_pci_interrupt() local 709 segment = PCI_SEGMENT(dev); in iosapic_fixup_pci_interrupt() 710 vector = pci_pin_to_vector(segment, dev->bus->number, PCI_SLOT(dev->devfn), pci_pin); in iosapic_fixup_pci_interrupt() 721 vector = pci_pin_to_vector(segment, in iosapic_fixup_pci_interrupt()
|
/linux-2.4.37.9/arch/sparc/prom/ |
D | segment.c | 21 prom_putsegment(int ctx, unsigned long vaddr, int segment) in prom_putsegment() argument 25 (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment); in prom_putsegment()
|
/linux-2.4.37.9/drivers/char/ftape/compressor/ |
D | zftape-compress.c | 813 static int search_valid_segment(unsigned int segment, 1095 static int search_valid_segment(unsigned int segment, in search_valid_segment() argument 1108 while (segment <= end_seg) { in search_valid_segment() 1112 segment, end_seg); in search_valid_segment() 1113 seg_sz = zft_fetch_segment(segment, buf, FT_RD_AHEAD); in search_valid_segment() 1116 (tmp_info.foffs != 0 || segment == volume->start_seg)) { in search_valid_segment() 1126 pos->seg_pos = segment; in search_valid_segment() 1129 TRACE(ft_t_noise, "found segment at %d", segment); in search_valid_segment() 1132 segment++; in search_valid_segment() 1183 int segment; in compute_seg_pos() local [all …]
|
/linux-2.4.37.9/include/asm-alpha/ |
D | uaccess.h | 43 #define __access_ok(addr,size,segment) \ argument 44 (((segment).seg & (addr | size | (addr+size))) == 0) 104 #define __get_user_check(x,ptr,size,segment) \ argument 108 if (__access_ok((long)__gu_addr,size,segment)) { \ 217 #define __put_user_check(x,ptr,size,segment) \ argument 221 if (__access_ok((long)__pu_addr,size,segment)) { \
|
/linux-2.4.37.9/arch/m68k/sun3/ |
D | mmu_emu.c | 353 unsigned long segment, offset; in mmu_emu_handle_fault() local 374 segment = (vaddr >> SUN3_PMEG_SIZE_BITS) & 0x7FF; in mmu_emu_handle_fault() 378 printk ("mmu_emu_handle_fault: segment=%lx offset=%lx\n", segment, offset); in mmu_emu_handle_fault() 381 pte = (pte_t *) pgd_val (*(crp + segment)); in mmu_emu_handle_fault()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | acpi_wakeup.S | 16 # setup data segment 63 # restore data segment 72 # restore other segment registers
|
/linux-2.4.37.9/kernel/ |
D | exec_domain.c | 44 default_handler(int segment, struct pt_regs *regp) in default_handler() argument 58 switch (segment) { in default_handler() 71 current->exec_domain->handler(segment, regp); in default_handler()
|