Home
last modified time | relevance | path

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

/fs/
Deventpoll.c161 struct eventpoll *ep; member
373 static inline int ep_events_available(struct eventpoll *ep) in ep_events_available() argument
375 return !list_empty_careful(&ep->rdllist) || in ep_events_available()
376 READ_ONCE(ep->ovflist) != EP_UNACTIVE_PTR; in ep_events_available()
382 struct eventpoll *ep = p; in ep_busy_loop_end() local
384 return ep_events_available(ep) || busy_loop_timeout(start_time); in ep_busy_loop_end()
393 static bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument
395 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop()
398 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep, false, in ep_busy_loop()
400 if (ep_events_available(ep)) in ep_busy_loop()
[all …]
/fs/exfat/
Ddir.c14 static int exfat_extract_uni_name(struct exfat_dentry *ep, in exfat_extract_uni_name() argument
20 *uniname = le16_to_cpu(ep->dentry.name.unicode_0_14[i]); in exfat_extract_uni_name()
50 struct exfat_dentry *ep = exfat_get_dentry_cached(es, i); in exfat_get_uniname_from_ext_entry() local
53 if (exfat_get_entry_type(ep) != TYPE_EXTEND) in exfat_get_uniname_from_ext_entry()
56 len = exfat_extract_uni_name(ep, uniname); in exfat_get_uniname_from_ext_entry()
74 struct exfat_dentry *ep; in exfat_readdir() local
122 ep = exfat_get_dentry(sb, &clu, i, &bh, &sector); in exfat_readdir()
123 if (!ep) in exfat_readdir()
126 type = exfat_get_entry_type(ep); in exfat_readdir()
137 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.c155 struct exfat_dentry *ep, *ep2; in __exfat_truncate() local
163 ep = exfat_get_dentry_cached(es, 0); in __exfat_truncate()
168 &ep->dentry.file.modify_tz, in __exfat_truncate()
169 &ep->dentry.file.modify_time, in __exfat_truncate()
170 &ep->dentry.file.modify_date, in __exfat_truncate()
171 &ep->dentry.file.modify_time_cs); in __exfat_truncate()
172 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.c220 nid_t start, unsigned int nr, struct nat_entry **ep) in __gang_lookup_nat_cache() argument
222 return radix_tree_gang_lookup(&nm_i->nat_root, (void **)ep, start, nr); in __gang_lookup_nat_cache()
302 nid_t start, unsigned int nr, struct nat_entry_set **ep) in __gang_lookup_nat_set() argument
304 return radix_tree_gang_lookup(&nm_i->nat_set_root, (void **)ep, in __gang_lookup_nat_set()
/fs/xfs/libxfs/
Dxfs_bmap.c332 xfs_bmbt_rec_t *ep; /* pointer to current extent */ in xfs_bmap_check_leaf_extents() local
424 ep = XFS_BMBT_REC_ADDR(mp, block, 1); in xfs_bmap_check_leaf_extents()
428 xfs_bmbt_disk_get_startoff(ep)); in xfs_bmap_check_leaf_extents()
432 ASSERT(xfs_bmbt_disk_get_startoff(ep) + in xfs_bmap_check_leaf_extents()
433 xfs_bmbt_disk_get_blockcount(ep) <= in xfs_bmap_check_leaf_extents()
435 ep = nextp; in xfs_bmap_check_leaf_extents()
438 last = *ep; in xfs_bmap_check_leaf_extents()