Searched refs:rem (Results 1 – 7 of 7) sorted by relevance
/fs/udf/ |
D | udftime.c | 121 long int days, rem, y; in udf_time_to_disk_stamp() local 134 rem = ts.tv_sec % SECS_PER_DAY; in udf_time_to_disk_stamp() 135 dest->hour = rem / SECS_PER_HOUR; in udf_time_to_disk_stamp() 136 rem %= SECS_PER_HOUR; in udf_time_to_disk_stamp() 137 dest->minute = rem / 60; in udf_time_to_disk_stamp() 138 dest->second = rem % 60; in udf_time_to_disk_stamp()
|
/fs/notify/inotify/ |
D | inotify_user.c | 206 size_t len, rem, event_size = sizeof(struct inotify_event); in kernel_event() local 216 rem = event_size - len; in kernel_event() 218 rem = event_size - (len % event_size); in kernel_event() 220 rem = 0; in kernel_event() 223 kevent->name = kmalloc(len + rem, GFP_KERNEL); in kernel_event() 229 if (rem) in kernel_event() 230 memset(kevent->name + len, 0, rem); in kernel_event() 231 kevent->event.len = len + rem; in kernel_event()
|
/fs/jfs/ |
D | jfs_imap.c | 1350 int nwords, rem, i, agno; in diAlloc() local 1516 rem = diFindFree(inosmap, 0); in diAlloc() 1517 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc() 1518 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc() 1520 if (rem >= INOSPEREXT) { in diAlloc() 1534 ino = (extno << L2INOSPEREXT) + rem; in diAlloc() 1564 rem = diFindFree(extsmap, 0); in diAlloc() 1565 extno = (sword << L2EXTSPERSUM) + rem; in diAlloc() 1792 int iagno, ino, rc, rem, extno, sword; in diAllocIno() local 1842 rem = diFindFree(le32_to_cpu(iagp->inosmap[sword]), 0); in diAllocIno() [all …]
|
D | jfs_dmap.c | 336 s64 lblkno, rem; in dbFree() local 357 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { in dbFree() 375 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree() 423 s64 lblkno, rem, lastlblkno; in dbUpdatePMap() local 451 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap() 473 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap() 3108 s64 lblkno, rem; in dbAllocBottomUp() local 3121 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { in dbAllocBottomUp() 3139 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbAllocBottomUp()
|
/fs/jffs2/ |
D | readinode.c | 945 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/hppfs/ |
D | hppfs.c | 257 int rem; in hppfs_read() local 272 rem = copy_to_user(buf, &data->contents[off], count); in hppfs_read() 273 *ppos += count - rem; in hppfs_read() 274 if (rem > 0) in hppfs_read()
|
/fs/xfs/ |
D | xfs_mount.c | 1456 long long res_used, rem; in xfs_mod_incore_sb_unlocked() local 1492 rem = delta - res_used; in xfs_mod_incore_sb_unlocked() 1494 lcounter += rem; in xfs_mod_incore_sb_unlocked()
|