/linux-2.4.37.9/drivers/md/ |
D | raid5.c | 62 static inline void __release_stripe(raid5_conf_t *conf, struct stripe_head *sh) in __release_stripe() argument 64 if (atomic_dec_and_test(&sh->count)) { in __release_stripe() 65 if (!list_empty(&sh->lru)) in __release_stripe() 69 if (test_bit(STRIPE_HANDLE, &sh->state)) { in __release_stripe() 70 if (test_bit(STRIPE_DELAYED, &sh->state)) in __release_stripe() 71 list_add_tail(&sh->lru, &conf->delayed_list); in __release_stripe() 73 list_add_tail(&sh->lru, &conf->handle_list); in __release_stripe() 76 if (test_and_clear_bit(STRIPE_PREREAD_ACTIVE, &sh->state)) { in __release_stripe() 81 list_add_tail(&sh->lru, &conf->inactive_list); in __release_stripe() 89 static void release_stripe(struct stripe_head *sh) in release_stripe() argument [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | shaper.c | 108 static int shaper_lock(struct shaper *sh) in shaper_lock() argument 113 while (test_and_set_bit(0, &sh->locked)) in shaper_lock() 116 sleep_on(&sh->wait_queue); in shaper_lock() 124 static void shaper_kick(struct shaper *sh); 126 static void shaper_unlock(struct shaper *sh) in shaper_unlock() argument 128 clear_bit(0, &sh->locked); in shaper_unlock() 129 wake_up(&sh->wait_queue); in shaper_unlock() 130 shaper_kick(sh); in shaper_unlock() 301 struct shaper *sh=(struct shaper *)data; in shaper_timer() local 302 shaper_kick(sh); in shaper_timer() [all …]
|
/linux-2.4.37.9/arch/sh/ |
D | Makefile | 61 LINKSCRIPT = arch/sh/vmlinux.lds 71 HEAD := arch/sh/kernel/head.o arch/sh/kernel/init_task.o 73 SUBDIRS := $(SUBDIRS) $(addprefix arch/sh/, kernel mm lib) 74 CORE_FILES := arch/sh/kernel/kernel.o arch/sh/mm/mm.o $(CORE_FILES) 76 LIBS := $(TOPDIR)/arch/sh/lib/lib.a $(LIBS) $(TOPDIR)/arch/sh/lib/lib.a \ 82 SUBDIRS += arch/sh/stboards 83 CORE_FILES += arch/sh/stboards/stboards.o 86 vmlinux: arch/sh/vmlinux.lds 88 arch/sh/vmlinux.lds: arch/sh/vmlinux.lds.S FORCE 89 $(CPP) -traditional -C -P -I$(HPATH) -Ush arch/sh/vmlinux.lds.S >arch/sh/vmlinux.lds [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | eata_dma.c | 128 int eata_release(struct Scsi_Host *sh) in eata_release() argument 131 if (sh->irq && reg_IRQ[sh->irq] == 1) free_irq(sh->irq, NULL); in eata_release() 132 else reg_IRQ[sh->irq]--; in eata_release() 136 for (i = 0; i < sh->can_queue; i++){ /* Free all SG arrays */ in eata_release() 137 if(SD(sh)->ccb[i].sg_list != NULL) in eata_release() 138 kfree((void *) SD(sh)->ccb[i].sg_list); in eata_release() 141 if (SD(sh)->channel == 0) { in eata_release() 142 if (sh->dma_channel != BUSMASTER) free_dma(sh->dma_channel); in eata_release() 143 if (sh->io_port && sh->n_io_port) in eata_release() 144 release_region(sh->io_port, sh->n_io_port); in eata_release() [all …]
|
D | eata_pio.c | 81 int eata_pio_release(struct Scsi_Host *sh) in eata_pio_release() argument 83 if (sh->irq && reg_IRQ[sh->irq] == 1) free_irq(sh->irq, NULL); in eata_pio_release() 84 else reg_IRQ[sh->irq]--; in eata_pio_release() 85 if (SD(sh)->channel == 0) { in eata_pio_release() 86 if (sh->io_port && sh->n_io_port) in eata_pio_release() 87 release_region(sh->io_port, sh->n_io_port); in eata_pio_release() 128 struct Scsi_Host *sh; in eata_pio_int_handler() local 135 for (x = 1, sh = first_HBA; x <= registered_HBAs; x++, sh = SD(sh)->prev) { in eata_pio_int_handler() 136 if (sh->irq != irq) in eata_pio_int_handler() 138 if (inb((uint)sh->base + HA_RSTATUS) & HA_SBUSY) in eata_pio_int_handler() [all …]
|
D | u14-34f.c | 552 static struct Scsi_Host *sh[MAX_BOARDS + 1]; variable 572 #define HD(board) ((struct hostdata *) &sh[board]->hostdata) 687 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) { in board_inquiry() 695 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR); in board_inquiry() 698 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM); in board_inquiry() 701 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR); in board_inquiry() 821 sh[j] = scsi_register(tpnt, sizeof(struct hostdata)); in port_detect() 823 if (sh[j] == NULL) { in port_detect() 834 sh[j]->io_port = port_base; in port_detect() 835 sh[j]->unique_id = port_base; in port_detect() [all …]
|
D | eata.c | 758 static struct Scsi_Host *sh[MAX_BOARDS + 1]; variable 789 #define HD(board) ((struct hostdata *) &sh[board]->hostdata) 1190 sh[j] = scsi_register(tpnt, sizeof(struct hostdata)); in port_detect() 1192 if (sh[j] == NULL) { in port_detect() 1203 sh[j]->io_port = port_base; in port_detect() 1204 sh[j]->unique_id = port_base; in port_detect() 1205 sh[j]->n_io_port = REGION_SIZE; in port_detect() 1206 sh[j]->dma_channel = dma_channel; in port_detect() 1207 sh[j]->irq = irq; in port_detect() 1208 sh[j]->sg_tablesize = (ushort) info.scatt_size; in port_detect() [all …]
|
D | hosts.c | 88 scsi_unregister(struct Scsi_Host * sh){ in scsi_unregister() argument 92 if(scsi_hostlist == sh) in scsi_unregister() 93 scsi_hostlist = sh->next; in scsi_unregister() 96 while(shpnt->next != sh) shpnt = shpnt->next; in scsi_unregister() 105 for ( shn=scsi_host_no_list; shn && (sh->host_no != shn->host_no); in scsi_unregister() 112 kfree((char *) sh); in scsi_unregister()
|
/linux-2.4.37.9/arch/alpha/math-emu/ |
D | sfp-util.h | 7 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 8 ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al))) 10 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 11 ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
|
/linux-2.4.37.9/arch/sh/boot/ |
D | Makefile | 23 sh -x ./install.sh $(KERNELRELEASE) Image $(TOPDIR)/System.map "$(INSTALL_PATH)" 26 sh -x ./install.sh $(KERNELRELEASE) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
|
/linux-2.4.37.9/arch/sh64/boot/ |
D | Makefile | 23 sh -x ./install.sh $(KERNELRELEASE) Image $(TOPDIR)/System.map "$(INSTALL_PATH)" 26 sh -x ./install.sh $(KERNELRELEASE) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
|
/linux-2.4.37.9/arch/ppc/math-emu/ |
D | sfp-machine.h | 216 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 220 : "=r" ((USItype)(sh)), \ 227 : "=r" ((USItype)(sh)), \ 234 : "=r" ((USItype)(sh)), \ 251 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 255 : "=r" ((USItype)(sh)), \ 262 : "=r" ((USItype)(sh)), \ 269 : "=r" ((USItype)(sh)), \ 276 : "=r" ((USItype)(sh)), \ 283 : "=r" ((USItype)(sh)), \
|
/linux-2.4.37.9/arch/sparc/math-emu/ |
D | sfp-util.h | 6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 9 : "=r" ((USItype)(sh)), \ 16 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 19 : "=r" ((USItype)(sh)), \
|
/linux-2.4.37.9/arch/s390/math-emu/ |
D | sfp-util.h | 6 #define add_ssaaaa(sh, sl, ah, al, bh, bl) ({ \ argument 15 (sh) = __sh; \ 19 #define sub_ddmmss(sh, sl, ah, al, bh, bl) ({ \ argument 28 (sh) = __sh; \
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | Makefile | 61 $(SH) ./check_asm.sh -data task tmp.i check_asm_data.c 62 $(SH) ./check_asm.sh -data mm tmp.i check_asm_data.c 63 $(SH) ./check_asm.sh -data thread tmp.i check_asm_data.c 69 $(SH) ./check_asm.sh -ints check_asm_data.s check_asm.c 73 $(SH) ./check_asm.sh -printf task tmp.i check_asm.c 74 $(SH) ./check_asm.sh -printf mm tmp.i check_asm.c 75 $(SH) ./check_asm.sh -printf thread tmp.i check_asm.c
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | Makefile | 68 $(SH) ./check_asm.sh -data task tmp.i check_asm_data.c 69 $(SH) ./check_asm.sh -data mm tmp.i check_asm_data.c 70 $(SH) ./check_asm.sh -data thread tmp.i check_asm_data.c 76 $(SH) ./check_asm.sh -ints check_asm_data.s check_asm.c 80 $(SH) ./check_asm.sh -printf task tmp.i check_asm.c 81 $(SH) ./check_asm.sh -printf mm tmp.i check_asm.c 82 $(SH) ./check_asm.sh -printf thread tmp.i check_asm.c
|
/linux-2.4.37.9/arch/sparc64/math-emu/ |
D | sfp-util.h | 14 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 20 : "=r" ((UDItype)(sh)), \ 28 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 34 : "=r" ((UDItype)(sh)), \
|
/linux-2.4.37.9/crypto/ |
D | twofish.c | 492 ctx->s[3][i] = mds[3][q1[(b) ^ sd] ^ sh] 500 ctx->s[3][i] = mds[3][q1[q1[(a) ^ sd] ^ sh] ^ sl]; 508 ctx->s[3][i] = mds[3][q1[q1[q0[(b) ^ sd] ^ sh] ^ sl] ^ sp]; 658 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; in twofish_setkey() local 683 CALC_S (se, sf, sg, sh, 8, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in twofish_setkey() 684 CALC_S (se, sf, sg, sh, 9, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in twofish_setkey() 685 CALC_S (se, sf, sg, sh, 10, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in twofish_setkey() 686 CALC_S (se, sf, sg, sh, 11, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in twofish_setkey() 687 CALC_S (se, sf, sg, sh, 12, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in twofish_setkey() 688 CALC_S (se, sf, sg, sh, 13, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in twofish_setkey() [all …]
|
/linux-2.4.37.9/net/sctp/ |
D | input.c | 80 struct sctphdr *sh; in sctp_rcv_checksum() local 84 sh = (struct sctphdr *) skb->h.raw; in sctp_rcv_checksum() 85 cmp = ntohl(sh->checksum); in sctp_rcv_checksum() 87 val = sctp_start_cksum((__u8 *)sh, skb_headlen(skb)); in sctp_rcv_checksum() 114 struct sctphdr *sh; in sctp_rcv() local 129 sh = (struct sctphdr *) skb->h.raw; in sctp_rcv() 207 chunk->sctp_hdr = sh; in sctp_rcv() 420 struct sctphdr *sh = (struct sctphdr *)(skb->data + (iph->ihl <<2)); in sctp_v4_err() local 440 skb->h.raw = (char *)sh; in sctp_v4_err() 441 sk = sctp_err_lookup(AF_INET, skb, sh, &ep, &asoc, &transport); in sctp_v4_err() [all …]
|
D | output.c | 295 struct sctphdr *sh; in sctp_packet_transmit() local 329 sh = (struct sctphdr *)skb_push(nskb, sizeof(struct sctphdr)); in sctp_packet_transmit() 330 sh->source = htons(packet->source_port); in sctp_packet_transmit() 331 sh->dest = htons(packet->destination_port); in sctp_packet_transmit() 341 sh->vtag = htonl(packet->vtag); in sctp_packet_transmit() 342 sh->checksum = 0; in sctp_packet_transmit() 351 crc32 = sctp_start_cksum((__u8 *)sh, sizeof(struct sctphdr)); in sctp_packet_transmit() 432 sh->checksum = htonl(crc32); in sctp_packet_transmit()
|
/linux-2.4.37.9/drivers/block/ |
D | cciss_scsi.c | 53 int cciss_scsi_release(struct Scsi_Host *sh); 784 struct Scsi_Host *sh; in cciss_scsi_detect() local 787 sh = scsi_register(tpnt, sizeof(struct ctlr_info *)); in cciss_scsi_detect() 788 if (sh == NULL) return 0; in cciss_scsi_detect() 790 sh->io_port = 0; // good enough? FIXME, in cciss_scsi_detect() 791 sh->n_io_port = 0; // I don't think we use these two... in cciss_scsi_detect() 793 sh->this_id = SELF_SCSI_ID; in cciss_scsi_detect() 804 hba[i]->scsi_ctlr)->scsi_host = (void *) sh; in cciss_scsi_detect() 805 sh->hostdata[0] = (unsigned long) hba[i]; in cciss_scsi_detect() 806 sh->irq = hba[i]->intr; in cciss_scsi_detect() [all …]
|
/linux-2.4.37.9/arch/arm/boot/ |
D | Makefile | 157 …sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) Image $(TOPDIR)/System.map "$(… 160 …sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) zImage $(TOPDIR)/System.map "$…
|
/linux-2.4.37.9/arch/arm/lib/ |
D | longlong.h | 77 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument 80 : "=r" ((USItype) (sh)), \ 86 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument 89 : "=r" ((USItype) (sh)), \
|
/linux-2.4.37.9/drivers/bluetooth/ |
D | hci_h4.c | 153 hci_sco_hdr *sh; in h4_recv() local 199 sh = (hci_sco_hdr *) h4->rx_skb->data; in h4_recv() 201 BT_DBG("SCO header: dlen %d", sh->dlen); in h4_recv() 203 h4_check_data_len(h4, sh->dlen); in h4_recv()
|
/linux-2.4.37.9/arch/s390x/boot/ |
D | Makefile | 39 …sh -x ./install.sh $(KERNELRELEASE) $(BOOTIMAGE) $(TOPDIR)/System.map $(TOPDIR)/Kerntypes "$(INSTA…
|