/fs/ |
D | timerfd.c | 33 } t; member 75 t.tmr); in timerfd_tmrproc() 84 t.alarm); in timerfd_alarmproc() 164 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining() 166 remaining = hrtimer_expires_remaining_adjusted(&ctx->t.tmr); in timerfd_get_remaining() 187 alarm_init(&ctx->t.alarm, in timerfd_setup() 192 hrtimer_init(&ctx->t.tmr, clockid, htmode); in timerfd_setup() 193 hrtimer_set_expires(&ctx->t.tmr, texp); in timerfd_setup() 194 ctx->t.tmr.function = timerfd_tmrproc; in timerfd_setup() 200 alarm_start(&ctx->t.alarm, texp); in timerfd_setup() [all …]
|
D | binfmt_elf.c | 1678 static int fill_thread_core_info(struct elf_thread_core_info *t, in fill_thread_core_info() argument 1691 fill_prstatus(&t->prstatus, t->task, signr); in fill_thread_core_info() 1692 (void) view->regsets[0].get(t->task, &view->regsets[0], 0, regset_size, in fill_thread_core_info() 1693 &t->prstatus.pr_reg, NULL); in fill_thread_core_info() 1695 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, in fill_thread_core_info() 1696 PRSTATUS_SIZE(t->prstatus, regset_size), &t->prstatus); in fill_thread_core_info() 1697 *total += notesize(&t->notes[0]); in fill_thread_core_info() 1699 do_thread_regset_writeback(t->task, &view->regsets[0]); in fill_thread_core_info() 1708 do_thread_regset_writeback(t->task, regset); in fill_thread_core_info() 1710 (!regset->active || regset->active(t->task, regset))) { in fill_thread_core_info() [all …]
|
D | binfmt_elf_fdpic.c | 1430 static int elf_dump_thread_status(long signr, struct elf_thread_status *t) in elf_dump_thread_status() argument 1432 struct task_struct *p = t->thread; in elf_dump_thread_status() 1435 t->num_notes = 0; in elf_dump_thread_status() 1437 fill_prstatus(&t->prstatus, p, signr); in elf_dump_thread_status() 1438 elf_core_copy_task_regs(p, &t->prstatus.pr_reg); in elf_dump_thread_status() 1440 fill_note(&t->notes[0], "CORE", NT_PRSTATUS, sizeof(t->prstatus), in elf_dump_thread_status() 1441 &t->prstatus); in elf_dump_thread_status() 1442 t->num_notes++; in elf_dump_thread_status() 1443 sz += notesize(&t->notes[0]); in elf_dump_thread_status() 1445 t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, &t->fpu); in elf_dump_thread_status() [all …]
|
D | compat.c | 62 struct compat_utimbuf __user *, t) in COMPAT_SYSCALL_DEFINE2() 66 if (t) { in COMPAT_SYSCALL_DEFINE2() 67 if (get_user(tv[0].tv_sec, &t->actime) || in COMPAT_SYSCALL_DEFINE2() 68 get_user(tv[1].tv_sec, &t->modtime)) in COMPAT_SYSCALL_DEFINE2() 73 return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); in COMPAT_SYSCALL_DEFINE2() 76 …, unsigned int, dfd, const char __user *, filename, struct compat_timespec __user *, t, int, flags) in COMPAT_SYSCALL_DEFINE4() argument 80 if (t) { in COMPAT_SYSCALL_DEFINE4() 81 if (compat_get_timespec(&tv[0], &t[0]) || in COMPAT_SYSCALL_DEFINE4() 82 compat_get_timespec(&tv[1], &t[1])) in COMPAT_SYSCALL_DEFINE4() 88 return do_utimes(dfd, filename, t ? tv : NULL, flags); in COMPAT_SYSCALL_DEFINE4() [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/fscache/ |
D | object.c | 170 const struct fscache_transition *t; in fscache_object_sm_dispatcher() local 191 for (t = object->oob_table; t->events; t++) { in fscache_object_sm_dispatcher() 192 if (events & t->events) { in fscache_object_sm_dispatcher() 193 state = t->transit_to; in fscache_object_sm_dispatcher() 195 event = fls(events & t->events) - 1; in fscache_object_sm_dispatcher() 206 for (t = state->transitions; t->events; t++) { in fscache_object_sm_dispatcher() 207 if (events & t->events) { in fscache_object_sm_dispatcher() 208 new_state = t->transit_to; in fscache_object_sm_dispatcher() 209 event = fls(events & t->events) - 1; in fscache_object_sm_dispatcher() 256 for (t = state->transitions; t->events; t++) in fscache_object_sm_dispatcher() [all …]
|
D | histogram.c | 30 unsigned n[5], t; in fscache_histogram_show() local 49 t = (index * 1000) / HZ; in fscache_histogram_show() 52 index, t, n[0], n[1], n[2], n[3], n[4]); in fscache_histogram_show()
|
/fs/ncpfs/ |
D | ncplib_kernel.h | 137 #define ncp_tolower(t, c) nls_tolower(t, c) argument 138 #define ncp_toupper(t, c) nls_toupper(t, c) argument 139 #define ncp_strnicmp(t, s1, s2, len) \ argument 140 nls_strnicmp(t, s1, s2, len) 152 #define ncp_tolower(t, c) tolower(c) argument 153 #define ncp_toupper(t, c) toupper(c) argument 158 static inline int ncp_strnicmp(const struct nls_table *t, in ncp_strnicmp() 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/configfs/ |
D | item.c | 143 struct config_item_type *t = item->ci_type; in config_item_cleanup() local 151 if (t && t->ct_item_ops && t->ct_item_ops->release) in config_item_cleanup() 152 t->ct_item_ops->release(item); in config_item_cleanup()
|
/fs/ext4/ |
D | sysfs.c | 79 unsigned long t; in inode_readahead_blks_store() local 82 ret = kstrtoul(skip_spaces(buf), 0, &t); in inode_readahead_blks_store() 86 if (t && (!is_power_of_2(t) || t > 0x40000000)) in inode_readahead_blks_store() 89 sbi->s_inode_readahead_blks = t; in inode_readahead_blks_store() 302 unsigned long t; in ext4_attr_store() local 311 ret = kstrtoul(skip_spaces(buf), 0, &t); in ext4_attr_store() 314 *((unsigned int *) ptr) = t; in ext4_attr_store()
|
D | namei.c | 279 void initialize_dirent_tail(struct ext4_dir_entry_tail *t, in initialize_dirent_tail() argument 282 memset(t, 0, sizeof(struct ext4_dir_entry_tail)); in initialize_dirent_tail() 283 t->det_rec_len = ext4_rec_len_to_disk( in initialize_dirent_tail() 285 t->det_reserved_ft = EXT4_FT_DIR_CSUM; in initialize_dirent_tail() 292 struct ext4_dir_entry_tail *t; in get_dirent_tail() local 308 t = (struct ext4_dir_entry_tail *)d; in get_dirent_tail() 310 t = EXT4_DIRENT_TAIL(de, EXT4_BLOCK_SIZE(inode->i_sb)); in get_dirent_tail() 313 if (t->det_reserved_zero1 || in get_dirent_tail() 314 le16_to_cpu(t->det_rec_len) != sizeof(struct ext4_dir_entry_tail) || in get_dirent_tail() 315 t->det_reserved_zero2 || in get_dirent_tail() [all …]
|
/fs/ntfs/ |
D | time.h | 90 u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); in ntfs2utc() local 95 ts.tv_nsec = do_div(t, 10000000) * 100; in ntfs2utc() 96 ts.tv_sec = t; in ntfs2utc()
|
/fs/f2fs/ |
D | segment.h | 27 #define IS_DATASEG(t) ((t) <= CURSEG_COLD_DATA) argument 28 #define IS_NODESEG(t) ((t) >= CURSEG_HOT_NODE) argument 30 #define IS_HOT(t) ((t) == CURSEG_HOT_NODE || (t) == CURSEG_HOT_DATA) argument 31 #define IS_WARM(t) ((t) == CURSEG_WARM_NODE || (t) == CURSEG_WARM_DATA) argument 32 #define IS_COLD(t) ((t) == CURSEG_COLD_NODE || (t) == CURSEG_COLD_DATA) argument
|
D | sysfs.c | 173 unsigned long t; in f2fs_sbi_store() local 218 ret = kstrtoul(skip_spaces(buf), 0, &t); in f2fs_sbi_store() 222 if (a->struct_type == FAULT_INFO_TYPE && t >= (1 << FAULT_MAX)) in f2fs_sbi_store() 227 if (t > (unsigned long)(sbi->user_block_count - in f2fs_sbi_store() 232 *ui = t; in f2fs_sbi_store() 240 if (t == 0 || t > MAX_PLIST_NUM) in f2fs_sbi_store() 242 if (t == *ui) in f2fs_sbi_store() 244 *ui = t; in f2fs_sbi_store() 248 *ui = t; in f2fs_sbi_store() 252 if (!strcmp(a->attr.name, "gc_urgent") && t == 1 && sbi->gc_thread) { in f2fs_sbi_store()
|
/fs/adfs/ |
D | dir_fplus.c | 19 struct adfs_bigdirtail *t; in adfs_fplus_read() local 91 t = (struct adfs_bigdirtail *) in adfs_fplus_read() 94 if (t->bigdirendname != cpu_to_le32(BIGDIRENDNAME) || in adfs_fplus_read() 95 t->bigdirendmasseq != h->startmasseq || in adfs_fplus_read() 96 t->reserved[0] != 0 || t->reserved[1] != 0) { in adfs_fplus_read()
|
/fs/cramfs/ |
D | README | 5 a bit looser, e.g. it doesn't care if the <file_data> items are 69 default mkcramfs doesn't test for & create holes, since cramfs in 70 kernels up to at least 2.3.39 didn't support holes. Run mkcramfs 103 <asm/page.h>. Personally I don't like this option, but it does 119 etc. macros as used by ext2fs. We don't need to swab the compressed 138 value don't get as good compression as they can. 143 they don't mind their cramfs being inaccessible to kernels with 146 Option 3 is easy to implement if we don't mind being CPU-inefficient: 148 must be no larger than 32KB) and discard what it doesn't need. 167 by filename, so the expansion doesn't even have to be a multiple of 4
|
/fs/jfs/ |
D | jfs_dtree.c | 3024 struct dtslot *t; in jfs_readdir() local 3257 t = (struct dtslot *) & p->slot[next]; in jfs_readdir() 3270 outlen = jfs_strfromUCS_le(name_ptr, t->name, in jfs_readdir() 3274 next = t->next; in jfs_readdir() 3598 struct dtslot *t; in dtCompare() local 3637 t = (struct dtslot *) & p->slot[si]; in dtCompare() 3640 name = t->name; in dtCompare() 3647 si = t->next; in dtCompare() 3676 struct dtslot *t; in ciCompare() local 3740 t = (struct dtslot *) & p->slot[si]; in ciCompare() [all …]
|
/fs/ubifs/ |
D | key.h | 446 union ubifs_key *t = to; in key_write() local 448 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write() 449 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write() 462 union ubifs_key *t = to; in key_write_idx() local 464 t->j32[0] = cpu_to_le32(from->u32[0]); in key_write_idx() 465 t->j32[1] = cpu_to_le32(from->u32[1]); in key_write_idx()
|
/fs/btrfs/ |
D | ordered-data.h | 156 btrfs_ordered_inode_tree_init(struct btrfs_ordered_inode_tree *t) in btrfs_ordered_inode_tree_init() argument 158 spin_lock_init(&t->lock); in btrfs_ordered_inode_tree_init() 159 t->tree = RB_ROOT; in btrfs_ordered_inode_tree_init() 160 t->last = NULL; in btrfs_ordered_inode_tree_init()
|
/fs/cachefiles/ |
D | proc.c | 27 unsigned x, y, z, t; in cachefiles_histogram_show() local 44 t = (index * 1000) / HZ; in cachefiles_histogram_show() 46 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 | 532 #define __hfsp_mt2ut(t) (be32_to_cpu(t) - 2082844800U) argument 533 #define __hfsp_ut2mt(t) (cpu_to_be32(t + 2082844800U)) argument 536 #define hfsp_mt2ut(t) (struct timespec){ .tv_sec = __hfsp_mt2ut(t) } argument 537 #define hfsp_ut2mt(t) __hfsp_ut2mt((t).tv_sec) argument
|
/fs/qnx6/ |
D | Kconfig | 15 If you don't know whether you need it, then you don't need it: 24 If you are not a developer working on the QNX6FS, you probably don't
|
/fs/hpfs/ |
D | dnode.c | 84 static void hpfs_pos_subst(loff_t *p, loff_t f, loff_t t) in hpfs_pos_subst() argument 86 if (*p == f) *p = t; in hpfs_pos_subst() 275 loff_t t; in hpfs_add_to_dnode() local 277 t = get_pos(d, de); in hpfs_add_to_dnode() 278 for_all_poss(i, hpfs_pos_ins, t, 1); in hpfs_add_to_dnode() 279 for_all_poss(i, hpfs_pos_subst, 4, t); in hpfs_add_to_dnode() 280 for_all_poss(i, hpfs_pos_subst, 5, t + 1); in hpfs_add_to_dnode() 440 loff_t t; in move_to_top() local 492 t = get_pos(dnode, de); in move_to_top() 493 for_all_poss(i, hpfs_pos_subst, t, 4); in move_to_top() [all …]
|
/fs/gfs2/ |
D | util.h | 97 u16 type, u16 t, 109 u16 t = be32_to_cpu(mh->mh_type); in gfs2_metatype_check_i() local 113 if (unlikely(t != type)) in gfs2_metatype_check_i() 114 return gfs2_metatype_check_ii(sdp, bh, type, t, function, in gfs2_metatype_check_i()
|