Home
last modified time | relevance | path

Searched refs:rem (Results 1 – 9 of 9) sorted by relevance

/fs/udf/
Dudftime.c124 long int days, rem, y; in udf_time_to_disk_stamp() local
137 rem = ts.tv_sec % SECS_PER_DAY; in udf_time_to_disk_stamp()
138 dest->hour = rem / SECS_PER_HOUR; in udf_time_to_disk_stamp()
139 rem %= SECS_PER_HOUR; in udf_time_to_disk_stamp()
140 dest->minute = rem / 60; in udf_time_to_disk_stamp()
141 dest->second = rem % 60; in udf_time_to_disk_stamp()
/fs/proc/
Duptime.c16 u32 rem; in uptime_proc_show() local
26 idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in uptime_proc_show()
27 idle.tv_nsec = rem; in uptime_proc_show()
/fs/jfs/
Djfs_imap.c1346 int nwords, rem, i, agno; in diAlloc() local
1512 rem = diFindFree(inosmap, 0); in diAlloc()
1513 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc()
1514 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc()
1516 if (rem >= INOSPEREXT) { in diAlloc()
1530 ino = (extno << L2INOSPEREXT) + rem; in diAlloc()
1560 rem = diFindFree(extsmap, 0); in diAlloc()
1561 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc()
1788 int iagno, ino, rc, rem, extno, sword; in diAllocIno() local
1838 rem = diFindFree(le32_to_cpu(iagp->inosmap[sword]), 0); in diAllocIno()
[all …]
Djfs_dmap.c337 s64 lblkno, rem; in dbFree() local
358 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { in dbFree()
376 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree()
424 s64 lblkno, rem, lastlblkno; in dbUpdatePMap() local
452 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap()
474 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
3109 s64 lblkno, rem; in dbAllocBottomUp() local
3122 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { in dbAllocBottomUp()
3140 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbAllocBottomUp()
/fs/jffs2/
Dreadinode.c945 int rem = to_read % c->wbuf_pagesize; in read_more() local
947 if (rem) in read_more()
948 to_read += c->wbuf_pagesize - rem; in read_more()
1023 int end, rem; in jffs2_get_inode_nodes() local
1033 rem = end % c->wbuf_pagesize; in jffs2_get_inode_nodes()
1034 if (rem) in jffs2_get_inode_nodes()
1035 end += c->wbuf_pagesize - rem; in jffs2_get_inode_nodes()
/fs/fuse/
Ddev.c1825 size_t rem; in fuse_dev_splice_write() local
1838 rem = 0; in fuse_dev_splice_write()
1839 for (idx = 0; idx < pipe->nrbufs && rem < len; idx++) in fuse_dev_splice_write()
1840 rem += pipe->bufs[(pipe->curbuf + idx) & (pipe->buffers - 1)].len; in fuse_dev_splice_write()
1843 if (rem < len) { in fuse_dev_splice_write()
1848 rem = len; in fuse_dev_splice_write()
1849 while (rem) { in fuse_dev_splice_write()
1858 if (rem >= ibuf->len) { in fuse_dev_splice_write()
1867 obuf->len = rem; in fuse_dev_splice_write()
1872 rem -= obuf->len; in fuse_dev_splice_write()
/fs/hppfs/
Dhppfs.c244 int rem; in hppfs_read() local
259 rem = copy_to_user(buf, &data->contents[off], count); in hppfs_read()
260 *ppos += count - rem; in hppfs_read()
261 if (rem > 0) in hppfs_read()
/fs/nfs/
Dnfs4filelayout.c56 u32 rem; in filelayout_get_dense_offset() local
60 div_u64_rem(offset, flseg->stripe_unit, &rem); in filelayout_get_dense_offset()
62 return stripe_no * flseg->stripe_unit + rem; in filelayout_get_dense_offset()
/fs/xfs/
Dxfs_mount.c1680 long long res_used, rem; in xfs_mod_incore_sb_unlocked() local
1716 rem = delta - res_used; in xfs_mod_incore_sb_unlocked()
1718 lcounter += rem; in xfs_mod_incore_sb_unlocked()