Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2_leaf.c525 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir3_leaf_find_entry() local
532 lep = &ents[index]; in xfs_dir3_leaf_find_entry()
534 memmove(lep + 1, lep, in xfs_dir3_leaf_find_entry()
535 (leafhdr->count - index) * sizeof(*lep)); in xfs_dir3_leaf_find_entry()
542 return lep; in xfs_dir3_leaf_find_entry()
625 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local
669 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname()
670 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
671 index++, lep++) { in xfs_dir2_leaf_addname()
672 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_node.c386 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_add() local
445 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
448 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add()
449 lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(args->geo, in xfs_dir2_leafn_add()
528 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_lookup_for_addname() local
565 for (lep = &ents[index]; in xfs_dir2_leafn_lookup_for_addname()
566 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
567 lep++, index++) { in xfs_dir2_leafn_lookup_for_addname()
571 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname()
577 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname()
[all …]
Dxfs_dir2_data.c59 xfs_dir2_leaf_entry_t *lep=NULL; /* block leaf entries */ in __xfs_dir3_data_check() local
83 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check()
84 endp = (char *)lep; in __xfs_dir3_data_check()
183 if (be32_to_cpu(lep[i].address) == addr && in __xfs_dir3_data_check()
184 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check()
199 if (lep[i].address == in __xfs_dir3_data_check()
204 be32_to_cpu(lep[i].hashval) >= in __xfs_dir3_data_check()
205 be32_to_cpu(lep[i - 1].hashval)); in __xfs_dir3_data_check()
Dxfs_dir2_block.c915 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_to_block() local
976 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1011 lep = xfs_dir2_block_leaf_p(btp); in xfs_dir2_leaf_to_block()
1015 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_api.c750 struct scif_endpt *lep = (struct scif_endpt *)epd; in scif_accept() local
758 "SCIFAPI accept: ep %p %s\n", lep, scif_ep_states[lep->state]); in scif_accept()
767 spin_lock(&lep->lock); in scif_accept()
768 if (lep->state != SCIFEP_LISTENING) { in scif_accept()
769 spin_unlock(&lep->lock); in scif_accept()
773 if (!lep->conreqcnt && !(flags & SCIF_ACCEPT_SYNC)) { in scif_accept()
775 spin_unlock(&lep->lock); in scif_accept()
779 lep->files = current->files; in scif_accept()
781 spin_unlock(&lep->lock); in scif_accept()
783 err = wait_event_interruptible(lep->conwq, in scif_accept()
[all …]
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Ddevice.c151 struct wr_log_entry *lep; in wr_log_show() local
162 lep = &dev->rdev.wr_log[idx]; in wr_log_show()
164 if (lep->valid) { in wr_log_show()
167 prev_ts = lep->poll_host_ts; in wr_log_show()
175 timespec_sub(lep->poll_host_ts, in wr_log_show()
177 timespec_sub(lep->poll_host_ts, in wr_log_show()
179 lep->qid, lep->opcode, in wr_log_show()
180 lep->opcode == FW_RI_RECEIVE ? in wr_log_show()
182 lep->wr_id, in wr_log_show()
183 timespec_sub(lep->poll_host_ts, in wr_log_show()
[all …]
Dcm.c3787 struct c4iw_ep *lep; in rx_pkt() local
3812 lep = (struct c4iw_ep *)lookup_stid(dev->rdev.lldi.tids, stid); in rx_pkt()
3813 if (!lep) { in rx_pkt()
/linux-4.4.14/drivers/usb/gadget/udc/
Dlpc32xx_udc.c134 u32 lep; member
1468 if (ep->lep) { in done()
1815 if (ep->lep) { in lpc32xx_ep_queue()
2584 .lep = 0,
2597 .lep = 1,
2610 .lep = 2,
2623 .lep = 3,
2636 .lep = 4,
2649 .lep = 5,
2662 .lep = 6,
[all …]