/fs/ |
D | eventpoll.c | 163 struct eventpoll *ep; member 386 static inline int ep_events_available(struct eventpoll *ep) in ep_events_available() argument 388 return !list_empty_careful(&ep->rdllist) || in ep_events_available() 389 READ_ONCE(ep->ovflist) != EP_UNACTIVE_PTR; in ep_events_available() 395 struct eventpoll *ep = p; in ep_busy_loop_end() local 397 return ep_events_available(ep) || busy_loop_timeout(start_time); in ep_busy_loop_end() 406 static bool ep_busy_loop(struct eventpoll *ep, int nonblock) in ep_busy_loop() argument 408 unsigned int napi_id = READ_ONCE(ep->napi_id); in ep_busy_loop() 411 napi_busy_loop(napi_id, nonblock ? NULL : ep_busy_loop_end, ep, false, in ep_busy_loop() 413 if (ep_events_available(ep)) in ep_busy_loop() [all …]
|
/fs/exfat/ |
D | dir.c | 14 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() 73 struct exfat_dentry *ep; in exfat_readdir() local 121 ep = exfat_get_dentry(sb, &clu, i, &bh); 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 …]
|
D | namei.c | 219 struct exfat_dentry *ep; in exfat_search_empty_slot() local 242 ep = exfat_get_dentry(sb, &clu, i, &bh); in exfat_search_empty_slot() 243 if (!ep) in exfat_search_empty_slot() 245 type = exfat_get_entry_type(ep); in exfat_search_empty_slot() 608 struct exfat_dentry *ep, *ep2; in exfat_find() local 652 ep = exfat_get_dentry_cached(es, 0); in exfat_find() 655 info->type = exfat_get_entry_type(ep); in exfat_find() 656 info->attr = le16_to_cpu(ep->dentry.file.attr); in exfat_find() 668 ep->dentry.file.create_tz, in exfat_find() 669 ep->dentry.file.create_time, in exfat_find() [all …]
|
D | balloc.c | 49 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); 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()
|
D | inode.c | 23 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 …]
|
D | nls.c | 755 struct exfat_dentry *ep; in exfat_create_upcase_table() local 764 ep = exfat_get_dentry(sb, &clu, i, &bh); 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()
|
/fs/autofs/ |
D | waitq.c | 117 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/ |
D | export.c | 86 char *ep; in expkey_parse() local 112 fsidtype = simple_strtoul(buf, &ep, 10); in expkey_parse() 113 if (*ep) in expkey_parse()
|
/fs/xfs/libxfs/ |
D | xfs_bmap.c | 330 xfs_bmbt_rec_t *ep; /* pointer to current extent */ in xfs_bmap_check_leaf_extents() local 422 ep = XFS_BMBT_REC_ADDR(mp, block, 1); in xfs_bmap_check_leaf_extents() 426 xfs_bmbt_disk_get_startoff(ep)); in xfs_bmap_check_leaf_extents() 430 ASSERT(xfs_bmbt_disk_get_startoff(ep) + in xfs_bmap_check_leaf_extents() 431 xfs_bmbt_disk_get_blockcount(ep) <= in xfs_bmap_check_leaf_extents() 433 ep = nextp; in xfs_bmap_check_leaf_extents() 436 last = *ep; in xfs_bmap_check_leaf_extents()
|
/fs/f2fs/ |
D | node.c | 225 nid_t start, unsigned int nr, struct nat_entry **ep) in __gang_lookup_nat_cache() argument 227 return radix_tree_gang_lookup(&nm_i->nat_root, (void **)ep, start, nr); in __gang_lookup_nat_cache() 307 nid_t start, unsigned int nr, struct nat_entry_set **ep) in __gang_lookup_nat_set() argument 309 return radix_tree_gang_lookup(&nm_i->nat_set_root, (void **)ep, in __gang_lookup_nat_set()
|