/fs/ |
D | timerfd.c | 34 } t; member 76 t.tmr); in timerfd_tmrproc() 85 t.alarm); in timerfd_alarmproc() 165 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining() 167 remaining = hrtimer_expires_remaining_adjusted(&ctx->t.tmr); in timerfd_get_remaining() 188 alarm_init(&ctx->t.alarm, in timerfd_setup() 193 hrtimer_init(&ctx->t.tmr, clockid, htmode); in timerfd_setup() 194 hrtimer_set_expires(&ctx->t.tmr, texp); in timerfd_setup() 195 ctx->t.tmr.function = timerfd_tmrproc; in timerfd_setup() 201 alarm_start(&ctx->t.alarm, texp); in timerfd_setup() [all …]
|
D | utimes.c | 226 struct old_utimbuf32 __user *, t) in SYSCALL_DEFINE2() 230 if (t) { in SYSCALL_DEFINE2() 231 if (get_user(tv[0].tv_sec, &t->actime) || in SYSCALL_DEFINE2() 232 get_user(tv[1].tv_sec, &t->modtime)) in SYSCALL_DEFINE2() 237 return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); in SYSCALL_DEFINE2() 241 …2, unsigned int, dfd, const char __user *, filename, struct old_timespec32 __user *, t, int, flags) in SYSCALL_DEFINE4() argument 245 if (t) { in SYSCALL_DEFINE4() 246 if (get_old_timespec32(&tv[0], &t[0]) || in SYSCALL_DEFINE4() 247 get_old_timespec32(&tv[1], &t[1])) in SYSCALL_DEFINE4() 253 return do_utimes(dfd, filename, t ? tv : NULL, flags); in SYSCALL_DEFINE4() [all …]
|
D | binfmt_elf.c | 1699 static int fill_thread_core_info(struct elf_thread_core_info *t, in fill_thread_core_info() argument 1704 unsigned int regset0_size = regset_size(t->task, &view->regsets[0]); in fill_thread_core_info() 1712 fill_prstatus(&t->prstatus, t->task, signr); in fill_thread_core_info() 1713 (void) view->regsets[0].get(t->task, &view->regsets[0], 0, regset0_size, in fill_thread_core_info() 1714 &t->prstatus.pr_reg, NULL); in fill_thread_core_info() 1716 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, in fill_thread_core_info() 1717 PRSTATUS_SIZE(t->prstatus, regset0_size), &t->prstatus); in fill_thread_core_info() 1718 *total += notesize(&t->notes[0]); in fill_thread_core_info() 1720 do_thread_regset_writeback(t->task, &view->regsets[0]); in fill_thread_core_info() 1729 do_thread_regset_writeback(t->task, regset); in fill_thread_core_info() [all …]
|
D | binfmt_elf_fdpic.c | 1440 static int elf_dump_thread_status(long signr, struct elf_thread_status *t) in elf_dump_thread_status() argument 1442 struct task_struct *p = t->thread; in elf_dump_thread_status() 1445 t->num_notes = 0; in elf_dump_thread_status() 1447 fill_prstatus(&t->prstatus, p, signr); in elf_dump_thread_status() 1448 elf_core_copy_task_regs(p, &t->prstatus.pr_reg); in elf_dump_thread_status() 1450 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status() 1451 &t->prstatus); in elf_dump_thread_status() 1452 t->num_notes++; in elf_dump_thread_status() 1453 sz += notesize(&t->notes[0]); in elf_dump_thread_status() 1455 t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, &t->fpu); in elf_dump_thread_status() [all …]
|
/fs/cifs/ |
D | dfs_cache.c | 113 struct dfs_cache_tgt *t, *n; in free_tgts() local 115 list_for_each_entry_safe(t, n, &ce->ce_tlist, t_list) { in free_tgts() 116 list_del(&t->t_list); in free_tgts() 117 kfree(t->t_name); in free_tgts() 118 kfree(t); in free_tgts() 163 struct dfs_cache_tgt *t; in dfscache_proc_show() local 181 list_for_each_entry(t, &ce->ce_tlist, t_list) { in dfscache_proc_show() 183 t->t_name, in dfscache_proc_show() 184 ce->ce_tgthint == t ? " (target hint)" : ""); in dfscache_proc_show() 231 struct dfs_cache_tgt *t; in dump_tgts() local [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/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() 138 erofs_vtptr_t t; in z_erofs_pagevec_dequeue() local 145 t = ctor->pages[ctor->index]; in z_erofs_pagevec_dequeue() 147 *type = tagptr_unfold_tags(t); in z_erofs_pagevec_dequeue() 151 ctor->next = tagptr_unfold_ptr(t); in z_erofs_pagevec_dequeue() 154 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/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/afs/ |
D | write.c | 86 unsigned t, to = from + len; in afs_write_begin() local 120 t = f = 0; in afs_write_begin() 124 t = priv >> AFS_PRIV_SHIFT; in afs_write_begin() 125 ASSERTCMP(f, <=, t); in afs_write_begin() 128 if (f != t) { in afs_write_begin() 139 (to < f || from > t)) in afs_write_begin() 143 if (to > t) in afs_write_begin() 144 t = to; in afs_write_begin() 147 t = to; in afs_write_begin() 150 priv = (unsigned long)t << AFS_PRIV_SHIFT; in afs_write_begin() [all …]
|
/fs/f2fs/ |
D | sysfs.c | 210 unsigned long t; in __sbi_store() local 255 ret = kstrtoul(skip_spaces(buf), 0, &t); in __sbi_store() 259 if (a->struct_type == FAULT_INFO_TYPE && t >= (1 << FAULT_MAX)) in __sbi_store() 261 if (a->struct_type == FAULT_INFO_RATE && t >= UINT_MAX) in __sbi_store() 266 if (t > (unsigned long)(sbi->user_block_count - in __sbi_store() 271 *ui = t; in __sbi_store() 279 if (t == 0 || t > MAX_PLIST_NUM) in __sbi_store() 281 if (t == *ui) in __sbi_store() 283 *ui = t; in __sbi_store() 288 if (t == 0 || t > sbi->segs_per_sec) in __sbi_store() [all …]
|
D | segment.h | 24 #define IS_DATASEG(t) ((t) <= CURSEG_COLD_DATA) argument 25 #define IS_NODESEG(t) ((t) >= CURSEG_HOT_NODE) argument 27 #define IS_HOT(t) ((t) == CURSEG_HOT_NODE || (t) == CURSEG_HOT_DATA) argument 28 #define IS_WARM(t) ((t) == CURSEG_WARM_NODE || (t) == CURSEG_WARM_DATA) argument 29 #define IS_COLD(t) ((t) == CURSEG_COLD_NODE || (t) == CURSEG_COLD_DATA) argument
|
/fs/ext4/ |
D | sysfs.c | 83 unsigned long t; in inode_readahead_blks_store() local 86 ret = kstrtoul(skip_spaces(buf), 0, &t); in inode_readahead_blks_store() 90 if (t && (!is_power_of_2(t) || t > 0x40000000)) in inode_readahead_blks_store() 93 sbi->s_inode_readahead_blks = t; in inode_readahead_blks_store() 347 unsigned long t; in ext4_attr_store() local 356 ret = kstrtoul(skip_spaces(buf), 0, &t); in ext4_attr_store() 360 *((__le32 *) ptr) = cpu_to_le32(t); in ext4_attr_store() 362 *((unsigned int *) ptr) = t; in ext4_attr_store()
|
/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/adfs/ |
D | dir_fplus.c | 15 struct adfs_bigdirtail *t; in adfs_fplus_read() local 86 t = (struct adfs_bigdirtail *) in adfs_fplus_read() 89 if (t->bigdirendname != cpu_to_le32(BIGDIRENDNAME) || in adfs_fplus_read() 90 t->bigdirendmasseq != h->startmasseq || in adfs_fplus_read() 91 t->reserved[0] != 0 || t->reserved[1] != 0) { in adfs_fplus_read()
|
/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 | 3012 struct dtslot *t; in jfs_readdir() local 3245 t = (struct dtslot *) & p->slot[next]; in jfs_readdir() 3258 outlen = jfs_strfromUCS_le(name_ptr, t->name, in jfs_readdir() 3262 next = t->next; in jfs_readdir() 3586 struct dtslot *t; in dtCompare() local 3625 t = (struct dtslot *) & p->slot[si]; in dtCompare() 3628 name = t->name; in dtCompare() 3635 si = t->next; in dtCompare() 3664 struct dtslot *t; in ciCompare() local 3728 t = (struct dtslot *) & p->slot[si]; in ciCompare() [all …]
|
/fs/ubifs/ |
D | key.h | 436 union ubifs_key *t = to; in key_write() local 438 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write() 439 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write() 452 union ubifs_key *t = to; in key_write_idx() local 454 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write_idx() 455 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write_idx()
|
/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/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/hfsplus/ |
D | hfsplus_fs.h | 537 #define __hfsp_mt2ut(t) (be32_to_cpu(t) - 2082844800U) argument 538 #define __hfsp_ut2mt(t) (cpu_to_be32(t + 2082844800U)) argument 541 #define hfsp_mt2ut(t) (struct timespec){ .tv_sec = __hfsp_mt2ut(t) } argument 542 #define hfsp_ut2mt(t) __hfsp_ut2mt((t).tv_sec) argument
|
/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
|
/fs/hpfs/ |
D | dnode.c | 86 static void hpfs_pos_subst(loff_t *p, loff_t f, loff_t t) in hpfs_pos_subst() argument 88 if (*p == f) *p = t; in hpfs_pos_subst() 277 loff_t t; in hpfs_add_to_dnode() local 279 t = get_pos(d, de); in hpfs_add_to_dnode() 280 for_all_poss(i, hpfs_pos_ins, t, 1); in hpfs_add_to_dnode() 281 for_all_poss(i, hpfs_pos_subst, 4, t); in hpfs_add_to_dnode() 282 for_all_poss(i, hpfs_pos_subst, 5, t + 1); in hpfs_add_to_dnode() 441 loff_t t; in move_to_top() local 493 t = get_pos(dnode, de); in move_to_top() 494 for_all_poss(i, hpfs_pos_subst, t, 4); in move_to_top() [all …]
|