/fs/ |
D | timerfd.c | 37 } t; member 79 t.tmr); in timerfd_tmrproc() 88 t.alarm); in timerfd_alarmproc() 168 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining() 170 remaining = hrtimer_expires_remaining_adjusted(&ctx->t.tmr); in timerfd_get_remaining() 191 alarm_init(&ctx->t.alarm, in timerfd_setup() 196 hrtimer_init(&ctx->t.tmr, clockid, htmode); in timerfd_setup() 197 hrtimer_set_expires(&ctx->t.tmr, texp); in timerfd_setup() 198 ctx->t.tmr.function = timerfd_tmrproc; in timerfd_setup() 206 alarm_start(&ctx->t.alarm, texp); in timerfd_setup() [all …]
|
D | utimes.c | 235 struct old_utimbuf32 __user *, t) in SYSCALL_DEFINE2() 239 if (t) { in SYSCALL_DEFINE2() 240 if (get_user(tv[0].tv_sec, &t->actime) || in SYSCALL_DEFINE2() 241 get_user(tv[1].tv_sec, &t->modtime)) in SYSCALL_DEFINE2() 246 return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); in SYSCALL_DEFINE2() 250 …2, unsigned int, dfd, const char __user *, filename, struct old_timespec32 __user *, t, int, flags) in SYSCALL_DEFINE4() argument 254 if (t) { in SYSCALL_DEFINE4() 255 if (get_old_timespec32(&tv[0], &t[0]) || in SYSCALL_DEFINE4() 256 get_old_timespec32(&tv[1], &t[1])) in SYSCALL_DEFINE4() 262 return do_utimes(dfd, filename, t ? tv : NULL, flags); in SYSCALL_DEFINE4() [all …]
|
D | binfmt_elf.c | 1740 static int fill_thread_core_info(struct elf_thread_core_info *t, in fill_thread_core_info() argument 1753 fill_prstatus(&t->prstatus, t->task, signr); in fill_thread_core_info() 1754 regset0_size = regset_get(t->task, &view->regsets[0], in fill_thread_core_info() 1755 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in fill_thread_core_info() 1759 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, in fill_thread_core_info() 1760 PRSTATUS_SIZE(t->prstatus, regset0_size), &t->prstatus); in fill_thread_core_info() 1761 *total += notesize(&t->notes[0]); in fill_thread_core_info() 1763 do_thread_regset_writeback(t->task, &view->regsets[0]); in fill_thread_core_info() 1777 do_thread_regset_writeback(t->task, regset); in fill_thread_core_info() 1780 if (regset->active && regset->active(t->task, regset) <= 0) in fill_thread_core_info() [all …]
|
D | binfmt_elf_fdpic.c | 1401 struct elf_thread_status *t; in elf_dump_thread_status() local 1404 t = kzalloc(sizeof(struct elf_thread_status), GFP_KERNEL); in elf_dump_thread_status() 1405 if (!t) in elf_dump_thread_status() 1406 return t; in elf_dump_thread_status() 1408 fill_prstatus(&t->prstatus, p, signr); in elf_dump_thread_status() 1410 sizeof(t->prstatus.pr_reg), &t->prstatus.pr_reg); in elf_dump_thread_status() 1412 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status() 1413 &t->prstatus); in elf_dump_thread_status() 1414 t->num_notes++; in elf_dump_thread_status() 1415 *sz += notesize(&t->notes[0]); in elf_dump_thread_status() [all …]
|
/fs/nls/ |
D | nls_base.c | 59 const struct utf8_table *t; in utf8_to_utf32() local 64 for (t = utf8_table; t->cmask; t++) { in utf8_to_utf32() 66 if ((c0 & t->cmask) == t->cval) { in utf8_to_utf32() 67 l &= t->lmask; in utf8_to_utf32() 68 if (l < t->lval || l > UNICODE_MAX || in utf8_to_utf32() 90 const struct utf8_table *t; in utf32_to_utf8() local 100 for (t = utf8_table; t->cmask && maxout; t++, maxout--) { in utf32_to_utf8() 102 if (l <= t->lmask) { in utf32_to_utf8() 103 c = t->shift; in utf32_to_utf8() 104 *s = (u8) (t->cval | (l >> c)); in utf32_to_utf8()
|
/fs/cifs/ |
D | dfs_cache.c | 114 struct cache_dfs_tgt *t, *n; in free_tgts() local 116 list_for_each_entry_safe(t, n, &ce->tlist, list) { in free_tgts() 117 list_del(&t->list); in free_tgts() 118 kfree(t->name); in free_tgts() 119 kfree(t); in free_tgts() 155 struct cache_dfs_tgt *t; in dfscache_proc_show() local 177 list_for_each_entry(t, &ce->tlist, list) { in dfscache_proc_show() 179 t->name, in dfscache_proc_show() 180 ce->tgthint == t ? " (target hint)" : ""); in dfscache_proc_show() 227 struct cache_dfs_tgt *t; in dump_tgts() local [all …]
|
/fs/adfs/ |
D | dir_fplus.c | 60 const struct adfs_bigdirtail *t) in adfs_fplus_validate_tail() argument 62 if (t->bigdirendname != cpu_to_le32(BIGDIRENDNAME) || in adfs_fplus_validate_tail() 63 t->bigdirendmasseq != h->startmasseq || in adfs_fplus_validate_tail() 64 t->reserved[0] != 0 || t->reserved[1] != 0) in adfs_fplus_validate_tail() 73 struct adfs_bigdirtail *t = dir->bigtail; in adfs_fplus_checkbyte() local 95 dircheck = ror32(dircheck, 13) ^ le32_to_cpu(t->bigdirendname); in adfs_fplus_checkbyte() 96 dircheck = ror32(dircheck, 13) ^ t->bigdirendmasseq; in adfs_fplus_checkbyte() 97 dircheck = ror32(dircheck, 13) ^ t->reserved[0]; in adfs_fplus_checkbyte() 98 dircheck = ror32(dircheck, 13) ^ t->reserved[1]; in adfs_fplus_checkbyte() 107 struct adfs_bigdirtail *t; in adfs_fplus_read() local [all …]
|
/fs/f2fs/ |
D | sysfs.c | 337 unsigned long t; in __sbi_store() local 414 ret = kstrtoul(skip_spaces(buf), 0, &t); in __sbi_store() 418 if (a->struct_type == FAULT_INFO_TYPE && t >= (1 << FAULT_MAX)) in __sbi_store() 420 if (a->struct_type == FAULT_INFO_RATE && t >= UINT_MAX) in __sbi_store() 425 if (t > (unsigned long)(sbi->user_block_count - in __sbi_store() 432 *ui = t; in __sbi_store() 440 if (t == 0 || t > MAX_PLIST_NUM) in __sbi_store() 442 if (t == *ui) in __sbi_store() 444 *ui = t; in __sbi_store() 449 if (t == 0 || t > sbi->segs_per_sec) in __sbi_store() [all …]
|
D | segment.h | 25 #define IS_DATASEG(t) ((t) <= CURSEG_COLD_DATA) argument 26 #define IS_NODESEG(t) ((t) >= CURSEG_HOT_NODE && (t) <= CURSEG_COLD_NODE) argument 35 #define IS_HOT(t) ((t) == CURSEG_HOT_NODE || (t) == CURSEG_HOT_DATA) argument 36 #define IS_WARM(t) ((t) == CURSEG_WARM_NODE || (t) == CURSEG_WARM_DATA) argument 37 #define IS_COLD(t) ((t) == CURSEG_COLD_NODE || (t) == CURSEG_COLD_DATA) argument
|
/fs/erofs/ |
D | zpvec.h | 60 const erofs_vtptr_t t = ctor->pages[index]; in z_erofs_pagevec_ctor_next_page() local 61 const unsigned int tags = tagptr_unfold_tags(t); in z_erofs_pagevec_ctor_next_page() 64 return tagptr_unfold_ptr(t); in z_erofs_pagevec_ctor_next_page() 142 erofs_vtptr_t t; in z_erofs_pagevec_dequeue() local 149 t = ctor->pages[ctor->index]; in z_erofs_pagevec_dequeue() 151 *type = tagptr_unfold_tags(t); in z_erofs_pagevec_dequeue() 155 ctor->next = tagptr_unfold_ptr(t); in z_erofs_pagevec_dequeue() 158 return tagptr_unfold_ptr(t); in z_erofs_pagevec_dequeue()
|
/fs/fscache/ |
D | object.c | 169 const struct fscache_transition *t; in fscache_object_sm_dispatcher() local 192 for (t = object->oob_table; t->events; t++) { in fscache_object_sm_dispatcher() 193 if (events & t->events) { in fscache_object_sm_dispatcher() 194 state = t->transit_to; in fscache_object_sm_dispatcher() 196 event = fls(events & t->events) - 1; in fscache_object_sm_dispatcher() 208 for (t = state->transitions; t->events; t++) { in fscache_object_sm_dispatcher() 209 if (events & t->events) { in fscache_object_sm_dispatcher() 210 new_state = t->transit_to; in fscache_object_sm_dispatcher() 211 event = fls(events & t->events) - 1; in fscache_object_sm_dispatcher() 261 for (t = state->transitions; t->events; t++) in fscache_object_sm_dispatcher() [all …]
|
D | histogram.c | 26 unsigned n[5], t; in fscache_histogram_show() local 45 t = (index * 1000) / HZ; in fscache_histogram_show() 48 index, t, n[0], n[1], n[2], n[3], n[4]); in fscache_histogram_show()
|
/fs/xfs/ |
D | xfs_rtalloc.h | 139 # define xfs_rtallocate_extent(t,b,min,max,l,f,p,rb) (ENOSYS) argument 140 # define xfs_rtfree_extent(t,b,l) (ENOSYS) argument 141 # define xfs_rtpick_extent(m,t,l,rb) (ENOSYS) argument 143 # define xfs_rtalloc_query_range(t,l,h,f,p) (ENOSYS) argument 144 # define xfs_rtalloc_query_all(t,f,p) (ENOSYS) argument 145 # define xfs_rtbuf_get(m,t,b,i,p) (ENOSYS) argument 147 # define xfs_rtalloc_extent_is_free(m,t,s,l,i) (ENOSYS) argument
|
/fs/exfat/ |
D | misc.c | 80 u16 t = le16_to_cpu(time); in exfat_get_entry_time() local 84 t >> 11, (t >> 5) & 0x003F, (t & 0x001F) << 1); in exfat_get_entry_time() 107 u16 t, d; in exfat_set_entry_time() local 110 t = (tm.tm_hour << 11) | (tm.tm_min << 5) | (tm.tm_sec >> 1); in exfat_set_entry_time() 113 *time = cpu_to_le16(t); in exfat_set_entry_time()
|
/fs/affs/ |
D | Changes | 4 then, 3.1 doesn't mean 'perfectly stable', too.) 9 - Doesn't work on the alpha. The only 64/32-bit 17 doesn't work with devices which have 256 byte 124 systems, since you can't run programs on them. 132 Didn't release all resources in case of an 171 - getblock() didn't update the lastblock field in the 189 the bitmap was changed, so the bitmap wasn't sync'd. 192 zone number was zero, the loop didn't terminate, 198 the pointer to the next entry in the hash chain wasn't 200 affs use it on a 68k, they didn't notice. But why did [all …]
|
/fs/xfs/libxfs/ |
D | xfs_dquot_buf.c | 305 uint32_t t = be32_to_cpu(dtimer); in xfs_dquot_from_disk_ts() local 307 if (t != 0 && (ddq->d_type & XFS_DQTYPE_BIGTIME)) in xfs_dquot_from_disk_ts() 308 return xfs_dq_bigtime_to_unix(t); in xfs_dquot_from_disk_ts() 310 return t; in xfs_dquot_from_disk_ts() 319 uint32_t t = timer; in xfs_dquot_to_disk_ts() local 322 t = xfs_dq_unix_to_bigtime(timer); in xfs_dquot_to_disk_ts() 324 return cpu_to_be32(t); in xfs_dquot_to_disk_ts()
|
/fs/afs/ |
D | write.c | 86 unsigned t, to = from + len; in afs_write_begin() local 112 t = f = 0; in afs_write_begin() 116 t = afs_page_dirty_to(priv); in afs_write_begin() 117 ASSERTCMP(f, <=, t); in afs_write_begin() 120 if (f != t) { in afs_write_begin() 131 (to < f || from > t)) in afs_write_begin() 170 unsigned int t, to = from + copied; in afs_write_end() local 208 t = afs_page_dirty_to(priv); in afs_write_end() 211 if (to > t) in afs_write_end() 212 t = to; in afs_write_end() [all …]
|
/fs/configfs/ |
D | item.c | 121 const struct config_item_type *t = item->ci_type; in config_item_cleanup() local 129 if (t && t->ct_item_ops && t->ct_item_ops->release) in config_item_cleanup() 130 t->ct_item_ops->release(item); in config_item_cleanup()
|
/fs/ext4/ |
D | sysfs.c | 90 unsigned long t; in inode_readahead_blks_store() local 93 ret = kstrtoul(skip_spaces(buf), 0, &t); in inode_readahead_blks_store() 97 if (t && (!is_power_of_2(t) || t > 0x40000000)) in inode_readahead_blks_store() 100 sbi->s_inode_readahead_blks = t; in inode_readahead_blks_store() 450 unsigned long t; in ext4_attr_store() local 459 ret = kstrtoul(skip_spaces(buf), 0, &t); in ext4_attr_store() 463 *((__le32 *) ptr) = cpu_to_le32(t); in ext4_attr_store() 465 *((unsigned int *) ptr) = t; in ext4_attr_store() 470 ret = kstrtoul(skip_spaces(buf), 0, &t); in ext4_attr_store() 473 *((unsigned long *) ptr) = t; in ext4_attr_store()
|
/fs/ntfs/ |
D | time.h | 79 u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); in ntfs2utc() local 84 ts.tv_nsec = do_div(t, 10000000) * 100; in ntfs2utc() 85 ts.tv_sec = t; in ntfs2utc()
|
/fs/jfs/ |
D | jfs_dtree.c | 3017 struct dtslot *t; in jfs_readdir() local 3250 t = (struct dtslot *) & p->slot[next]; in jfs_readdir() 3263 outlen = jfs_strfromUCS_le(name_ptr, t->name, in jfs_readdir() 3267 next = t->next; in jfs_readdir() 3591 struct dtslot *t; in dtCompare() local 3630 t = (struct dtslot *) & p->slot[si]; in dtCompare() 3633 name = t->name; in dtCompare() 3640 si = t->next; in dtCompare() 3669 struct dtslot *t; in ciCompare() local 3733 t = (struct dtslot *) & p->slot[si]; in ciCompare() [all …]
|
/fs/btrfs/ |
D | ordered-data.h | 146 btrfs_ordered_inode_tree_init(struct btrfs_ordered_inode_tree *t) in btrfs_ordered_inode_tree_init() argument 148 spin_lock_init(&t->lock); in btrfs_ordered_inode_tree_init() 149 t->tree = RB_ROOT; in btrfs_ordered_inode_tree_init() 150 t->last = NULL; in btrfs_ordered_inode_tree_init()
|
/fs/ubifs/ |
D | key.h | 435 union ubifs_key *t = to; in key_write() local 437 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write() 438 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write() 451 union ubifs_key *t = to; in key_write_idx() local 453 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write_idx() 454 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write_idx()
|
/fs/cachefiles/ |
D | proc.c | 23 unsigned x, y, z, t; in cachefiles_histogram_show() local 40 t = (index * 1000) / HZ; in cachefiles_histogram_show() 42 seq_printf(m, "%4lu 0.%03u %9u %9u %9u\n", index, t, x, y, z); in cachefiles_histogram_show()
|
/fs/cramfs/ |
D | README | 5 a bit looser, e.g. it doesn't care if the <file_data> items are 98 default mkcramfs doesn't test for & create holes, since cramfs in 99 kernels up to at least 2.3.39 didn't support holes. Run mkcramfs 132 <asm/page.h>. Personally I don't like this option, but it does 148 etc. macros as used by ext2fs. We don't need to swab the compressed 167 value don't get as good compression as they can. 172 they don't mind their cramfs being inaccessible to kernels with 175 Option 3 is easy to implement if we don't mind being CPU-inefficient: 177 must be no larger than 32KB) and discard what it doesn't need. 196 by filename, so the expansion doesn't even have to be a multiple of 4
|