/fs/hfs/ |
H A D | sysdep.c | 19 int diff; local 29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; 30 if (diff) { 31 inode->i_ctime.tv_sec += diff; 32 inode->i_atime.tv_sec += diff; 33 inode->i_mtime.tv_sec += diff; 34 HFS_I(inode)->tz_secondswest += diff;
|
H A D | brec.c | 354 int newkeylen, diff; local 382 diff = newkeylen - fd->keylength; 383 if (!diff) 385 if (diff > 0) { 387 if (end_rec_off - end_off < diff) { 402 hfs_bnode_write_u16(parent, rec_off, start_off + diff); 408 hfs_bnode_write_u16(parent, rec_off, end_off + diff); 410 hfs_bnode_move(parent, start_off + diff, start_off,
|
/fs/ext4/ |
H A D | mmp.c | 137 unsigned long diff; local 189 diff = jiffies - last_update_time; 190 if (diff < mmp_update_interval * HZ) 192 HZ - diff); 199 diff = jiffies - last_update_time; 200 if (diff > mmp_check_interval * HZ) { 231 mmp_check_interval = max(min(EXT4_MMP_CHECK_MULT * diff / HZ,
|
/fs/hfsplus/ |
H A D | brec.c | 358 int newkeylen, diff; local 387 diff = newkeylen - fd->keylength; 388 if (!diff) 390 if (diff > 0) { 392 if (end_rec_off - end_off < diff) { 408 hfs_bnode_write_u16(parent, rec_off, start_off + diff); 414 hfs_bnode_write_u16(parent, rec_off, end_off + diff); 416 hfs_bnode_move(parent, start_off + diff, start_off,
|
/fs/nfs/blocklayout/ |
H A D | extent_tree.c | 275 sector_t diff = new->be_length - new_len; local 277 new->be_f_offset += diff; 278 new->be_v_offset += diff; 288 sector_t diff = new->be_length - new_len; local 300 new->be_f_offset += diff; 301 new->be_v_offset += diff; 422 sector_t diff = start - be->be_f_offset; local 424 left->be_length += diff; 426 be->be_f_offset += diff; 427 be->be_v_offset += diff; 440 sector_t diff = end - be->be_f_offset; local [all...] |
/fs/nfs/ |
H A D | fscache.c | 72 int diff; local 110 diff = memcmp(&key->key, &xkey->key, sizeof(key->key)); 111 if (diff < 0) 113 if (diff > 0) 118 diff = memcmp(key->key.uniquifier, 121 if (diff < 0) 123 if (diff > 0)
|
H A D | dir.c | 264 loff_t diff = desc->ctx->pos - desc->current_index; local 267 if (diff < 0) 269 if (diff >= array->size) { 275 index = (unsigned int)diff; 2157 unsigned long diff; local 2163 diff = nr_entries - nfs_access_max_cachesize; 2164 if (diff < nr_to_scan) 2165 nr_to_scan = diff;
|
/fs/nilfs2/ |
H A D | bmap.c | 445 __s64 diff; local 447 diff = key - bmap->b_last_allocated_key; 448 if ((nilfs_bmap_keydiff_abs(diff) < NILFS_INODE_BMAP_SIZE) && 450 (bmap->b_last_allocated_ptr + diff > 0)) 451 return bmap->b_last_allocated_ptr + diff;
|
/fs/xfs/libxfs/ |
H A D | xfs_alloc_btree.c | 259 __int64_t diff; local 266 diff = (__int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; 267 if (diff) 268 return diff;
|
H A D | xfs_alloc.c | 159 xfs_extlen_t diff = aligned_bno - bno; local 162 *reslen = diff >= len ? 0 : len - diff; 170 * Compute best start block and diff for "near" allocations. 280 int diff; /* free space difference */ local 285 diff = be32_to_cpu(agf->agf_freeblks) 287 if (diff >= 0) 289 args->len += diff; /* shrink the allocated space */
|
H A D | xfs_bmap.c | 1744 int diff; /* temp value */ local 2213 diff = (int)(temp + temp2 - startblockval(PREV.br_startblock) - 2215 if (diff > 0) { 2218 -((int64_t)diff), 0);
|
H A D | xfs_btree.c | 1705 __int64_t diff; /* difference for the current key */ local 1730 for (level = cur->bc_nlevels - 1, diff = 1; level >= 0; level--) { 1736 if (diff == 0) { 1781 diff = cur->bc_ops->key_diff(cur, kp); 1782 if (diff < 0) 1784 else if (diff > 0) 1800 if (diff > 0 && --keyno < 1) 1814 if (dir != XFS_LOOKUP_LE && diff < 0) { 1835 } else if (dir == XFS_LOOKUP_LE && diff > 0) 1842 else if (dir != XFS_LOOKUP_EQ || diff [all...] |
/fs/pstore/ |
H A D | platform.c | 250 size_t diff; local 255 diff = total_len - psinfo->bufsize + hsize; 257 memcpy(psinfo->buf + hsize, big_oops_buf + diff,
|
/fs/btrfs/ |
H A D | file-item.c | 175 u32 diff; local 273 diff = disk_bytenr - item_start_offset; 274 diff = diff / root->sectorsize; 275 diff = diff * csum_size; 279 ((unsigned long)item) + diff, 793 u32 diff; local 807 diff = (csum_offset + extend_nr) * csum_size; 808 diff [all...] |
H A D | file.c | 627 u64 diff = start + len - em->start; local 648 + diff;
|
H A D | volumes.c | 2454 u64 diff; local 2461 diff = new_size - device->total_bytes; 2471 btrfs_set_super_total_bytes(super_copy, old_total + diff); 2472 device->fs_devices->total_rw_bytes += diff; 3974 u64 diff = old_size - new_size; local 3989 device->fs_devices->total_rw_bytes -= diff; 3991 root->fs_info->free_chunk_space -= diff; 4055 device->fs_devices->total_rw_bytes += diff; 4057 root->fs_info->free_chunk_space += diff; 4076 WARN_ON(diff > old_tota [all...] |
/fs/ |
H A D | exec.c | 173 long diff = (long)(pages - bprm->vma_pages); local 175 if (!mm || !diff) 179 add_mm_counter(mm, MM_ANONPAGES, diff);
|
/fs/f2fs/ |
H A D | checkpoint.c | 201 long diff, written; local 212 diff = nr_pages_to_write(sbi, META, wbc); 215 wbc->nr_to_write = max((long)0, wbc->nr_to_write - written - diff);
|
H A D | data.c | 903 long diff; local 916 diff = nr_pages_to_write(sbi, DATA, wbc); 930 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff);
|
H A D | node.c | 1322 long diff; local 1333 diff = nr_pages_to_write(sbi, NODE, wbc); 1336 wbc->nr_to_write = max((long)0, wbc->nr_to_write - diff);
|
/fs/xfs/ |
H A D | xfs_buf.c | 1753 xfs_daddr_t diff; local 1755 diff = ap->b_maps[0].bm_bn - bp->b_maps[0].bm_bn; 1756 if (diff < 0) 1758 if (diff > 0)
|
/fs/gfs2/ |
H A D | rgrp.c | 276 /* Adjust for the size diff between gfs2_meta_header and gfs2_rgrp */ 1246 u8 diff; local 1254 diff = ~(*orig | (*orig >> 1)) & (*clone | (*clone >> 1)); 1256 diff = ~(*clone | (*clone >> 1)); 1258 diff &= 0x55; 1259 if (diff == 0) 1262 while(diff) { 1263 if (diff & 1) { 1281 diff >>= 2;
|