Searched refs:rem (Results 1 – 9 of 9) sorted by relevance
/fs/udf/ |
D | udftime.c | 122 long int days, rem, y; in udf_time_to_disk_stamp() local 135 rem = ts.tv_sec % SECS_PER_DAY; in udf_time_to_disk_stamp() 136 dest->hour = rem / SECS_PER_HOUR; in udf_time_to_disk_stamp() 137 rem %= SECS_PER_HOUR; in udf_time_to_disk_stamp() 138 dest->minute = rem / 60; in udf_time_to_disk_stamp() 139 dest->second = rem % 60; in udf_time_to_disk_stamp()
|
/fs/pstore/ |
D | ram_core.c | 309 int rem; in persistent_ram_write() local 322 rem = prz->buffer_size - start; in persistent_ram_write() 323 if (unlikely(rem < c)) { in persistent_ram_write() 324 persistent_ram_update(prz, s, start, rem); in persistent_ram_write() 325 s += rem; in persistent_ram_write() 326 c -= rem; in persistent_ram_write() 339 int rem, ret = 0, c = count; in persistent_ram_write_user() local 353 rem = prz->buffer_size - start; in persistent_ram_write_user() 354 if (unlikely(rem < c)) { in persistent_ram_write_user() 355 ret = persistent_ram_update_user(prz, s, start, rem); in persistent_ram_write_user() [all …]
|
/fs/proc/ |
D | uptime.c | 16 u32 rem; in uptime_proc_show() local 25 idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in uptime_proc_show() 26 idle.tv_nsec = rem; in uptime_proc_show()
|
/fs/jfs/ |
D | jfs_imap.c | 1343 int nwords, rem, i, agno; in diAlloc() local 1509 rem = diFindFree(inosmap, 0); in diAlloc() 1510 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc() 1511 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc() 1513 if (rem >= INOSPEREXT) { in diAlloc() 1526 ino = (extno << L2INOSPEREXT) + rem; in diAlloc() 1556 rem = diFindFree(extsmap, 0); in diAlloc() 1557 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc() 1784 int iagno, ino, rc, rem, extno, sword; in diAllocIno() local 1833 rem = diFindFree(le32_to_cpu(iagp->inosmap[sword]), 0); in diAllocIno() [all …]
|
D | jfs_dmap.c | 336 s64 lblkno, rem; in dbFree() local 364 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { in dbFree() 382 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree() 430 s64 lblkno, rem, lastlblkno; in dbUpdatePMap() local 457 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap() 479 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap() 3213 s64 lblkno, rem; in dbAllocBottomUp() local 3226 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { in dbAllocBottomUp() 3244 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbAllocBottomUp()
|
/fs/affs/ |
D | amigaffs.c | 374 s32 rem; in secs_to_datestamp() local 379 days = div_s64_rem(secs, 86400, &rem); in secs_to_datestamp() 380 minute = rem / 60; in secs_to_datestamp() 381 rem -= minute * 60; in secs_to_datestamp() 385 ds->ticks = cpu_to_be32(rem * 50); in secs_to_datestamp()
|
/fs/jffs2/ |
D | readinode.c | 932 int rem = to_read % c->wbuf_pagesize; in read_more() local 934 if (rem) in read_more() 935 to_read += c->wbuf_pagesize - rem; in read_more() 1010 int end, rem; in jffs2_get_inode_nodes() local 1020 rem = end % c->wbuf_pagesize; in jffs2_get_inode_nodes() 1021 if (rem) in jffs2_get_inode_nodes() 1022 end += c->wbuf_pagesize - rem; in jffs2_get_inode_nodes()
|
/fs/fuse/ |
D | dev.c | 1941 size_t rem; in fuse_dev_splice_write() local 1954 rem = 0; in fuse_dev_splice_write() 1955 for (idx = 0; idx < pipe->nrbufs && rem < len; idx++) in fuse_dev_splice_write() 1956 rem += pipe->bufs[(pipe->curbuf + idx) & (pipe->buffers - 1)].len; in fuse_dev_splice_write() 1959 if (rem < len) { in fuse_dev_splice_write() 1964 rem = len; in fuse_dev_splice_write() 1965 while (rem) { in fuse_dev_splice_write() 1974 if (rem >= ibuf->len) { in fuse_dev_splice_write() 1983 obuf->len = rem; in fuse_dev_splice_write() 1988 rem -= obuf->len; in fuse_dev_splice_write()
|
/fs/nfs/filelayout/ |
D | filelayout.c | 59 u32 rem; in filelayout_get_dense_offset() local 63 div_u64_rem(offset, flseg->stripe_unit, &rem); in filelayout_get_dense_offset() 65 return stripe_no * flseg->stripe_unit + rem; in filelayout_get_dense_offset()
|