Home
last modified time | relevance | path

Searched refs:lep (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/fs/xfs/libxfs/
Dxfs_dir2_leaf.c541 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir3_leaf_find_entry() local
548 lep = &ents[index]; in xfs_dir3_leaf_find_entry()
550 memmove(lep + 1, lep, in xfs_dir3_leaf_find_entry()
551 (leafhdr->count - index) * sizeof(*lep)); in xfs_dir3_leaf_find_entry()
558 return lep; in xfs_dir3_leaf_find_entry()
641 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local
685 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname()
686 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
687 index++, lep++) { in xfs_dir2_leaf_addname()
688 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_node.c436 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_add() local
495 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
498 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add()
499 lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(args->geo, in xfs_dir2_leafn_add()
580 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_lookup_for_addname() local
617 for (lep = &ents[index]; in xfs_dir2_leafn_lookup_for_addname()
618 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
619 lep++, index++) { in xfs_dir2_leafn_lookup_for_addname()
623 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname()
629 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname()
[all …]
Dxfs_dir2_data.c52 xfs_dir2_leaf_entry_t *lep=NULL; /* block leaf entries */ in __xfs_dir3_data_check() local
84 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check()
198 if (be32_to_cpu(lep[i].address) == addr && in __xfs_dir3_data_check()
199 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check()
215 if (lep[i].address == in __xfs_dir3_data_check()
218 if (i > 0 && be32_to_cpu(lep[i].hashval) < in __xfs_dir3_data_check()
219 be32_to_cpu(lep[i - 1].hashval)) in __xfs_dir3_data_check()
Dxfs_dir2_block.c910 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_to_block() local
971 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1008 lep = xfs_dir2_block_leaf_p(btp); in xfs_dir2_leaf_to_block()
1012 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()
/Linux-v4.19/drivers/misc/mic/scif/
Dscif_api.c749 struct scif_endpt *lep = (struct scif_endpt *)epd; in scif_accept() local
757 "SCIFAPI accept: ep %p %s\n", lep, scif_ep_states[lep->state]); in scif_accept()
766 spin_lock(&lep->lock); in scif_accept()
767 if (lep->state != SCIFEP_LISTENING) { in scif_accept()
768 spin_unlock(&lep->lock); in scif_accept()
772 if (!lep->conreqcnt && !(flags & SCIF_ACCEPT_SYNC)) { in scif_accept()
774 spin_unlock(&lep->lock); in scif_accept()
778 lep->files = current->files; in scif_accept()
780 spin_unlock(&lep->lock); in scif_accept()
782 err = wait_event_interruptible(lep->conwq, in scif_accept()
[all …]
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Ddevice.c134 struct wr_log_entry *lep; in wr_log_show() local
145 lep = &dev->rdev.wr_log[idx]; in wr_log_show()
147 if (lep->valid) { in wr_log_show()
150 prev_time = lep->poll_host_time; in wr_log_show()
158 ktime_to_ns(ktime_sub(lep->poll_host_time, in wr_log_show()
160 lep->qid, lep->opcode, in wr_log_show()
161 lep->opcode == FW_RI_RECEIVE ? in wr_log_show()
163 lep->wr_id, in wr_log_show()
164 ktime_to_ns(ktime_sub(lep->poll_host_time, in wr_log_show()
165 lep->post_host_time)), in wr_log_show()
[all …]
Drestrack.c194 struct c4iw_listen_ep lep; member
226 uep->lep = *(struct c4iw_listen_ep *)epcp; in fill_res_ep_entry()
228 listen_ep = &uep->lep; in fill_res_ep_entry()
Dcm.c3895 struct c4iw_ep *lep = NULL; in rx_pkt() local
3919 lep = (struct c4iw_ep *)get_ep_from_stid(dev, stid); in rx_pkt()
3920 if (!lep) { in rx_pkt()
4018 if (lep) in rx_pkt()
4019 c4iw_put_ep(&lep->com); in rx_pkt()
/Linux-v4.19/drivers/usb/gadget/udc/
Dlpc32xx_udc.c107 u32 lep; member
1408 if (ep->lep) { in done()
1755 if (ep->lep) { in lpc32xx_ep_queue()
2524 .lep = 0,
2537 .lep = 1,
2550 .lep = 2,
2563 .lep = 3,
2576 .lep = 4,
2589 .lep = 5,
2602 .lep = 6,
[all …]