Searched refs:ofs (Results 51 - 75 of 173) sorted by relevance

1234567

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dwin32_io.c1018 int old_ofs, ofs; local
1021 old_ofs = ofs = old_pos & (NTFS_BLOCK_SIZE - 1);
1022 to_read = (ofs + count + NTFS_BLOCK_SIZE - 1) &
1031 "ofs = %i, to_read = 0x%llx.\n", fd, b,
1032 (long long)count, (long long)old_pos, ofs,
1051 ofs + vol_to_read, alignedbuffer);
1055 if (br < ofs) {
1059 br -= ofs;
1061 ofs = fd->pos & (NTFS_BLOCK_SIZE - 1);
1074 if (i < ofs)
1203 int old_ofs, ofs; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/jffs2/
H A Dsummary.c112 uint32_t ofs)
122 temp->offset = cpu_to_je32(ofs); /* relative offset from the begining of the jeb */
130 uint32_t ofs)
140 temp->offset = cpu_to_je32(ofs); /* relative from the begining of the jeb */
154 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs) argument
165 temp->offset = cpu_to_je32(ofs);
172 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs) argument
181 temp->offset = cpu_to_je32(ofs);
245 unsigned long count, uint32_t ofs)
256 jeb = &c->blocks[ofs /
111 jffs2_sum_add_inode_mem(struct jffs2_summary *s, struct jffs2_raw_inode *ri, uint32_t ofs) argument
129 jffs2_sum_add_dirent_mem(struct jffs2_summary *s, struct jffs2_raw_dirent *rd, uint32_t ofs) argument
244 jffs2_sum_add_kvec(struct jffs2_sb_info *c, const struct kvec *invecs, unsigned long count, uint32_t ofs) argument
366 sum_link_node_ref(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t ofs, uint32_t len, struct jffs2_inode_cache *ic) argument
556 int ret, ofs; local
[all...]
H A Derase.c316 uint32_t ofs; local
328 for (ofs = jeb->offset; ofs < jeb->offset + c->sector_size; ) {
329 uint32_t readlen = min((uint32_t)PAGE_SIZE, jeb->offset + c->sector_size - ofs);
332 *bad_offset = ofs;
334 ret = c->mtd->read(c->mtd, ofs, readlen, &retlen, ebuf);
336 printk(KERN_WARNING "Read of newly-erased block at 0x%08x failed: %d. Putting on bad_list\n", ofs, ret);
340 printk(KERN_WARNING "Short read from newly-erased block at 0x%08x. Wanted %d, got %zd\n", ofs, readlen, retlen);
352 ofs += readlen;
H A Dwbuf.c234 uint32_t start, end, ofs, len; local
356 ofs = write_ofs(c);
368 towrite, ofs));
373 printk(KERN_NOTICE "Faking write error at 0x%08x\n", ofs);
375 c->mtd->write(c->mtd, ofs, towrite, &retlen,
380 ret = c->mtd->write(c->mtd, ofs, towrite, &retlen,
389 jffs2_add_physical_node_ref(c, ofs | REF_OBSOLETE, ref_totlen(c, jeb, first_raw), NULL);
393 printk(KERN_NOTICE "Recovery of wbuf succeeded to %08x\n", ofs);
396 c->wbuf_ofs = ofs + towrite;
406 c->wbuf_ofs = ofs;
890 jffs2_flash_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, const u_char *buf) argument
906 jffs2_flash_read(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, u_char *buf) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-arm/arch-iop13xx/
H A Diop13xx.h217 #define IOP13XX_ATUX_OFFSET(ofs) IOP13XX_REG_ADDR32(\
218 iop13xx_atux_pmmr_offset + (ofs))
300 #define IOP13XX_ATUE_OFFSET(ofs) IOP13XX_REG_ADDR32(\
301 iop13xx_atue_pmmr_offset + (ofs))
417 #define IOP13XX_MU_OFFSET(ofs) IOP13XX_REG_ADDR32(IOP13XX_MU_PMMR_OFFSET +\
418 (ofs))
447 #define IOP13XX_ADMA_OFFSET(chan, ofs) IOP13XX_REG_ADDR32((chan << 9) + (ofs))
478 #define IOP13XX_PBI_OFFSET(ofs) IOP13XX_REG_ADDR32(IOP13XX_PBI_PMMR_OFFSET +\
479 (ofs))
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/
H A Dmtdpart.c225 static int part_lock (struct mtd_info *mtd, loff_t ofs, size_t len) argument
228 if ((len + ofs) > mtd->size)
230 return part->master->lock(part->master, ofs + part->offset, len);
233 static int part_unlock (struct mtd_info *mtd, loff_t ofs, size_t len) argument
236 if ((len + ofs) > mtd->size)
238 return part->master->unlock(part->master, ofs + part->offset, len);
259 static int part_block_isbad (struct mtd_info *mtd, loff_t ofs) argument
262 if (ofs >= mtd->size)
264 ofs += part->offset;
265 return part->master->block_isbad(part->master, ofs);
268 part_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/arch/mips/kernel/
H A Dprocess.c325 unsigned long ofs; local
327 kallsyms_lookup_size_offset((unsigned long)schedule, &size, &ofs);
369 unsigned long size, ofs; local
397 if (!kallsyms_lookup_size_offset(pc, &size, &ofs))
402 if (unlikely(ofs == 0)) {
408 info.func = (void *)(pc - ofs);
409 info.func_size = ofs; /* analyze from start to ofs */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/devices/
H A Ddoc2001.c38 static int doc_read_oob(struct mtd_info *mtd, loff_t ofs,
40 static int doc_write_oob(struct mtd_info *mtd, loff_t ofs,
118 static inline void DoC_Address(void __iomem * docptr, int numbytes, unsigned long ofs, argument
130 WriteDOC(ofs & 0xff, docptr, Mil_CDSN_IO);
135 WriteDOC((ofs >> 9) & 0xff, docptr, Mil_CDSN_IO);
136 WriteDOC((ofs >> 17) & 0xff, docptr, Mil_CDSN_IO);
141 WriteDOC(ofs & 0xff, docptr, Mil_CDSN_IO);
142 WriteDOC((ofs >> 9) & 0xff, docptr, Mil_CDSN_IO);
143 WriteDOC((ofs >> 17) & 0xff, docptr, Mil_CDSN_IO);
610 static int doc_read_oob(struct mtd_info *mtd, loff_t ofs, argument
667 doc_write_oob(struct mtd_info *mtd, loff_t ofs, struct mtd_oob_ops *ops) argument
748 __u32 ofs = instr->addr; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c60 static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, size_t len);
61 static int cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, size_t len);
1169 unsigned long ofs; local
1181 /* ofs: offset within the first chip that the first read should start */
1183 ofs = from - (chipnum << cfi->chipshift);
1191 if ((len + ofs -1) >> cfi->chipshift)
1192 thislen = (1<<cfi->chipshift) - ofs;
1196 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen);
1203 ofs = 0;
1213 unsigned long ofs; local
1288 unsigned long ofs; local
1402 unsigned long ofs; local
1642 unsigned long ofs, vec_seek, i; local
1785 unsigned long ofs, len; local
1925 cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
1949 cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
[all...]
H A Dcfi_cmdset_0020.c47 static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, size_t len);
48 static int cfi_staa_unlock(struct mtd_info *mtd, loff_t ofs, size_t len);
385 unsigned long ofs; local
389 /* ofs: offset within the first chip that the first read should start */
391 ofs = from - (chipnum << cfi->chipshift);
401 if ((len + ofs -1) >> cfi->chipshift)
402 thislen = (1<<cfi->chipshift) - ofs;
406 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf);
414 ofs = 0;
614 unsigned long ofs; local
1127 cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, size_t len) argument
1275 cfi_staa_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/drivers/net/arcnet/
H A Drfc1201.c141 int saddr = pkt->hard.source, ofs; local
147 ofs = 512 - length;
149 ofs = 256 - length;
162 ofs += 4;
196 lp->hw.copy_from_card(dev, bufnum, ofs + sizeof(pkt->soft),
351 lp->hw.copy_from_card(dev, bufnum, ofs + RFC1201_HDR_SIZE,
442 int ofs; local
448 hard->offset[1] = ofs = 512 - softlen;
457 ofs = 512 - softlen;
458 hard->offset[1] = ofs
[all...]
H A Dcom20020.c63 int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset; local
66 outb((ofs >> 8) | RDDATAflag | AUTOINCflag, _ADDR_HI);
67 outb(ofs & 0xff, _ADDR_LO);
77 int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset; local
80 outb((ofs >> 8) | AUTOINCflag, _ADDR_HI);
81 outb(ofs & 0xff, _ADDR_LO);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/infiniband/hw/ehca/
H A Dehca_uverbs.c139 u64 start, ofs; local
144 for (ofs = 0; ofs < queue->queue_length; ofs += PAGE_SIZE) {
145 u64 virt_addr = (u64)ipz_qeit_calc(queue, ofs);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/char/watchdog/
H A Dalim7101_wdt.c177 size_t ofs; local
184 for (ofs = 0; ofs != count; ofs++) {
186 if (get_user(c, buf+ofs))
H A Dmachzwd.c280 size_t ofs; local
289 for (ofs = 0; ofs != count; ofs++){
291 if (get_user(c, buf + ofs))
H A Dsbc60xxwdt.c169 size_t ofs; local
176 for(ofs = 0; ofs != count; ofs++)
179 if(get_user(c, buf+ofs))
H A Dsc520_wdt.c227 size_t ofs; local
234 for(ofs = 0; ofs != count; ofs++) {
236 if (get_user(c, buf + ofs))
H A Dw83877f_wdt.c191 size_t ofs; local
198 for(ofs = 0; ofs != count; ofs++)
201 if (get_user(c, buf + ofs))
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/maps/
H A Doctagon-5066.c56 static inline void oct5066_page(struct map_info *map, unsigned long ofs) argument
58 __u8 byte = map->map_priv_1 | (ofs >> WINDOW_SHIFT);
65 static map_word oct5066_read8(struct map_info *map, unsigned long ofs) argument
69 oct5066_page(map, ofs);
70 ret.x[0] = readb(iomapadr + (ofs & WINDOW_MASK));
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-ia64/
H A Delf.h217 Elf64_Off ofs = 0; \
223 if (ofs == 0) { \
224 ofs = phdr.p_offset = offset; \
228 phdr.p_offset = ofs; \
231 phdr.p_offset += ofs; \
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-alpha/
H A Dbitops.h387 unsigned long ofs; local
389 ofs = (b1 ? 64 : 128);
391 ofs = (b0 ? 0 : ofs);
394 return __ffs(b0) + ofs;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/pci/ice1712/
H A Dphase.c446 int i, ofs, voices; local
449 ofs = kcontrol->private_value & 0xff;
451 ucontrol->value.integer.value[i] = ice->spec.phase28.vol[ofs+i] & ~WM_VOL_MUTE;
458 int i, idx, ofs, voices; local
462 ofs = kcontrol->private_value & 0xff;
465 idx = WM_DAC_ATTEN + ofs + i;
466 if (ucontrol->value.integer.value[i] != ice->spec.phase28.vol[ofs+i]) {
467 ice->spec.phase28.vol[ofs+i] &= WM_VOL_MUTE;
468 ice->spec.phase28.vol[ofs+i] |= ucontrol->value.integer.value[i];
469 wm_set_vol(ice, idx, ice->spec.phase28.vol[ofs
492 int voices, ofs, i; local
505 int change = 0, voices, ofs, i; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/iproute2/misc/
H A Dlnstat.c157 int ofs = 0; local
171 snprintf(th.hdr[0]+ofs, width+2, fmt,
177 snprintf(th.hdr[h]+ofs, width+2, fmt, "");
180 snprintf(th.hdr[h]+ofs, width+2, fmt, cname);
184 ofs += width+1;
188 for (i = 0; i < ofs; i++) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libsmb/
H A Dspnego.c39 switch (asn1->data[asn1->ofs]) {
73 if (asn1->data[asn1->ofs] == ASN1_OCTET_STRING) {
175 switch (asn1->data[asn1->ofs]) {
254 switch (asn1.data[asn1.ofs]) {
272 if (!asn1.has_error) ret = asn1.ofs;
302 ret = asn1.ofs;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-mips/
H A Dgt64120.h555 * GT_READ(ofs, data_pointer)
556 * GT_WRITE(ofs, data) - read/write GT64120 registers in 32bit
568 #define __GT_READ(ofs) \
569 (*(volatile u32 *)(GT64120_BASE+(ofs)))
570 #define __GT_WRITE(ofs, data) \
571 do { *(volatile u32 *)(GT64120_BASE+(ofs)) = (data); } while (0)
572 #define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs))
573 #define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le3
[all...]

Completed in 327 milliseconds

1234567