Lines Matching refs:curp
975 * insert new index [@logical;@ptr] into the block at @curp;
976 * check where to insert: before @curp or after @curp
979 struct ext4_ext_path *curp,
985 err = ext4_ext_get_access(handle, inode, curp);
989 if (unlikely(logical == le32_to_cpu(curp->p_idx->ei_block))) {
992 logical, le32_to_cpu(curp->p_idx->ei_block));
996 if (unlikely(le16_to_cpu(curp->p_hdr->eh_entries)
997 >= le16_to_cpu(curp->p_hdr->eh_max))) {
1000 le16_to_cpu(curp->p_hdr->eh_entries),
1001 le16_to_cpu(curp->p_hdr->eh_max));
1005 if (logical > le32_to_cpu(curp->p_idx->ei_block)) {
1009 ix = curp->p_idx + 1;
1014 ix = curp->p_idx;
1017 if (unlikely(ix > EXT_MAX_INDEX(curp->p_hdr))) {
1022 len = EXT_LAST_INDEX(curp->p_hdr) - ix + 1;
1033 le16_add_cpu(&curp->p_hdr->eh_entries, 1);
1035 if (unlikely(ix > EXT_LAST_INDEX(curp->p_hdr))) {
1040 err = ext4_ext_dirty(handle, inode, curp);
1405 struct ext4_ext_path *curp;
1412 curp = path + depth;
1413 while (i > 0 && !EXT_HAS_FREE_INDEX(curp)) {
1415 curp--;
1420 if (EXT_HAS_FREE_INDEX(curp)) {