tag | line | file | source code |
addr | 439 | drivers/block/floppy.c | unsigned long addr,count; |
addr | 446 | drivers/block/floppy.c | addr = (long) tmp_floppy_area; |
addr | 449 | drivers/block/floppy.c | addr = (long) CURRENT->buffer; |
addr | 456 | drivers/block/floppy.c | addr = (long) floppy_track_buffer; |
addr | 457 | drivers/block/floppy.c | } else if (addr >= LAST_DMA_ADDR) { |
addr | 458 | drivers/block/floppy.c | addr = (long) tmp_floppy_area; |
addr | 466 | drivers/block/floppy.c | set_dma_addr(FLOPPY_DMA, addr); |
addr | 1231 | drivers/block/floppy.c | #define CMOS_READ(addr) ({ \ |
addr | 1232 | drivers/block/floppy.c | outb_p(addr,0x70); \ |
addr | 42 | drivers/block/hd.c | static inline unsigned char CMOS_READ(unsigned char addr) |
addr | 44 | drivers/block/hd.c | outb_p(addr,0x70); |
addr | 33 | drivers/block/ramdisk.c | char *addr; |
addr | 37 | drivers/block/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
addr | 41 | drivers/block/ramdisk.c | (addr+len > rd_start+rd_length)) { |
addr | 46 | drivers/block/ramdisk.c | (void ) memcpy(addr, |
addr | 51 | drivers/block/ramdisk.c | addr, |
addr | 2795 | drivers/block/sbpcd.c | int addr[2]={1, CDROM_PORT}; |
addr | 2821 | drivers/block/sbpcd.c | addr[1]=autoprobe[port_index]; |
addr | 2822 | drivers/block/sbpcd.c | if (check_region(addr[1],4)) continue; |
addr | 2826 | drivers/block/sbpcd.c | sbpcd_setup(type, addr); |
addr | 87 | drivers/char/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
addr | 95 | drivers/char/mem.c | if (remap_page_range(addr, off, len, prot)) |
addr | 103 | drivers/char/mem.c | mpnt->vm_start = addr; |
addr | 104 | drivers/char/mem.c | mpnt->vm_end = addr + len; |
addr | 180 | drivers/char/mem.c | unsigned long addr, size_t len, int prot, unsigned long off) |
addr | 186 | drivers/char/mem.c | if (zeromap_page_range(addr, len, prot)) |
addr | 197 | drivers/char/mem.c | mpnt->vm_start = addr; |
addr | 198 | drivers/char/mem.c | mpnt->vm_end = addr + len; |
addr | 54 | drivers/net/3c501.c | #define kfree_skbmem(addr, size) kfree_s(addr,size); |
addr | 60 | drivers/net/3c503.c | int *addr, addrs[] = { 0xddffe, 0xd9ffe, 0xcdffe, 0xc9ffe, 0}; |
addr | 68 | drivers/net/3c503.c | for (addr = addrs; *addr; addr++) { |
addr | 70 | drivers/net/3c503.c | unsigned int base_bits = *(unsigned char *)*addr; |
addr | 61 | drivers/net/3c507.c | #define kfree_skbmem(addr, size) kfree_s(addr,size); |
addr | 78 | drivers/net/3c509.c | static void update_stats(int addr, struct device *dev); |
addr | 59 | drivers/net/at1700.c | #define kfree_skbmem(addr, size) kfree_s(addr,size); |
addr | 113 | drivers/net/atp.c | #define kfree_skbmem(addr, size) kfree_s(addr,size); |
addr | 272 | drivers/net/d_link.c | #define d_link_setup_address(addr,type) ( \ |
addr | 273 | drivers/net/d_link.c | outb_p((((addr) << 4) & 0xf0) | type , DATA_PORT), \ |
addr | 274 | drivers/net/d_link.c | outb_p(( (addr) & 0xf0) | type | HI_NIBBLE, DATA_PORT), \ |
addr | 275 | drivers/net/d_link.c | outb_p((((addr) >> 4) & 0xf0) | type , DATA_PORT), \ |
addr | 276 | drivers/net/d_link.c | outb_p((((addr) >> 8) & 0xf0) | type | HI_NIBBLE, DATA_PORT)) |
addr | 228 | drivers/net/hp.c | int addr = (high << 8) + low; |
addr | 230 | drivers/net/hp.c | if (((ring_offset + xfer_count) & 0xff) != (addr & 0xff)) |
addr | 232 | drivers/net/hp.c | dev->name, ring_offset + xfer_count, addr); |
addr | 286 | drivers/net/hp.c | int addr = (high << 8) + low; |
addr | 287 | drivers/net/hp.c | if ((start_page << 8) + count != addr) |
addr | 289 | drivers/net/hp.c | dev->name, (start_page << 8) + count, addr); |
addr | 38 | drivers/net/lance.c | #define check_region(addr, size) 0 |
addr | 39 | drivers/net/lance.c | #define snarf_region(addr, size) do ; while(0) |
addr | 317 | drivers/net/ne.c | int addr, tries = 20; |
addr | 323 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 330 | drivers/net/ne.c | dev->name, ring_offset + xfer_count, addr); |
addr | 392 | drivers/net/ne.c | int addr, tries = 20; |
addr | 398 | drivers/net/ne.c | addr = (high << 8) + low; |
addr | 399 | drivers/net/ne.c | if ((start_page << 8) + count == addr) |
addr | 405 | drivers/net/ne.c | dev->name, (start_page << 8) + count, addr); |
addr | 753 | drivers/net/plip.c | unsigned char *addr = dev->dev_addr; |
addr | 759 | drivers/net/plip.c | addr[i] = 0xfd; |
addr | 761 | drivers/net/plip.c | memcpy(&(addr[i]), &ipaddr, sizeof(unsigned long)); |
addr | 75 | drivers/net/skeleton.c | #define kfree_skbmem(addr, size) kfree_s(addr,size); |
addr | 615 | drivers/net/slip.c | sl_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev) |
addr | 621 | drivers/net/slip.c | arp_add(addr,((char *) skb->data)+8,dev); |
addr | 1078 | drivers/net/slip.c | int sl_set_mac_address(struct device *dev, void *addr) |
addr | 1080 | drivers/net/slip.c | int err=verify_area(VERIFY_READ,addr,7); |
addr | 1083 | drivers/net/slip.c | memcpy_fromfs(dev->dev_addr,addr,7); /* addr is an AX.25 shifted ASCII mac address */ |
addr | 89 | drivers/net/smc-ultra.c | unsigned char num_pages, irqreg, addr, reg4 = inb(ioaddr + 4) & 0x7f; |
addr | 111 | drivers/net/smc-ultra.c | addr = inb(ioaddr + 0xb); |
addr | 145 | drivers/net/smc-ultra.c | dev->mem_start = ((addr & 0x0f) << 13) + addr_tbl[(addr >> 6) & 3] ; |
addr | 146 | drivers/net/smc-ultra.c | num_pages = num_pages_tbl[(addr >> 4) & 3]; |
addr | 516 | drivers/scsi/ultrastor.c | unsigned short addr = (i << 12) | ULTRASTOR_24F_PORT; |
addr | 518 | drivers/scsi/ultrastor.c | if (inb(addr) != US24F_PRODUCT_ID_0 && |
addr | 519 | drivers/scsi/ultrastor.c | inb(addr+1) != US24F_PRODUCT_ID_1 && |
addr | 520 | drivers/scsi/ultrastor.c | inb(addr+2) != US24F_PRODUCT_ID_2) |
addr | 523 | drivers/scsi/ultrastor.c | config.revision = inb(addr+3); |
addr | 525 | drivers/scsi/ultrastor.c | if (! (inb(addr+4) & 1)) |
addr | 535 | drivers/scsi/ultrastor.c | config_1 = inb(addr + 5); |
addr | 563 | drivers/scsi/ultrastor.c | config.port_address = addr; |
addr | 564 | drivers/scsi/ultrastor.c | config.doorbell_address = addr + 12; |
addr | 565 | drivers/scsi/ultrastor.c | config.ogm_address = addr + 0x17; |
addr | 566 | drivers/scsi/ultrastor.c | config.icm_address = addr + 0x1C; |
addr | 567 | drivers/scsi/ultrastor.c | config_2 = inb(addr + 7); |
addr | 589 | drivers/scsi/ultrastor.c | outb(0, addr + 0x16); |
addr | 590 | drivers/scsi/ultrastor.c | outb(0, addr + 0x1B); |
addr | 594 | drivers/scsi/ultrastor.c | outb(ultrastor_bus_reset ? 0xc2 : 0x82, LCL_DOORBELL_MASK(addr+12)); |
addr | 595 | drivers/scsi/ultrastor.c | outb(0x02, SYS_DOORBELL_MASK(addr+12)); |
addr | 94 | drivers/sound/dev_table.h | int (*load_patch) (int dev, int format, snd_rw_buf *addr, |
addr | 228 | drivers/sound/gus_wave.c | static void gus_poke (long addr, unsigned char data); |
addr | 274 | drivers/sound/gus_wave.c | gus_poke (long addr, unsigned char data) |
addr | 280 | drivers/sound/gus_wave.c | OUTB (addr & 0xff, u_DataLo); |
addr | 281 | drivers/sound/gus_wave.c | OUTB ((addr >> 8) & 0xff, u_DataHi); |
addr | 284 | drivers/sound/gus_wave.c | OUTB ((addr >> 16) & 0xff, u_DataHi); |
addr | 290 | drivers/sound/gus_wave.c | gus_peek (long addr) |
addr | 297 | drivers/sound/gus_wave.c | OUTB (addr & 0xff, u_DataLo); |
addr | 298 | drivers/sound/gus_wave.c | OUTB ((addr >> 8) & 0xff, u_DataHi); |
addr | 301 | drivers/sound/gus_wave.c | OUTB ((addr >> 16) & 0xff, u_DataHi); |
addr | 1679 | drivers/sound/gus_wave.c | guswave_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 1719 | drivers/sound/gus_wave.c | COPY_FROM_USER (&((char *) &patch)[offs], addr, offs, sizeof_patch - offs); |
addr | 1852 | drivers/sound/gus_wave.c | GET_BYTE_FROM_USER (data, addr, sizeof_patch + i); |
addr | 1874 | drivers/sound/gus_wave.c | addr, sizeof_patch + src_offs, |
addr | 77 | drivers/sound/opl3.c | static void opl3_command (int io_addr, unsigned int addr, unsigned int val); |
addr | 621 | drivers/sound/opl3.c | opl3_command (int io_addr, unsigned int addr, unsigned int val) |
addr | 630 | drivers/sound/opl3.c | OUTB ((unsigned char)(addr & 0xff), io_addr); /* Select register */ |
addr | 722 | drivers/sound/opl3.c | opl3_load_patch (int dev, int format, snd_rw_buf * addr, |
addr | 733 | drivers/sound/opl3.c | COPY_FROM_USER (&((char *) &ins)[offs], (char *) addr, offs, sizeof (ins) - offs); |
addr | 59 | drivers/sound/os.h | #define GET_BYTE_FROM_USER(target, addr, offs) target = get_fs_byte(&((addr)[offs])) |
addr | 60 | drivers/sound/os.h | #define GET_SHORT_FROM_USER(target, addr, offs) target = get_fs_word(&((addr)[offs])) |
addr | 61 | drivers/sound/os.h | #define GET_WORD_FROM_USER(target, addr, offs) target = get_fs_long((long*)&((addr)[offs])) |
addr | 62 | drivers/sound/os.h | #define PUT_WORD_TO_USER(addr, offs, data) put_fs_long(data, (long*)&((addr)[offs])) |
addr | 120 | drivers/sound/os.h | #define KERNEL_FREE(addr) kfree(addr) |
addr | 97 | drivers/sound/sound_calls.h | int snd_ioctl_return(int *addr, int value); |
addr | 50 | drivers/sound/soundcard.c | snd_ioctl_return (int *addr, int value) |
addr | 55 | drivers/sound/soundcard.c | PUT_WORD_TO_USER (addr, 0, value); |
addr | 270 | drivers/sound/soundcard.c | valid_dma_page (unsigned long addr, unsigned long dev_buffsize, unsigned long dma_pagesize) |
addr | 272 | drivers/sound/soundcard.c | if (((addr & (dma_pagesize - 1)) + dev_buffsize) <= dma_pagesize) |
addr | 81 | fs/binfmt_coff.c | int clear_memory (unsigned long addr, unsigned long size) |
addr | 85 | fs/binfmt_coff.c | size = (PAGE_SIZE - (addr & ~PAGE_MASK)) & ~PAGE_MASK; |
addr | 95 | fs/binfmt_coff.c | (void *) addr, size); |
addr | 102 | fs/binfmt_coff.c | put_fs_byte (0, addr++); |
addr | 98 | fs/exec.c | #define DUMP_WRITE(addr,nr) \ |
addr | 99 | fs/exec.c | while (file.f_op->write(inode,&file,(char *)(addr),(nr)) != (nr)) goto close_coredump |
addr | 421 | fs/exec.c | char * addr, unsigned long count) |
addr | 446 | fs/exec.c | result = verify_area(VERIFY_WRITE, addr, count); |
addr | 450 | fs/exec.c | result = file.f_op->read(inode, &file, addr, count); |
addr | 40 | fs/ext/freelists.c | #define clear_block(addr) \ |
addr | 45 | fs/ext/freelists.c | :"a" (0),"c" (BLOCK_SIZE/4),"D" ((long) (addr)):"cx","di") |
addr | 35 | fs/ext2/balloc.c | #define clear_block(addr,size) \ |
addr | 40 | fs/ext2/balloc.c | :"a" (0), "c" (size / 4), "D" ((long) (addr)) \ |
addr | 45 | fs/ext2/balloc.c | static inline int find_first_zero_bit (unsigned long * addr, unsigned size) |
addr | 66 | fs/ext2/balloc.c | :"c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
addr | 71 | fs/ext2/balloc.c | static inline int find_next_zero_bit (unsigned long * addr, int size, |
addr | 74 | fs/ext2/balloc.c | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
addr | 96 | fs/ext2/balloc.c | res = find_first_zero_bit (p, size - 32 * (p - addr)); |
addr | 100 | fs/ext2/balloc.c | static inline char * find_first_zero_byte (char * addr, int size) |
addr | 114 | fs/ext2/balloc.c | : "0" (addr), "c" (size) |
addr | 36 | fs/ext2/ialloc.c | static inline int find_first_zero_bit (unsigned long * addr, unsigned size) |
addr | 57 | fs/ext2/ialloc.c | : "c" ((size + 31) >> 5), "D" (addr), "b" (addr) |
addr | 28 | fs/ext2/inode.c | #define clear_block(addr,size) \ |
addr | 33 | fs/ext2/inode.c | :"a" (0), "c" (size / 4), "D" ((long) (addr)) \ |
addr | 28 | fs/ext2/truncate.c | #define clear_block(addr,size,value) \ |
addr | 33 | fs/ext2/truncate.c | :"a" (value), "c" (size / 4), "D" ((long) (addr)) \ |
addr | 234 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len); |
addr | 528 | fs/hpfs/hpfs_fs.c | static int zerop(void *addr, unsigned len) |
addr | 530 | fs/hpfs/hpfs_fs.c | unsigned char *p = addr; |
addr | 17 | fs/minix/bitmap.c | #define clear_block(addr) \ |
addr | 22 | fs/minix/bitmap.c | :"a" (0),"c" (BLOCK_SIZE/4),"D" ((long) (addr)):"cx","di") |
addr | 24 | fs/minix/bitmap.c | #define find_first_zero(addr) ({ \ |
addr | 36 | fs/minix/bitmap.c | :"=c" (__res):"0" (0),"S" (addr):"ax","dx","si"); \ |
addr | 25 | fs/nfs/file.c | unsigned long addr, size_t len, int prot, unsigned long off); |
addr | 52 | fs/nfs/mmap.c | unsigned long addr, size_t len, int prot, unsigned long off) |
addr | 71 | fs/nfs/mmap.c | unmap_page_range(addr, len); |
addr | 73 | fs/nfs/mmap.c | mpnt->vm_start = addr; |
addr | 74 | fs/nfs/mmap.c | mpnt->vm_end = addr + len; |
addr | 184 | fs/proc/array.c | unsigned long addr; |
addr | 191 | fs/proc/array.c | addr = get_phys_addr(p, start); |
addr | 192 | fs/proc/array.c | if (!addr) |
addr | 195 | fs/proc/array.c | c = *(char *) addr; |
addr | 202 | fs/proc/array.c | addr++; |
addr | 206 | fs/proc/array.c | } while (!(addr & ~PAGE_MASK)); |
addr | 25 | fs/proc/mem.c | unsigned long addr, pid, cr3; |
addr | 42 | fs/proc/mem.c | addr = file->f_pos; |
addr | 47 | fs/proc/mem.c | pte = *PAGE_DIR_OFFSET(cr3,addr); |
addr | 51 | fs/proc/mem.c | pte += PAGE_PTR(addr); |
addr | 56 | fs/proc/mem.c | page += addr & ~PAGE_MASK; |
addr | 57 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 61 | fs/proc/mem.c | addr += i; |
addr | 65 | fs/proc/mem.c | file->f_pos = addr; |
addr | 73 | fs/proc/mem.c | unsigned long addr, pid, cr3; |
addr | 80 | fs/proc/mem.c | addr = file->f_pos; |
addr | 95 | fs/proc/mem.c | pte = *PAGE_DIR_OFFSET(cr3,addr); |
addr | 99 | fs/proc/mem.c | pte += PAGE_PTR(addr); |
addr | 104 | fs/proc/mem.c | do_wp_page(0,addr,current,0); |
addr | 108 | fs/proc/mem.c | page += addr & ~PAGE_MASK; |
addr | 109 | fs/proc/mem.c | i = PAGE_SIZE-(addr & ~PAGE_MASK); |
addr | 113 | fs/proc/mem.c | addr += i; |
addr | 117 | fs/proc/mem.c | file->f_pos = addr; |
addr | 24 | fs/xiafs/bitmap.c | #define clear_bit(nr,addr) ({\ |
addr | 27 | fs/xiafs/bitmap.c | "=q" (res):"r" (nr),"m" (*(addr))); \ |
addr | 20 | include/asm/bitops.h | #define ADDR (*(struct __dummy *) addr) |
addr | 22 | include/asm/bitops.h | extern __inline__ int set_bit(int nr, void * addr) |
addr | 32 | include/asm/bitops.h | extern __inline__ int clear_bit(int nr, void * addr) |
addr | 46 | include/asm/bitops.h | extern __inline__ int test_bit(int nr, void * addr) |
addr | 72 | include/asm/bitops.h | extern __inline__ int set_bit(int nr,int * addr) |
addr | 76 | include/asm/bitops.h | addr += nr >> 5; |
addr | 79 | include/asm/bitops.h | retval = (mask & *addr) != 0; |
addr | 80 | include/asm/bitops.h | *addr |= mask; |
addr | 85 | include/asm/bitops.h | extern __inline__ int clear_bit(int nr, int * addr) |
addr | 89 | include/asm/bitops.h | addr += nr >> 5; |
addr | 92 | include/asm/bitops.h | retval = (mask & *addr) != 0; |
addr | 93 | include/asm/bitops.h | *addr &= ~mask; |
addr | 98 | include/asm/bitops.h | extern __inline__ int test_bit(int nr, int * addr) |
addr | 102 | include/asm/bitops.h | addr += nr >> 5; |
addr | 104 | include/asm/bitops.h | return ((mask & *addr) != 0); |
addr | 69 | include/asm/io.h | extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \ |
addr | 71 | include/asm/io.h | : "=D" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
addr | 74 | include/asm/io.h | extern inline void outs##s(unsigned short port, const void * addr, unsigned long count) \ |
addr | 76 | include/asm/io.h | : "=S" (addr), "=c" (count) : "d" (port),"0" (addr),"1" (count)); } |
addr | 4 | include/asm/segment.h | static inline unsigned char get_user_byte(const char * addr) |
addr | 8 | include/asm/segment.h | __asm__ ("movb %%fs:%1,%0":"=q" (_v):"m" (*addr)); |
addr | 12 | include/asm/segment.h | #define get_fs_byte(addr) get_user_byte((char *)(addr)) |
addr | 14 | include/asm/segment.h | static inline unsigned short get_user_word(const short *addr) |
addr | 18 | include/asm/segment.h | __asm__ ("movw %%fs:%1,%0":"=r" (_v):"m" (*addr)); |
addr | 22 | include/asm/segment.h | #define get_fs_word(addr) get_user_word((short *)(addr)) |
addr | 24 | include/asm/segment.h | static inline unsigned long get_user_long(const int *addr) |
addr | 28 | include/asm/segment.h | __asm__ ("movl %%fs:%1,%0":"=r" (_v):"m" (*addr)); \ |
addr | 32 | include/asm/segment.h | #define get_fs_long(addr) get_user_long((int *)(addr)) |
addr | 34 | include/asm/segment.h | static inline void put_user_byte(char val,char *addr) |
addr | 36 | include/asm/segment.h | __asm__ ("movb %0,%%fs:%1": /* no outputs */ :"iq" (val),"m" (*addr)); |
addr | 39 | include/asm/segment.h | #define put_fs_byte(x,addr) put_user_byte((x),(char *)(addr)) |
addr | 41 | include/asm/segment.h | static inline void put_user_word(short val,short * addr) |
addr | 43 | include/asm/segment.h | __asm__ ("movw %0,%%fs:%1": /* no outputs */ :"ir" (val),"m" (*addr)); |
addr | 46 | include/asm/segment.h | #define put_fs_word(x,addr) put_user_word((x),(short *)(addr)) |
addr | 48 | include/asm/segment.h | static inline void put_user_long(unsigned long val,int * addr) |
addr | 50 | include/asm/segment.h | __asm__ ("movl %0,%%fs:%1": /* no outputs */ :"ir" (val),"m" (*addr)); |
addr | 53 | include/asm/segment.h | #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) |
addr | 55 | include/asm/system.h | #define _set_gate(gate_addr,type,dpl,addr) \ |
addr | 63 | include/asm/system.h | "d" ((char *) (addr)),"a" (KERNEL_CS << 16) \ |
addr | 66 | include/asm/system.h | #define set_intr_gate(n,addr) \ |
addr | 67 | include/asm/system.h | _set_gate(&idt[n],14,0,addr) |
addr | 69 | include/asm/system.h | #define set_trap_gate(n,addr) \ |
addr | 70 | include/asm/system.h | _set_gate(&idt[n],15,0,addr) |
addr | 72 | include/asm/system.h | #define set_system_gate(n,addr) \ |
addr | 73 | include/asm/system.h | _set_gate(&idt[n],15,3,addr) |
addr | 75 | include/asm/system.h | #define set_call_gate(a,addr) \ |
addr | 76 | include/asm/system.h | _set_gate(a,12,3,addr) |
addr | 88 | include/asm/system.h | #define _set_tssldt_desc(n,addr,limit,type) \ |
addr | 98 | include/asm/system.h | :"a" (addr+0xc0000000), "m" (*(n)), "m" (*(n+2)), "m" (*(n+4)), \ |
addr | 102 | include/asm/system.h | #define set_tss_desc(n,addr) _set_tssldt_desc(((char *) (n)),((int)(addr)),235,"0x89") |
addr | 103 | include/asm/system.h | #define set_ldt_desc(n,addr,size) \ |
addr | 104 | include/asm/system.h | _set_tssldt_desc(((char *) (n)),((int)(addr)),((size << 3) - 1),"0x82") |
addr | 38 | include/linux/binfmts.h | char * addr, unsigned long count); |
addr | 392 | include/linux/fs.h | extern unsigned long bread_page(unsigned long addr,dev_t dev,int b[],int size,int prot); |
addr | 99 | include/linux/kd.h | char *addr; /* display mem address */ |
addr | 15 | include/linux/mc146818rtc.h | #define CMOS_READ(addr) ({ \ |
addr | 16 | include/linux/mc146818rtc.h | outb_p(addr|0x80,0x70); \ |
addr | 19 | include/linux/mc146818rtc.h | #define CMOS_WRITE(val, addr) ({ \ |
addr | 20 | include/linux/mc146818rtc.h | outb_p(addr|0x80,0x70); \ |
addr | 12 | include/linux/mm.h | int __verify_write(unsigned long addr, unsigned long count); |
addr | 14 | include/linux/mm.h | extern inline int verify_area(int type, const void * addr, unsigned long size) |
addr | 16 | include/linux/mm.h | if (TASK_SIZE <= (unsigned long) addr) |
addr | 18 | include/linux/mm.h | if (size > TASK_SIZE - (unsigned long) addr) |
addr | 22 | include/linux/mm.h | return __verify_write((unsigned long) addr,size); |
addr | 107 | include/linux/mm.h | extern void free_page(unsigned long addr); |
addr | 133 | include/linux/mm.h | extern void vfree(void * addr); |
addr | 134 | include/linux/mm.h | extern int vread(char *buf, char *addr, int count); |
addr | 145 | include/linux/mm.h | extern int do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 165 | include/linux/mm.h | #define MAP_NR(addr) ((addr) >> PAGE_SHIFT) |
addr | 24 | include/linux/module.h | void* addr; /* address of module */ |
addr | 47 | include/linux/module.h | #define GET_USE_COUNT(module) (* (int *) (module)->addr) |
addr | 122 | include/linux/nfs_fs.h | unsigned long addr, size_t len, int prot, unsigned long off); |
addr | 35 | include/linux/nfs_mount.h | struct sockaddr_in addr; /* 1 */ |
addr | 15 | include/linux/page.h | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) |
addr | 373 | include/linux/sched.h | #define _set_base(addr,base) \ |
addr | 379 | include/linux/sched.h | :"m" (*((addr)+2)), \ |
addr | 380 | include/linux/sched.h | "m" (*((addr)+4)), \ |
addr | 381 | include/linux/sched.h | "m" (*((addr)+7)), \ |
addr | 385 | include/linux/sched.h | #define _set_limit(addr,limit) \ |
addr | 393 | include/linux/sched.h | :"m" (*(addr)), \ |
addr | 394 | include/linux/sched.h | "m" (*((addr)+6)), \ |
addr | 500 | include/linux/sched.h | static inline unsigned long _get_base(char * addr) |
addr | 508 | include/linux/sched.h | :"m" (*((addr)+2)), |
addr | 509 | include/linux/sched.h | "m" (*((addr)+4)), |
addr | 510 | include/linux/sched.h | "m" (*((addr)+7))); |
addr | 389 | ipc/shm.c | unsigned long addr; |
addr | 404 | ipc/shm.c | if (!(addr = (ulong) shmaddr)) { |
addr | 408 | ipc/shm.c | addr = SHM_RANGE_END; |
addr | 412 | ipc/shm.c | if (addr >= shmd->start) |
addr | 413 | ipc/shm.c | addr = shmd->start; |
addr | 415 | ipc/shm.c | addr = (addr - shp->shm_segsz) & PAGE_MASK; |
addr | 416 | ipc/shm.c | } else if (addr & (SHMLBA-1)) { |
addr | 418 | ipc/shm.c | addr &= ~(SHMLBA-1); /* round down */ |
addr | 422 | ipc/shm.c | if ((addr > current->start_stack - 16384 - PAGE_SIZE*shp->shm_npages)) |
addr | 426 | ipc/shm.c | if (addr >= shmd->start && addr < shmd->end) |
addr | 428 | ipc/shm.c | if (addr + shp->shm_segsz >= shmd->start && |
addr | 429 | ipc/shm.c | addr + shp->shm_segsz < shmd->end) |
addr | 447 | ipc/shm.c | shmd->start = addr; |
addr | 448 | ipc/shm.c | shmd->end = addr + shp->shm_npages * PAGE_SIZE; |
addr | 452 | ipc/shm.c | if (addr < current->end_data) { |
addr | 472 | ipc/shm.c | return addr; |
addr | 473 | ipc/shm.c | put_fs_long (addr, raddr); |
addr | 32 | ipc/util.c | extern int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr); |
addr | 24 | kernel/module.c | void* addr; |
addr | 49 | kernel/module.c | if ((addr = vmalloc(npages * 4096)) == 0) { |
addr | 56 | kernel/module.c | mp->addr = addr; |
addr | 58 | kernel/module.c | * (int *) addr = 0; /* set use count to zero */ |
addr | 63 | kernel/module.c | mp->name, (unsigned long) mp->size, (unsigned long) mp->addr); |
addr | 64 | kernel/module.c | return (int) addr; |
addr | 97 | kernel/module.c | memcpy_fromfs((char *)mp->addr + sizeof (int), code, codesize); |
addr | 98 | kernel/module.c | memset((char *)mp->addr + sizeof (int) + codesize, 0, |
addr | 139 | kernel/module.c | unsigned long addr; |
addr | 156 | kernel/module.c | sym.value = from->addr; |
addr | 223 | kernel/module.c | vfree(mp->addr); |
addr | 89 | kernel/ptrace.c | unsigned long addr) |
addr | 94 | kernel/ptrace.c | page = *PAGE_DIR_OFFSET(tsk->tss.cr3,addr); |
addr | 97 | kernel/ptrace.c | page += PAGE_PTR(addr); |
addr | 101 | kernel/ptrace.c | do_no_page(0,addr,tsk,0); |
addr | 108 | kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 121 | kernel/ptrace.c | static void put_long(struct task_struct * tsk, unsigned long addr, |
addr | 128 | kernel/ptrace.c | page = *PAGE_DIR_OFFSET(tsk->tss.cr3,addr); |
addr | 131 | kernel/ptrace.c | page += PAGE_PTR(addr); |
addr | 136 | kernel/ptrace.c | do_no_page(0 /* PAGE_RW */ ,addr,tsk,0); |
addr | 142 | kernel/ptrace.c | do_wp_page(PAGE_RW | PAGE_PRESENT,addr,tsk,0); |
addr | 151 | kernel/ptrace.c | page += addr & ~PAGE_MASK; |
addr | 163 | kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
addr | 168 | kernel/ptrace.c | if (addr > TASK_SIZE-sizeof(long)) |
addr | 170 | kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 171 | kernel/ptrace.c | low = get_long(tsk,addr & ~(sizeof(long)-1)); |
addr | 172 | kernel/ptrace.c | high = get_long(tsk,(addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 173 | kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 189 | kernel/ptrace.c | *result = get_long(tsk,addr); |
addr | 197 | kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
addr | 202 | kernel/ptrace.c | if (addr > TASK_SIZE-sizeof(long)) |
addr | 204 | kernel/ptrace.c | if ((addr & ~PAGE_MASK) > PAGE_SIZE-sizeof(long)) { |
addr | 205 | kernel/ptrace.c | low = get_long(tsk,addr & ~(sizeof(long)-1)); |
addr | 206 | kernel/ptrace.c | high = get_long(tsk,(addr+sizeof(long)) & ~(sizeof(long)-1)); |
addr | 207 | kernel/ptrace.c | switch (addr & (sizeof(long)-1)) { |
addr | 230 | kernel/ptrace.c | put_long(tsk,addr & ~(sizeof(long)-1),low); |
addr | 231 | kernel/ptrace.c | put_long(tsk,(addr+sizeof(long)) & ~(sizeof(long)-1),high); |
addr | 233 | kernel/ptrace.c | put_long(tsk,addr,data); |
addr | 237 | kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
addr | 291 | kernel/ptrace.c | res = read_long(child, addr, &tmp); |
addr | 305 | kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 306 | kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 313 | kernel/ptrace.c | if(addr < 17*sizeof(long)) { |
addr | 314 | kernel/ptrace.c | addr = addr >> 2; /* temporary hack. */ |
addr | 316 | kernel/ptrace.c | tmp = get_stack_long(child, sizeof(long)*addr - MAGICNUMBER); |
addr | 317 | kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 318 | kernel/ptrace.c | addr == FS || addr == GS || |
addr | 319 | kernel/ptrace.c | addr == CS || addr == SS) |
addr | 322 | kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 323 | kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 324 | kernel/ptrace.c | addr -= (long) &dummy->u_debugreg[0]; |
addr | 325 | kernel/ptrace.c | addr = addr >> 2; |
addr | 326 | kernel/ptrace.c | tmp = child->debugreg[addr]; |
addr | 335 | kernel/ptrace.c | return write_long(child,addr,data); |
addr | 338 | kernel/ptrace.c | if ((addr & 3) || addr < 0 || |
addr | 339 | kernel/ptrace.c | addr > sizeof(struct user) - 3) |
addr | 342 | kernel/ptrace.c | addr = addr >> 2; /* temproary hack. */ |
addr | 344 | kernel/ptrace.c | if (addr == ORIG_EAX) |
addr | 346 | kernel/ptrace.c | if (addr == DS || addr == ES || |
addr | 347 | kernel/ptrace.c | addr == FS || addr == GS || |
addr | 348 | kernel/ptrace.c | addr == CS || addr == SS) { |
addr | 353 | kernel/ptrace.c | if (addr == EFL) { /* flags. */ |
addr | 359 | kernel/ptrace.c | if(addr < 17){ |
addr | 360 | kernel/ptrace.c | if (put_stack_long(child, sizeof(long)*addr-MAGICNUMBER, data)) |
addr | 370 | kernel/ptrace.c | addr = addr << 2; /* Convert back again */ |
addr | 371 | kernel/ptrace.c | if(addr >= (long) &dummy->u_debugreg[0] && |
addr | 372 | kernel/ptrace.c | addr <= (long) &dummy->u_debugreg[7]){ |
addr | 374 | kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[4]) return -EIO; |
addr | 375 | kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[5]) return -EIO; |
addr | 376 | kernel/ptrace.c | if(addr < (long) &dummy->u_debugreg[4] && |
addr | 379 | kernel/ptrace.c | if(addr == (long) &dummy->u_debugreg[7]) { |
addr | 386 | kernel/ptrace.c | addr -= (long) &dummy->u_debugreg; |
addr | 387 | kernel/ptrace.c | addr = addr >> 2; |
addr | 388 | kernel/ptrace.c | child->debugreg[addr] = data; |
addr | 42 | kernel/traps.c | #define get_seg_byte(seg,addr) ({ \ |
addr | 45 | kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 48 | kernel/traps.c | #define get_seg_long(seg,addr) ({ \ |
addr | 51 | kernel/traps.c | :"=a" (__res):"0" (seg),"m" (*(addr))); \ |
addr | 68 | mm/memory.c | #define CODE_SPACE(addr,p) ((addr) < (p)->end_code) |
addr | 39 | mm/mmap.c | #define CODE_SPACE(addr) \ |
addr | 40 | mm/mmap.c | (PAGE_ALIGN(addr) < current->start_code + current->end_code) |
addr | 42 | mm/mmap.c | int do_mmap(struct file * file, unsigned long addr, unsigned long len, |
addr | 48 | mm/mmap.c | return addr; |
addr | 50 | mm/mmap.c | if (addr > TASK_SIZE || len > TASK_SIZE || addr > TASK_SIZE-len) |
addr | 79 | mm/mmap.c | if (addr & ~PAGE_MASK) |
addr | 81 | mm/mmap.c | if (len > TASK_SIZE || addr > TASK_SIZE - len) |
addr | 87 | mm/mmap.c | addr = SHM_RANGE_START; |
addr | 88 | mm/mmap.c | while (addr+len < SHM_RANGE_END) { |
addr | 90 | mm/mmap.c | if (addr >= vmm->vm_end) |
addr | 92 | mm/mmap.c | if (addr + len <= vmm->vm_start) |
addr | 94 | mm/mmap.c | addr = PAGE_ALIGN(vmm->vm_end); |
addr | 100 | mm/mmap.c | if (addr+len >= SHM_RANGE_END) |
addr | 122 | mm/mmap.c | do_munmap(addr, len); /* Clear old maps */ |
addr | 125 | mm/mmap.c | error = file->f_op->mmap(file->f_inode, file, addr, len, mask, off); |
addr | 127 | mm/mmap.c | error = anon_map(NULL, NULL, addr, len, mask, off); |
addr | 130 | mm/mmap.c | return addr; |
addr | 179 | mm/mmap.c | unsigned long addr, size_t len) |
addr | 182 | mm/mmap.c | unsigned long end = addr + len; |
addr | 184 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
addr | 186 | mm/mmap.c | end < addr) |
addr | 189 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
addr | 194 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
addr | 201 | mm/mmap.c | if (addr >= area->vm_start && end == area->vm_end) |
addr | 202 | mm/mmap.c | area->vm_end = addr; |
addr | 203 | mm/mmap.c | if (addr == area->vm_start && end <= area->vm_end) { |
addr | 209 | mm/mmap.c | if (addr > area->vm_start && end < area->vm_end) |
addr | 220 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
addr | 230 | mm/mmap.c | asmlinkage int sys_mprotect(unsigned long addr, size_t len, unsigned long prot) |
addr | 235 | mm/mmap.c | asmlinkage int sys_munmap(unsigned long addr, size_t len) |
addr | 237 | mm/mmap.c | return do_munmap(addr, len); |
addr | 246 | mm/mmap.c | int do_munmap(unsigned long addr, size_t len) |
addr | 250 | mm/mmap.c | if ((addr & ~PAGE_MASK) || addr > TASK_SIZE || len > TASK_SIZE-addr) |
addr | 265 | mm/mmap.c | unsigned long end = addr+len; |
addr | 267 | mm/mmap.c | if ((addr < mpnt->vm_start && end <= mpnt->vm_start) || |
addr | 268 | mm/mmap.c | (addr >= mpnt->vm_end && end > mpnt->vm_end)) |
addr | 294 | mm/mmap.c | st = addr < mpnt->vm_start ? mpnt->vm_start : addr; |
addr | 295 | mm/mmap.c | end = addr+len; |
addr | 306 | mm/mmap.c | unmap_page_range(addr, len); |
addr | 312 | mm/mmap.c | unsigned long addr, size_t len, int prot, unsigned long off) |
addr | 338 | mm/mmap.c | unmap_page_range(addr, len); |
addr | 340 | mm/mmap.c | mpnt->vm_start = addr; |
addr | 341 | mm/mmap.c | mpnt->vm_end = addr + len; |
addr | 446 | mm/mmap.c | unsigned long addr, size_t len, int mask, |
addr | 451 | mm/mmap.c | if (zeromap_page_range(addr, len, mask)) |
addr | 459 | mm/mmap.c | mpnt->vm_start = addr; |
addr | 460 | mm/mmap.c | mpnt->vm_end = addr + len; |
addr | 494 | mm/swap.c | static inline void add_mem_queue(unsigned long addr, unsigned long * queue) |
addr | 496 | mm/swap.c | addr &= PAGE_MASK; |
addr | 497 | mm/swap.c | *(unsigned long *) addr = *queue; |
addr | 498 | mm/swap.c | *queue = addr; |
addr | 512 | mm/swap.c | void free_page(unsigned long addr) |
addr | 514 | mm/swap.c | if (addr < high_memory) { |
addr | 515 | mm/swap.c | unsigned short * map = mem_map + MAP_NR(addr); |
addr | 525 | mm/swap.c | add_mem_queue(addr,&secondary_page_list); |
addr | 530 | mm/swap.c | add_mem_queue(addr,&free_page_list); |
addr | 537 | mm/swap.c | printk("Trying to free free memory (%08lx): memory probabably corrupted\n",addr); |
addr | 538 | mm/swap.c | printk("PC = %08lx\n",*(((unsigned long *)&addr)-1)); |
addr | 21 | mm/vmalloc.c | void * addr; |
addr | 106 | mm/vmalloc.c | static int do_area(void * addr, unsigned long size, |
addr | 112 | mm/vmalloc.c | dindex = (TASK_SIZE + (unsigned long) addr) >> 22; |
addr | 113 | mm/vmalloc.c | index = (((unsigned long) addr) >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
addr | 128 | mm/vmalloc.c | void vfree(void * addr) |
addr | 132 | mm/vmalloc.c | if (!addr) |
addr | 134 | mm/vmalloc.c | if ((PAGE_SIZE-1) & (unsigned long) addr) { |
addr | 135 | mm/vmalloc.c | printk("Trying to vfree() bad address (%p)\n", addr); |
addr | 139 | mm/vmalloc.c | if (tmp->addr == addr) { |
addr | 141 | mm/vmalloc.c | do_area(tmp->addr, tmp->size, free_area_pages); |
addr | 146 | mm/vmalloc.c | printk("Trying to vfree() nonexistent vm area (%p)\n", addr); |
addr | 151 | mm/vmalloc.c | void * addr; |
addr | 160 | mm/vmalloc.c | addr = (void *) ((high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1)); |
addr | 164 | mm/vmalloc.c | if (size + (unsigned long) addr < (unsigned long) tmp->addr) |
addr | 166 | mm/vmalloc.c | addr = (void *) (tmp->size + (unsigned long) tmp->addr); |
addr | 168 | mm/vmalloc.c | area->addr = addr; |
addr | 171 | mm/vmalloc.c | if (do_area(addr, size, alloc_area_pages)) { |
addr | 172 | mm/vmalloc.c | vfree(addr); |
addr | 175 | mm/vmalloc.c | return addr; |
addr | 178 | mm/vmalloc.c | int vread(char *buf, char *addr, int count) |
addr | 185 | mm/vmalloc.c | vaddr = (char *) tmp->addr; |
addr | 186 | mm/vmalloc.c | while (addr < vaddr) { |
addr | 189 | mm/vmalloc.c | put_fs_byte('\0', buf++), addr++, count--; |
addr | 192 | mm/vmalloc.c | if (addr > vaddr) |
addr | 193 | mm/vmalloc.c | n -= addr - vaddr; |
addr | 197 | mm/vmalloc.c | put_fs_byte(*addr++, buf++), count--; |
addr | 128 | net/inet/arp.c | static struct arp_table *arp_lookup(unsigned long addr); |
addr | 129 | net/inet/arp.c | static struct arp_table *arp_lookup_proxy(unsigned long addr); |
addr | 469 | net/inet/arp.c | arp_create(unsigned long paddr, unsigned char *addr, int hlen, int htype) |
addr | 475 | net/inet/arp.c | DPRINTF((DBG_ARP, "%s, ", eth_print(addr))); |
addr | 490 | net/inet/arp.c | memcpy(apt->ha, addr, hlen); |
addr | 728 | net/inet/arp.c | arp_add(unsigned long addr, unsigned char *haddr, struct device *dev) |
addr | 732 | net/inet/arp.c | DPRINTF((DBG_ARP, "ARP: add(%s, ", in_ntoa(addr))); |
addr | 737 | net/inet/arp.c | if (addr == 0) { |
addr | 743 | net/inet/arp.c | apt = arp_lookup(addr); |
addr | 745 | net/inet/arp.c | DPRINTF((DBG_ARP, "ARP: updating entry for %s\n", in_ntoa(addr))); |
addr | 750 | net/inet/arp.c | arp_create(addr, haddr, dev->addr_len, dev->type); |
addr | 756 | net/inet/arp.c | arp_add_broad(unsigned long addr, struct device *dev) |
addr | 760 | net/inet/arp.c | arp_add(addr, dev->broadcast, dev); |
addr | 761 | net/inet/arp.c | apt = arp_lookup(addr); |
addr | 56 | net/inet/arp.h | extern void arp_add(unsigned long addr, unsigned char *haddr, |
addr | 58 | net/inet/arp.h | extern void arp_add_broad(unsigned long addr, struct device *dev); |
addr | 152 | net/inet/dev.c | get_mask(unsigned long addr) |
addr | 156 | net/inet/dev.c | if (addr == 0L) |
addr | 159 | net/inet/dev.c | dst = ntohl(addr); |
addr | 197 | net/inet/dev.c | int chk_addr(unsigned long addr) |
addr | 203 | net/inet/dev.c | if (addr == INADDR_ANY || addr == INADDR_BROADCAST) |
addr | 206 | net/inet/dev.c | mask = get_mask(addr); |
addr | 209 | net/inet/dev.c | if ((addr & mask) == htonl(0x7F000000L)) |
addr | 219 | net/inet/dev.c | if (addr == dev->pa_addr) |
addr | 222 | net/inet/dev.c | if ((dev->flags & IFF_BROADCAST) && addr == dev->pa_brdaddr) |
addr | 225 | net/inet/dev.c | if (((addr ^ dev->pa_addr) & dev->pa_mask) == 0) { |
addr | 226 | net/inet/dev.c | if ((addr & ~dev->pa_mask) == 0) |
addr | 228 | net/inet/dev.c | if ((addr & ~dev->pa_mask) == ~dev->pa_mask) |
addr | 232 | net/inet/dev.c | if (((addr ^ dev->pa_addr) & mask) == 0) { |
addr | 233 | net/inet/dev.c | if ((addr & ~mask) == 0) |
addr | 235 | net/inet/dev.c | if ((addr & ~mask) == ~mask) |
addr | 355 | net/inet/dev.c | struct device * dev_check(unsigned long addr) |
addr | 364 | net/inet/dev.c | if (addr != dev->pa_dstaddr) |
addr | 373 | net/inet/dev.c | if (dev->pa_mask & (addr ^ dev->pa_addr)) |
addr | 813 | net/inet/dev.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 815 | net/inet/dev.c | if (addr & (mask = ~mask)) |
addr | 127 | net/inet/dev.h | void (*add_arp) (unsigned long addr, |
addr | 139 | net/inet/dev.h | int (*set_mac_address)(struct device *dev, void *addr); |
addr | 166 | net/inet/dev.h | extern int chk_addr(unsigned long addr); |
addr | 167 | net/inet/eth.c | eth_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev) |
addr | 172 | net/inet/eth.c | arp_add(addr, eth->h_source, dev); |
addr | 31 | net/inet/eth.h | extern void eth_add_arp(unsigned long addr, struct sk_buff *skb, |
addr | 92 | net/inet/ip.c | int addr, len, i; |
addr | 108 | net/inet/ip.c | addr = 0; |
addr | 111 | net/inet/ip.c | printk(" %04X: ", addr); |
addr | 121 | net/inet/ip.c | addr++; |
addr | 222 | net/inet/packet.c | struct sockaddr addr; |
addr | 224 | net/inet/packet.c | addr.sa_family = skb->dev->type; |
addr | 225 | net/inet/packet.c | memcpy(addr.sa_data,skb->dev->name, 14); |
addr | 227 | net/inet/packet.c | memcpy_tofs(saddr, &addr, sizeof(*saddr)); |
addr | 359 | net/inet/raw.c | struct sockaddr_in addr; |
addr | 361 | net/inet/raw.c | addr.sin_family = AF_INET; |
addr | 362 | net/inet/raw.c | addr.sin_addr.s_addr = skb->daddr; |
addr | 363 | net/inet/raw.c | memcpy_tofs(sin, &addr, sizeof(*sin)); |
addr | 244 | net/inet/route.c | static inline int bad_mask(unsigned long mask, unsigned long addr) |
addr | 246 | net/inet/route.c | if (addr & (mask = ~mask)) |
addr | 41 | net/inet/route.h | extern void rt_add(short flags, unsigned long addr, unsigned long mask, |
addr | 1016 | net/inet/sock.c | struct sockaddr_in addr; |
addr | 1034 | net/inet/sock.c | memcpy_fromfs(&addr, uaddr, min(sizeof(addr), addr_len)); |
addr | 1036 | net/inet/sock.c | snum = ntohs(addr.sin_port); |
addr | 1050 | net/inet/sock.c | if (addr.sin_addr.s_addr!=0 && chk_addr(addr.sin_addr.s_addr)!=IS_MYADDR) |
addr | 1053 | net/inet/sock.c | if (chk_addr(addr.sin_addr.s_addr) || addr.sin_addr.s_addr == 0) |
addr | 1054 | net/inet/sock.c | sk->saddr = addr.sin_addr.s_addr; |
addr | 1084 | net/inet/tcp.c | struct sockaddr_in *addr, int addr_len) |
addr | 1089 | net/inet/tcp.c | memcpy_fromfs(&sin, addr, sizeof(sin)); |
addr | 1546 | net/inet/tcp.c | struct sockaddr_in *addr, int *addr_len) |
addr | 1562 | net/inet/tcp.c | err=verify_area(VERIFY_WRITE, addr, len); |
addr | 1574 | net/inet/tcp.c | memcpy_tofs(addr, &sin, len); |
addr | 486 | net/inet/udp.c | struct sockaddr_in addr; |
addr | 488 | net/inet/udp.c | addr.sin_family = AF_INET; |
addr | 489 | net/inet/udp.c | addr.sin_port = skb->h.uh->source; |
addr | 490 | net/inet/udp.c | addr.sin_addr.s_addr = skb->daddr; |
addr | 491 | net/inet/udp.c | memcpy_tofs(sin, &addr, sizeof(*sin)); |
addr | 721 | net/socket.c | struct sockaddr *addr, int addr_len) |
addr | 728 | net/socket.c | " addr=%X, alen = %d\n", fd, buff, len, flags, addr, addr_len)); |
addr | 735 | net/socket.c | flags, addr, addr_len)); |
addr | 759 | net/socket.c | struct sockaddr *addr, int *addr_len) |
addr | 766 | net/socket.c | " addr=%X, alen=%X\n", fd, buff, len, flags, addr, addr_len)); |
addr | 773 | net/socket.c | flags, addr, addr_len)); |
addr | 85 | net/unix/sock.c | struct sockaddr *addr, int addr_len); |
addr | 88 | net/unix/sock.c | struct sockaddr *addr, int *addr_len); |
addr | 194 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int addr_len) |
addr | 201 | net/unix/sock.c | unsigned flags, struct sockaddr *addr, int *addr_len) |