Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 11 of 11) sorted by relevance

/fs/
Deventpoll.c167 struct eventpoll *ep; member
378 static inline int ep_events_available(struct eventpoll *ep) in ep_events_available() argument
380 return !list_empty_careful(&ep->rdllist) || in ep_events_available()
381 READ_ONCE(ep->ovflist) != EP_UNACTIVE_PTR; in ep_events_available()
387 struct eventpoll *ep = p; in ep_busy_loop_end() local
389 return ep_events_available(ep) || busy_loop_timeout(start_time); in ep_busy_loop_end()
398 static void ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
400 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop()
403 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep); in ep_busy_loop()
406 static inline void ep_reset_busy_poll_napi_id(struct eventpoll *ep) in ep_reset_busy_poll_napi_id() argument
[all …]
/fs/exfat/
Ddir.c13 static int exfat_extract_uni_name(struct exfat_dentry *ep, in exfat_extract_uni_name() argument
19 *uniname = le16_to_cpu(ep->dentry.name.unicode_0_14[i]); in exfat_extract_uni_name()
49 struct exfat_dentry *ep = exfat_get_dentry_cached(es, i); in exfat_get_uniname_from_ext_entry() local
52 if (exfat_get_entry_type(ep) != TYPE_EXTEND) in exfat_get_uniname_from_ext_entry()
55 len = exfat_extract_uni_name(ep, uniname); in exfat_get_uniname_from_ext_entry()
73 struct exfat_dentry *ep; in exfat_readdir() local
121 ep = exfat_get_dentry(sb, &clu, i, &bh, &sector); in exfat_readdir()
122 if (!ep) in exfat_readdir()
125 type = exfat_get_entry_type(ep); in exfat_readdir()
136 num_ext = ep->dentry.file.num_ext; in exfat_readdir()
[all …]
Dnamei.c209 struct exfat_dentry *ep; in exfat_search_empty_slot() local
232 ep = exfat_get_dentry(sb, &clu, i, &bh, NULL); in exfat_search_empty_slot()
233 if (!ep) in exfat_search_empty_slot()
235 type = exfat_get_entry_type(ep); in exfat_search_empty_slot()
312 struct exfat_dentry *ep = NULL; in exfat_find_empty_entry() local
392 ep = exfat_get_dentry(sb, in exfat_find_empty_entry()
394 if (!ep) in exfat_find_empty_entry()
397 ep->dentry.stream.valid_size = cpu_to_le64(size); in exfat_find_empty_entry()
398 ep->dentry.stream.size = ep->dentry.stream.valid_size; in exfat_find_empty_entry()
399 ep->dentry.stream.flags = p_dir->flags; in exfat_find_empty_entry()
[all …]
Dinode.c23 struct exfat_dentry *ep, *ep2; in __exfat_write_inode() local
48 ep = exfat_get_dentry_cached(es, 0); in __exfat_write_inode()
51 ep->dentry.file.attr = cpu_to_le16(exfat_make_attr(inode)); in __exfat_write_inode()
55 &ep->dentry.file.create_tz, in __exfat_write_inode()
56 &ep->dentry.file.create_time, in __exfat_write_inode()
57 &ep->dentry.file.create_date, in __exfat_write_inode()
58 &ep->dentry.file.create_time_cs); in __exfat_write_inode()
60 &ep->dentry.file.modify_tz, in __exfat_write_inode()
61 &ep->dentry.file.modify_time, in __exfat_write_inode()
62 &ep->dentry.file.modify_date, in __exfat_write_inode()
[all …]
Dballoc.c49 struct exfat_dentry *ep) in exfat_allocate_bitmap() argument
56 sbi->map_clu = le32_to_cpu(ep->dentry.bitmap.start_clu); in exfat_allocate_bitmap()
57 map_size = le64_to_cpu(ep->dentry.bitmap.size); in exfat_allocate_bitmap()
105 struct exfat_dentry *ep; in exfat_load_bitmap() local
108 ep = exfat_get_dentry(sb, &clu, i, &bh, NULL); in exfat_load_bitmap()
109 if (!ep) in exfat_load_bitmap()
112 type = exfat_get_entry_type(ep); in exfat_load_bitmap()
117 if (ep->dentry.bitmap.flags == 0x0) { in exfat_load_bitmap()
120 err = exfat_allocate_bitmap(sb, ep); in exfat_load_bitmap()
Dnls.c755 struct exfat_dentry *ep; in exfat_create_upcase_table() local
764 ep = exfat_get_dentry(sb, &clu, i, &bh, NULL); in exfat_create_upcase_table()
765 if (!ep) in exfat_create_upcase_table()
768 type = exfat_get_entry_type(ep); in exfat_create_upcase_table()
779 tbl_clu = le32_to_cpu(ep->dentry.upcase.start_clu); in exfat_create_upcase_table()
780 tbl_size = le64_to_cpu(ep->dentry.upcase.size); in exfat_create_upcase_table()
785 le32_to_cpu(ep->dentry.upcase.checksum)); in exfat_create_upcase_table()
Dfile.c154 struct exfat_dentry *ep, *ep2; in __exfat_truncate() local
162 ep = exfat_get_dentry_cached(es, 0); in __exfat_truncate()
167 &ep->dentry.file.modify_tz, in __exfat_truncate()
168 &ep->dentry.file.modify_time, in __exfat_truncate()
169 &ep->dentry.file.modify_date, in __exfat_truncate()
170 &ep->dentry.file.modify_time_cs); in __exfat_truncate()
171 ep->dentry.file.attr = cpu_to_le16(ei->attr); in __exfat_truncate()
/fs/autofs/
Dwaitq.c117 struct autofs_packet_expire_multi *ep = in autofs_notify_daemon() local
120 pktsz = sizeof(*ep); in autofs_notify_daemon()
122 ep->wait_queue_token = wq->wait_queue_token; in autofs_notify_daemon()
123 ep->len = wq->name.len; in autofs_notify_daemon()
124 memcpy(ep->name, wq->name.name, wq->name.len); in autofs_notify_daemon()
125 ep->name[wq->name.len] = '\0'; in autofs_notify_daemon()
/fs/nfsd/
Dexport.c86 char *ep; in expkey_parse() local
112 fsidtype = simple_strtoul(buf, &ep, 10); in expkey_parse()
113 if (*ep) in expkey_parse()
/fs/f2fs/
Dnode.c228 nid_t start, unsigned int nr, struct nat_entry **ep) in __gang_lookup_nat_cache() argument
230 return radix_tree_gang_lookup(&nm_i->nat_root, (void **)ep, start, nr); in __gang_lookup_nat_cache()
309 nid_t start, unsigned int nr, struct nat_entry_set **ep) in __gang_lookup_nat_set() argument
311 return radix_tree_gang_lookup(&nm_i->nat_set_root, (void **)ep, in __gang_lookup_nat_set()
/fs/xfs/libxfs/
Dxfs_bmap.c329 xfs_bmbt_rec_t *ep; /* pointer to current extent */ in xfs_bmap_check_leaf_extents() local
421 ep = XFS_BMBT_REC_ADDR(mp, block, 1); in xfs_bmap_check_leaf_extents()
425 xfs_bmbt_disk_get_startoff(ep)); in xfs_bmap_check_leaf_extents()
429 ASSERT(xfs_bmbt_disk_get_startoff(ep) + in xfs_bmap_check_leaf_extents()
430 xfs_bmbt_disk_get_blockcount(ep) <= in xfs_bmap_check_leaf_extents()
432 ep = nextp; in xfs_bmap_check_leaf_extents()
435 last = *ep; in xfs_bmap_check_leaf_extents()