Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_dir2_leaf.c480 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir3_leaf_find_entry() local
487 lep = &ents[index]; in xfs_dir3_leaf_find_entry()
489 memmove(lep + 1, lep, in xfs_dir3_leaf_find_entry()
490 (leafhdr->count - index) * sizeof(*lep)); in xfs_dir3_leaf_find_entry()
497 return lep; in xfs_dir3_leaf_find_entry()
575 struct xfs_dir2_leaf_entry *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local
621 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname()
622 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
623 index++, lep++) { in xfs_dir2_leaf_addname()
624 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_node.c431 struct xfs_dir2_leaf_entry *lep; in xfs_dir2_leafn_add() local
489 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
492 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add()
493 lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(args->geo, in xfs_dir2_leafn_add()
574 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_lookup_for_addname() local
611 for (lep = &ents[index]; in xfs_dir2_leafn_lookup_for_addname()
612 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
613 lep++, index++) { in xfs_dir2_leafn_lookup_for_addname()
617 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname()
623 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname()
[all …]
Dxfs_dir2_data.c49 xfs_dir2_leaf_entry_t *lep=NULL; /* block leaf entries */ in __xfs_dir3_data_check() local
80 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check()
194 if (be32_to_cpu(lep[i].address) == addr && in __xfs_dir3_data_check()
195 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check()
211 if (lep[i].address == in __xfs_dir3_data_check()
214 if (i > 0 && be32_to_cpu(lep[i].hashval) < in __xfs_dir3_data_check()
215 be32_to_cpu(lep[i - 1].hashval)) in __xfs_dir3_data_check()
Dxfs_dir2_block.c907 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_to_block() local
968 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1005 lep = xfs_dir2_block_leaf_p(btp); in xfs_dir2_leaf_to_block()
1009 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()
/Linux-v5.4/drivers/misc/mic/scif/
Dscif_api.c740 struct scif_endpt *lep = (struct scif_endpt *)epd; in scif_accept() local
748 "SCIFAPI accept: ep %p %s\n", lep, scif_ep_states[lep->state]); in scif_accept()
757 spin_lock(&lep->lock); in scif_accept()
758 if (lep->state != SCIFEP_LISTENING) { in scif_accept()
759 spin_unlock(&lep->lock); in scif_accept()
763 if (!lep->conreqcnt && !(flags & SCIF_ACCEPT_SYNC)) { in scif_accept()
765 spin_unlock(&lep->lock); in scif_accept()
769 lep->files = current->files; in scif_accept()
771 spin_unlock(&lep->lock); in scif_accept()
773 err = wait_event_interruptible(lep->conwq, in scif_accept()
[all …]
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Ddevice.c126 struct wr_log_entry *lep; in wr_log_show() local
137 lep = &dev->rdev.wr_log[idx]; in wr_log_show()
139 if (lep->valid) { in wr_log_show()
142 prev_time = lep->poll_host_time; in wr_log_show()
150 ktime_to_ns(ktime_sub(lep->poll_host_time, in wr_log_show()
152 lep->qid, lep->opcode, in wr_log_show()
153 lep->opcode == FW_RI_RECEIVE ? in wr_log_show()
155 lep->wr_id, in wr_log_show()
156 ktime_to_ns(ktime_sub(lep->poll_host_time, in wr_log_show()
157 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.c4065 struct c4iw_ep *lep = NULL; in rx_pkt() local
4089 lep = (struct c4iw_ep *)get_ep_from_stid(dev, stid); in rx_pkt()
4090 if (!lep) { in rx_pkt()
4188 if (lep) in rx_pkt()
4189 c4iw_put_ep(&lep->com); in rx_pkt()
/Linux-v5.4/drivers/usb/gadget/udc/
Dlpc32xx_udc.c106 u32 lep; member
1419 if (ep->lep) { in done()
1766 if (ep->lep) { in lpc32xx_ep_queue()
2534 .lep = 0,
2547 .lep = 1,
2560 .lep = 2,
2573 .lep = 3,
2586 .lep = 4,
2599 .lep = 5,
2612 .lep = 6,
[all …]