Lines Matching defs:old
1851 uint32_t old, new;
1855 old = iport->iport_next_free_slot;
1856 cmd_slot = old & 0xFFFF;
1863 new = ((old + (0x10000)) & 0xFFFF0000);
1865 } while (atomic_cas_32(&iport->iport_next_free_slot, old, new) != old);
1942 uint32_t old, new;
1954 old = new = icmd->icmd_flags;
1955 if (old & ICMD_BEING_ABORTED) {
1959 } while (atomic_cas_32(&icmd->icmd_flags, old, new) != old);
1992 uint32_t old, new;
2000 old = new = icmd->icmd_flags;
2001 if (old & ICMD_BEING_ABORTED) {
2005 } while (atomic_cas_32(&icmd->icmd_flags, old, new) != old);
2037 uint32_t old, new;
2067 old = iport->iport_next_free_slot;
2068 slot->slot_next = old & 0xFFFF;
2069 new = (old + 0x10000) & 0xFFFF0000;
2072 old, new) != old);
2146 uint32_t old, new;
2156 old = new = icmd->icmd_flags;
2157 if ((old & ICMD_KNOWN_TO_FCA) == 0)
2159 ASSERT((old & ICMD_FCA_ABORT_CALLED) == 0);
2161 } while (atomic_cas_32(&icmd->icmd_flags, old, new) != old);
2874 uint32_t old, new;
2877 old = icmd->icmd_flags;
2878 if ((old & (ICMD_BEING_ABORTED | ICMD_KNOWN_TO_FCA)) !=
2881 new = old | ICMD_BEING_ABORTED;
2882 } while (atomic_cas_32(&icmd->icmd_flags, old, new) != old);
3042 uint32_t old, new;
3046 old = icmd->icmd_flags;
3047 if (old & ICMD_BEING_ABORTED)
3049 new = old | ICMD_BEING_ABORTED;
3050 } while (atomic_cas_32(&icmd->icmd_flags, old, new) != old);
3076 uint32_t old, new;
3091 old = new = icmd->icmd_flags;
3092 if ((old & (ICMD_KNOWN_TO_FCA |
3101 } while (atomic_cas_32(&icmd->icmd_flags, old, new) != old);