size 24 file.h uint size; size 63 fs.c for(b = 0; b < sb.size; b += BPB){ size 65 fs.c for(bi = 0; bi < BPB && b + bi < sb.size; bi++){ size 183 fs.c inodestart %d bmap start %d\n", sb.size, sb.nblocks, size 232 fs.c dip->size = ip->size; size 305 fs.c ip->size = dip->size; size 433 fs.c ip->size = 0; size 446 fs.c st->size = ip->size; size 464 fs.c if(off > ip->size || off + n < off) size 466 fs.c if(off + n > ip->size) size 467 fs.c n = ip->size - off; size 493 fs.c if(off > ip->size || off + n < off) size 506 fs.c if(n > 0 && off > ip->size){ size 507 fs.c ip->size = off; size 533 fs.c for(off = 0; off < dp->size; off += sizeof(de)){ size 565 fs.c for(off = 0; off < dp->size; off += sizeof(de)){ size 15 fs.h uint size; // Size of file system image (blocks) size 34 fs.h uint size; // Size of file (bytes) size 42 log.c int size; size 63 log.c log.size = sb.nlog; size 218 log.c if (log.lh.n >= LOGSIZE || log.lh.n >= log.size - 1) size 46 ls.c printf(1, "%s %d %d %d\n", fmtname(path), st.type, st.ino, st.size); size 66 ls.c printf(1, "%s %d %d %d\n", fmtname(buf), st.type, st.ino, st.size); size 97 mkfs.c sb.size = xint(FSSIZE); size 160 mkfs.c off = xint(din.size); size 162 mkfs.c din.size = xint(off); size 232 mkfs.c din.size = xint(0); size 266 mkfs.c off = xint(din.size); size 295 mkfs.c din.size = xint(off); size 10 stat.h uint size; // Size of file in bytes size 59 syscall.c argptr(int n, char **pp, int size) size 66 syscall.c if(size < 0 || (uint)i >= curproc->sz || (uint)i+size > curproc->sz) size 174 sysfile.c for(off=2*sizeof(de); off<dp->size; off+=sizeof(de)){ size 14 umalloc.c uint size; size 33 umalloc.c if(bp + bp->s.size == p->s.ptr){ size 34 umalloc.c bp->s.size += p->s.ptr->s.size; size 38 umalloc.c if(p + p->s.size == bp){ size 39 umalloc.c p->s.size += bp->s.size; size 58 umalloc.c hp->s.size = nu; size 72 umalloc.c base.s.size = 0; size 75 umalloc.c if(p->s.size >= nunits){ size 76 umalloc.c if(p->s.size == nunits) size 79 umalloc.c p->s.size -= nunits; size 80 umalloc.c p += p->s.size; size 81 umalloc.c p->s.size = nunits; size 61 vm.c mappages(pde_t *pgdir, void *va, uint size, uint pa, int perm) size 67 vm.c last = (char*)PGROUNDDOWN(((uint)va) + size - 1); size 63 x86.h lgdt(struct segdesc *p, int size) size 67 x86.h pd[0] = size-1; size 77 x86.h lidt(struct gatedesc *p, int size) size 81 x86.h pd[0] = size-1;