tag | line | file | source code |
buff | 47 | arch/alpha/lib/checksum.c | static inline unsigned long do_csum(unsigned char * buff, int len) |
buff | 54 | arch/alpha/lib/checksum.c | odd = 1 & (unsigned long) buff; |
buff | 56 | arch/alpha/lib/checksum.c | result = *buff << 8; |
buff | 58 | arch/alpha/lib/checksum.c | buff++; |
buff | 62 | arch/alpha/lib/checksum.c | if (2 & (unsigned long) buff) { |
buff | 63 | arch/alpha/lib/checksum.c | result += *(unsigned short *) buff; |
buff | 66 | arch/alpha/lib/checksum.c | buff += 2; |
buff | 70 | arch/alpha/lib/checksum.c | if (4 & (unsigned long) buff) { |
buff | 71 | arch/alpha/lib/checksum.c | result += *(unsigned int *) buff; |
buff | 74 | arch/alpha/lib/checksum.c | buff += 4; |
buff | 80 | arch/alpha/lib/checksum.c | unsigned long w = *(unsigned long *) buff; |
buff | 82 | arch/alpha/lib/checksum.c | buff += 8; |
buff | 91 | arch/alpha/lib/checksum.c | result += *(unsigned int *) buff; |
buff | 92 | arch/alpha/lib/checksum.c | buff += 4; |
buff | 96 | arch/alpha/lib/checksum.c | result += *(unsigned short *) buff; |
buff | 97 | arch/alpha/lib/checksum.c | buff += 2; |
buff | 101 | arch/alpha/lib/checksum.c | result += *buff; |
buff | 130 | arch/alpha/lib/checksum.c | unsigned int csum_partial(unsigned char * buff, int len, unsigned int sum) |
buff | 132 | arch/alpha/lib/checksum.c | unsigned long result = do_csum(buff, len); |
buff | 167 | arch/alpha/lib/checksum.c | unsigned short ip_compute_csum(unsigned char * buff, int len) |
buff | 169 | arch/alpha/lib/checksum.c | return ~from64to16(do_csum(buff,len)); |
buff | 26 | arch/i386/lib/checksum.c | unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum) { |
buff | 93 | arch/i386/lib/checksum.c | : "0"(sum), "c"(len), "S"(buff) |
buff | 592 | drivers/cdrom/sonycd535.c | Byte **buff, int buf_size) |
buff | 626 | drivers/cdrom/sonycd535.c | data_buff = buff[sector_count++]; |
buff | 49 | drivers/net/apricot.c | #define kfree_skbmem(buff, size) kfree_s(buff,size) |
buff | 582 | drivers/net/arcnet.c | int arcnetA_header(unsigned char *buff,struct device *dev, |
buff | 585 | drivers/net/arcnet.c | int arcnetS_header(unsigned char *buff,struct device *dev, |
buff | 2712 | drivers/net/arcnet.c | int arcnetA_header(unsigned char *buff,struct device *dev, |
buff | 2722 | drivers/net/arcnet.c | buff; |
buff | 2796 | drivers/net/arcnet.c | int arcnetS_header(unsigned char *buff,struct device *dev, |
buff | 2806 | drivers/net/arcnet.c | buff; |
buff | 2862 | drivers/net/arcnet.c | int arcnetA_rebuild_header(void *buff,struct device *dev,unsigned long dst, |
buff | 2865 | drivers/net/arcnet.c | struct ClientData *head = (struct ClientData *)buff; |
buff | 2900 | drivers/net/arcnet.c | int arcnetS_rebuild_header(void *buff,struct device *dev,unsigned long dst, |
buff | 2903 | drivers/net/arcnet.c | struct S_ClientData *head = (struct S_ClientData *)buff; |
buff | 151 | drivers/net/eql.c | static int eql_rebuild_header(void *buff, struct device *dev, |
buff | 419 | drivers/net/eql.c | eql_rebuild_header(void *buff, struct device *dev, |
buff | 1084 | drivers/net/pi2.c | static int pi_rebuild_header(void *buff, struct device *dev, unsigned long raddr, |
buff | 1087 | drivers/net/pi2.c | return ax25_rebuild_header(buff, dev, raddr, skb); |
buff | 145 | drivers/net/plip.c | static int plip_rebuild_header(void *buff, struct device *dev, |
buff | 857 | drivers/net/plip.c | plip_rebuild_header(void *buff, struct device *dev, unsigned long dst, |
buff | 861 | drivers/net/plip.c | struct ethhdr *eth = (struct ethhdr *)buff; |
buff | 865 | drivers/net/plip.c | return nl->orig_rebuild_header(buff, dev, dst, skb); |
buff | 202 | drivers/net/ppp.c | static int ppp_dev_header (unsigned char *buff, struct device *dev, |
buff | 3282 | drivers/net/ppp.c | static int ppp_dev_header (unsigned char *buff, struct device *dev, |
buff | 3295 | drivers/net/ppp.c | ppp_dev_rebuild (void *buff, struct device *dev, unsigned long raddr, |
buff | 548 | drivers/net/slip.c | sl_rebuild_header(void *buff, struct device *dev, unsigned long raddr, |
buff | 556 | drivers/net/slip.c | return ax25_rebuild_header(buff, dev, raddr, skb); |
buff | 521 | drivers/scsi/aha1542.c | void *buff = SCpnt->request_buffer; |
buff | 648 | drivers/scsi/aha1542.c | if(((unsigned int) buff & 0xff000000)) goto baddma; |
buff | 649 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].dataptr, buff); |
buff | 258 | drivers/scsi/aha1740.c | void *buff = SCpnt->request_buffer; |
buff | 354 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) buff; |
buff | 79 | drivers/scsi/aic7xxx_proc.c | static u8 buff[512]; |
buff | 125 | drivers/scsi/aic7xxx_proc.c | memset(buff, 0, sizeof(buff)); |
buff | 696 | drivers/scsi/eata_dma.c | static char *buff; |
buff | 705 | drivers/scsi/eata_dma.c | buff = dma_scratch; |
buff | 709 | drivers/scsi/eata_dma.c | memset(buff, 0, 256); |
buff | 717 | drivers/scsi/eata_dma.c | cp->cp_dataDMA = htonl(virt_to_bus(buff)); |
buff | 744 | drivers/scsi/eata_dma.c | (u32) sp->scsi_stat, buff, sp)); |
buff | 758 | drivers/scsi/eata_dma.c | return (buff); |
buff | 853 | drivers/scsi/eata_dma.c | char *buff = 0; |
buff | 907 | drivers/scsi/eata_dma.c | buff = get_board_data(base, gc->IRQ, gc->scsi_id[3]); |
buff | 909 | drivers/scsi/eata_dma.c | if (buff == NULL) { |
buff | 933 | drivers/scsi/eata_dma.c | if (gc->DMA_support == FALSE && buff != NULL) |
buff | 935 | drivers/scsi/eata_dma.c | &buff[16], base); |
buff | 979 | drivers/scsi/eata_dma.c | strncpy(SD(sh)->vendor, &buff[8], 8); |
buff | 981 | drivers/scsi/eata_dma.c | strncpy(SD(sh)->name, &buff[16], 17); |
buff | 983 | drivers/scsi/eata_dma.c | SD(sh)->revision[0] = buff[32]; |
buff | 984 | drivers/scsi/eata_dma.c | SD(sh)->revision[1] = buff[33]; |
buff | 985 | drivers/scsi/eata_dma.c | SD(sh)->revision[2] = buff[34]; |
buff | 987 | drivers/scsi/eata_dma.c | SD(sh)->revision[4] = buff[35]; |
buff | 1015 | drivers/scsi/eata_dma.c | if (buff[21] == '4') |
buff | 1017 | drivers/scsi/eata_dma.c | else if (buff[21] == '2') |
buff | 75 | drivers/scsi/eata_dma_proc.c | static u8 buff[512]; |
buff | 106 | drivers/scsi/eata_dma_proc.c | memset(buff, 0, sizeof(buff)); |
buff | 108 | drivers/scsi/eata_dma_proc.c | cc = (coco *) (buff + 0x148); |
buff | 109 | drivers/scsi/eata_dma_proc.c | st = (scsitrans *)(buff + 0x164); |
buff | 110 | drivers/scsi/eata_dma_proc.c | sm = (scsimod *) (buff + 0x16c); |
buff | 111 | drivers/scsi/eata_dma_proc.c | hb = (hobu *) (buff + 0x172); |
buff | 112 | drivers/scsi/eata_dma_proc.c | sb = (scbu *) (buff + 0x178); |
buff | 113 | drivers/scsi/eata_dma_proc.c | bt = (boty *) (buff + 0x17e); |
buff | 114 | drivers/scsi/eata_dma_proc.c | mc = (memco *) (buff + 0x186); |
buff | 115 | drivers/scsi/eata_dma_proc.c | fm = (firm *) (buff + 0x18e); |
buff | 116 | drivers/scsi/eata_dma_proc.c | si = (subinf *) (buff + 0x196); |
buff | 117 | drivers/scsi/eata_dma_proc.c | pi = (pcinf *) (buff + 0x19c); |
buff | 118 | drivers/scsi/eata_dma_proc.c | al = (arrlim *) (buff + 0x1a2); |
buff | 191 | drivers/scsi/eata_dma_proc.c | scsi_do_cmd (&scmd, cmnd, buff + 0x144, 0x66, |
buff | 539 | drivers/scsi/eata_pio.c | static char buff[256]; |
buff | 543 | drivers/scsi/eata_pio.c | memset(buff, 0, sizeof(buff)); |
buff | 575 | drivers/scsi/eata_pio.c | insw(base+HA_RDATA, &buff, 127); |
buff | 577 | drivers/scsi/eata_pio.c | return (buff); |
buff | 679 | drivers/scsi/eata_pio.c | char *buff; |
buff | 693 | drivers/scsi/eata_pio.c | if ((buff = get_pio_board_data((uint)base, gc->IRQ, gc->scsi_id[3], |
buff | 737 | drivers/scsi/eata_pio.c | strncpy(SD(sh)->vendor, &buff[8], 8); |
buff | 739 | drivers/scsi/eata_pio.c | strncpy(SD(sh)->name, &buff[16], 17); |
buff | 741 | drivers/scsi/eata_pio.c | SD(sh)->revision[0] = buff[32]; |
buff | 742 | drivers/scsi/eata_pio.c | SD(sh)->revision[1] = buff[33]; |
buff | 743 | drivers/scsi/eata_pio.c | SD(sh)->revision[2] = buff[34]; |
buff | 745 | drivers/scsi/eata_pio.c | SD(sh)->revision[4] = buff[35]; |
buff | 772 | drivers/scsi/eata_pio.c | if (buff[21] == '4') |
buff | 774 | drivers/scsi/eata_pio.c | else if (buff[21] == '2') |
buff | 46 | drivers/scsi/eata_pio_proc.c | static u8 buff[512]; |
buff | 63 | drivers/scsi/eata_pio_proc.c | memset(buff, 0, sizeof(buff)); |
buff | 423 | drivers/scsi/in2000.c | void *buff = SCpnt->request_buffer; |
buff | 505 | drivers/scsi/in2000.c | in2000_scatter = (struct scatterlist *) buff; |
buff | 511 | drivers/scsi/in2000.c | in2000_dataptr = (unsigned short*) buff; |
buff | 182 | drivers/scsi/scsi_debug.c | unsigned char * buff; |
buff | 195 | drivers/scsi/scsi_debug.c | buff = (unsigned char *) SCpnt->request_buffer; |
buff | 218 | drivers/scsi/scsi_debug.c | printk("scsi_debug: Requesting sense buffer (%x %x %x %d):", SCpnt, buff, done, bufflen); |
buff | 223 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 224 | drivers/scsi/scsi_debug.c | memcpy(buff, sense_buffer, bufflen); |
buff | 235 | drivers/scsi/scsi_debug.c | printk("Inquiry...(%x %d)\n", buff, bufflen); |
buff | 236 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 237 | drivers/scsi/scsi_debug.c | buff[0] = TYPE_DISK; |
buff | 238 | drivers/scsi/scsi_debug.c | buff[1] = 0x80; /* Removable disk */ |
buff | 239 | drivers/scsi/scsi_debug.c | buff[2] = 1; |
buff | 240 | drivers/scsi/scsi_debug.c | buff[4] = 33 - 5; |
buff | 241 | drivers/scsi/scsi_debug.c | memcpy(&buff[8],"Foo Inc",7); |
buff | 242 | drivers/scsi/scsi_debug.c | memcpy(&buff[16],"XYZZY",5); |
buff | 243 | drivers/scsi/scsi_debug.c | memcpy(&buff[32],"1",1); |
buff | 247 | drivers/scsi/scsi_debug.c | printk("Test unit ready(%x %d)\n", buff, bufflen); |
buff | 248 | drivers/scsi/scsi_debug.c | if (buff) |
buff | 249 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 255 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 256 | drivers/scsi/scsi_debug.c | buff[0] = (CAPACITY >> 24); |
buff | 257 | drivers/scsi/scsi_debug.c | buff[1] = (CAPACITY >> 16) & 0xff; |
buff | 258 | drivers/scsi/scsi_debug.c | buff[2] = (CAPACITY >> 8) & 0xff; |
buff | 259 | drivers/scsi/scsi_debug.c | buff[3] = CAPACITY & 0xff; |
buff | 260 | drivers/scsi/scsi_debug.c | buff[6] = 2; /* 512 byte sectors */ |
buff | 291 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) buff; |
buff | 292 | drivers/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 301 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 306 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 307 | drivers/scsi/scsi_debug.c | *((unsigned short *) (buff+510)) = 0xAA55; |
buff | 308 | drivers/scsi/scsi_debug.c | p = (struct partition* ) (buff + 0x1be); |
buff | 348 | drivers/scsi/scsi_debug.c | memcpy(buff, &target, sizeof(target)); |
buff | 349 | drivers/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
buff | 350 | drivers/scsi/scsi_debug.c | memcpy(buff+60, &block, sizeof(block)); |
buff | 351 | drivers/scsi/scsi_debug.c | memcpy(buff+64, SCpnt, sizeof(Scsi_Cmnd)); |
buff | 356 | drivers/scsi/scsi_debug.c | memcpy(buff+128, bh, sizeof(struct buffer_head)); |
buff | 363 | drivers/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 390 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) buff; |
buff | 391 | drivers/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 394 | drivers/scsi/scsi_debug.c | if (block != *((unsigned long *) (buff+60))) { |
buff | 395 | drivers/scsi/scsi_debug.c | printk("%x %x :",block, *((unsigned long *) (buff+60))); |
buff | 513 | drivers/scsi/sd.c | char * buff, *bounce_buffer; |
buff | 628 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 647 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 692 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 697 | drivers/scsi/sd.c | buff = (char *) sgpnt; |
buff | 738 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 819 | drivers/scsi/sd.c | if (((long) buff) + (this_count << 9) - 1 > ISA_DMA_THRESHOLD && |
buff | 822 | drivers/scsi/sd.c | buff = bounce_buffer; |
buff | 824 | drivers/scsi/sd.c | buff = (char *) scsi_malloc(this_count << 9); |
buff | 825 | drivers/scsi/sd.c | if(buff == NULL) { /* Try backing off a bit if we are low on mem*/ |
buff | 827 | drivers/scsi/sd.c | buff = (char *) scsi_malloc(this_count << 9); |
buff | 828 | drivers/scsi/sd.c | if(!buff) panic("Ran out of DMA buffers."); |
buff | 831 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buff | 889 | drivers/scsi/sd.c | scsi_do_cmd (SCpnt, (void *) cmd, buff, |
buff | 95 | drivers/scsi/seagate.c | void *buff, int bufflen, int reselect); |
buff | 618 | drivers/scsi/seagate.c | void *buff, int bufflen, int reselect) { |
buff | 56 | drivers/scsi/sg.c | char *buff; /* the buffer */ |
buff | 64 | drivers/scsi/sg.c | static void sg_free(char *buff,int size); |
buff | 136 | drivers/scsi/sg.c | if (scsi_generics[dev].buff != NULL) |
buff | 137 | drivers/scsi/sg.c | sg_free(scsi_generics[dev].buff,scsi_generics[dev].buff_len); |
buff | 138 | drivers/scsi/sg.c | scsi_generics[dev].buff=NULL; |
buff | 181 | drivers/scsi/sg.c | static void sg_free(char *buff,int size) |
buff | 184 | drivers/scsi/sg.c | if (buff==big_buff) |
buff | 191 | drivers/scsi/sg.c | scsi_free(buff,size); |
buff | 241 | drivers/scsi/sg.c | memcpy_tofs(buf,device->buff,count-sizeof(struct sg_header)); |
buff | 251 | drivers/scsi/sg.c | sg_free(device->buff,device->buff_len); |
buff | 252 | drivers/scsi/sg.c | device->buff = NULL; |
buff | 374 | drivers/scsi/sg.c | if ((bsize<0) || !(device->buff=sg_malloc(device->buff_len=bsize))) |
buff | 393 | drivers/scsi/sg.c | sg_free(device->buff,device->buff_len); |
buff | 394 | drivers/scsi/sg.c | device->buff = NULL; |
buff | 427 | drivers/scsi/sg.c | sg_free( device->buff, device->buff_len ); |
buff | 428 | drivers/scsi/sg.c | device->buff = NULL; |
buff | 443 | drivers/scsi/sg.c | if( direction == SG_SEND ) memcpy_fromfs(device->buff,buf, amt); |
buff | 460 | drivers/scsi/sg.c | (void *) device->buff,amt, |
buff | 587 | drivers/scsi/sg.c | scsi_generics[i].buff=NULL; |
buff | 159 | drivers/sound/audio.c | translate_bytes (const unsigned char *table, unsigned char *buff, int n) |
buff | 167 | drivers/sound/audio.c | buff[i] = table[buff[i]]; |
buff | 172 | drivers/sound/audio.c | translate_bytes (const void *table, void *buff, int n) |
buff | 181 | drivers/sound/audio.c | : "b" ((long) table), "c" (n), "D" ((long) buff), "S" ((long) buff) |
buff | 47 | fs/smbfs/sock.c | static int _send(struct socket *sock, const void *buff, int len, int nonblock, unsigned flags) { |
buff | 51 | fs/smbfs/sock.c | iov.iov_base = (void *)buff; |
buff | 33 | include/asm-alpha/checksum.h | extern unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum); |
buff | 56 | include/asm-alpha/checksum.h | extern unsigned short ip_compute_csum(unsigned char * buff, int len); |
buff | 28 | include/asm-alpha/ipsum.h | extern inline unsigned short ip_compute_csum(unsigned char * buff, int len) |
buff | 39 | include/asm-alpha/ipsum.h | static inline unsigned short ip_fast_csum(unsigned char * buff, int wlen) |
buff | 16 | include/asm-i386/checksum.h | unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum); |
buff | 123 | include/asm-i386/checksum.h | static inline unsigned short ip_compute_csum(unsigned char * buff, int len) { |
buff | 135 | include/asm-i386/checksum.h | : "0" (csum_partial(buff, len, 0))); |
buff | 32 | include/asm-sparc/ipsum.h | extern inline unsigned short ip_compute_csum(unsigned char * buff, int len) |
buff | 43 | include/asm-sparc/ipsum.h | static inline unsigned short ip_fast_csum(unsigned char * buff, int wlen) |
buff | 34 | include/linux/etherdevice.h | extern int eth_rebuild_header(void *buff, struct device *dev, |
buff | 230 | include/linux/netdevice.h | extern int dev_rint(unsigned char *buff, long len, int flags, |
buff | 34 | include/linux/trdevice.h | extern int tr_rebuild_header(void *buff, struct device *dev, |
buff | 36 | include/net/protocol.h | void (*err_handler)(int type, int code, unsigned char *buff, |
buff | 29 | include/net/raw.h | extern int raw_read(struct sock *sk, unsigned char *buff, |
buff | 287 | include/net/sock.h | int (*rcv)(struct sk_buff *buff, struct device *dev, |
buff | 41 | include/net/udp.h | extern int udp_read(struct sock *sk, unsigned char *buff, |
buff | 71 | net/802/tr.c | int tr_rebuild_header(void *buff, struct device *dev, unsigned long dest, |
buff | 74 | net/802/tr.c | struct trh_hdr *trh=(struct trh_hdr *)buff; |
buff | 75 | net/802/tr.c | struct trllc *trllc=(struct trllc *)(buff+sizeof(struct trh_hdr)); |
buff | 2211 | net/ax25/af_ax25.c | unsigned char *buff = skb_push(skb, AX25_HEADER_LEN); |
buff | 2213 | net/ax25/af_ax25.c | *buff++ = 0; /* KISS DATA */ |
buff | 2216 | net/ax25/af_ax25.c | memcpy(buff, daddr, dev->addr_len); /* Address specified */ |
buff | 2218 | net/ax25/af_ax25.c | buff[6] &= ~LAPB_C; |
buff | 2219 | net/ax25/af_ax25.c | buff[6] &= ~LAPB_E; |
buff | 2220 | net/ax25/af_ax25.c | buff[6] |= SSSID_SPARE; |
buff | 2221 | net/ax25/af_ax25.c | buff += AX25_ADDR_LEN; |
buff | 2224 | net/ax25/af_ax25.c | memcpy(buff, saddr, dev->addr_len); |
buff | 2226 | net/ax25/af_ax25.c | memcpy(buff, dev->dev_addr, dev->addr_len); |
buff | 2228 | net/ax25/af_ax25.c | buff[6] &= ~LAPB_C; |
buff | 2229 | net/ax25/af_ax25.c | buff[6] |= LAPB_E; |
buff | 2230 | net/ax25/af_ax25.c | buff[6] |= SSSID_SPARE; |
buff | 2231 | net/ax25/af_ax25.c | buff += AX25_ADDR_LEN; |
buff | 2233 | net/ax25/af_ax25.c | *buff++ = LAPB_UI; /* UI */ |
buff | 2238 | net/ax25/af_ax25.c | *buff++ = AX25_P_IP; |
buff | 2242 | net/ax25/af_ax25.c | *buff++ = AX25_P_ARP; |
buff | 2245 | net/ax25/af_ax25.c | *buff++ = 0; |
buff | 484 | net/core/dev.c | int dev_rint(unsigned char *buff, long len, int flags, struct device *dev) |
buff | 492 | net/core/dev.c | if (dev == NULL || buff == NULL || len <= 0) |
buff | 497 | net/core/dev.c | skb = (struct sk_buff *) buff; |
buff | 530 | net/core/dev.c | (unsigned long) buff); |
buff | 531 | net/core/dev.c | memcpy(to, buff, amount); |
buff | 534 | net/core/dev.c | buff += amount; |
buff | 536 | net/core/dev.c | if ((unsigned long) buff == dev->rmem_end) |
buff | 537 | net/core/dev.c | buff = (unsigned char *) dev->rmem_start; |
buff | 139 | net/ethernet/eth.c | int eth_rebuild_header(void *buff, struct device *dev, unsigned long dst, |
buff | 142 | net/ethernet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
buff | 1550 | net/ipv4/tcp.c | struct sk_buff *buff; |
buff | 1563 | net/ipv4/tcp.c | buff = sock_wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC); |
buff | 1564 | net/ipv4/tcp.c | if (buff == NULL) |
buff | 1585 | net/ipv4/tcp.c | buff->sk = sk; |
buff | 1586 | net/ipv4/tcp.c | buff->localroute = sk->localroute; |
buff | 1592 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
buff | 1596 | net/ipv4/tcp.c | buff->free = 1; |
buff | 1597 | net/ipv4/tcp.c | sock_wfree(sk, buff); |
buff | 1600 | net/ipv4/tcp.c | t1 =(struct tcphdr *)skb_put(buff,sizeof(struct tcphdr)); |
buff | 1654 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 2059 | net/ipv4/tcp.c | struct sk_buff *buff; |
buff | 2082 | net/ipv4/tcp.c | buff = sock_wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 2083 | net/ipv4/tcp.c | if (buff == NULL) |
buff | 2090 | net/ipv4/tcp.c | buff->sk = sk; |
buff | 2091 | net/ipv4/tcp.c | buff->localroute = sk->localroute; |
buff | 2097 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
buff | 2101 | net/ipv4/tcp.c | buff->free = 1; |
buff | 2102 | net/ipv4/tcp.c | sock_wfree(sk, buff); |
buff | 2106 | net/ipv4/tcp.c | t1 =(struct tcphdr *)skb_put(buff,sizeof(struct tcphdr)); |
buff | 2124 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 2591 | net/ipv4/tcp.c | struct sk_buff *buff; |
buff | 2597 | net/ipv4/tcp.c | buff = sock_wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
buff | 2600 | net/ipv4/tcp.c | if (buff == NULL) |
buff | 2611 | net/ipv4/tcp.c | buff->sk = sk; |
buff | 2612 | net/ipv4/tcp.c | buff->localroute = sk->localroute; |
buff | 2618 | net/ipv4/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
buff | 2629 | net/ipv4/tcp.c | buff->free = 1; |
buff | 2630 | net/ipv4/tcp.c | sock_wfree(sk,buff); |
buff | 2645 | net/ipv4/tcp.c | t1 =(struct tcphdr *)skb_put(buff,sizeof(struct tcphdr)); |
buff | 2646 | net/ipv4/tcp.c | buff->dev = dev; |
buff | 2650 | net/ipv4/tcp.c | buff->h.seq = sk->write_seq; |
buff | 2666 | net/ipv4/tcp.c | buff->free = 0; |
buff | 2667 | net/ipv4/tcp.c | if (buff->next != NULL) |
buff | 2670 | net/ipv4/tcp.c | skb_unlink(buff); |
buff | 2672 | net/ipv4/tcp.c | skb_queue_tail(&sk->write_queue, buff); |
buff | 2677 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
buff | 2745 | net/ipv4/tcp.c | struct sk_buff *buff; |
buff | 2762 | net/ipv4/tcp.c | buff = sock_wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC); |
buff | 2763 | net/ipv4/tcp.c | if (buff == NULL) |
buff | 2766 | net/ipv4/tcp.c | buff->sk = NULL; |
buff | 2767 | net/ipv4/tcp.c | buff->dev = dev; |
buff | 2768 | net/ipv4/tcp.c | buff->localroute = 0; |
buff | 2774 | net/ipv4/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
buff | 2778 | net/ipv4/tcp.c | buff->free = 1; |
buff | 2779 | net/ipv4/tcp.c | sock_wfree(NULL, buff); |
buff | 2783 | net/ipv4/tcp.c | t1 =(struct tcphdr *)skb_put(buff,sizeof(struct tcphdr)); |
buff | 2817 | net/ipv4/tcp.c | prot->queue_xmit(NULL, ndev, buff, 1); |
buff | 2922 | net/ipv4/tcp.c | struct sk_buff *buff; |
buff | 3126 | net/ipv4/tcp.c | buff = sock_wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC); |
buff | 3127 | net/ipv4/tcp.c | if (buff == NULL) |
buff | 3139 | net/ipv4/tcp.c | buff->sk = newsk; |
buff | 3140 | net/ipv4/tcp.c | buff->localroute = newsk->localroute; |
buff | 3146 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
buff | 3156 | net/ipv4/tcp.c | buff->free = 1; |
buff | 3157 | net/ipv4/tcp.c | kfree_skb(buff,FREE_WRITE); |
buff | 3167 | net/ipv4/tcp.c | t1 =(struct tcphdr *)skb_put(buff,sizeof(struct tcphdr)); |
buff | 3170 | net/ipv4/tcp.c | buff->h.seq = newsk->write_seq; |
buff | 3189 | net/ipv4/tcp.c | ptr = skb_put(buff,4); |
buff | 3196 | net/ipv4/tcp.c | newsk->prot->queue_xmit(newsk, ndev, buff, 0); |
buff | 4534 | net/ipv4/tcp.c | struct sk_buff *buff; |
buff | 4581 | net/ipv4/tcp.c | buff = sock_wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
buff | 4582 | net/ipv4/tcp.c | if (buff == NULL) |
buff | 4587 | net/ipv4/tcp.c | buff->sk = sk; |
buff | 4588 | net/ipv4/tcp.c | buff->free = 0; |
buff | 4589 | net/ipv4/tcp.c | buff->localroute = sk->localroute; |
buff | 4596 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
buff | 4600 | net/ipv4/tcp.c | sock_wfree(sk, buff); |
buff | 4608 | net/ipv4/tcp.c | t1 = (struct tcphdr *) skb_put(buff,sizeof(struct tcphdr)); |
buff | 4613 | net/ipv4/tcp.c | buff->h.seq = sk->write_seq; |
buff | 4666 | net/ipv4/tcp.c | ptr = skb_put(buff,4); |
buff | 4690 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
buff | 5210 | net/ipv4/tcp.c | struct sk_buff *buff,*skb; |
buff | 5268 | net/ipv4/tcp.c | buff = sock_wmalloc(sk, win_size + th->doff * 4 + |
buff | 5272 | net/ipv4/tcp.c | if ( buff == NULL ) |
buff | 5280 | net/ipv4/tcp.c | buff->free = /*0*/1; |
buff | 5282 | net/ipv4/tcp.c | buff->sk = sk; |
buff | 5283 | net/ipv4/tcp.c | buff->localroute = sk->localroute; |
buff | 5289 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
buff | 5290 | net/ipv4/tcp.c | IPPROTO_TCP, sk->opt, buff->truesize, |
buff | 5294 | net/ipv4/tcp.c | sock_wfree(sk, buff); |
buff | 5302 | net/ipv4/tcp.c | buff->dev = dev; |
buff | 5304 | net/ipv4/tcp.c | nth = (struct tcphdr *) skb_put(buff,th->doff*4); |
buff | 5327 | net/ipv4/tcp.c | memcpy(skb_put(buff,win_size), tcp_data_start, win_size); |
buff | 5333 | net/ipv4/tcp.c | buff->h.seq = sk->sent_seq + win_size; |
buff | 5334 | net/ipv4/tcp.c | sk->sent_seq = buff->h.seq; /* Hack */ |
buff | 5377 | net/ipv4/tcp.c | buff = sock_wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 5378 | net/ipv4/tcp.c | if (buff == NULL) |
buff | 5381 | net/ipv4/tcp.c | buff->free = 1; |
buff | 5382 | net/ipv4/tcp.c | buff->sk = sk; |
buff | 5383 | net/ipv4/tcp.c | buff->localroute = sk->localroute; |
buff | 5389 | net/ipv4/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
buff | 5393 | net/ipv4/tcp.c | sock_wfree(sk, buff); |
buff | 5397 | net/ipv4/tcp.c | t1 = (struct tcphdr *)skb_put(buff,sizeof(struct tcphdr)); |
buff | 5425 | net/ipv4/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 51 | net/ipv4/utils.c | static char buff[18]; |
buff | 55 | net/ipv4/utils.c | sprintf(buff, "%d.%d.%d.%d", |
buff | 57 | net/ipv4/utils.c | return(buff); |
buff | 78 | net/netrom/nr_dev.c | unsigned char *buff = skb_push(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN); |
buff | 80 | net/netrom/nr_dev.c | memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); |
buff | 81 | net/netrom/nr_dev.c | buff[6] &= ~LAPB_C; |
buff | 82 | net/netrom/nr_dev.c | buff[6] &= ~LAPB_E; |
buff | 83 | net/netrom/nr_dev.c | buff[6] |= SSSID_SPARE; |
buff | 84 | net/netrom/nr_dev.c | buff += AX25_ADDR_LEN; |
buff | 87 | net/netrom/nr_dev.c | memcpy(buff, daddr, dev->addr_len); |
buff | 88 | net/netrom/nr_dev.c | buff[6] &= ~LAPB_C; |
buff | 89 | net/netrom/nr_dev.c | buff[6] |= LAPB_E; |
buff | 90 | net/netrom/nr_dev.c | buff[6] |= SSSID_SPARE; |
buff | 91 | net/netrom/nr_dev.c | buff += AX25_ADDR_LEN; |
buff | 93 | net/netrom/nr_dev.c | *buff++ = nr_default.ttl; |
buff | 95 | net/netrom/nr_dev.c | *buff++ = NR_PROTO_IP; |
buff | 96 | net/netrom/nr_dev.c | *buff++ = NR_PROTO_IP; |
buff | 97 | net/netrom/nr_dev.c | *buff++ = 0; |
buff | 98 | net/netrom/nr_dev.c | *buff++ = 0; |
buff | 99 | net/netrom/nr_dev.c | *buff++ = NR_PROTOEXT; |
buff | 107 | net/netrom/nr_dev.c | static int nr_rebuild_header(void *buff, struct device *dev, |
buff | 111 | net/netrom/nr_dev.c | unsigned char *bp = (unsigned char *)buff; |
buff | 862 | net/socket.c | asmlinkage int sys_send(int fd, void * buff, int len, unsigned flags) |
buff | 877 | net/socket.c | err=verify_area(VERIFY_READ, buff, len); |
buff | 881 | net/socket.c | iov.iov_base=buff; |
buff | 896 | net/socket.c | asmlinkage int sys_sendto(int fd, void * buff, int len, unsigned flags, |
buff | 913 | net/socket.c | err=verify_area(VERIFY_READ,buff,len); |
buff | 920 | net/socket.c | iov.iov_base=buff; |