Lines Matching refs:start
55 char *start;
429 p->start = p->buf + p->buf_len - 1;
430 p->end = p->start;
431 *p->start = 0;
433 p->start = p->buf;
434 p->end = p->start;
435 *p->start = 0;
476 return p->end - p->start;
495 path_len = p->end - p->start;
521 p->start = p->end - path_len;
522 memmove(p->start, tmp_buf, path_len + 1);
524 p->start = p->buf;
525 p->end = p->start + path_len;
536 new_len = p->end - p->start + name_len;
537 if (p->start != p->end)
544 if (p->start != p->end)
545 *--p->start = '/';
546 p->start -= name_len;
547 *prepared = p->start;
549 if (p->start != p->end)
579 ret = fs_path_prepare_for_add(p, p2->end - p2->start, &prepared);
582 memcpy(prepared, p2->start, p2->end - p2->start);
621 tmp = p->start;
622 len = p->end - p->start;
623 p->start = p->buf;
624 p->end = p->start + len;
625 memmove(p->start, tmp, len + 1);
742 ret = tlv_put_string(sctx, attrtype, p->start, \
743 p->end - p->start); \
820 btrfs_debug(fs_info, "send_rename %s -> %s", from->start, to->start);
845 btrfs_debug(fs_info, "send_link %s -> %s", path->start, lnk->start);
869 btrfs_debug(fs_info, "send_unlink %s", path->start);
892 btrfs_debug(fs_info, "send_rmdir %s", path->start);
1003 char *start;
1052 start = btrfs_ref_to_path(root, tmp_path, name_len,
1055 if (IS_ERR(start)) {
1056 ret = PTR_ERR(start);
1059 if (start < p->buf) {
1062 p->buf_len + p->buf - start);
1065 start = btrfs_ref_to_path(root, tmp_path,
1069 if (IS_ERR(start)) {
1070 ret = PTR_ERR(start);
1073 BUG_ON(start < p->buf);
1075 p->start = start;
2103 ret = !memcmp(tmp_name->start, name, name_len);
2272 name->start, fs_path_len(name));
2365 dest->start, dest->end - dest->start);
2392 strcpy(nce->name, dest->start);
3051 ref->name = (char *)kbasename(ref->full_path->start);
4028 memcmp(path_before->start, path_after->start, len1))) {
4119 * cache it in the name cache. Later when we start processing inode 258, when
4121 * reference with name "d2". When we start processing the new references we
4122 * start by processing the new reference with name "d1", and this results in
5483 * Don't go beyond the inode's i_size due to prealloc extents that start
5783 * Always start from the end offset of the last range cleared.
5795 * the page cache we always start from the end offset of the
6388 const u64 start,
6394 u64 search_start = start;
6436 if (extent_end <= start)
7564 * restart the start from the current commit roots and clone the new leaves so