Lines Matching defs:operation
56 bytes_transfer(int operation, size_t size, enum bytes_transfer_type type)
113 io.piod_op = operation;
148 io.piod_op = operation;
165 switch (operation) {
175 switch (operation) {
205 /* Handle PIOD and PT separately as operation values overlap */
208 switch (operation) {
218 switch (operation) {
288 switch (operation) {
298 switch (operation) {
324 DPRINTF("Calling operation to transfer bytes between child=%d and "
331 switch (operation) {
355 switch (operation) {
389 switch (operation) {
393 lookup_me = ptrace(operation, child,
400 SYSCALL_REQUIRE(ptrace(operation, child,
409 switch (operation) {
413 lookup_me = ptrace(operation, child, &lookup_me, 0);
420 SYSCALL_REQUIRE(ptrace(operation, child, &lookup_me,
444 #define BYTES_TRANSFER(test, operation, size, type) \
449 "Verify bytes transfer operation" #operation " and size " #size \
456 bytes_transfer(operation, size, BYTES_TRANSFER_##type); \
520 bytes_transfer_alignment(const char *operation)
581 if (strcmp(operation, "PT_READ_I") == 0 ||
582 strcmp(operation, "PT_READ_D") == 0) {
583 if (strcmp(operation, "PT_READ_I"))
594 } else if (strcmp(operation, "PT_WRITE_I") == 0 ||
595 strcmp(operation, "PT_WRITE_D") == 0) {
596 if (strcmp(operation, "PT_WRITE_I"))
606 } else if (strcmp(operation, "PIOD_READ_I") == 0 ||
607 strcmp(operation, "PIOD_READ_D") == 0) {
608 if (strcmp(operation, "PIOD_READ_I"))
624 } else if (strcmp(operation, "PIOD_WRITE_I") == 0 ||
625 strcmp(operation, "PIOD_WRITE_D") == 0) {
626 if (strcmp(operation, "PIOD_WRITE_I"))
641 } else if (strcmp(operation, "PIOD_READ_AUXV") == 0) {
669 #define BYTES_TRANSFER_ALIGNMENT(test, operation) \
675 "operation " operation); \
681 bytes_transfer_alignment(operation); \
699 bytes_transfer_eof(const char *operation)
758 if (strcmp(operation, "PT_READ_I") == 0 ||
759 strcmp(operation, "PT_READ_D") == 0) {
760 if (strcmp(operation, "PT_READ_I"))
768 } else if (strcmp(operation, "PT_WRITE_I") == 0 ||
769 strcmp(operation, "PT_WRITE_D") == 0) {
770 if (strcmp(operation, "PT_WRITE_I"))
778 } else if (strcmp(operation, "PIOD_READ_I") == 0 ||
779 strcmp(operation, "PIOD_READ_D") == 0) {
780 if (strcmp(operation, "PIOD_READ_I"))
793 } else if (strcmp(operation, "PIOD_WRITE_I") == 0 ||
794 strcmp(operation, "PIOD_WRITE_D") == 0) {
795 if (strcmp(operation, "PIOD_WRITE_I"))
822 #define BYTES_TRANSFER_EOF(test, operation) \
827 "Verify bytes EOF byte transfer for the " operation \
828 " operation"); \
834 bytes_transfer_eof(operation); \