Searched refs:offset (Results 126 - 150 of 3127) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/mm/
H A Dgeneric.c26 unsigned long offset, pgprot_t prot, int space)
35 set_pte_at(mm, address, pte, mk_pte_io(offset, prot, space));
37 offset += PAGE_SIZE;
43 unsigned long offset, pgprot_t prot, int space)
51 offset -= address;
56 io_remap_pte_range(mm, pte, address, end - address, address + offset, prot, space);
72 unsigned long offset = GET_PFN(pfn) << PAGE_SHIFT; local
76 vma->vm_pgoff = (offset >> PAGE_SHIFT) |
79 offset -= from;
88 error = io_remap_pmd_range(mm, pmd, from, end - from, offset
25 io_remap_pte_range(struct mm_struct *mm, pte_t * pte, unsigned long address, unsigned long size, unsigned long offset, pgprot_t prot, int space) argument
42 io_remap_pmd_range(struct mm_struct *mm, pmd_t * pmd, unsigned long address, unsigned long size, unsigned long offset, pgprot_t prot, int space) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/mm/
H A Dintmem.c18 unsigned offset; member in struct:intmem_allocation
36 alloc->offset = 0;
52 int alignment = allocation->offset % align;
63 alloc->offset = allocation->offset + size;
70 tmp->offset = allocation->offset;
73 allocation->offset += alignment;
79 ret = (void*)((int)intmem_virtual + allocation->offset);
98 if (allocation->offset
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/
H A Dpfunc_base.c118 unsigned long offset; local
121 offset = *reg;
123 * offset for now too even if it's a bit gross ...
125 if (offset < 0x50)
126 offset += 0x50;
127 offset += (unsigned long)macio->base;
128 pmf_register_driver(gp, &macio_gpio_handlers, (void *)offset);
143 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) argument
149 MACIO_OUT32(offset, (MACIO_IN32(offset)
154 macio_do_read_reg32(PMF_STD_ARGS, u32 offset) argument
166 macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) argument
177 macio_do_read_reg8(PMF_STD_ARGS, u32 offset) argument
189 macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor) argument
202 macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, u32 shift, u32 xor) argument
215 macio_do_write_reg32_slm(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask) argument
235 macio_do_write_reg8_slm(PMF_STD_ARGS, u32 offset, u32 shift, u32 mask) argument
277 unin_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/
H A Dread.c50 D1(printk(KERN_DEBUG "Node read from %08x: node_crc %08x, calculated CRC %08x. dsize %x, csize %x, offset %x, buf %p\n",
53 je32_to_cpu(ri->offset), buf));
154 unsigned char *buf, uint32_t offset, uint32_t len)
156 uint32_t end = offset + len;
161 f->inocache->ino, offset, offset+len));
163 frag = jffs2_lookup_node_frag(&f->fragtree, offset);
166 while(offset < end) {
167 D2(printk(KERN_DEBUG "jffs2_read_inode_range: offset %d, end %d\n", offset, en
153 jffs2_read_inode_range(struct jffs2_sb_info *c, struct jffs2_inode_info *f, unsigned char *buf, uint32_t offset, uint32_t len) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/python/
H A Dpy_conv.c47 UNISTR *u = (UNISTR *)((char *)s + conv[i].offset);
59 UNISTR2 *u = (UNISTR2 *)((char *)s + conv[i].offset);
71 uint32 *u = (uint32 *)((char *)s + conv[i].offset);
79 uint16 *u = (uint16 *)((char *)s + conv[i].offset);
87 char *str = (char *)s + conv[i].offset;
95 uid_t *uid = (uid_t *)((char *)s + conv[i].offset);
103 gid_t *gid = (gid_t *)((char *)s + conv[i].offset);
139 UNISTR *u = (UNISTR *)((char *)s + conv[i].offset);
151 uint32 *u = (uint32 *)((char *)s + conv[i].offset);
161 uint16 *u = (uint16 *)((char *)s + conv[i].offset);
207 int offset = 0; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dsmp-tbsync.c77 static int __devinit start_contest(int cmd, long offset, int num) argument
88 tbsync->tb = tb + offset;
114 int i, score, score2, old, min=0, max=5000, offset=1000; local
129 for (old = -1; old != offset ; offset = (min+max) / 2) {
130 score = start_contest(kSetAndTest, offset, NUM_ITER);
132 printk("score %d, offset %d\n", score, offset );
135 max = offset;
137 min = offset;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dpci.c36 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) argument
39 * well, so allow larger offset. It's really a two-function device but the
43 return offset < 8192;
45 return offset < 4096;
49 u8 bus, u8 devfn, int offset)
51 return hose->cfg_data + PA_PXP_CFA(bus, devfn, offset);
55 int offset, int len, u32 *val)
64 if (!pa_pxp_offset_valid(bus->number, devfn, offset))
67 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset);
70 * Note: the caller has already checked that offset i
48 pa_pxp_cfg_addr(struct pci_controller *hose, u8 bus, u8 devfn, int offset) argument
54 pa_pxp_read_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 *val) argument
88 pa_pxp_write_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 val) argument
166 unsigned long offset = (unsigned long)hose->io_base_virt - pci_io_base; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/kernel/
H A Dsmp-tbsync.c85 start_contest( int cmd, int offset, int num ) argument
95 tbsync->tbl = tbl + offset;
124 int i, score, score2, old, min=0, max=5000, offset=1000; local
137 for( old=-1 ; old != offset ; offset=(min+max)/2 ) {
138 score = start_contest( kSetAndTest, offset, NUM_ITER );
140 printk("score %d, offset %d\n", score, offset );
143 max = offset;
145 min = offset;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/
H A Dnamei.c56 unsigned long block, f_pos, offset, block_saved, offset_saved; local
64 offset = 0;
78 de = (struct iso_directory_record *) (bh->b_data + offset);
86 offset = 0;
91 offset_saved = offset;
92 offset += de_len;
96 if (offset >= bufsize) {
97 int slop = bufsize - offset + de_len;
99 offset &= bufsize - 1;
103 if (offset) {
161 unsigned long block, offset; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/
H A Dmodule.c84 s32 offset; local
86 offset = ELF32_R_SYM(rel->r_info);
87 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) {
93 sym = ((Elf32_Sym *)symsec->sh_addr) + offset;
97 "section %d reloc %d offset %d size %d\n",
113 offset = (*(u32 *)loc & 0x00ffffff) << 2;
114 if (offset & 0x02000000)
115 offset -= 0x04000000;
117 offset
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_sendfile.c51 ssize_t sys_sendfile(int tofd, int fromfd, off_t *offset, size_t count) argument
53 return sendfile(tofd, fromfd, offset, count);
59 ssize_t sys_sendfile(int tofd, int fromfd, off_t *offset, size_t count) argument
61 return sendfile(tofd, fromfd, offset, count);
68 ssize_t sys_sendfile(int tofd, int fromfd, off_t *offset, size_t count) argument
73 ret = sendfile(fromfd, tofd, *offset, count, NULL, &len, 0);
75 *offset += len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dfilemap.h26 * out to (offset+bytes) and return the number of bytes which were copied.
37 filemap_copy_from_user(struct page *page, unsigned long offset, argument
44 left = __copy_from_user_inatomic_nocache(kaddr + offset, buf, bytes);
50 left = __copy_from_user_nocache(kaddr + offset, buf, bytes);
59 * page (out to offset+bytes), to emulate filemap_copy_from_user()'s
63 filemap_copy_from_user_iovec(struct page *page, unsigned long offset, argument
70 copied = __filemap_copy_from_user_iovec_inatomic(kaddr + offset, iov,
75 copied = __filemap_copy_from_user_iovec_inatomic(kaddr + offset, iov,
78 memset(kaddr + offset + copied, 0, bytes - copied);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_rw.c32 off_t offset; local
41 * absolute offset and reading a specific database page. All of
44 * We don't want to specify an absolute offset in our caller as we
53 if ((offset = relative) == 0)
54 offset = (off_t)pgno * pgsize;
65 "fileops: read %s: %lu bytes at offset %lu",
66 fhp->name, (u_long)io_len, (u_long)offset);
70 DB_GLOBAL(j_pread)(fhp->fd, buf, io_len, offset) :
71 pread(fhp->fd, buf, io_len, offset);
86 "fileops: write %s: %lu bytes at offset
140 size_t offset; local
229 size_t offset; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/
H A Dbitmap.c18 int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset, u32 *max) argument
31 dprint(DBG_BITMAP, "block_allocate: %u,%u,%u\n", size, offset, len);
34 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, NULL);
36 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32;
37 i = offset % 32;
38 offset &= ~(PAGE_CACHE_BITS - 1);
39 if ((size ^ offset) / PAGE_CACHE_BITS)
71 offset += PAGE_CACHE_BITS;
72 if (offset >= size)
74 page = read_mapping_page(mapping, offset / PAGE_CACHE_BIT
149 hfsplus_block_free(struct super_block *sb, u32 offset, u32 count) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dbitmap.c18 int hfsplus_block_allocate(hfsplus_handle_t *hfsplus_handle, struct super_block *sb, u32 size, u32 offset, u32 *max) argument
31 dprint(DBG_BITMAP, "block_allocate: %u,%u,%u\n", size, offset, len);
34 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, NULL);
36 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32;
37 i = offset % 32;
38 offset &= ~(PAGE_CACHE_BITS - 1);
39 if ((size ^ offset) / PAGE_CACHE_BITS)
71 offset += PAGE_CACHE_BITS;
72 if (offset >= size)
74 page = read_mapping_page(mapping, offset / PAGE_CACHE_BIT
149 hfsplus_block_free(hfsplus_handle_t *hfsplus_handle, struct super_block *sb, u32 offset, u32 count) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hwmon/
H A Dadm1025.c156 #define show_in(offset) \
157 static ssize_t show_in##offset(struct device *dev, struct device_attribute *attr, char *buf) \
160 return sprintf(buf, "%u\n", IN_FROM_REG(data->in[offset], \
161 in_scale[offset])); \
163 static ssize_t show_in##offset##_min(struct device *dev, struct device_attribute *attr, char *buf) \
166 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[offset], \
167 in_scale[offset])); \
169 static ssize_t show_in##offset##_max(struct device *dev, struct device_attribute *attr, char *buf) \
172 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[offset], \
173 in_scale[offset])); \
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/romfs/
H A Dinode.c51 * Nov 1999 2.3.27 2.3.25+ page->offset => index change
194 romfs_strnlen(struct inode *i, unsigned long offset, unsigned long count) argument
200 if (offset >= maxsize)
204 if (count > maxsize || offset+count > maxsize)
205 count = maxsize-offset;
207 bh = sb_bread(i->i_sb, offset>>ROMBSBITS);
211 avail = ROMBSIZE - (offset & ROMBMASK);
213 res = strnlen(((char *)bh->b_data)+(offset&ROMBMASK), maxsize);
220 offset += maxsize;
222 bh = sb_bread(i->i_sb, offset>>ROMBSBIT
236 romfs_copyfrom(struct inode *i, void *dest, unsigned long offset, unsigned long count) argument
280 unsigned long offset, maxoff; local
336 unsigned long offset, maxoff; local
419 loff_t offset, avail, readlen; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dnm256.h64 /* PTR's offset within the physical port. */
66 /* And the offset of the end of the buffer. */
106 /* The offset of the currently-recording block. */
139 /* The base offset of the mixer in the second memory area. */
222 if (offset < card->port[port - 1].start_offset \
223 || offset >= card->port[port - 1].end_offset) { \
224 printk (KERN_ERR "Bad access: port %d, offset 0x%x\n", port, offset); \
227 offset -= card->port[port - 1].start_offset;
231 int port, int offset, in
266 nm256_writeBuffer8(struct nm256_info *card, u8 *src, int port, int offset, int amt) argument
275 nm256_readBuffer8(struct nm256_info *card, u8 *dst, int port, int offset, int amt) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Demu10k1_patch.c42 int offset; local
57 /* recalculate address offset */
98 offset = 0;
102 snd_assert(offset + size <= blocksize, return -EINVAL);
103 snd_emu10k1_synth_bzero(emu, sp->block, offset, size);
104 offset += size;
110 snd_assert(offset + size <= blocksize, return -EINVAL);
111 if (snd_emu10k1_synth_copy_from_user(emu, sp->block, offset, data, size)) {
116 offset += size;
125 if (snd_emu10k1_synth_copy_from_user(emu, sp->block, offset, dat
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dnvram.c22 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) argument
27 offset += file->f_pos;
30 offset += NVRAM_SIZE;
33 if (offset < 0) {
37 file->f_pos = offset;
85 int part, offset; local
90 offset = pmac_get_partition(part);
91 if (copy_to_user((void __user*)arg, &offset, sizeof(offset)) != 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_memory.c53 * \param offset requested start offset.
61 int drm_mem_info(char *buf, char **start, off_t offset, argument
82 static void *agp_remap(unsigned long offset, unsigned long size, argument
94 offset -= dev->hose->mem_space->start;
98 if (agpmem->bound <= offset
100 (offset + size))
116 agpmem->memory->memory + (offset - agpmem->bound) / PAGE_SIZE;
150 static inline void *agp_remap(unsigned long offset, unsigned long size, argument
164 map->handle = agp_remap(map->offset, ma
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dgeneric_nvram.c31 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) argument
36 offset += file->f_pos;
39 offset += NVRAM_SIZE;
42 if (offset < 0) {
46 file->f_pos = offset;
96 int part, offset; local
104 offset = pmac_get_partition(part);
105 if (copy_to_user((void __user*)arg, &offset, sizeof(offset)) != 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/
H A Dscatterwalk.c48 walk->offset = sg->offset;
55 offset_in_page(walk->offset);
65 page = walk->sg->page + ((walk->offset - 1) >> PAGE_SHIFT);
70 walk->offset += PAGE_SIZE - 1;
71 walk->offset &= PAGE_MASK;
72 if (walk->offset >= walk->sg->offset + walk->sg->length)
79 if (!offset_in_page(walk->offset) || !more)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/devices/
H A Dlart.c274 static __u8 read8 (__u32 offset) argument
276 volatile __u8 *data = (__u8 *) (FLASH_OFFSET + offset);
278 printk (KERN_DEBUG "%s(): 0x%.8x -> 0x%.2x\n",__FUNCTION__,offset,*data);
283 static __u32 read32 (__u32 offset) argument
285 volatile __u32 *data = (__u32 *) (FLASH_OFFSET + offset);
287 printk (KERN_DEBUG "%s(): 0x%.8x -> 0x%.8x\n",__FUNCTION__,offset,*data);
292 static void write32 (__u32 x,__u32 offset) argument
294 volatile __u32 *data = (__u32 *) (FLASH_OFFSET + offset);
297 printk (KERN_DEBUG "%s(): 0x%.8x <- 0x%.8x\n",__FUNCTION__,offset,*data);
330 * Erase one block of flash memory at offset ``offse
335 erase_block(__u32 offset) argument
344 write32 (DATA_TO_FLASH (ERASE_SETUP),offset); local
345 write32 (DATA_TO_FLASH (ERASE_CONFIRM),offset); local
350 write32 (DATA_TO_FLASH (STATUS_READ),offset); local
356 write32 (DATA_TO_FLASH (READ_ARRAY),offset); local
486 write_dword(__u32 offset,__u32 x) argument
495 write32 (DATA_TO_FLASH (PGM_SETUP),offset); local
503 write32 (DATA_TO_FLASH (STATUS_READ),offset); local
509 write32 (DATA_TO_FLASH (READ_ARRAY),offset); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/maps/
H A Dredwood.c46 .offset = RW_PART0_OF,
52 .offset = RW_PART1_OF,
57 .offset = RW_PART2_OF,
63 .offset = RW_PART3_OF,
68 .offset = RW_PART4_OF,
90 .offset = RW_PART0_OF,
95 .offset = RW_PART1_OF,
101 .offset = RW_PART2_OF,
106 .offset = RW_PART3_OF,

Completed in 244 milliseconds

1234567891011>>