Searched refs:ofs (Results 26 - 50 of 173) sorted by relevance

1234567

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/jffs2/
H A Dreadinode.c35 uint32_t crc, ofs, len; local
44 ofs = ref_offset(ref) + sizeof(struct jffs2_raw_inode);
45 len = ofs % c->wbuf_pagesize;
51 ref_offset(ref), tn->csize, ofs);
55 ofs += len;
59 ref_offset(ref), tn->csize, tn->partial_crc, tn->data_crc, ofs - len, ofs, len);
65 err = c->mtd->point(c->mtd, ofs, len, &retlen, &buffer);
68 c->mtd->unpoint(c->mtd, buffer, ofs, len);
83 err = jffs2_flash_read(c, ofs, le
[all...]
H A Dwritev.c60 int jffs2_flash_direct_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, argument
64 ret = c->mtd->write(c->mtd, ofs, len, retlen, buf);
73 res = jffs2_sum_add_kvec(c, vecs, 1, (uint32_t) ofs);
H A Dos-linux.h82 #define jffs2_flash_write(c, ofs, len, retlen, buf) jffs2_flash_direct_write(c, ofs, len, retlen, buf)
83 #define jffs2_flash_read(c, ofs, len, retlen, buf) ((c)->mtd->read((c)->mtd, ofs, len, retlen, buf))
115 #define jffs2_flash_write_oob(c, ofs, len, retlen, buf) ((c)->mtd->write_oob((c)->mtd, ofs, len, retlen, buf))
116 #define jffs2_flash_read_oob(c, ofs, len, retlen, buf) ((c)->mtd->read_oob((c)->mtd, ofs, len, retlen, buf))
121 int jffs2_flash_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, const u_char *buf);
122 int jffs2_flash_read(struct jffs2_sb_info *c, loff_t ofs, size_
[all...]
H A Ddebug.h201 uint32_t ofs, int len);
225 __jffs2_dbg_dump_node(struct jffs2_sb_info *c, uint32_t ofs);
236 #define jffs2_dbg_prewrite_paranoia_check(c, ofs, len) \
237 __jffs2_dbg_prewrite_paranoia_check(c, ofs, len)
243 #define jffs2_dbg_prewrite_paranoia_check(c, ofs, len)
261 #define jffs2_dbg_dump_node(c, ofs) \
262 __jffs2_dbg_dump_node(c, ofs);
271 #define jffs2_dbg_dump_node(c, ofs)
H A Dgc.c470 end = frag->ofs + frag->size;
472 start = frag->ofs;
722 ilen = last_frag->ofs + last_frag->size;
990 ilen = frag->ofs + frag->size;
1042 for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs);
1044 if (frag->ofs > fn->size + fn->ofs)
1105 BUG_ON(frag->ofs != start);
1108 while((frag = frag_prev(frag)) && frag->ofs >= min) {
1112 if (frag->ofs > mi
[all...]
H A Dsummary.h179 int jffs2_sum_add_inode_mem(struct jffs2_summary *s, struct jffs2_raw_inode *ri, uint32_t ofs);
180 int jffs2_sum_add_dirent_mem(struct jffs2_summary *s, struct jffs2_raw_dirent *rd, uint32_t ofs);
181 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs);
182 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dvmdav.c199 int ofs; local
256 ofs = 0;
261 if (ofs + len > frame_width)
263 memcpy(&dp[ofs], pb, len);
265 ofs += len;
268 if (ofs + len + 1 > frame_width)
270 memcpy(&dp[ofs], &pp[ofs], len + 1);
271 ofs += len + 1;
273 } while (ofs < frame_widt
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dcompress.c327 s64 br, to_read, ofs, total, total2; local
398 ofs = pos & cb_size_mask;
429 to_read = min(count, cb_size - ofs);
431 ofs = 0;
450 to_read = min(count, cb_size - ofs);
451 ofs += vcn << vol->cluster_size_bits;
457 br = ntfs_attr_pread(na, ofs, to_read, b);
474 ofs += br;
479 ofs = 0;
537 to_read = min(count, cb_size - ofs);
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/arcnet/
H A Drfc1051.c131 int ofs; local
136 ofs = 512 - length;
138 ofs = 256 - length;
154 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft),
221 int ofs; local
236 hard->offset[1] = ofs = 512 - length;
239 hard->offset[1] = ofs = 512 - length - 3;
241 hard->offset[0] = ofs = 256 - length;
244 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft, length);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ntfs/
H A Daops.h63 extern void mark_ntfs_record_dirty(struct page *page, const unsigned int ofs);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/smbwrapper/
H A Dwrapped.c84 ssize_t pread(int fd, void *buf, size_t size, off_t ofs) argument
87 return smbw_pread(fd, buf, size, ofs);
90 return real_pread(fd, buf, size, ofs);
95 ssize_t pread64(int fd, void *buf, size_t size, off64_t ofs) argument
98 return smbw_pread(fd, buf, size, ofs);
101 return real_pread64(fd, buf, size, ofs);
106 ssize_t pwrite(int fd, void *buf, size_t size, off_t ofs) argument
109 return smbw_pwrite(fd, buf, size, ofs);
112 return real_pwrite(fd, buf, size, ofs);
117 ssize_t pwrite64(int fd, void *buf, size_t size, off64_t ofs) argument
677 llseek(int fd, offset_t ofs, int whence) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libsmb/
H A Dasn1.c33 if (data->length < data->ofs+len) {
35 newp = SMB_REALLOC(data->data, data->ofs+len);
42 data->length = data->ofs+len;
44 memcpy(data->data + data->ofs, p, len);
45 data->ofs += len;
67 nesting->start = data->ofs;
85 len = data->ofs - (nesting->start+1);
225 if (len < 0 || data->ofs + len < data->ofs || data->ofs
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/maps/
H A Dsbc_gxx.c106 static inline void sbc_gxx_page(struct map_info *map, unsigned long ofs) argument
108 unsigned long page = ofs >> WINDOW_SHIFT;
117 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs) argument
121 sbc_gxx_page(map, ofs);
122 ret.x[0] = readb(iomapadr + (ofs & WINDOW_MASK));
H A Dvmax301.c50 unsigned long ofs)
52 unsigned long page = (ofs >> WINDOW_SHIFT);
57 static map_word vmax301_read8(struct map_info *map, unsigned long ofs) argument
61 vmax301_page(map, ofs);
62 ret.x[0] = readb(map->map_priv_2 + (ofs & WINDOW_MASK));
49 vmax301_page(struct map_info *map, unsigned long ofs) argument
H A Dixp2000.c47 static inline unsigned long flash_bank_setup(struct map_info *map, unsigned long ofs) argument
52 return (set_bank ? set_bank(ofs) : ofs);
75 static map_word ixp2000_flash_read8(struct map_info *map, unsigned long ofs) argument
79 val.x[0] = *((u8 *)(map->map_priv_1 + flash_bank_setup(map, ofs)));
96 static void ixp2000_flash_write8(struct map_info *map, map_word d, unsigned long ofs) argument
99 flash_bank_setup(map, ofs))) = d.x[0];
H A Ddc21285.c57 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) argument
60 val.x[0] = *(uint8_t*)(map->virt + ofs);
64 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) argument
67 val.x[0] = *(uint16_t*)(map->virt + ofs);
71 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) argument
74 val.x[0] = *(uint32_t*)(map->virt + ofs);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/vdso32/
H A Dsigtramp.S57 #define rsave(regno, ofs) \
64 .ifne ofs; \
65 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
114 #define vsave_msr2(regno, ofs) \
119 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
124 #define vsave(regno, ofs) \
132 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
269 .byte 0x0c,1,0 /* DW_CFA_def_cfa: r1 ofs 0 */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/vdso64/
H A Dsigtramp.S56 #define rsave(regno, ofs) \
63 .ifne ofs; \
64 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
114 #define vsave_msr2(regno, ofs) \
119 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
124 #define vsave(regno, ofs) \
133 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
271 .byte 0x0c,1,0 /* DW_CFA_def_cfa: r1 ofs 0 */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c74 static int cfi_atmel_lock(struct mtd_info *mtd, loff_t ofs, size_t len);
75 static int cfi_atmel_unlock(struct mtd_info *mtd, loff_t ofs, size_t len);
842 unsigned long ofs; local
846 /* ofs: offset within the first chip that the first read should start */
849 ofs = from - (chipnum << cfi->chipshift);
860 if ((len + ofs -1) >> cfi->chipshift)
861 thislen = (1<<cfi->chipshift) - ofs;
865 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf);
873 ofs = 0;
927 unsigned long ofs; local
1081 unsigned long ofs, chipstart; local
1321 unsigned long ofs; local
1575 unsigned long ofs, len; local
1678 cfi_atmel_lock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
1683 cfi_atmel_unlock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-um/
H A Delf-i386.h132 Elf32_Off ofs = 0; \
136 ofs = phdr.p_offset = offset; \
140 phdr.p_offset += ofs; \
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-arm/arch-netx/
H A Dnetx-regs.h118 #define NETX_SYSTEM_REG(ofs) __io(NETX_VA_SYSTEM + (ofs))
187 #define NETX_GPIO_REG(ofs) __io(NETX_VA_GPIO + (ofs))
232 #define NETX_PIO_REG(ofs) __io(NETX_VA_PIO + (ofs))
319 #define NETX_PFIFO_REG(ofs) __io(NETX_VA_PFIFO + (ofs))
335 #define NETX_DPMAS_REG(ofs) __io(NETX_VA_DPMAS + (ofs))
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/
H A Dmtdconcat.c519 static int concat_lock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
524 if ((len + ofs) > mtd->size)
531 if (ofs >= subdev->size) {
533 ofs -= subdev->size;
536 if (ofs + len > subdev->size)
537 size = subdev->size - ofs;
541 err = subdev->lock(subdev, ofs, size);
551 ofs = 0;
557 static int concat_unlock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
562 if ((len + ofs) > mt
630 concat_block_isbad(struct mtd_info *mtd, loff_t ofs) argument
656 concat_block_markbad(struct mtd_info *mtd, loff_t ofs) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.h195 #define HADDR_2(label,ofs) (RELOC_SOFTC | \
196 (offsetof(struct sym_hcb, label)+(ofs)))
198 #define RADDR_2(label,ofs) (RELOC_REGISTER | ((REG(label))+(ofs)))
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/mtd/
H A Dbbm.h120 int (*isbad_bbt)(struct mtd_info *mtd, loff_t ofs, int allowbbt);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/include/
H A Dasn_1.h33 off_t ofs; member in struct:__anon1594

Completed in 336 milliseconds

1234567