offset 81 bsp/drv/dev/block/ramdisk.c int offset = blkno * BSIZE; offset 89 bsp/drv/dev/block/ramdisk.c if (offset > (int)sc->size) { offset 94 bsp/drv/dev/block/ramdisk.c if (offset + nr_read > (int)sc->size) offset 95 bsp/drv/dev/block/ramdisk.c nr_read = sc->size - offset; offset 103 bsp/drv/dev/block/ramdisk.c memcpy(kbuf, sc->addr + offset, nr_read); offset 112 bsp/drv/dev/block/ramdisk.c int offset = blkno * BSIZE; offset 120 bsp/drv/dev/block/ramdisk.c if (offset > (int)sc->size) offset 123 bsp/drv/dev/block/ramdisk.c if (offset + nr_write > (int)sc->size) offset 124 bsp/drv/dev/block/ramdisk.c nr_write = sc->size - offset; offset 131 bsp/drv/dev/block/ramdisk.c memcpy(sc->addr + offset, kbuf, nr_write); offset 194 bsp/drv/dev/video/vga.c u_int offset; offset 198 bsp/drv/dev/video/vga.c offset = crtc_read(0x0e); offset 199 bsp/drv/dev/video/vga.c offset <<= 8; offset 200 bsp/drv/dev/video/vga.c offset += crtc_read(0x0f); offset 201 bsp/drv/dev/video/vga.c *col = (int)offset % sc->cols; offset 202 bsp/drv/dev/video/vga.c *row = (int)offset / sc->cols; offset 392 sys/mem/vm.c size_t offset; offset 409 sys/mem/vm.c offset = (size_t)((vaddr_t)addr - start); offset 444 sys/mem/vm.c tmp = (void *)(cur->addr + offset); offset 48 usr/lib/libc/stdio/fseek.c fseek(fp, offset, whence) offset 50 usr/lib/libc/stdio/fseek.c long offset; offset 82 usr/lib/libc/stdio/fseek.c offset += curoff; offset 102 usr/lib/libc/stdio/fseek.c __sseek(fp, (fpos_t)offset, whence) == POS_ERR) { offset 63 usr/lib/libc/stdio/stdio.c __sseek(fp, offset, whence) offset 65 usr/lib/libc/stdio/stdio.c fpos_t offset; offset 68 usr/lib/libc/stdio/stdio.c return (lseek(fp->_file, (off_t)offset, whence)); offset 46 usr/lib/libc/stdlib/getenv.c int offset; offset 48 usr/lib/libc/stdlib/getenv.c return (__findenv(name, &offset)); offset 61 usr/lib/libc/stdlib/getenv.c __findenv(name, offset) offset 63 usr/lib/libc/stdlib/getenv.c int *offset; offset 76 usr/lib/libc/stdlib/getenv.c *offset = p - environ; offset 51 usr/lib/libc/stdlib/setenv.c int l_value, offset; offset 56 usr/lib/libc/stdlib/setenv.c if ((c = __findenv(name, &offset))) { /* find if already exists */ offset 83 usr/lib/libc/stdlib/setenv.c offset = cnt; offset 86 usr/lib/libc/stdlib/setenv.c if (!(environ[offset] = /* name + `=' + value */ offset 89 usr/lib/libc/stdlib/setenv.c for (c = environ[offset]; (*c = *name++) && *c != '='; ++c); offset 103 usr/lib/libc/stdlib/setenv.c int offset; offset 105 usr/lib/libc/stdlib/setenv.c while (__findenv(name, &offset)) /* if set multiple times */ offset 106 usr/lib/libc/stdlib/setenv.c for (p = &environ[offset];; ++p) offset 39 usr/lib/posix/file/lseek.c lseek(int fd, off_t offset, int whence) offset 45 usr/lib/posix/file/lseek.c m.data[1] = (int)offset; offset 189 usr/server/fs/fatfs/fatfs.h u_long offset; /* offset of directory entry in sector */ offset 203 usr/server/fs/fatfs/fatfs.h int fat_seek_cluster(struct fatfsmount *fmp, u_long start, u_long offset, offset 130 usr/server/fs/fatfs/fatfs_fat.c u_int offset; offset 141 usr/server/fs/fatfs/fatfs_fat.c offset = (cl * 2) % SEC_SIZE; offset 143 usr/server/fs/fatfs/fatfs_fat.c offset = (cl * 3 / 2) % SEC_SIZE; offset 146 usr/server/fs/fatfs/fatfs_fat.c val = *((uint16_t *)(fmp->fat_buf + offset)); offset 169 usr/server/fs/fatfs/fatfs_fat.c u_int offset; offset 181 usr/server/fs/fatfs/fatfs_fat.c offset = (cl * 2) % SEC_SIZE; offset 183 usr/server/fs/fatfs/fatfs_fat.c offset = (cl * 3 / 2) % SEC_SIZE; offset 188 usr/server/fs/fatfs/fatfs_fat.c tmp = *((uint16_t *)(buf + offset)); offset 197 usr/server/fs/fatfs/fatfs_fat.c *((uint16_t *)(buf + offset)) = val; offset 278 usr/server/fs/fatfs/fatfs_fat.c fat_seek_cluster(struct fatfsmount *fmp, u_long start, u_long offset, offset 288 usr/server/fs/fatfs/fatfs_fat.c target = offset / fmp->cluster_size; offset 101 usr/server/fs/fatfs/fatfs_node.c np->offset = sizeof(struct fat_dirent) * i; offset 194 usr/server/fs/fatfs/fatfs_node.c np->offset = sizeof(struct fat_dirent) * i; offset 363 usr/server/fs/fatfs/fatfs_node.c memcpy(fmp->dir_buf + np->offset, &np->dirent, offset 200 usr/server/fs/vfs/main.c off_t offset, org; offset 205 usr/server/fs/vfs/main.c offset = (off_t)msg->data[1]; offset 208 usr/server/fs/vfs/main.c error = sys_lseek(fp, offset, type, &org);