Lines Matching refs:cmd
681 static int begin_cmd(struct send_ctx *sctx, int cmd) in begin_cmd() argument
692 put_unaligned_le16(cmd, &hdr->cmd); in begin_cmd()
714 sctx->cmd_send_size[get_unaligned_le16(&hdr->cmd)] += sctx->send_size; in send_cmd()
2595 int cmd; in send_create_inode() local
2618 cmd = BTRFS_SEND_C_MKFILE; in send_create_inode()
2620 cmd = BTRFS_SEND_C_MKDIR; in send_create_inode()
2622 cmd = BTRFS_SEND_C_SYMLINK; in send_create_inode()
2624 cmd = BTRFS_SEND_C_MKNOD; in send_create_inode()
2626 cmd = BTRFS_SEND_C_MKFIFO; in send_create_inode()
2628 cmd = BTRFS_SEND_C_MKSOCK; in send_create_inode()
2636 ret = begin_cmd(sctx, cmd); in send_create_inode()
4559 enum btrfs_compare_tree_result cmd) in process_all_refs() argument
4575 if (cmd == BTRFS_COMPARE_TREE_NEW) { in process_all_refs()
4578 } else if (cmd == BTRFS_COMPARE_TREE_DELETED) { in process_all_refs()
4583 "Wrong command %d in process_all_refs", cmd); in process_all_refs()