state 43 arch/x86/boot/cmdline.c } state = st_wordstart; state 52 arch/x86/boot/cmdline.c switch (state) { state 58 arch/x86/boot/cmdline.c state = st_wordcmp; state 66 arch/x86/boot/cmdline.c state = st_bufcpy; state 68 arch/x86/boot/cmdline.c state = st_wordstart; state 70 arch/x86/boot/cmdline.c state = st_wordskip; state 76 arch/x86/boot/cmdline.c state = st_wordstart; state 81 arch/x86/boot/cmdline.c state = st_wordstart; state 114 arch/x86/boot/cmdline.c } state = st_wordstart; state 126 arch/x86/boot/cmdline.c switch (state) { state 133 arch/x86/boot/cmdline.c state = st_wordcmp; state 143 arch/x86/boot/cmdline.c state = st_wordskip; state 147 arch/x86/boot/cmdline.c state = st_wordskip; state 154 arch/x86/boot/cmdline.c state = st_wordstart; state 134 arch/x86/ia32/ia32_signal.c current->state = TASK_INTERRUPTIBLE; state 745 arch/x86/kernel/apm_32.c if (apm_bios_call_simple(APM_FUNC_SET_STATE, what, state, &eax)) state 759 arch/x86/kernel/apm_32.c return set_power_state(APM_DEVICE_ALL, state); state 1086 arch/x86/kernel/apm_32.c u_short state; state 1089 arch/x86/kernel/apm_32.c state = blank ? APM_STATE_STANDBY : APM_STATE_READY; state 1092 arch/x86/kernel/apm_32.c error = set_power_state(dev[i], state); state 130 arch/x86/kernel/asm-offsets_32.c OFFSET(LGUEST_PAGES_host_gdt_desc, lguest_pages, state.host_gdt_desc); state 131 arch/x86/kernel/asm-offsets_32.c OFFSET(LGUEST_PAGES_host_idt_desc, lguest_pages, state.host_idt_desc); state 132 arch/x86/kernel/asm-offsets_32.c OFFSET(LGUEST_PAGES_host_cr3, lguest_pages, state.host_cr3); state 133 arch/x86/kernel/asm-offsets_32.c OFFSET(LGUEST_PAGES_host_sp, lguest_pages, state.host_sp); state 134 arch/x86/kernel/asm-offsets_32.c OFFSET(LGUEST_PAGES_guest_gdt_desc, lguest_pages,state.guest_gdt_desc); state 135 arch/x86/kernel/asm-offsets_32.c OFFSET(LGUEST_PAGES_guest_idt_desc, lguest_pages,state.guest_idt_desc); state 136 arch/x86/kernel/asm-offsets_32.c OFFSET(LGUEST_PAGES_guest_gdt, lguest_pages, state.guest_gdt); state 34 arch/x86/kernel/asm-offsets_64.c ENTRY(state); state 352 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c cached_freq = data->freq_table[data->acpi_data->state].frequency; state 418 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c if (perf->state == next_perf_state) { state 453 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c freqs.old = perf->states[perf->state].core_frequency * 1000; state 474 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c perf->state = next_perf_state; state 503 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c perf->state = i; state 507 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c perf->state = perf->state_count-1; state 511 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c perf->state = 0; state 676 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c perf->state = 0; state 709 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c (i == perf->state ? '*' : ' '), i, state 125 arch/x86/kernel/cpu/cpufreq/elanfreq.c freqs.new = elan_multiplier[state].clock; state 131 arch/x86/kernel/cpu/cpufreq/elanfreq.c elan_multiplier[state].clock); state 156 arch/x86/kernel/cpu/cpufreq/elanfreq.c outb_p(elan_multiplier[state].val80h, REG_CSCDR); state 160 arch/x86/kernel/cpu/cpufreq/elanfreq.c outb_p(elan_multiplier[state].val40h, REG_CSCDR); state 344 arch/x86/kernel/cpu/cpufreq/powernow-k7.c struct acpi_processor_px *state = state 348 arch/x86/kernel/cpu/cpufreq/powernow-k7.c pc.val = (unsigned long) state->control; state 351 arch/x86/kernel/cpu/cpufreq/powernow-k7.c (u32) state->core_frequency, state 352 arch/x86/kernel/cpu/cpufreq/powernow-k7.c (u32) state->power, state 353 arch/x86/kernel/cpu/cpufreq/powernow-k7.c (u32) state->transition_latency, state 354 arch/x86/kernel/cpu/cpufreq/powernow-k7.c (u32) state->control, state 389 arch/x86/kernel/cpu/cpufreq/powernow-k7.c if (state->core_frequency != speed_mhz) { state 390 arch/x86/kernel/cpu/cpufreq/powernow-k7.c state->core_frequency = speed_mhz; state 61 arch/x86/kernel/cpu/cpufreq/sc520_freq.c freqs.new = sc520_freq_table[state].frequency; state 67 arch/x86/kernel/cpu/cpufreq/sc520_freq.c sc520_freq_table[state].frequency); state 72 arch/x86/kernel/cpu/cpufreq/sc520_freq.c *cpuctl = clockspeed_reg | sc520_freq_table[state].index; state 99 arch/x86/kernel/cpu/cpufreq/speedstep-ich.c if (state > 0x1) state 112 arch/x86/kernel/cpu/cpufreq/speedstep-ich.c value |= state; state 136 arch/x86/kernel/cpu/cpufreq/speedstep-ich.c if (state == (value & 0x1)) { state 103 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c u32 state=0; state 119 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c : "=a" (result), "=b" (high_mhz), "=c" (low_mhz), "=d" (state), "=D" (edi), "=S" (dummy) state 120 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c : "a" (command), "b" (function), "c" (state), "d" (smi_port), "S" (0), "D" (0) state 143 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c u32 result, state, edi, command, dummy; state 153 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c : "=a" (result), "=b" (state), "=D" (edi), "=c" (dummy), "=d" (dummy), "=S" (dummy) state 157 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c dprintk("state is %x, result is %x\n", state, result); state 159 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c return (state & 1); state 175 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c if (state > 0x1) state 183 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c dprintk("trying to set frequency to state %u with command %x at port %x\n", state, command, smi_port); state 197 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c : "a" (command), "b" (function), "c" (state), "d" (smi_port), "S" (0), "D" (0) state 199 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c } while ((new_state != state) && (retry <= SMI_TRIES)); state 204 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c if (new_state == state) { state 207 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c printk(KERN_ERR "cpufreq: change to state %u failed with new_state %u and result %u\n", state, new_state, result); state 262 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c unsigned int speed,state; state 294 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c state = speedstep_get_state(); state 295 arch/x86/kernel/cpu/cpufreq/speedstep-smi.c speed = speedstep_freqs[state].frequency; state 990 arch/x86/kernel/cpu/mtrr/main.c chunk_sizek = state->chunk_sizek; state 991 arch/x86/kernel/cpu/mtrr/main.c gran_sizek = state->gran_sizek; state 994 arch/x86/kernel/cpu/mtrr/main.c range_basek = ALIGN(state->range_startk, gran_sizek); state 997 arch/x86/kernel/cpu/mtrr/main.c state->range_sizek -= (range_basek - state->range_startk); state 998 arch/x86/kernel/cpu/mtrr/main.c range_sizek = ALIGN(state->range_sizek, gran_sizek); state 1000 arch/x86/kernel/cpu/mtrr/main.c while (range_sizek > state->range_sizek) { state 1005 arch/x86/kernel/cpu/mtrr/main.c state->range_sizek = range_sizek; state 1008 arch/x86/kernel/cpu/mtrr/main.c range0_basek = state->range_startk; state 1009 arch/x86/kernel/cpu/mtrr/main.c range0_sizek = ALIGN(state->range_sizek, chunk_sizek); state 1012 arch/x86/kernel/cpu/mtrr/main.c if (range0_sizek == state->range_sizek) { state 1016 arch/x86/kernel/cpu/mtrr/main.c (range0_basek + state->range_sizek)<<10); state 1017 arch/x86/kernel/cpu/mtrr/main.c state->reg = range_to_mtrr(state->reg, range0_basek, state 1018 arch/x86/kernel/cpu/mtrr/main.c state->range_sizek, MTRR_TYPE_WRBACK); state 1042 arch/x86/kernel/cpu/mtrr/main.c if (range0_sizek > state->range_sizek) { state 1045 arch/x86/kernel/cpu/mtrr/main.c hole_sizek = range0_sizek - state->range_sizek - second_sizek; state 1063 arch/x86/kernel/cpu/mtrr/main.c state->reg = range_to_mtrr(state->reg, range0_basek, state 1067 arch/x86/kernel/cpu/mtrr/main.c if (range0_sizek < state->range_sizek) { state 1069 arch/x86/kernel/cpu/mtrr/main.c range_sizek = state->range_sizek - range0_sizek; state 1075 arch/x86/kernel/cpu/mtrr/main.c state->reg = range_to_mtrr(state->reg, range_basek, state 1085 arch/x86/kernel/cpu/mtrr/main.c state->reg = range_to_mtrr(state->reg, hole_basek, state 1099 arch/x86/kernel/cpu/mtrr/main.c if (state->reg >= num_var_ranges) state 1107 arch/x86/kernel/cpu/mtrr/main.c (state->range_startk + state->range_sizek == basek)) { state 1109 arch/x86/kernel/cpu/mtrr/main.c state->range_sizek = endk - state->range_startk; state 1113 arch/x86/kernel/cpu/mtrr/main.c if (state->range_sizek != 0) state 1114 arch/x86/kernel/cpu/mtrr/main.c second_sizek = range_to_mtrr_with_hole(state, basek, sizek); state 1117 arch/x86/kernel/cpu/mtrr/main.c state->range_startk = basek + second_sizek; state 1118 arch/x86/kernel/cpu/mtrr/main.c state->range_sizek = sizek - second_sizek; state 69 arch/x86/kernel/kvm.c if (state->mmu_queue_len) { state 70 arch/x86/kernel/kvm.c kvm_mmu_op(state->mmu_queue, state->mmu_queue_len); state 71 arch/x86/kernel/kvm.c state->mmu_queue_len = 0; state 77 arch/x86/kernel/kvm.c struct kvm_para_state *state = kvm_para_state(); state 79 arch/x86/kernel/kvm.c if (state->mode != PARAVIRT_LAZY_MMU) { state 83 arch/x86/kernel/kvm.c if (state->mmu_queue_len + len > sizeof state->mmu_queue) state 84 arch/x86/kernel/kvm.c mmu_queue_flush(state); state 85 arch/x86/kernel/kvm.c memcpy(state->mmu_queue + state->mmu_queue_len, buffer, len); state 86 arch/x86/kernel/kvm.c state->mmu_queue_len += len; state 193 arch/x86/kernel/kvm.c struct kvm_para_state *state = kvm_para_state(); state 196 arch/x86/kernel/kvm.c state->mode = paravirt_get_lazy_mode(); state 201 arch/x86/kernel/kvm.c struct kvm_para_state *state = kvm_para_state(); state 203 arch/x86/kernel/kvm.c mmu_queue_flush(state); state 205 arch/x86/kernel/kvm.c state->mode = paravirt_get_lazy_mode(); state 69 arch/x86/kernel/olpc.c int state = ibf_status(port); state 71 arch/x86/kernel/olpc.c for (timeo = ec_timeout; state != desired && timeo; timeo--) { state 73 arch/x86/kernel/olpc.c state = ibf_status(port); state 76 arch/x86/kernel/olpc.c if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && state 82 arch/x86/kernel/olpc.c return !(state == desired); state 89 arch/x86/kernel/olpc.c int state = obf_status(port); state 91 arch/x86/kernel/olpc.c for (timeo = ec_timeout; state != desired && timeo; timeo--) { state 93 arch/x86/kernel/olpc.c state = obf_status(port); state 96 arch/x86/kernel/olpc.c if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && state 102 arch/x86/kernel/olpc.c return !(state == desired); state 703 arch/x86/kernel/process_32.c if (!p || p == current || p->state == TASK_RUNNING) state 739 arch/x86/kernel/process_64.c if (!p || p == current || p->state == TASK_RUNNING) state 61 arch/x86/kernel/signal_32.c current->state = TASK_INTERRUPTIBLE; state 37 arch/x86/kernel/tlb_32.c if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK) state 108 arch/x86/kernel/tlb_32.c if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK) { state 235 arch/x86/kernel/tlb_32.c if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_LAZY) state 248 arch/x86/kernel/tlb_32.c per_cpu(cpu_tlbstate, cpu).state = 0; state 783 arch/x86/mach-voyager/voyager_smp.c if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK) state 805 arch/x86/mach-voyager/voyager_smp.c if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK) { state 1065 arch/x86/mach-voyager/voyager_smp.c if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_LAZY) state 351 arch/x86/xen/smp.c current->state = TASK_UNINTERRUPTIBLE; state 78 arch/x86/xen/time.c struct vcpu_runstate_info *state; state 82 arch/x86/xen/time.c state = &__get_cpu_var(runstate); state 90 arch/x86/xen/time.c state_time = get64(&state->state_entry_time); state 92 arch/x86/xen/time.c *res = *state; state 94 arch/x86/xen/time.c } while (get64(&state->state_entry_time) != state_time); state 100 arch/x86/xen/time.c return per_cpu(runstate, vcpu).state == RUNSTATE_runnable; state 116 arch/x86/xen/time.c struct vcpu_runstate_info state; state 121 arch/x86/xen/time.c get_runstate_snapshot(&state); state 123 arch/x86/xen/time.c WARN_ON(state.state != RUNSTATE_running); state 128 arch/x86/xen/time.c blocked = state.time[RUNSTATE_blocked] - snap->time[RUNSTATE_blocked]; state 129 arch/x86/xen/time.c runnable = state.time[RUNSTATE_runnable] - snap->time[RUNSTATE_runnable]; state 130 arch/x86/xen/time.c offline = state.time[RUNSTATE_offline] - snap->time[RUNSTATE_offline]; state 132 arch/x86/xen/time.c *snap = state; state 166 arch/x86/xen/time.c struct vcpu_runstate_info state; state 180 arch/x86/xen/time.c get_runstate_snapshot(&state); state 182 arch/x86/xen/time.c WARN_ON(state.state != RUNSTATE_running); state 184 arch/x86/xen/time.c offset = now - state.state_entry_time; state 188 arch/x86/xen/time.c ret = state.time[RUNSTATE_blocked] + state 189 arch/x86/xen/time.c state.time[RUNSTATE_running] + state 150 block/as-iosched.c #define RQ_SET_STATE(rq, state) ((rq)->elevator_private2 = (void *) state) state 195 block/as-iosched.c WARN_ON(!test_bit(AS_TASK_RUNNING, &aic->state)); state 196 block/as-iosched.c clear_bit(AS_TASK_RUNNING, &aic->state); state 207 block/as-iosched.c ret->state = 1 << AS_TASK_RUNNING; state 253 block/as-iosched.c set_bit(AS_TASK_IORUNNING, &aic->state); state 492 block/as-iosched.c if (!test_bit(AS_TASK_RUNNING, &aic->state)) { state 561 block/as-iosched.c if (test_bit(AS_TASK_IORUNNING, &aic->state) || state 562 block/as-iosched.c test_bit(AS_TASK_IOSTARTED, &aic->state)) { state 564 block/as-iosched.c if (test_bit(AS_TASK_IORUNNING, &aic->state) state 579 block/as-iosched.c set_bit(AS_TASK_IOSTARTED, &aic->state); state 701 block/as-iosched.c if (!test_bit(AS_TASK_RUNNING, &aic->state)) { state 713 block/as-iosched.c if (!test_bit(AS_TASK_RUNNING, &aic->state)) { state 131 block/blk-settings.c q->backing_dev_info.state = 0; state 580 crypto/anubis.c u32 state[4]; state 588 crypto/anubis.c state[i] = be32_to_cpu(src[i]) ^ roundKey[0][i]; state 596 crypto/anubis.c T0[(state[0] >> 24) ] ^ state 597 crypto/anubis.c T1[(state[1] >> 24) ] ^ state 598 crypto/anubis.c T2[(state[2] >> 24) ] ^ state 599 crypto/anubis.c T3[(state[3] >> 24) ] ^ state 602 crypto/anubis.c T0[(state[0] >> 16) & 0xff] ^ state 603 crypto/anubis.c T1[(state[1] >> 16) & 0xff] ^ state 604 crypto/anubis.c T2[(state[2] >> 16) & 0xff] ^ state 605 crypto/anubis.c T3[(state[3] >> 16) & 0xff] ^ state 608 crypto/anubis.c T0[(state[0] >> 8) & 0xff] ^ state 609 crypto/anubis.c T1[(state[1] >> 8) & 0xff] ^ state 610 crypto/anubis.c T2[(state[2] >> 8) & 0xff] ^ state 611 crypto/anubis.c T3[(state[3] >> 8) & 0xff] ^ state 614 crypto/anubis.c T0[(state[0] ) & 0xff] ^ state 615 crypto/anubis.c T1[(state[1] ) & 0xff] ^ state 616 crypto/anubis.c T2[(state[2] ) & 0xff] ^ state 617 crypto/anubis.c T3[(state[3] ) & 0xff] ^ state 619 crypto/anubis.c state[0] = inter[0]; state 620 crypto/anubis.c state[1] = inter[1]; state 621 crypto/anubis.c state[2] = inter[2]; state 622 crypto/anubis.c state[3] = inter[3]; state 630 crypto/anubis.c (T0[(state[0] >> 24) ] & 0xff000000U) ^ state 631 crypto/anubis.c (T1[(state[1] >> 24) ] & 0x00ff0000U) ^ state 632 crypto/anubis.c (T2[(state[2] >> 24) ] & 0x0000ff00U) ^ state 633 crypto/anubis.c (T3[(state[3] >> 24) ] & 0x000000ffU) ^ state 636 crypto/anubis.c (T0[(state[0] >> 16) & 0xff] & 0xff000000U) ^ state 637 crypto/anubis.c (T1[(state[1] >> 16) & 0xff] & 0x00ff0000U) ^ state 638 crypto/anubis.c (T2[(state[2] >> 16) & 0xff] & 0x0000ff00U) ^ state 639 crypto/anubis.c (T3[(state[3] >> 16) & 0xff] & 0x000000ffU) ^ state 642 crypto/anubis.c (T0[(state[0] >> 8) & 0xff] & 0xff000000U) ^ state 643 crypto/anubis.c (T1[(state[1] >> 8) & 0xff] & 0x00ff0000U) ^ state 644 crypto/anubis.c (T2[(state[2] >> 8) & 0xff] & 0x0000ff00U) ^ state 645 crypto/anubis.c (T3[(state[3] >> 8) & 0xff] & 0x000000ffU) ^ state 648 crypto/anubis.c (T0[(state[0] ) & 0xff] & 0xff000000U) ^ state 649 crypto/anubis.c (T1[(state[1] ) & 0xff] & 0x00ff0000U) ^ state 650 crypto/anubis.c (T2[(state[2] ) & 0xff] & 0x0000ff00U) ^ state 651 crypto/anubis.c (T3[(state[3] ) & 0xff] & 0x000000ffU) ^ state 256 crypto/async_tx/async_tx.c switch (state) { state 36 crypto/chainiv.c unsigned long state; state 129 crypto/chainiv.c clear_bit(CHAINIV_STATE_INUSE, &ctx->state); state 132 crypto/chainiv.c test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) state 153 crypto/chainiv.c if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) state 193 crypto/chainiv.c if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) state 197 crypto/chainiv.c clear_bit(CHAINIV_STATE_INUSE, &ctx->state); state 213 crypto/chainiv.c if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) state 225 crypto/chainiv.c clear_bit(CHAINIV_STATE_INUSE, &ctx->state); state 279 crypto/chainiv.c BUG_ON(test_bit(CHAINIV_STATE_INUSE, &ctx->state) || ctx->queue.qlen); state 38 crypto/cryptd.c struct cryptd_state *state; state 61 crypto/cryptd.c return ictx->state; state 133 crypto/cryptd.c struct cryptd_state *state = state 140 crypto/cryptd.c spin_lock_bh(&state->lock); state 141 crypto/cryptd.c err = ablkcipher_enqueue_request(&state->queue, req); state 142 crypto/cryptd.c spin_unlock_bh(&state->lock); state 144 crypto/cryptd.c wake_up_process(state->task); state 179 crypto/cryptd.c struct cryptd_state *state = cryptd_get_state(tfm); state 182 crypto/cryptd.c mutex_lock(&state->mutex); state 183 crypto/cryptd.c active = ablkcipher_tfm_in_queue(&state->queue, state 185 crypto/cryptd.c mutex_unlock(&state->mutex); state 216 crypto/cryptd.c ctx->state = state; state 244 crypto/cryptd.c inst = cryptd_alloc_instance(alg, state); state 292 crypto/cryptd.c struct cryptd_state *state = cryptd_get_state(tfm); state 295 crypto/cryptd.c mutex_lock(&state->mutex); state 296 crypto/cryptd.c active = ahash_tfm_in_queue(&state->queue, state 298 crypto/cryptd.c mutex_unlock(&state->mutex); state 326 crypto/cryptd.c struct cryptd_state *state = state 333 crypto/cryptd.c spin_lock_bh(&state->lock); state 334 crypto/cryptd.c err = ahash_enqueue_request(&state->queue, req); state 335 crypto/cryptd.c spin_unlock_bh(&state->lock); state 337 crypto/cryptd.c wake_up_process(state->task); state 481 crypto/cryptd.c inst = cryptd_alloc_instance(alg, state); state 505 crypto/cryptd.c static struct cryptd_state state; state 517 crypto/cryptd.c return cryptd_alloc_blkcipher(tb, &state); state 519 crypto/cryptd.c return cryptd_alloc_hash(tb, &state); state 543 crypto/cryptd.c spin_lock_init(&state->lock); state 544 crypto/cryptd.c mutex_init(&state->mutex); state 545 crypto/cryptd.c crypto_init_queue(&state->queue, CRYPTD_MAX_QLEN); state 547 crypto/cryptd.c state->task = kthread_run(fn, state, name); state 548 crypto/cryptd.c if (IS_ERR(state->task)) state 549 crypto/cryptd.c return PTR_ERR(state->task); state 556 crypto/cryptd.c BUG_ON(state->queue.qlen); state 557 crypto/cryptd.c kthread_stop(state->task); state 562 crypto/cryptd.c struct cryptd_state *state = data; state 570 crypto/cryptd.c mutex_lock(&state->mutex); state 573 crypto/cryptd.c spin_lock_bh(&state->lock); state 574 crypto/cryptd.c backlog = crypto_get_backlog(&state->queue); state 575 crypto/cryptd.c req = crypto_dequeue_request(&state->queue); state 576 crypto/cryptd.c spin_unlock_bh(&state->lock); state 590 crypto/cryptd.c mutex_unlock(&state->mutex); state 602 crypto/cryptd.c err = cryptd_create_thread(&state, cryptd_thread, "cryptd"); state 608 crypto/cryptd.c kthread_stop(state.task); state 615 crypto/cryptd.c cryptd_stop_thread(&state); state 808 crypto/khazad.c u64 state; state 810 crypto/khazad.c state = be64_to_cpu(*src) ^ roundKey[0]; state 813 crypto/khazad.c state = T0[(int)(state >> 56) ] ^ state 814 crypto/khazad.c T1[(int)(state >> 48) & 0xff] ^ state 815 crypto/khazad.c T2[(int)(state >> 40) & 0xff] ^ state 816 crypto/khazad.c T3[(int)(state >> 32) & 0xff] ^ state 817 crypto/khazad.c T4[(int)(state >> 24) & 0xff] ^ state 818 crypto/khazad.c T5[(int)(state >> 16) & 0xff] ^ state 819 crypto/khazad.c T6[(int)(state >> 8) & 0xff] ^ state 820 crypto/khazad.c T7[(int)(state ) & 0xff] ^ state 824 crypto/khazad.c state = (T0[(int)(state >> 56) ] & 0xff00000000000000ULL) ^ state 825 crypto/khazad.c (T1[(int)(state >> 48) & 0xff] & 0x00ff000000000000ULL) ^ state 826 crypto/khazad.c (T2[(int)(state >> 40) & 0xff] & 0x0000ff0000000000ULL) ^ state 827 crypto/khazad.c (T3[(int)(state >> 32) & 0xff] & 0x000000ff00000000ULL) ^ state 828 crypto/khazad.c (T4[(int)(state >> 24) & 0xff] & 0x00000000ff000000ULL) ^ state 829 crypto/khazad.c (T5[(int)(state >> 16) & 0xff] & 0x0000000000ff0000ULL) ^ state 830 crypto/khazad.c (T6[(int)(state >> 8) & 0xff] & 0x000000000000ff00ULL) ^ state 831 crypto/khazad.c (T7[(int)(state ) & 0xff] & 0x00000000000000ffULL) ^ state 834 crypto/khazad.c *dst = cpu_to_be64(state); state 28 crypto/rmd128.c u32 state[4]; state 56 crypto/rmd128.c aa = state[0]; state 57 crypto/rmd128.c bb = state[1]; state 58 crypto/rmd128.c cc = state[2]; state 59 crypto/rmd128.c dd = state[3]; state 62 crypto/rmd128.c aaa = state[0]; state 63 crypto/rmd128.c bbb = state[1]; state 64 crypto/rmd128.c ccc = state[2]; state 65 crypto/rmd128.c ddd = state[3]; state 212 crypto/rmd128.c ddd += cc + state[1]; /* final result for state[0] */ state 213 crypto/rmd128.c state[1] = state[2] + dd + aaa; state 214 crypto/rmd128.c state[2] = state[3] + aa + bbb; state 215 crypto/rmd128.c state[3] = state[0] + bb + ccc; state 216 crypto/rmd128.c state[0] = ddd; state 227 crypto/rmd128.c rctx->state[0] = RMD_H0; state 228 crypto/rmd128.c rctx->state[1] = RMD_H1; state 229 crypto/rmd128.c rctx->state[2] = RMD_H2; state 230 crypto/rmd128.c rctx->state[3] = RMD_H3; state 253 crypto/rmd128.c rmd128_transform(rctx->state, rctx->buffer); state 259 crypto/rmd128.c rmd128_transform(rctx->state, rctx->buffer); state 288 crypto/rmd128.c dst[i] = cpu_to_le32p(&rctx->state[i]); state 28 crypto/rmd160.c u32 state[5]; state 60 crypto/rmd160.c aa = state[0]; state 61 crypto/rmd160.c bb = state[1]; state 62 crypto/rmd160.c cc = state[2]; state 63 crypto/rmd160.c dd = state[3]; state 64 crypto/rmd160.c ee = state[4]; state 67 crypto/rmd160.c aaa = state[0]; state 68 crypto/rmd160.c bbb = state[1]; state 69 crypto/rmd160.c ccc = state[2]; state 70 crypto/rmd160.c ddd = state[3]; state 71 crypto/rmd160.c eee = state[4]; state 254 crypto/rmd160.c ddd += cc + state[1]; /* final result for state[0] */ state 255 crypto/rmd160.c state[1] = state[2] + dd + eee; state 256 crypto/rmd160.c state[2] = state[3] + ee + aaa; state 257 crypto/rmd160.c state[3] = state[4] + aa + bbb; state 258 crypto/rmd160.c state[4] = state[0] + bb + ccc; state 259 crypto/rmd160.c state[0] = ddd; state 270 crypto/rmd160.c rctx->state[0] = RMD_H0; state 271 crypto/rmd160.c rctx->state[1] = RMD_H1; state 272 crypto/rmd160.c rctx->state[2] = RMD_H2; state 273 crypto/rmd160.c rctx->state[3] = RMD_H3; state 274 crypto/rmd160.c rctx->state[4] = RMD_H4; state 297 crypto/rmd160.c rmd160_transform(rctx->state, rctx->buffer); state 303 crypto/rmd160.c rmd160_transform(rctx->state, rctx->buffer); state 332 crypto/rmd160.c dst[i] = cpu_to_le32p(&rctx->state[i]); state 28 crypto/rmd256.c u32 state[8]; state 56 crypto/rmd256.c aa = state[0]; state 57 crypto/rmd256.c bb = state[1]; state 58 crypto/rmd256.c cc = state[2]; state 59 crypto/rmd256.c dd = state[3]; state 62 crypto/rmd256.c aaa = state[4]; state 63 crypto/rmd256.c bbb = state[5]; state 64 crypto/rmd256.c ccc = state[6]; state 65 crypto/rmd256.c ddd = state[7]; state 224 crypto/rmd256.c state[0] += aa; state 225 crypto/rmd256.c state[1] += bb; state 226 crypto/rmd256.c state[2] += cc; state 227 crypto/rmd256.c state[3] += dd; state 228 crypto/rmd256.c state[4] += aaa; state 229 crypto/rmd256.c state[5] += bbb; state 230 crypto/rmd256.c state[6] += ccc; state 231 crypto/rmd256.c state[7] += ddd; state 242 crypto/rmd256.c rctx->state[0] = RMD_H0; state 243 crypto/rmd256.c rctx->state[1] = RMD_H1; state 244 crypto/rmd256.c rctx->state[2] = RMD_H2; state 245 crypto/rmd256.c rctx->state[3] = RMD_H3; state 246 crypto/rmd256.c rctx->state[4] = RMD_H5; state 247 crypto/rmd256.c rctx->state[5] = RMD_H6; state 248 crypto/rmd256.c rctx->state[6] = RMD_H7; state 249 crypto/rmd256.c rctx->state[7] = RMD_H8; state 272 crypto/rmd256.c rmd256_transform(rctx->state, rctx->buffer); state 278 crypto/rmd256.c rmd256_transform(rctx->state, rctx->buffer); state 307 crypto/rmd256.c dst[i] = cpu_to_le32p(&rctx->state[i]); state 28 crypto/rmd320.c u32 state[10]; state 60 crypto/rmd320.c aa = state[0]; state 61 crypto/rmd320.c bb = state[1]; state 62 crypto/rmd320.c cc = state[2]; state 63 crypto/rmd320.c dd = state[3]; state 64 crypto/rmd320.c ee = state[4]; state 67 crypto/rmd320.c aaa = state[5]; state 68 crypto/rmd320.c bbb = state[6]; state 69 crypto/rmd320.c ccc = state[7]; state 70 crypto/rmd320.c ddd = state[8]; state 71 crypto/rmd320.c eee = state[9]; state 269 crypto/rmd320.c state[0] += aa; state 270 crypto/rmd320.c state[1] += bb; state 271 crypto/rmd320.c state[2] += cc; state 272 crypto/rmd320.c state[3] += dd; state 273 crypto/rmd320.c state[4] += ee; state 274 crypto/rmd320.c state[5] += aaa; state 275 crypto/rmd320.c state[6] += bbb; state 276 crypto/rmd320.c state[7] += ccc; state 277 crypto/rmd320.c state[8] += ddd; state 278 crypto/rmd320.c state[9] += eee; state 289 crypto/rmd320.c rctx->state[0] = RMD_H0; state 290 crypto/rmd320.c rctx->state[1] = RMD_H1; state 291 crypto/rmd320.c rctx->state[2] = RMD_H2; state 292 crypto/rmd320.c rctx->state[3] = RMD_H3; state 293 crypto/rmd320.c rctx->state[4] = RMD_H4; state 294 crypto/rmd320.c rctx->state[5] = RMD_H5; state 295 crypto/rmd320.c rctx->state[6] = RMD_H6; state 296 crypto/rmd320.c rctx->state[7] = RMD_H7; state 297 crypto/rmd320.c rctx->state[8] = RMD_H8; state 298 crypto/rmd320.c rctx->state[9] = RMD_H9; state 321 crypto/rmd320.c rmd320_transform(rctx->state, rctx->buffer); state 327 crypto/rmd320.c rmd320_transform(rctx->state, rctx->buffer); state 356 crypto/rmd320.c dst[i] = cpu_to_le32p(&rctx->state[i]); state 30 crypto/sha1_generic.c u32 state[5]; state 68 crypto/sha1_generic.c sha_transform(sctx->state, src, temp); state 101 crypto/sha1_generic.c dst[i] = cpu_to_be32(sctx->state[i]); state 30 crypto/sha256_generic.c u32 state[8]; state 74 crypto/sha256_generic.c a=state[0]; b=state[1]; c=state[2]; d=state[3]; state 75 crypto/sha256_generic.c e=state[4]; f=state[5]; g=state[6]; h=state[7]; state 214 crypto/sha256_generic.c state[0] += a; state[1] += b; state[2] += c; state[3] += d; state 215 crypto/sha256_generic.c state[4] += e; state[5] += f; state[6] += g; state[7] += h; state 226 crypto/sha256_generic.c sctx->state[0] = SHA224_H0; state 227 crypto/sha256_generic.c sctx->state[1] = SHA224_H1; state 228 crypto/sha256_generic.c sctx->state[2] = SHA224_H2; state 229 crypto/sha256_generic.c sctx->state[3] = SHA224_H3; state 230 crypto/sha256_generic.c sctx->state[4] = SHA224_H4; state 231 crypto/sha256_generic.c sctx->state[5] = SHA224_H5; state 232 crypto/sha256_generic.c sctx->state[6] = SHA224_H6; state 233 crypto/sha256_generic.c sctx->state[7] = SHA224_H7; state 241 crypto/sha256_generic.c sctx->state[0] = SHA256_H0; state 242 crypto/sha256_generic.c sctx->state[1] = SHA256_H1; state 243 crypto/sha256_generic.c sctx->state[2] = SHA256_H2; state 244 crypto/sha256_generic.c sctx->state[3] = SHA256_H3; state 245 crypto/sha256_generic.c sctx->state[4] = SHA256_H4; state 246 crypto/sha256_generic.c sctx->state[5] = SHA256_H5; state 247 crypto/sha256_generic.c sctx->state[6] = SHA256_H6; state 248 crypto/sha256_generic.c sctx->state[7] = SHA256_H7; state 272 crypto/sha256_generic.c sha256_transform(sctx->state, sctx->buf); state 275 crypto/sha256_generic.c sha256_transform(sctx->state, &data[i]); state 308 crypto/sha256_generic.c dst[i] = cpu_to_be32(sctx->state[i]); state 25 crypto/sha512_generic.c u64 state[8]; state 107 crypto/sha512_generic.c a=state[0]; b=state[1]; c=state[2]; d=state[3]; state 108 crypto/sha512_generic.c e=state[4]; f=state[5]; g=state[6]; h=state[7]; state 130 crypto/sha512_generic.c state[0] += a; state[1] += b; state[2] += c; state[3] += d; state 131 crypto/sha512_generic.c state[4] += e; state[5] += f; state[6] += g; state[7] += h; state 141 crypto/sha512_generic.c sctx->state[0] = SHA512_H0; state 142 crypto/sha512_generic.c sctx->state[1] = SHA512_H1; state 143 crypto/sha512_generic.c sctx->state[2] = SHA512_H2; state 144 crypto/sha512_generic.c sctx->state[3] = SHA512_H3; state 145 crypto/sha512_generic.c sctx->state[4] = SHA512_H4; state 146 crypto/sha512_generic.c sctx->state[5] = SHA512_H5; state 147 crypto/sha512_generic.c sctx->state[6] = SHA512_H6; state 148 crypto/sha512_generic.c sctx->state[7] = SHA512_H7; state 156 crypto/sha512_generic.c sctx->state[0] = SHA384_H0; state 157 crypto/sha512_generic.c sctx->state[1] = SHA384_H1; state 158 crypto/sha512_generic.c sctx->state[2] = SHA384_H2; state 159 crypto/sha512_generic.c sctx->state[3] = SHA384_H3; state 160 crypto/sha512_generic.c sctx->state[4] = SHA384_H4; state 161 crypto/sha512_generic.c sctx->state[5] = SHA384_H5; state 162 crypto/sha512_generic.c sctx->state[6] = SHA384_H6; state 163 crypto/sha512_generic.c sctx->state[7] = SHA384_H7; state 190 crypto/sha512_generic.c sha512_transform(sctx->state, sctx->W, sctx->buf); state 193 crypto/sha512_generic.c sha512_transform(sctx->state, sctx->W, &data[i]); state 233 crypto/sha512_generic.c dst[i] = cpu_to_be64(sctx->state[i]); state 780 crypto/wp512.c u64 state[8]; /* the cipher state */ state 787 crypto/wp512.c state[0] = block[0] ^ (K[0] = wctx->hash[0]); state 788 crypto/wp512.c state[1] = block[1] ^ (K[1] = wctx->hash[1]); state 789 crypto/wp512.c state[2] = block[2] ^ (K[2] = wctx->hash[2]); state 790 crypto/wp512.c state[3] = block[3] ^ (K[3] = wctx->hash[3]); state 791 crypto/wp512.c state[4] = block[4] ^ (K[4] = wctx->hash[4]); state 792 crypto/wp512.c state[5] = block[5] ^ (K[5] = wctx->hash[5]); state 793 crypto/wp512.c state[6] = block[6] ^ (K[6] = wctx->hash[6]); state 794 crypto/wp512.c state[7] = block[7] ^ (K[7] = wctx->hash[7]); state 880 crypto/wp512.c L[0] = C0[(int)(state[0] >> 56) ] ^ state 881 crypto/wp512.c C1[(int)(state[7] >> 48) & 0xff] ^ state 882 crypto/wp512.c C2[(int)(state[6] >> 40) & 0xff] ^ state 883 crypto/wp512.c C3[(int)(state[5] >> 32) & 0xff] ^ state 884 crypto/wp512.c C4[(int)(state[4] >> 24) & 0xff] ^ state 885 crypto/wp512.c C5[(int)(state[3] >> 16) & 0xff] ^ state 886 crypto/wp512.c C6[(int)(state[2] >> 8) & 0xff] ^ state 887 crypto/wp512.c C7[(int)(state[1] ) & 0xff] ^ state 890 crypto/wp512.c L[1] = C0[(int)(state[1] >> 56) ] ^ state 891 crypto/wp512.c C1[(int)(state[0] >> 48) & 0xff] ^ state 892 crypto/wp512.c C2[(int)(state[7] >> 40) & 0xff] ^ state 893 crypto/wp512.c C3[(int)(state[6] >> 32) & 0xff] ^ state 894 crypto/wp512.c C4[(int)(state[5] >> 24) & 0xff] ^ state 895 crypto/wp512.c C5[(int)(state[4] >> 16) & 0xff] ^ state 896 crypto/wp512.c C6[(int)(state[3] >> 8) & 0xff] ^ state 897 crypto/wp512.c C7[(int)(state[2] ) & 0xff] ^ state 900 crypto/wp512.c L[2] = C0[(int)(state[2] >> 56) ] ^ state 901 crypto/wp512.c C1[(int)(state[1] >> 48) & 0xff] ^ state 902 crypto/wp512.c C2[(int)(state[0] >> 40) & 0xff] ^ state 903 crypto/wp512.c C3[(int)(state[7] >> 32) & 0xff] ^ state 904 crypto/wp512.c C4[(int)(state[6] >> 24) & 0xff] ^ state 905 crypto/wp512.c C5[(int)(state[5] >> 16) & 0xff] ^ state 906 crypto/wp512.c C6[(int)(state[4] >> 8) & 0xff] ^ state 907 crypto/wp512.c C7[(int)(state[3] ) & 0xff] ^ state 910 crypto/wp512.c L[3] = C0[(int)(state[3] >> 56) ] ^ state 911 crypto/wp512.c C1[(int)(state[2] >> 48) & 0xff] ^ state 912 crypto/wp512.c C2[(int)(state[1] >> 40) & 0xff] ^ state 913 crypto/wp512.c C3[(int)(state[0] >> 32) & 0xff] ^ state 914 crypto/wp512.c C4[(int)(state[7] >> 24) & 0xff] ^ state 915 crypto/wp512.c C5[(int)(state[6] >> 16) & 0xff] ^ state 916 crypto/wp512.c C6[(int)(state[5] >> 8) & 0xff] ^ state 917 crypto/wp512.c C7[(int)(state[4] ) & 0xff] ^ state 920 crypto/wp512.c L[4] = C0[(int)(state[4] >> 56) ] ^ state 921 crypto/wp512.c C1[(int)(state[3] >> 48) & 0xff] ^ state 922 crypto/wp512.c C2[(int)(state[2] >> 40) & 0xff] ^ state 923 crypto/wp512.c C3[(int)(state[1] >> 32) & 0xff] ^ state 924 crypto/wp512.c C4[(int)(state[0] >> 24) & 0xff] ^ state 925 crypto/wp512.c C5[(int)(state[7] >> 16) & 0xff] ^ state 926 crypto/wp512.c C6[(int)(state[6] >> 8) & 0xff] ^ state 927 crypto/wp512.c C7[(int)(state[5] ) & 0xff] ^ state 930 crypto/wp512.c L[5] = C0[(int)(state[5] >> 56) ] ^ state 931 crypto/wp512.c C1[(int)(state[4] >> 48) & 0xff] ^ state 932 crypto/wp512.c C2[(int)(state[3] >> 40) & 0xff] ^ state 933 crypto/wp512.c C3[(int)(state[2] >> 32) & 0xff] ^ state 934 crypto/wp512.c C4[(int)(state[1] >> 24) & 0xff] ^ state 935 crypto/wp512.c C5[(int)(state[0] >> 16) & 0xff] ^ state 936 crypto/wp512.c C6[(int)(state[7] >> 8) & 0xff] ^ state 937 crypto/wp512.c C7[(int)(state[6] ) & 0xff] ^ state 940 crypto/wp512.c L[6] = C0[(int)(state[6] >> 56) ] ^ state 941 crypto/wp512.c C1[(int)(state[5] >> 48) & 0xff] ^ state 942 crypto/wp512.c C2[(int)(state[4] >> 40) & 0xff] ^ state 943 crypto/wp512.c C3[(int)(state[3] >> 32) & 0xff] ^ state 944 crypto/wp512.c C4[(int)(state[2] >> 24) & 0xff] ^ state 945 crypto/wp512.c C5[(int)(state[1] >> 16) & 0xff] ^ state 946 crypto/wp512.c C6[(int)(state[0] >> 8) & 0xff] ^ state 947 crypto/wp512.c C7[(int)(state[7] ) & 0xff] ^ state 950 crypto/wp512.c L[7] = C0[(int)(state[7] >> 56) ] ^ state 951 crypto/wp512.c C1[(int)(state[6] >> 48) & 0xff] ^ state 952 crypto/wp512.c C2[(int)(state[5] >> 40) & 0xff] ^ state 953 crypto/wp512.c C3[(int)(state[4] >> 32) & 0xff] ^ state 954 crypto/wp512.c C4[(int)(state[3] >> 24) & 0xff] ^ state 955 crypto/wp512.c C5[(int)(state[2] >> 16) & 0xff] ^ state 956 crypto/wp512.c C6[(int)(state[1] >> 8) & 0xff] ^ state 957 crypto/wp512.c C7[(int)(state[0] ) & 0xff] ^ state 960 crypto/wp512.c state[0] = L[0]; state 961 crypto/wp512.c state[1] = L[1]; state 962 crypto/wp512.c state[2] = L[2]; state 963 crypto/wp512.c state[3] = L[3]; state 964 crypto/wp512.c state[4] = L[4]; state 965 crypto/wp512.c state[5] = L[5]; state 966 crypto/wp512.c state[6] = L[6]; state 967 crypto/wp512.c state[7] = L[7]; state 972 crypto/wp512.c wctx->hash[0] ^= state[0] ^ block[0]; state 973 crypto/wp512.c wctx->hash[1] ^= state[1] ^ block[1]; state 974 crypto/wp512.c wctx->hash[2] ^= state[2] ^ block[2]; state 975 crypto/wp512.c wctx->hash[3] ^= state[3] ^ block[3]; state 976 crypto/wp512.c wctx->hash[4] ^= state[4] ^ block[4]; state 977 crypto/wp512.c wctx->hash[5] ^= state[5] ^ block[5]; state 978 crypto/wp512.c wctx->hash[6] ^= state[6] ^ block[6]; state 979 crypto/wp512.c wctx->hash[7] ^= state[7] ^ block[7]; state 409 fs/afs/callback.c vnode->state = AFS_VL_UPDATING; state 417 fs/afs/callback.c vnode->state = AFS_VL_UPDATING; state 420 fs/afs/callback.c vnode->state = AFS_VL_VOLUME_DELETED; state 423 fs/afs/callback.c vnode->state = AFS_VL_UNCERTAIN; state 280 fs/afs/cmservice.c call->state = AFS_CALL_REPLYING; state 327 fs/afs/cmservice.c call->state = AFS_CALL_REPLYING; state 358 fs/afs/cmservice.c call->state = AFS_CALL_REPLYING; state 399 fs/afs/cmservice.c call->state = AFS_CALL_REPLYING; state 495 fs/afs/cmservice.c call->state = AFS_CALL_REPLYING; state 579 fs/afs/cmservice.c call->state = AFS_CALL_REPLYING; state 93 fs/afs/flock.c p->fl_u.afs.state = AFS_LOCK_GRANTED; state 205 fs/afs/flock.c fl->fl_u.afs.state = ret; state 273 fs/afs/flock.c fl->fl_u.afs.state = AFS_LOCK_PENDING; state 354 fs/afs/flock.c fl->fl_u.afs.state <= AFS_LOCK_GRANTED); state 355 fs/afs/flock.c if (fl->fl_u.afs.state <= AFS_LOCK_GRANTED) { state 356 fs/afs/flock.c ret = fl->fl_u.afs.state; state 369 fs/afs/flock.c if (fl->fl_u.afs.state <= AFS_LOCK_GRANTED) { state 370 fs/afs/flock.c ret = fl->fl_u.afs.state; state 406 fs/afs/flock.c fl->fl_u.afs.state = AFS_LOCK_GRANTED; state 456 fs/afs/flock.c fl->fl_u.afs.state = AFS_LOCK_PENDING; state 102 fs/afs/internal.h } state; state 160 fs/afs/internal.h } state __attribute__((packed)); state 260 fs/afs/internal.h afs_vlocation_state_t state; /* volume location state */ state 539 fs/afs/proc.c afs_vlocation_states[vlocation->state], state 285 fs/afs/rxrpc.c call->state = AFS_CALL_AWAIT_REPLY; state 364 fs/afs/rxrpc.c call->state = AFS_CALL_AWAIT_REPLY; state 433 fs/afs/rxrpc.c while ((call->state == AFS_CALL_AWAIT_REPLY || state 434 fs/afs/rxrpc.c call->state == AFS_CALL_AWAIT_OP_ID || state 435 fs/afs/rxrpc.c call->state == AFS_CALL_AWAIT_REQUEST || state 436 fs/afs/rxrpc.c call->state == AFS_CALL_AWAIT_ACK) && state 446 fs/afs/rxrpc.c call->state == AFS_CALL_AWAIT_REPLY) state 447 fs/afs/rxrpc.c call->state = AFS_CALL_COMPLETE; state 457 fs/afs/rxrpc.c if (call->state != AFS_CALL_AWAIT_REPLY) state 463 fs/afs/rxrpc.c call->state = AFS_CALL_ERROR; state 471 fs/afs/rxrpc.c call->state = AFS_CALL_COMPLETE; state 476 fs/afs/rxrpc.c call->state = AFS_CALL_BUSY; state 481 fs/afs/rxrpc.c call->state = AFS_CALL_ABORTED; state 486 fs/afs/rxrpc.c call->state = AFS_CALL_ERROR; state 491 fs/afs/rxrpc.c call->state = AFS_CALL_ERROR; state 504 fs/afs/rxrpc.c if (call->state >= AFS_CALL_COMPLETE) { state 542 fs/afs/rxrpc.c if (call->state >= AFS_CALL_COMPLETE) state 554 fs/afs/rxrpc.c if (call->state < AFS_CALL_COMPLETE) { state 628 fs/afs/rxrpc.c if (call->state >= AFS_CALL_COMPLETE && call->wait_mode) { state 688 fs/afs/rxrpc.c call->state = AFS_CALL_AWAIT_OP_ID; state 738 fs/afs/rxrpc.c call->state = AFS_CALL_AWAIT_REQUEST; state 770 fs/afs/rxrpc.c call->state = AFS_CALL_AWAIT_ACK; state 810 fs/afs/rxrpc.c call->state = AFS_CALL_AWAIT_ACK; state 176 fs/afs/vlocation.c vl->state = AFS_VL_NEW; state 411 fs/afs/vlocation.c vl->state = AFS_VL_CREATING; state 419 fs/afs/vlocation.c vl->state = AFS_VL_VALID; state 441 fs/afs/vlocation.c while (vl->state != AFS_VL_VALID) { state 442 fs/afs/vlocation.c afs_vlocation_state_t state = vl->state; state 444 fs/afs/vlocation.c _debug("invalid [state %d]", state); state 446 fs/afs/vlocation.c if (state == AFS_VL_NEW || state == AFS_VL_NO_VOLUME) { state 447 fs/afs/vlocation.c vl->state = AFS_VL_CREATING; state 458 fs/afs/vlocation.c vl->state == AFS_VL_NEW || state 459 fs/afs/vlocation.c vl->state == AFS_VL_VALID || state 460 fs/afs/vlocation.c vl->state == AFS_VL_NO_VOLUME); state 473 fs/afs/vlocation.c vl->state = AFS_VL_NEW; state 668 fs/afs/vlocation.c vl->state = AFS_VL_UPDATING; state 677 fs/afs/vlocation.c vl->state = AFS_VL_VALID; state 680 fs/afs/vlocation.c vl->state = AFS_VL_VOLUME_DELETED; state 683 fs/afs/vlocation.c vl->state = AFS_VL_UNCERTAIN; state 218 fs/afs/volume.c int ret, state, loop; state 244 fs/afs/volume.c state = server->fs_state; state 246 fs/afs/volume.c _debug("consider %d [%d]", loop, state); state 248 fs/afs/volume.c switch (state) { state 259 fs/afs/volume.c ret = state; state 265 fs/afs/volume.c ret = state; state 272 fs/afs/volume.c ret = state; state 281 fs/afs/volume.c ret = state; state 46 fs/afs/write.c if (front->state == AFS_WBACK_SYNCING) { state 48 fs/afs/write.c front->state = AFS_WBACK_COMPLETE; state 198 fs/afs/write.c candidate->state = AFS_WBACK_PENDING; state 219 fs/afs/write.c if (wb->key == key && wb->state == AFS_WBACK_PENDING) state 229 fs/afs/write.c wb->state == AFS_WBACK_PENDING) state 270 fs/afs/write.c if (wb->state == AFS_WBACK_PENDING) state 271 fs/afs/write.c wb->state = AFS_WBACK_CONFLICTING; state 564 fs/afs/write.c wb->state = AFS_WBACK_WRITING; state 801 fs/afs/write.c wb->state = AFS_WBACK_SYNCING; state 806 fs/afs/write.c if (xwb->state == AFS_WBACK_PENDING) state 807 fs/afs/write.c xwb->state = AFS_WBACK_CONFLICTING; state 822 fs/afs/write.c wb->state == AFS_WBACK_COMPLETE || state 1382 fs/binfmt_elf.c i = p->state ? ffz(~p->state) + 1 : 0; state 1403 fs/binfmt_elf_fdpic.c i = p->state ? ffz(~p->state) + 1 : 0; state 161 fs/cifs/connect.c cFYI(1, ("State: 0x%x Flags: 0x%lx", server->ssocket->state, state 165 fs/cifs/connect.c server->ssocket->state, state 382 fs/ecryptfs/ecryptfs_kernel.h u8 state; state 86 fs/ecryptfs/messaging.c msg_ctx->state = ECRYPTFS_MSG_CTX_STATE_PENDING; state 102 fs/ecryptfs/messaging.c msg_ctx->state = ECRYPTFS_MSG_CTX_STATE_FREE; state 177 fs/ecryptfs/messaging.c msg_ctx->state = ECRYPTFS_MSG_CTX_STATE_NO_REPLY; state 437 fs/ecryptfs/messaging.c if (msg_ctx->state != ECRYPTFS_MSG_CTX_STATE_PENDING) { state 458 fs/ecryptfs/messaging.c msg_ctx->state = ECRYPTFS_MSG_CTX_STATE_DONE; state 572 fs/ecryptfs/messaging.c if (msg_ctx->state != ECRYPTFS_MSG_CTX_STATE_DONE) { state 633 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr[i].state = ECRYPTFS_MSG_CTX_STATE_FREE; state 43 fs/fs-writeback.c return !test_and_set_bit(BDI_pdflush, &bdi->state); state 54 fs/fs-writeback.c return test_bit(BDI_pdflush, &bdi->state); state 64 fs/fs-writeback.c clear_bit(BDI_pdflush, &bdi->state); state 239 fs/fuse/dev.c req->state = FUSE_REQ_PENDING; state 278 fs/fuse/dev.c req->state = FUSE_REQ_FINISHED; state 308 fs/fuse/dev.c wait_event_interruptible(req->waitq, req->state == FUSE_REQ_FINISHED); state 328 fs/fuse/dev.c if (req->state == FUSE_REQ_FINISHED) state 332 fs/fuse/dev.c if (req->state == FUSE_REQ_SENT) state 346 fs/fuse/dev.c if (req->state == FUSE_REQ_FINISHED) state 350 fs/fuse/dev.c if (req->state == FUSE_REQ_PENDING) { state 363 fs/fuse/dev.c wait_event(req->waitq, req->state == FUSE_REQ_FINISHED); state 370 fs/fuse/dev.c BUG_ON(req->state != FUSE_REQ_FINISHED); state 768 fs/fuse/dev.c req->state = FUSE_REQ_READING; state 803 fs/fuse/dev.c req->state = FUSE_REQ_SENT; state 916 fs/fuse/dev.c req->state = FUSE_REQ_WRITING; state 1000 fs/fuse/dev.c req->state = FUSE_REQ_FINISHED; state 221 fs/fuse/fuse_i.h enum fuse_req_state state; state 440 fs/gfs2/bmap.c enum alloc_state state; state 457 fs/gfs2/bmap.c state = ALLOC_DATA; state 465 fs/gfs2/bmap.c state = ALLOC_GROW_DEPTH; state 468 fs/gfs2/bmap.c state = ALLOC_GROW_HEIGHT; state 483 fs/gfs2/bmap.c if (state != ALLOC_DATA || gfs2_is_jdata(ip)) state 485 fs/gfs2/bmap.c switch (state) { state 506 fs/gfs2/bmap.c state = ALLOC_GROW_DEPTH; state 525 fs/gfs2/bmap.c state = ALLOC_DATA; state 540 fs/gfs2/bmap.c } while (state != ALLOC_DATA); state 416 fs/gfs2/glock.c unsigned state = ret & LM_OUT_ST_MASK; state 419 fs/gfs2/glock.c state_change(gl, state); state 424 fs/gfs2/glock.c state != LM_ST_UNLOCKED && gl->gl_demote_state == LM_ST_UNLOCKED) state 428 fs/gfs2/glock.c if (unlikely(state != gl->gl_target)) { state 446 fs/gfs2/glock.c switch(state) { state 458 fs/gfs2/glock.c printk(KERN_ERR "GFS2: wanted %u got %u\n", gl->gl_target, state); state 469 fs/gfs2/glock.c if (state != LM_ST_UNLOCKED) { state 756 fs/gfs2/glock.c gh->gh_state = state; state 775 fs/gfs2/glock.c gh->gh_state = state; state 829 fs/gfs2/glock.c gl->gl_demote_state = state; state 835 fs/gfs2/glock.c gl->gl_demote_state != state) { state 1070 fs/gfs2/glock.c error = gfs2_glock_nq_init(gl, state, flags, gh); state 1272 fs/gfs2/glock.c handle_callback(gl, state, 1, delay); state 1553 fs/gfs2/glock.c switch(state) { state 117 fs/gfs2/glock.h gfs2_holder_init(gl, state, flags, gh); state 659 fs/gfs2/ops_file.c unsigned int state; state 663 fs/gfs2/ops_file.c state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; state 670 fs/gfs2/ops_file.c if (fl_gh->gh_state == state) state 675 fs/gfs2/ops_file.c gfs2_holder_reinit(state, flags, fl_gh); state 681 fs/gfs2/ops_file.c gfs2_holder_init(gl, state, flags, fl_gh); state 431 fs/gfs2/ops_super.c char *state; state 434 fs/gfs2/ops_super.c state = "off"; state 437 fs/gfs2/ops_super.c state = "account"; state 440 fs/gfs2/ops_super.c state = "on"; state 443 fs/gfs2/ops_super.c state = "unknown"; state 446 fs/gfs2/ops_super.c seq_printf(s, ",quota=%s", state); state 451 fs/gfs2/ops_super.c char *state; state 454 fs/gfs2/ops_super.c state = "writeback"; state 457 fs/gfs2/ops_super.c state = "ordered"; state 460 fs/gfs2/ops_super.c state = "unknown"; state 463 fs/gfs2/ops_super.c seq_printf(s, ",data=%s", state); state 226 fs/gfs2/rgrp.c const u8 state1 = state << 2; state 227 fs/gfs2/rgrp.c const u8 state2 = state << 4; state 228 fs/gfs2/rgrp.c const u8 state3 = state << 6; state 232 fs/gfs2/rgrp.c if (((*byte) & 0x03) == state) state 1641 fs/gfs2/rgrp.c state, 0, state 211 fs/jffs2/erase.c if(instr->state != MTD_ERASE_DONE) { state 212 fs/jffs2/erase.c printk(KERN_WARNING "Erase at 0x%08x finished, but state != MTD_ERASE_DONE. State is 0x%x instead.\n", instr->addr, instr->state); state 620 fs/jffs2/fs.c if (ic->state != INO_STATE_CHECKEDABSENT) { state 623 fs/jffs2/fs.c ic->ino, ic->state)); state 171 fs/jffs2/gc.c switch(ic->state) { state 180 fs/jffs2/gc.c printk(KERN_WARNING "Inode #%u is in state %d during CRC check phase!\n", ic->ino, ic->state); state 203 fs/jffs2/gc.c ic->state = INO_STATE_CHECKING; state 315 fs/jffs2/gc.c switch(ic->state) { state 322 fs/jffs2/gc.c ic->state = INO_STATE_GC; state 342 fs/jffs2/gc.c ic->ino, ic->state); state 356 fs/jffs2/gc.c ic->ino, ic->state)); state 376 fs/jffs2/gc.c if (ic->state == INO_STATE_GC) { state 382 fs/jffs2/gc.c ic->state = INO_STATE_CHECKEDABSENT; state 410 fs/jffs2/nodelist.c ic->state = state; state 480 fs/jffs2/nodelist.c if (old->state != INO_STATE_READING && old->state != INO_STATE_CLEARING) state 174 fs/jffs2/nodelist.h uint16_t state; state 1137 fs/jffs2/readinode.c if (f->inocache->state == INO_STATE_READING) state 1146 fs/jffs2/readinode.c if (f->inocache->state == INO_STATE_READING) state 1177 fs/jffs2/readinode.c if (f->inocache->state == INO_STATE_READING) state 1189 fs/jffs2/readinode.c if (f->inocache->state == INO_STATE_READING) state 1241 fs/jffs2/readinode.c if (f->inocache->state != INO_STATE_CHECKING) { state 1305 fs/jffs2/readinode.c if (f->inocache->state == INO_STATE_READING) state 1323 fs/jffs2/readinode.c switch(f->inocache->state) { state 1326 fs/jffs2/readinode.c f->inocache->state = INO_STATE_READING; state 1334 fs/jffs2/readinode.c dbg_readinode("waiting for ino #%u in state %d\n", ino, f->inocache->state); state 1343 fs/jffs2/readinode.c JFFS2_ERROR("Eep. Trying to read_inode #%u when it's already in state %d!\n", ino, f->inocache->state); state 1365 fs/jffs2/readinode.c f->inocache->state = INO_STATE_READING; state 1408 fs/jffs2/readinode.c if (f->inocache && f->inocache->state != INO_STATE_CHECKING) state 1431 fs/jffs2/readinode.c if (f->inocache && f->inocache->state != INO_STATE_CHECKING) { state 493 fs/jffs2/wbuf.c if (ic->state == INO_STATE_PRESENT && !ref_obsolete(raw)) { state 511 fs/jffs2/wbuf.c } else if (unlikely(ic->state != INO_STATE_PRESENT && state 512 fs/jffs2/wbuf.c ic->state != INO_STATE_CHECKEDABSENT && state 513 fs/jffs2/wbuf.c ic->state != INO_STATE_GC)) { state 514 fs/jffs2/wbuf.c JFFS2_ERROR("Inode #%u is in strange state %d!\n", ic->ino, ic->state); state 37 fs/jffs2/write.c f->inocache->state = INO_STATE_PRESENT; state 197 fs/jfs/jfs_incore.h uint state; /* mount/recovery state */ state 1329 fs/jfs/jfs_logmgr.c if (logsuper->state != cpu_to_le32(LOGREDONE)) { state 1407 fs/jfs/jfs_logmgr.c logsuper->state = cpu_to_le32(LOGMOUNT); state 1702 fs/jfs/jfs_logmgr.c logsuper->state = cpu_to_le32(LOGREDONE); state 2425 fs/jfs/jfs_logmgr.c logsuper->state = cpu_to_le32(LOGREDONE); state 73 fs/jfs/jfs_logmgr.h __le32 state; /* 4: state - see below */ state 250 fs/jfs/jfs_mount.c if (chkSuper(sb) || (sbi->state != FM_CLEAN)) state 371 fs/jfs/jfs_mount.c sbi->state = le32_to_cpu(j_sb->s_state); state 417 fs/jfs/jfs_mount.c if (state == FM_DIRTY) { state 418 fs/jfs/jfs_mount.c sbi->p_state = state; state 420 fs/jfs/jfs_mount.c } else if (state == FM_MOUNT) { state 421 fs/jfs/jfs_mount.c sbi->p_state = sbi->state; state 422 fs/jfs/jfs_mount.c state = FM_DIRTY; state 423 fs/jfs/jfs_mount.c } else if (state == FM_CLEAN) { state 424 fs/jfs/jfs_mount.c state = sbi->p_state; state 427 fs/jfs/jfs_mount.c } else if (sbi->state == FM_DIRTY) state 435 fs/jfs/jfs_mount.c j_sb->s_state = cpu_to_le32(state); state 436 fs/jfs/jfs_mount.c sbi->state = state; state 438 fs/jfs/jfs_mount.c if (state == FM_MOUNT) { state 442 fs/jfs/jfs_mount.c } else if (state == FM_CLEAN) { state 130 fs/lockd/clntproc.c argp->state = nsm_local_state; state 449 fs/lockd/clntproc.c new->fl_u.nfs_fl.state = fl->fl_u.nfs_fl.state; state 468 fs/lockd/clntproc.c fl->fl_u.nfs_fl.state = 0; state 541 fs/lockd/clntproc.c fl->fl_u.nfs_fl.state = host->h_state; state 571 fs/lockd/clntproc.c if (fl->fl_u.nfs_fl.state != host->h_state) { state 268 fs/lockd/mon.c resp->state = ntohl(*p++); state 270 fs/lockd/mon.c resp->status, resp->state); state 277 fs/lockd/mon.c resp->state = ntohl(*p++); state 130 fs/lockd/svc4proc.c if (host->h_nsmstate && host->h_nsmstate != argp->state) { state 438 fs/lockd/svc4proc.c nlm_host_rebooted(&saddr, argp->mon, argp->len, argp->state); state 160 fs/lockd/svcproc.c if (host->h_nsmstate && host->h_nsmstate != argp->state) { state 470 fs/lockd/svcproc.c nlm_host_rebooted(&saddr, argp->mon, argp->len, argp->state); state 262 fs/lockd/xdr.c argp->state = ntohl(*p++); state 342 fs/lockd/xdr.c argp->state = ntohl(*p++); state 351 fs/lockd/xdr.c argp->state = ntohl(*p++); state 450 fs/lockd/xdr.c *p++ = htonl(argp->state); state 269 fs/lockd/xdr4.c argp->state = ntohl(*p++); state 349 fs/lockd/xdr4.c argp->state = ntohl(*p++); state 358 fs/lockd/xdr4.c argp->state = ntohl(*p++); state 458 fs/lockd/xdr4.c *p++ = htonl(argp->state); state 622 fs/ncpfs/inode.c server->rcv.state = 0; state 159 fs/ncpfs/sock.c server->rcv.state = 0; state 565 fs/ncpfs/sock.c switch (server->rcv.state) { state 588 fs/ncpfs/sock.c server->rcv.state = 4; state 601 fs/ncpfs/sock.c server->rcv.state = 5; state 608 fs/ncpfs/sock.c server->rcv.state = 2; state 621 fs/ncpfs/sock.c server->rcv.state = 3; state 628 fs/ncpfs/sock.c server->rcv.state = 1; state 666 fs/ncpfs/sock.c server->rcv.state = 0; state 422 fs/nfs/client.c clp->cl_cons_state = state; state 48 fs/nfs/delegation.c struct inode *inode = state->inode; state 57 fs/nfs/delegation.c status = nfs4_lock_delegation_recall(state, fl); state 80 fs/nfs/delegation.c struct nfs4_state *state; state 86 fs/nfs/delegation.c state = ctx->state; state 87 fs/nfs/delegation.c if (state == NULL) state 89 fs/nfs/delegation.c if (!test_bit(NFS_DELEGATED_STATE, &state->flags)) state 91 fs/nfs/delegation.c if (memcmp(state->stateid.data, stateid->data, sizeof(state->stateid.data)) != 0) state 95 fs/nfs/delegation.c err = nfs4_open_delegation_recall(ctx, state, stateid); state 97 fs/nfs/delegation.c err = nfs_delegation_claim_locks(ctx, state); state 558 fs/nfs/inode.c ctx->state = NULL; state 587 fs/nfs/inode.c if (ctx->state != NULL) { state 589 fs/nfs/inode.c nfs4_close_sync(&ctx->path, ctx->state, ctx->mode); state 591 fs/nfs/inode.c nfs4_close_state(&ctx->path, ctx->state, ctx->mode); state 152 fs/nfs/nfs4_fs.h int state; /* State on the server (R,W, or RW) */ state 230 fs/nfs/nfs4proc.c struct nfs4_state *state; state 305 fs/nfs/nfs4proc.c if (p->state != NULL) state 306 fs/nfs/nfs4proc.c nfs4_put_open_state(p->state); state 332 fs/nfs/nfs4proc.c ret |= test_bit(NFS_O_RDONLY_STATE, &state->flags) != 0; state 335 fs/nfs/nfs4proc.c ret |= test_bit(NFS_O_WRONLY_STATE, &state->flags) != 0; state 338 fs/nfs/nfs4proc.c ret |= test_bit(NFS_O_RDWR_STATE, &state->flags) != 0; state 356 fs/nfs/nfs4proc.c state->n_wronly++; state 359 fs/nfs/nfs4proc.c state->n_rdonly++; state 362 fs/nfs/nfs4proc.c state->n_rdwr++; state 364 fs/nfs/nfs4proc.c nfs4_state_set_mode_locked(state, state->state | open_flags); state 369 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags) == 0) state 370 fs/nfs/nfs4proc.c memcpy(state->stateid.data, stateid->data, sizeof(state->stateid.data)); state 371 fs/nfs/nfs4proc.c memcpy(state->open_stateid.data, stateid->data, sizeof(state->open_stateid.data)); state 374 fs/nfs/nfs4proc.c set_bit(NFS_O_RDONLY_STATE, &state->flags); state 377 fs/nfs/nfs4proc.c set_bit(NFS_O_WRONLY_STATE, &state->flags); state 380 fs/nfs/nfs4proc.c set_bit(NFS_O_RDWR_STATE, &state->flags); state 386 fs/nfs/nfs4proc.c write_seqlock(&state->seqlock); state 387 fs/nfs/nfs4proc.c nfs_set_open_stateid_locked(state, stateid, open_flags); state 388 fs/nfs/nfs4proc.c write_sequnlock(&state->seqlock); state 398 fs/nfs/nfs4proc.c write_seqlock(&state->seqlock); state 400 fs/nfs/nfs4proc.c memcpy(state->stateid.data, deleg_stateid->data, sizeof(state->stateid.data)); state 401 fs/nfs/nfs4proc.c set_bit(NFS_DELEGATED_STATE, &state->flags); state 404 fs/nfs/nfs4proc.c nfs_set_open_stateid_locked(state, open_stateid, open_flags); state 405 fs/nfs/nfs4proc.c write_sequnlock(&state->seqlock); state 406 fs/nfs/nfs4proc.c spin_lock(&state->owner->so_lock); state 407 fs/nfs/nfs4proc.c update_open_stateflags(state, open_flags); state 408 fs/nfs/nfs4proc.c spin_unlock(&state->owner->so_lock); state 427 fs/nfs/nfs4proc.c struct nfs4_state *state = opendata->state; state 428 fs/nfs/nfs4proc.c struct nfs_inode *nfsi = NFS_I(state->inode); state 437 fs/nfs/nfs4proc.c if (can_open_cached(state, open_mode)) { state 438 fs/nfs/nfs4proc.c spin_lock(&state->owner->so_lock); state 439 fs/nfs/nfs4proc.c if (can_open_cached(state, open_mode)) { state 440 fs/nfs/nfs4proc.c update_open_stateflags(state, open_mode); state 441 fs/nfs/nfs4proc.c spin_unlock(&state->owner->so_lock); state 445 fs/nfs/nfs4proc.c spin_unlock(&state->owner->so_lock); state 454 fs/nfs/nfs4proc.c ret = nfs_may_open(state->inode, state->owner->so_cred, open_mode); state 467 fs/nfs/nfs4proc.c update_open_stateid(state, NULL, &stateid, open_mode); state 474 fs/nfs/nfs4proc.c atomic_inc(&state->count); state 475 fs/nfs/nfs4proc.c return state; state 481 fs/nfs/nfs4proc.c struct nfs4_state *state = NULL; state 487 fs/nfs/nfs4proc.c state = nfs4_try_open_cached(data); state 499 fs/nfs/nfs4proc.c state = nfs4_get_open_state(inode, data->owner); state 500 fs/nfs/nfs4proc.c if (state == NULL) state 511 fs/nfs/nfs4proc.c nfs_inode_set_delegation(state->inode, state 515 fs/nfs/nfs4proc.c nfs_inode_reclaim_delegation(state->inode, state 523 fs/nfs/nfs4proc.c update_open_stateid(state, &data->o_res.stateid, deleg_stateid, data->o_arg.open_flags); state 527 fs/nfs/nfs4proc.c return state; state 536 fs/nfs/nfs4proc.c struct nfs_inode *nfsi = NFS_I(state->inode); state 539 fs/nfs/nfs4proc.c spin_lock(&state->inode->i_lock); state 541 fs/nfs/nfs4proc.c if (ctx->state != state) state 544 fs/nfs/nfs4proc.c spin_unlock(&state->inode->i_lock); state 547 fs/nfs/nfs4proc.c spin_unlock(&state->inode->i_lock); state 555 fs/nfs/nfs4proc.c opendata = nfs4_opendata_alloc(&ctx->path, state->owner, 0, NULL); state 558 fs/nfs/nfs4proc.c opendata->state = state; state 559 fs/nfs/nfs4proc.c atomic_inc(&state->count); state 589 fs/nfs/nfs4proc.c clear_bit(NFS_DELEGATED_STATE, &state->flags); state 591 fs/nfs/nfs4proc.c if (state->n_rdwr != 0) { state 595 fs/nfs/nfs4proc.c if (newstate != state) state 598 fs/nfs/nfs4proc.c if (state->n_wronly != 0) { state 602 fs/nfs/nfs4proc.c if (newstate != state) state 605 fs/nfs/nfs4proc.c if (state->n_rdonly != 0) { state 609 fs/nfs/nfs4proc.c if (newstate != state) state 616 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags) == 0 && state 617 fs/nfs/nfs4proc.c memcmp(state->stateid.data, state->open_stateid.data, sizeof(state->stateid.data)) != 0) { state 618 fs/nfs/nfs4proc.c write_seqlock(&state->seqlock); state 619 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags) == 0) state 620 fs/nfs/nfs4proc.c memcpy(state->stateid.data, state->open_stateid.data, sizeof(state->stateid.data)); state 621 fs/nfs/nfs4proc.c write_sequnlock(&state->seqlock); state 637 fs/nfs/nfs4proc.c opendata = nfs4_open_recoverdata_alloc(ctx, state); state 641 fs/nfs/nfs4proc.c opendata->o_arg.fh = NFS_FH(state->inode); state 643 fs/nfs/nfs4proc.c delegation = rcu_dereference(NFS_I(state->inode)->delegation); state 648 fs/nfs/nfs4proc.c status = nfs4_open_recover(opendata, state); state 655 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(state->inode); state 659 fs/nfs/nfs4proc.c err = _nfs4_do_open_reclaim(ctx, state); state 672 fs/nfs/nfs4proc.c ctx = nfs4_state_find_open_context(state); state 675 fs/nfs/nfs4proc.c ret = nfs4_do_open_reclaim(ctx, state); state 685 fs/nfs/nfs4proc.c opendata = nfs4_open_recoverdata_alloc(ctx, state); state 691 fs/nfs/nfs4proc.c ret = nfs4_open_recover(opendata, state); state 699 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(state->inode); state 702 fs/nfs/nfs4proc.c err = _nfs4_open_delegation_recall(ctx, state, stateid); state 737 fs/nfs/nfs4proc.c struct nfs4_state *state = NULL; state 745 fs/nfs/nfs4proc.c state = nfs4_opendata_to_nfs4_state(data); state 746 fs/nfs/nfs4proc.c if (!IS_ERR(state)) state 747 fs/nfs/nfs4proc.c nfs4_close_state(&data->path, state, data->o_arg.open_flags); state 808 fs/nfs/nfs4proc.c if (data->state != NULL) { state 811 fs/nfs/nfs4proc.c if (can_open_cached(data->state, data->o_arg.open_flags & (FMODE_READ|FMODE_WRITE|O_EXCL))) state 814 fs/nfs/nfs4proc.c delegation = rcu_dereference(NFS_I(data->state->inode)->delegation); state 867 fs/nfs/nfs4proc.c struct nfs4_state *state = NULL; state 878 fs/nfs/nfs4proc.c state = nfs4_opendata_to_nfs4_state(data); state 879 fs/nfs/nfs4proc.c if (!IS_ERR(state)) state 880 fs/nfs/nfs4proc.c nfs4_close_state(&data->path, state, data->o_arg.open_flags); state 978 fs/nfs/nfs4proc.c opendata = nfs4_open_recoverdata_alloc(ctx, state); state 981 fs/nfs/nfs4proc.c ret = nfs4_open_recover(opendata, state); state 990 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(state->inode); state 995 fs/nfs/nfs4proc.c err = _nfs4_open_expired(ctx, state); state 1007 fs/nfs/nfs4proc.c ctx = nfs4_state_find_open_context(state); state 1010 fs/nfs/nfs4proc.c ret = nfs4_do_open_expired(ctx, state); state 1037 fs/nfs/nfs4proc.c struct nfs4_state *state = NULL; state 1061 fs/nfs/nfs4proc.c opendata->state = nfs4_get_open_state(path->dentry->d_inode, sp); state 1070 fs/nfs/nfs4proc.c state = nfs4_opendata_to_nfs4_state(opendata); state 1071 fs/nfs/nfs4proc.c status = PTR_ERR(state); state 1072 fs/nfs/nfs4proc.c if (IS_ERR(state)) state 1077 fs/nfs/nfs4proc.c *res = state; state 1168 fs/nfs/nfs4proc.c } else if (state != NULL) { state 1169 fs/nfs/nfs4proc.c nfs4_copy_stateid(&arg.stateid, state, current->files); state 1174 fs/nfs/nfs4proc.c if (status == 0 && state != NULL) state 1188 fs/nfs/nfs4proc.c _nfs4_do_setattr(inode, cred, fattr, sattr, state), state 1197 fs/nfs/nfs4proc.c struct nfs4_state *state; state 1207 fs/nfs/nfs4proc.c struct nfs4_state_owner *sp = calldata->state->owner; state 1209 fs/nfs/nfs4proc.c nfs4_put_open_state(calldata->state); state 1219 fs/nfs/nfs4proc.c struct nfs4_state *state = calldata->state; state 1229 fs/nfs/nfs4proc.c nfs_set_open_stateid(state, &calldata->res.stateid, 0); state 1247 fs/nfs/nfs4proc.c struct nfs4_state *state = calldata->state; state 1254 fs/nfs/nfs4proc.c spin_lock(&state->owner->so_lock); state 1256 fs/nfs/nfs4proc.c if (state->n_rdwr == 0) { state 1257 fs/nfs/nfs4proc.c if (state->n_rdonly == 0) { state 1258 fs/nfs/nfs4proc.c clear_rd |= test_and_clear_bit(NFS_O_RDONLY_STATE, &state->flags); state 1259 fs/nfs/nfs4proc.c clear_rdwr |= test_and_clear_bit(NFS_O_RDWR_STATE, &state->flags); state 1261 fs/nfs/nfs4proc.c if (state->n_wronly == 0) { state 1262 fs/nfs/nfs4proc.c clear_wr |= test_and_clear_bit(NFS_O_WRONLY_STATE, &state->flags); state 1263 fs/nfs/nfs4proc.c clear_rdwr |= test_and_clear_bit(NFS_O_RDWR_STATE, &state->flags); state 1266 fs/nfs/nfs4proc.c spin_unlock(&state->owner->so_lock); state 1273 fs/nfs/nfs4proc.c if (test_bit(NFS_O_RDONLY_STATE, &state->flags) != 0) { state 1276 fs/nfs/nfs4proc.c } else if (test_bit(NFS_O_WRONLY_STATE, &state->flags) != 0) { state 1303 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(state->inode); state 1305 fs/nfs/nfs4proc.c struct nfs4_state_owner *sp = state->owner; state 1309 fs/nfs/nfs4proc.c .rpc_cred = state->owner->so_cred, state 1323 fs/nfs/nfs4proc.c calldata->inode = state->inode; state 1324 fs/nfs/nfs4proc.c calldata->state = state; state 1325 fs/nfs/nfs4proc.c calldata->arg.fh = NFS_FH(state->inode); state 1326 fs/nfs/nfs4proc.c calldata->arg.stateid = &state->open_stateid; state 1328 fs/nfs/nfs4proc.c calldata->arg.seqid = nfs_alloc_seqid(&state->owner->so_seqid); state 1352 fs/nfs/nfs4proc.c nfs4_put_open_state(state); state 1364 fs/nfs/nfs4proc.c ret = nfs_may_open(state->inode, state 1365 fs/nfs/nfs4proc.c state->owner->so_cred, state 1374 fs/nfs/nfs4proc.c ctx->state = state; state 1379 fs/nfs/nfs4proc.c nfs4_close_sync(path, state, nd->intent.open.flags); state 1393 fs/nfs/nfs4proc.c struct nfs4_state *state; state 1412 fs/nfs/nfs4proc.c state = nfs4_do_open(dir, &path, nd->intent.open.flags, &attr, cred); state 1414 fs/nfs/nfs4proc.c if (IS_ERR(state)) { state 1415 fs/nfs/nfs4proc.c if (PTR_ERR(state) == -ENOENT) { state 1420 fs/nfs/nfs4proc.c return (struct dentry *)state; state 1422 fs/nfs/nfs4proc.c res = d_add_unique(dentry, igrab(state->inode)); state 1427 fs/nfs/nfs4proc.c nfs4_intent_set_file(nd, &path, state); state 1439 fs/nfs/nfs4proc.c struct nfs4_state *state; state 1444 fs/nfs/nfs4proc.c state = nfs4_do_open(dir, &path, openflags, NULL, cred); state 1446 fs/nfs/nfs4proc.c if (IS_ERR(state)) { state 1447 fs/nfs/nfs4proc.c switch (PTR_ERR(state)) { state 1453 fs/nfs/nfs4proc.c lookup_instantiate_filp(nd, (struct dentry *)state, NULL); state 1459 fs/nfs/nfs4proc.c if (state->inode == dentry->d_inode) { state 1461 fs/nfs/nfs4proc.c nfs4_intent_set_file(nd, &path, state); state 1464 fs/nfs/nfs4proc.c nfs4_close_sync(&path, state, openflags); state 1652 fs/nfs/nfs4proc.c struct nfs4_state *state = NULL; state 1663 fs/nfs/nfs4proc.c state = ctx->state; state 1666 fs/nfs/nfs4proc.c status = nfs4_do_setattr(inode, cred, fattr, sattr, state); state 1886 fs/nfs/nfs4proc.c struct nfs4_state *state; state 1895 fs/nfs/nfs4proc.c state = nfs4_do_open(dir, &path, flags, sattr, cred); state 1897 fs/nfs/nfs4proc.c if (IS_ERR(state)) { state 1898 fs/nfs/nfs4proc.c status = PTR_ERR(state); state 1901 fs/nfs/nfs4proc.c d_add(dentry, igrab(state->inode)); state 1905 fs/nfs/nfs4proc.c status = nfs4_do_setattr(state->inode, cred, &fattr, sattr, state); state 1907 fs/nfs/nfs4proc.c nfs_setattr_update_inode(state->inode, sattr); state 1908 fs/nfs/nfs4proc.c nfs_post_op_update_inode(state->inode, &fattr); state 1911 fs/nfs/nfs4proc.c status = nfs4_intent_set_file(nd, &path, state); state 1913 fs/nfs/nfs4proc.c nfs4_close_sync(&path, state, flags); state 3056 fs/nfs/nfs4proc.c struct inode *inode = state->inode; state 3070 fs/nfs/nfs4proc.c .rpc_cred = state->owner->so_cred, state 3077 fs/nfs/nfs4proc.c status = nfs4_set_lock_state(state, request); state 3102 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(state->inode), state 3103 fs/nfs/nfs4proc.c _nfs4_proc_getlk(state, cmd, request), state 3255 fs/nfs/nfs4proc.c status = nfs4_set_lock_state(state, request); state 3263 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags)) state 3330 fs/nfs/nfs4proc.c struct nfs4_state *state = data->lsp->ls_state; state 3339 fs/nfs/nfs4proc.c data->arg.open_stateid = &state->stateid; state 3407 fs/nfs/nfs4proc.c .rpc_cred = state->owner->so_cred, state 3410 fs/nfs/nfs4proc.c .rpc_client = NFS_CLIENT(state->inode), state 3447 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(state->inode); state 3453 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags) != 0) state 3455 fs/nfs/nfs4proc.c err = _nfs4_do_setlk(state, F_SETLK, request, 1); state 3465 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(state->inode); state 3469 fs/nfs/nfs4proc.c err = nfs4_set_lock_state(state, request); state 3473 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags) != 0) state 3475 fs/nfs/nfs4proc.c err = _nfs4_do_setlk(state, F_SETLK, request, 0); state 3485 fs/nfs/nfs4proc.c struct nfs_client *clp = state->owner->so_client; state 3490 fs/nfs/nfs4proc.c status = nfs4_set_lock_state(state, request); state 3498 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags)) { state 3499 fs/nfs/nfs4proc.c struct nfs_inode *nfsi = NFS_I(state->inode); state 3503 fs/nfs/nfs4proc.c if (test_bit(NFS_DELEGATED_STATE, &state->flags)) { state 3511 fs/nfs/nfs4proc.c status = _nfs4_do_setlk(state, cmd, request, 0); state 3531 fs/nfs/nfs4proc.c err = nfs4_handle_exception(NFS_SERVER(state->inode), state 3532 fs/nfs/nfs4proc.c _nfs4_proc_setlk(state, cmd, request), state 3542 fs/nfs/nfs4proc.c struct nfs4_state *state; state 3548 fs/nfs/nfs4proc.c state = ctx->state; state 3554 fs/nfs/nfs4proc.c return nfs4_proc_getlk(state, F_GETLK, request); state 3560 fs/nfs/nfs4proc.c return nfs4_proc_unlck(state, cmd, request); state 3563 fs/nfs/nfs4proc.c status = nfs4_proc_setlk(state, cmd, request); state 3576 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(state->inode); state 3580 fs/nfs/nfs4proc.c err = nfs4_set_lock_state(state, fl); state 3584 fs/nfs/nfs4proc.c err = _nfs4_do_setlk(state, F_SETLK, fl, 0); state 351 fs/nfs/nfs4state.c struct nfs4_state *state; state 353 fs/nfs/nfs4state.c state = kzalloc(sizeof(*state), GFP_KERNEL); state 354 fs/nfs/nfs4state.c if (!state) state 356 fs/nfs/nfs4state.c atomic_set(&state->count, 1); state 357 fs/nfs/nfs4state.c INIT_LIST_HEAD(&state->lock_states); state 358 fs/nfs/nfs4state.c spin_lock_init(&state->state_lock); state 359 fs/nfs/nfs4state.c seqlock_init(&state->seqlock); state 360 fs/nfs/nfs4state.c return state; state 366 fs/nfs/nfs4state.c if (state->state == mode) state 369 fs/nfs/nfs4state.c if ((mode & FMODE_WRITE) != (state->state & FMODE_WRITE)) { state 371 fs/nfs/nfs4state.c list_move(&state->open_states, &state->owner->so_states); state 373 fs/nfs/nfs4state.c list_move_tail(&state->open_states, &state->owner->so_states); state 375 fs/nfs/nfs4state.c state->state = mode; state 382 fs/nfs/nfs4state.c struct nfs4_state *state; state 384 fs/nfs/nfs4state.c list_for_each_entry(state, &nfsi->open_states, inode_states) { state 385 fs/nfs/nfs4state.c if (state->owner != owner) state 387 fs/nfs/nfs4state.c if (atomic_inc_not_zero(&state->count)) state 388 fs/nfs/nfs4state.c return state; state 396 fs/nfs/nfs4state.c kfree(state); state 402 fs/nfs/nfs4state.c struct nfs4_state *state, *new; state 406 fs/nfs/nfs4state.c state = __nfs4_find_state_byowner(inode, owner); state 408 fs/nfs/nfs4state.c if (state) state 413 fs/nfs/nfs4state.c state = __nfs4_find_state_byowner(inode, owner); state 414 fs/nfs/nfs4state.c if (state == NULL && new != NULL) { state 415 fs/nfs/nfs4state.c state = new; state 416 fs/nfs/nfs4state.c state->owner = owner; state 418 fs/nfs/nfs4state.c list_add(&state->inode_states, &nfsi->open_states); state 419 fs/nfs/nfs4state.c state->inode = igrab(inode); state 423 fs/nfs/nfs4state.c list_add_tail(&state->open_states, &owner->so_states); state 432 fs/nfs/nfs4state.c return state; state 441 fs/nfs/nfs4state.c struct inode *inode = state->inode; state 442 fs/nfs/nfs4state.c struct nfs4_state_owner *owner = state->owner; state 444 fs/nfs/nfs4state.c if (!atomic_dec_and_lock(&state->count, &owner->so_lock)) state 447 fs/nfs/nfs4state.c list_del(&state->inode_states); state 448 fs/nfs/nfs4state.c list_del(&state->open_states); state 452 fs/nfs/nfs4state.c nfs4_free_open_state(state); state 461 fs/nfs/nfs4state.c struct nfs4_state_owner *owner = state->owner; state 470 fs/nfs/nfs4state.c state->n_rdonly--; state 473 fs/nfs/nfs4state.c state->n_wronly--; state 476 fs/nfs/nfs4state.c state->n_rdwr--; state 479 fs/nfs/nfs4state.c if (state->n_rdwr == 0) { state 480 fs/nfs/nfs4state.c if (state->n_rdonly == 0) { state 482 fs/nfs/nfs4state.c call_close |= test_bit(NFS_O_RDONLY_STATE, &state->flags); state 483 fs/nfs/nfs4state.c call_close |= test_bit(NFS_O_RDWR_STATE, &state->flags); state 485 fs/nfs/nfs4state.c if (state->n_wronly == 0) { state 487 fs/nfs/nfs4state.c call_close |= test_bit(NFS_O_WRONLY_STATE, &state->flags); state 488 fs/nfs/nfs4state.c call_close |= test_bit(NFS_O_RDWR_STATE, &state->flags); state 491 fs/nfs/nfs4state.c clear_bit(NFS_DELEGATED_STATE, &state->flags); state 493 fs/nfs/nfs4state.c nfs4_state_set_mode_locked(state, newstate); state 497 fs/nfs/nfs4state.c nfs4_put_open_state(state); state 500 fs/nfs/nfs4state.c nfs4_do_close(path, state, wait); state 505 fs/nfs/nfs4state.c __nfs4_close(path, state, mode, 0); state 510 fs/nfs/nfs4state.c __nfs4_close(path, state, mode, 1); state 521 fs/nfs/nfs4state.c list_for_each_entry(pos, &state->lock_states, ls_locks) { state 538 fs/nfs/nfs4state.c struct nfs_client *clp = state->owner->so_client; state 578 fs/nfs/nfs4state.c spin_lock(&state->state_lock); state 579 fs/nfs/nfs4state.c lsp = __nfs4_find_lock_state(state, owner); state 583 fs/nfs/nfs4state.c new->ls_state = state; state 584 fs/nfs/nfs4state.c list_add(&new->ls_locks, &state->lock_states); state 585 fs/nfs/nfs4state.c set_bit(LK_STATE_IN_USE, &state->flags); state 590 fs/nfs/nfs4state.c spin_unlock(&state->state_lock); state 591 fs/nfs/nfs4state.c new = nfs4_alloc_lock_state(state, owner); state 595 fs/nfs/nfs4state.c spin_unlock(&state->state_lock); state 607 fs/nfs/nfs4state.c struct nfs4_state *state; state 611 fs/nfs/nfs4state.c state = lsp->ls_state; state 612 fs/nfs/nfs4state.c if (!atomic_dec_and_lock(&lsp->ls_count, &state->state_lock)) state 615 fs/nfs/nfs4state.c if (list_empty(&state->lock_states)) state 616 fs/nfs/nfs4state.c clear_bit(LK_STATE_IN_USE, &state->flags); state 617 fs/nfs/nfs4state.c spin_unlock(&state->state_lock); state 645 fs/nfs/nfs4state.c lsp = nfs4_get_lock_state(state, fl->fl_owner); state 663 fs/nfs/nfs4state.c seq = read_seqbegin(&state->seqlock); state 664 fs/nfs/nfs4state.c memcpy(dst, &state->stateid, sizeof(*dst)); state 665 fs/nfs/nfs4state.c } while (read_seqretry(&state->seqlock, seq)); state 666 fs/nfs/nfs4state.c if (test_bit(LK_STATE_IN_USE, &state->flags) == 0) state 669 fs/nfs/nfs4state.c spin_lock(&state->state_lock); state 670 fs/nfs/nfs4state.c lsp = __nfs4_find_lock_state(state, fl_owner); state 673 fs/nfs/nfs4state.c spin_unlock(&state->state_lock); state 816 fs/nfs/nfs4state.c struct inode *inode = state->inode; state 823 fs/nfs/nfs4state.c if (nfs_file_open_context(fl->fl_file)->state != state) state 825 fs/nfs/nfs4state.c status = ops->recover_lock(state, fl); state 849 fs/nfs/nfs4state.c struct nfs4_state *state; state 861 fs/nfs/nfs4state.c list_for_each_entry(state, &sp->so_states, open_states) { state 862 fs/nfs/nfs4state.c if (state->state == 0) state 864 fs/nfs/nfs4state.c status = ops->recover_open(sp, state); state 866 fs/nfs/nfs4state.c status = nfs4_reclaim_locks(ops, state); state 869 fs/nfs/nfs4state.c list_for_each_entry(lock, &state->lock_states, ls_locks) { state 887 fs/nfs/nfs4state.c memset(state->stateid.data, 0, state 888 fs/nfs/nfs4state.c sizeof(state->stateid.data)); state 890 fs/nfs/nfs4state.c state->state = 0; state 907 fs/nfs/nfs4state.c struct nfs4_state *state; state 916 fs/nfs/nfs4state.c list_for_each_entry(state, &sp->so_states, open_states) { state 917 fs/nfs/nfs4state.c clear_bit(NFS_DELEGATED_STATE, &state->flags); state 918 fs/nfs/nfs4state.c clear_bit(NFS_O_RDONLY_STATE, &state->flags); state 919 fs/nfs/nfs4state.c clear_bit(NFS_O_WRONLY_STATE, &state->flags); state 920 fs/nfs/nfs4state.c clear_bit(NFS_O_RDWR_STATE, &state->flags); state 921 fs/nfs/nfs4state.c list_for_each_entry(lock, &state->lock_states, ls_locks) { state 1149 fs/nfs/nfs4xdr.c if (ctx->state != NULL) { state 1150 fs/nfs/nfs4xdr.c nfs4_copy_stateid(&stateid, ctx->state, ctx->lockowner); state 253 fs/nfs/pagelist.c if (req->wb_context->state != prev->wb_context->state) state 1452 fs/nfsd/export.c int state, first = 0; state 1457 fs/nfsd/export.c state = (flg->flag & flags) ? 0 : 1; state 1458 fs/nfsd/export.c if (*flg->name[state]) state 1459 fs/nfsd/export.c seq_printf(m, "%s%s", first++?",":"", flg->name[state]); state 438 fs/nfsd/nfs4acl.c memset(state, 0, sizeof(struct posix_acl_state)); state 439 fs/nfsd/nfs4acl.c state->empty = 1; state 447 fs/nfsd/nfs4acl.c state->users = kzalloc(alloc, GFP_KERNEL); state 448 fs/nfsd/nfs4acl.c if (!state->users) state 450 fs/nfsd/nfs4acl.c state->groups = kzalloc(alloc, GFP_KERNEL); state 451 fs/nfsd/nfs4acl.c if (!state->groups) { state 452 fs/nfsd/nfs4acl.c kfree(state->users); state 460 fs/nfsd/nfs4acl.c kfree(state->users); state 461 fs/nfsd/nfs4acl.c kfree(state->groups); state 466 fs/nfsd/nfs4acl.c state->mask.allow |= astate->allow; state 512 fs/nfsd/nfs4acl.c if (state->empty && (flags & NFS4_ACL_TYPE_DEFAULT)) { state 521 fs/nfsd/nfs4acl.c nace = 4 + state->users->n + state->groups->n; state 528 fs/nfsd/nfs4acl.c error = check_deny(state->owner.deny, 1); state 531 fs/nfsd/nfs4acl.c low_mode_from_nfs4(state->owner.allow, &pace->e_perm, flags); state 534 fs/nfsd/nfs4acl.c for (i=0; i < state->users->n; i++) { state 537 fs/nfsd/nfs4acl.c error = check_deny(state->users->aces[i].perms.deny, 0); state 540 fs/nfsd/nfs4acl.c low_mode_from_nfs4(state->users->aces[i].perms.allow, state 542 fs/nfsd/nfs4acl.c pace->e_id = state->users->aces[i].uid; state 543 fs/nfsd/nfs4acl.c add_to_mask(state, &state->users->aces[i].perms); state 548 fs/nfsd/nfs4acl.c error = check_deny(state->group.deny, 0); state 551 fs/nfsd/nfs4acl.c low_mode_from_nfs4(state->group.allow, &pace->e_perm, flags); state 553 fs/nfsd/nfs4acl.c add_to_mask(state, &state->group); state 555 fs/nfsd/nfs4acl.c for (i=0; i < state->groups->n; i++) { state 558 fs/nfsd/nfs4acl.c error = check_deny(state->groups->aces[i].perms.deny, 0); state 561 fs/nfsd/nfs4acl.c low_mode_from_nfs4(state->groups->aces[i].perms.allow, state 563 fs/nfsd/nfs4acl.c pace->e_id = state->groups->aces[i].uid; state 564 fs/nfsd/nfs4acl.c add_to_mask(state, &state->groups->aces[i].perms); state 569 fs/nfsd/nfs4acl.c low_mode_from_nfs4(state->mask.allow, &pace->e_perm, flags); state 574 fs/nfsd/nfs4acl.c error = check_deny(state->other.deny, 0); state 577 fs/nfsd/nfs4acl.c low_mode_from_nfs4(state->other.allow, &pace->e_perm, flags); state 608 fs/nfsd/nfs4acl.c a->aces[i].perms.allow = state->everyone.allow; state 609 fs/nfsd/nfs4acl.c a->aces[i].perms.deny = state->everyone.deny; state 636 fs/nfsd/nfs4acl.c state->empty = 0; state 641 fs/nfsd/nfs4acl.c allow_bits(&state->owner, mask); state 643 fs/nfsd/nfs4acl.c deny_bits(&state->owner, mask); state 647 fs/nfsd/nfs4acl.c i = find_uid(state, state->users, ace->who); state 649 fs/nfsd/nfs4acl.c allow_bits(&state->users->aces[i].perms, mask); state 651 fs/nfsd/nfs4acl.c deny_bits(&state->users->aces[i].perms, mask); state 652 fs/nfsd/nfs4acl.c mask = state->users->aces[i].perms.deny; state 653 fs/nfsd/nfs4acl.c deny_bits(&state->owner, mask); state 658 fs/nfsd/nfs4acl.c allow_bits(&state->group, mask); state 660 fs/nfsd/nfs4acl.c deny_bits(&state->group, mask); state 661 fs/nfsd/nfs4acl.c mask = state->group.deny; state 662 fs/nfsd/nfs4acl.c deny_bits(&state->owner, mask); state 663 fs/nfsd/nfs4acl.c deny_bits(&state->everyone, mask); state 664 fs/nfsd/nfs4acl.c deny_bits_array(state->users, mask); state 665 fs/nfsd/nfs4acl.c deny_bits_array(state->groups, mask); state 669 fs/nfsd/nfs4acl.c i = find_uid(state, state->groups, ace->who); state 671 fs/nfsd/nfs4acl.c allow_bits(&state->groups->aces[i].perms, mask); state 673 fs/nfsd/nfs4acl.c deny_bits(&state->groups->aces[i].perms, mask); state 674 fs/nfsd/nfs4acl.c mask = state->groups->aces[i].perms.deny; state 675 fs/nfsd/nfs4acl.c deny_bits(&state->owner, mask); state 676 fs/nfsd/nfs4acl.c deny_bits(&state->group, mask); state 677 fs/nfsd/nfs4acl.c deny_bits(&state->everyone, mask); state 678 fs/nfsd/nfs4acl.c deny_bits_array(state->users, mask); state 679 fs/nfsd/nfs4acl.c deny_bits_array(state->groups, mask); state 684 fs/nfsd/nfs4acl.c allow_bits(&state->owner, mask); state 685 fs/nfsd/nfs4acl.c allow_bits(&state->group, mask); state 686 fs/nfsd/nfs4acl.c allow_bits(&state->other, mask); state 687 fs/nfsd/nfs4acl.c allow_bits(&state->everyone, mask); state 688 fs/nfsd/nfs4acl.c allow_bits_array(state->users, mask); state 689 fs/nfsd/nfs4acl.c allow_bits_array(state->groups, mask); state 691 fs/nfsd/nfs4acl.c deny_bits(&state->owner, mask); state 692 fs/nfsd/nfs4acl.c deny_bits(&state->group, mask); state 693 fs/nfsd/nfs4acl.c deny_bits(&state->other, mask); state 694 fs/nfsd/nfs4acl.c deny_bits(&state->everyone, mask); state 695 fs/nfsd/nfs4acl.c deny_bits_array(state->users, mask); state 696 fs/nfsd/nfs4acl.c deny_bits_array(state->groups, mask); state 327 fs/ntfs/inode.c ni->state = 0; state 352 fs/ntfs/inode.c ni->state = 0; state 51 fs/ntfs/inode.h unsigned long state; /* NTFS specific flags describing this inode. state 185 fs/ntfs/inode.h return test_bit(NI_##flag, &(ni)->state); \ state 189 fs/ntfs/inode.h set_bit(NI_##flag, &(ni)->state); \ state 193 fs/ntfs/inode.h clear_bit(NI_##flag, &(ni)->state); \ state 202 fs/ntfs/inode.h return test_and_set_bit(NI_##flag, &(ni)->state); \ state 206 fs/ntfs/inode.h return test_and_clear_bit(NI_##flag, &(ni)->state); \ state 38 fs/ocfs2/cluster/masklog.c char *state; state 41 fs/ocfs2/cluster/masklog.c state = "allow"; state 43 fs/ocfs2/cluster/masklog.c state = "deny"; state 45 fs/ocfs2/cluster/masklog.c state = "off"; state 47 fs/ocfs2/cluster/masklog.c return snprintf(buf, PAGE_SIZE, "%s\n", state); state 339 fs/ocfs2/dlm/dlmast.c if (res->state & DLM_LOCK_RES_RECOVERING) { state 344 fs/ocfs2/dlm/dlmast.c if (res->state & DLM_LOCK_RES_MIGRATING) { state 119 fs/ocfs2/dlm/dlmcommon.h u16 state; state 324 fs/ocfs2/dlm/dlmcommon.h u16 state; state 446 fs/ocfs2/dlm/dlmcommon.h int state; state 755 fs/ocfs2/dlm/dlmcommon.h if (res->state & DLM_LOCK_RES_RECOVERING) state 757 fs/ocfs2/dlm/dlmcommon.h else if (res->state & DLM_LOCK_RES_MIGRATING) state 759 fs/ocfs2/dlm/dlmcommon.h else if (res->state & DLM_LOCK_RES_IN_PROGRESS) state 89 fs/ocfs2/dlm/dlmconvert.c res->state |= DLM_LOCK_RES_IN_PROGRESS; state 94 fs/ocfs2/dlm/dlmconvert.c res->state &= ~DLM_LOCK_RES_IN_PROGRESS; state 272 fs/ocfs2/dlm/dlmconvert.c lock->ml.convert_type, res->state & DLM_LOCK_RES_IN_PROGRESS); state 275 fs/ocfs2/dlm/dlmconvert.c if (res->state & DLM_LOCK_RES_RECOVERING) { state 295 fs/ocfs2/dlm/dlmconvert.c res->state |= DLM_LOCK_RES_IN_PROGRESS; state 322 fs/ocfs2/dlm/dlmconvert.c res->state &= ~DLM_LOCK_RES_IN_PROGRESS; state 512 fs/ocfs2/dlm/dlmconvert.c res->state |= DLM_LOCK_RES_IN_PROGRESS; state 516 fs/ocfs2/dlm/dlmconvert.c res->state &= ~DLM_LOCK_RES_IN_PROGRESS; state 108 fs/ocfs2/dlm/dlmdebug.c buf, res->owner, res->state); state 591 fs/ocfs2/dlm/dlmdebug.c res->owner, res->state, res->last_used, state 763 fs/ocfs2/dlm/dlmdebug.c char *state; state 775 fs/ocfs2/dlm/dlmdebug.c state = "NEW"; break; state 777 fs/ocfs2/dlm/dlmdebug.c state = "JOINED"; break; state 779 fs/ocfs2/dlm/dlmdebug.c state = "SHUTDOWN"; break; state 781 fs/ocfs2/dlm/dlmdebug.c state = "LEAVING"; break; state 783 fs/ocfs2/dlm/dlmdebug.c state = "UNKNOWN"; break; state 793 fs/ocfs2/dlm/dlmdebug.c dlm->dlm_thread_task->pid, dlm->node_num, state); state 838 fs/ocfs2/dlm/dlmdebug.c if (dlm->reco.state == DLM_RECO_STATE_ACTIVE) state 839 fs/ocfs2/dlm/dlmdebug.c state = "ACTIVE"; state 841 fs/ocfs2/dlm/dlmdebug.c state = "INACTIVE"; state 847 fs/ocfs2/dlm/dlmdebug.c dlm->reco.new_master, state); state 858 fs/ocfs2/dlm/dlmdebug.c switch (node->state) { state 860 fs/ocfs2/dlm/dlmdebug.c state = "INIT"; state 863 fs/ocfs2/dlm/dlmdebug.c state = "REQUESTING"; state 866 fs/ocfs2/dlm/dlmdebug.c state = "DEAD"; state 869 fs/ocfs2/dlm/dlmdebug.c state = "RECEIVING"; state 872 fs/ocfs2/dlm/dlmdebug.c state = "REQUESTED"; state 875 fs/ocfs2/dlm/dlmdebug.c state = "DONE"; state 878 fs/ocfs2/dlm/dlmdebug.c state = "FINALIZE-SENT"; state 881 fs/ocfs2/dlm/dlmdebug.c state = "BAD"; state 885 fs/ocfs2/dlm/dlmdebug.c node->node_num, state); state 227 fs/ocfs2/dlm/dlmdomain.c if (res->state & DLM_LOCK_RES_DROPPING_REF) { state 833 fs/ocfs2/dlm/dlmdomain.c } else if (dlm->reco.state & DLM_RECO_STATE_ACTIVE) { state 1561 fs/ocfs2/dlm/dlmdomain.c dlm->reco.state = 0; state 236 fs/ocfs2/dlm/dlmlock.c res->state |= DLM_LOCK_RES_IN_PROGRESS; state 249 fs/ocfs2/dlm/dlmlock.c res->state &= ~DLM_LOCK_RES_IN_PROGRESS; state 605 fs/ocfs2/dlm/dlmmaster.c res->state = DLM_LOCK_RES_IN_PROGRESS; state 727 fs/ocfs2/dlm/dlmmaster.c BUG_ON(tmpres->state & DLM_LOCK_RES_DROPPING_REF); state 729 fs/ocfs2/dlm/dlmmaster.c } else if (tmpres->state & DLM_LOCK_RES_DROPPING_REF) state 962 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_IN_PROGRESS; state 1180 fs/ocfs2/dlm/dlmmaster.c *state = NODE_DOWN; state 1182 fs/ocfs2/dlm/dlmmaster.c *state = NODE_UP; state 1428 fs/ocfs2/dlm/dlmmaster.c if (res->state & (DLM_LOCK_RES_RECOVERING| state 1468 fs/ocfs2/dlm/dlmmaster.c if (!(res->state & DLM_LOCK_RES_IN_PROGRESS)) { state 1648 fs/ocfs2/dlm/dlmmaster.c res->state |= DLM_LOCK_RES_SETREF_INPROG; state 1724 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_SETREF_INPROG; state 1827 fs/ocfs2/dlm/dlmmaster.c if (res->state & DLM_LOCK_RES_RECOVERING) { state 1857 fs/ocfs2/dlm/dlmmaster.c if (!(res->state & DLM_LOCK_RES_IN_PROGRESS)) { state 1915 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_MIGRATING; state 1918 fs/ocfs2/dlm/dlmmaster.c BUG_ON(res->state & DLM_LOCK_RES_DIRTY); state 1977 fs/ocfs2/dlm/dlmmaster.c res->state |= DLM_LOCK_RES_SETREF_INPROG; state 2018 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_SETREF_INPROG; state 2101 fs/ocfs2/dlm/dlmmaster.c if (res->state & DLM_LOCK_RES_MIGRATING) { state 2268 fs/ocfs2/dlm/dlmmaster.c if (res->state & DLM_LOCK_RES_SETREF_INPROG) state 2271 fs/ocfs2/dlm/dlmmaster.c BUG_ON(res->state & DLM_LOCK_RES_DROPPING_REF); state 2330 fs/ocfs2/dlm/dlmmaster.c BUG_ON(res->state & DLM_LOCK_RES_DROPPING_REF); state 2518 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_MIGRATING; state 2577 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_MIGRATING; state 2620 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_MIGRATING; state 2633 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_MIGRATING; state 2740 fs/ocfs2/dlm/dlmmaster.c can_proceed = !!(res->state & DLM_LOCK_RES_MIGRATING); state 2757 fs/ocfs2/dlm/dlmmaster.c ret = !!(res->state & DLM_LOCK_RES_DIRTY); state 2787 fs/ocfs2/dlm/dlmmaster.c BUG_ON(res->state & DLM_LOCK_RES_BLOCK_DIRTY); state 2788 fs/ocfs2/dlm/dlmmaster.c res->state |= DLM_LOCK_RES_BLOCK_DIRTY; state 2795 fs/ocfs2/dlm/dlmmaster.c res->state & DLM_LOCK_RES_DIRTY ? "yes" : "no"); state 2805 fs/ocfs2/dlm/dlmmaster.c res->state & DLM_LOCK_RES_MIGRATING ? "yes":"no", state 2809 fs/ocfs2/dlm/dlmmaster.c res->state & DLM_LOCK_RES_MIGRATING ? "yes":"no", state 2819 fs/ocfs2/dlm/dlmmaster.c BUG_ON(!(res->state & DLM_LOCK_RES_BLOCK_DIRTY)); state 2820 fs/ocfs2/dlm/dlmmaster.c BUG_ON(!(res->state & DLM_LOCK_RES_MIGRATING)); state 2821 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_BLOCK_DIRTY; state 3040 fs/ocfs2/dlm/dlmmaster.c if (res->state & DLM_LOCK_RES_RECOVERING) { state 3051 fs/ocfs2/dlm/dlmmaster.c res->state |= DLM_LOCK_RES_MIGRATING; state 3339 fs/ocfs2/dlm/dlmmaster.c res->state &= ~DLM_LOCK_RES_MIGRATING; state 3360 fs/ocfs2/dlm/dlmmaster.c if (res->state & DLM_LOCK_RES_MIGRATING) { state 3363 fs/ocfs2/dlm/dlmmaster.c BUG_ON(res->state & DLM_LOCK_RES_MIGRATING); state 3392 fs/ocfs2/dlm/dlmmaster.c BUG_ON(res->state & DLM_LOCK_RES_MIGRATING); state 3394 fs/ocfs2/dlm/dlmmaster.c res->state |= DLM_LOCK_RES_MIGRATING; state 263 fs/ocfs2/dlm/dlmrecovery.c dlm->reco.state & DLM_RECO_STATE_ACTIVE ? "ACTIVE" : "inactive", state 268 fs/ocfs2/dlm/dlmrecovery.c switch (ndata->state) { state 412 fs/ocfs2/dlm/dlmrecovery.c in_recovery = !!(dlm->reco.state & DLM_RECO_STATE_ACTIVE); state 424 fs/ocfs2/dlm/dlmrecovery.c dlm->reco.state, dlm->reco.new_master, state 433 fs/ocfs2/dlm/dlmrecovery.c BUG_ON(dlm->reco.state & DLM_RECO_STATE_ACTIVE); state 434 fs/ocfs2/dlm/dlmrecovery.c dlm->reco.state |= DLM_RECO_STATE_ACTIVE; state 441 fs/ocfs2/dlm/dlmrecovery.c BUG_ON(!(dlm->reco.state & DLM_RECO_STATE_ACTIVE)); state 442 fs/ocfs2/dlm/dlmrecovery.c dlm->reco.state &= ~DLM_RECO_STATE_ACTIVE; state 568 fs/ocfs2/dlm/dlmrecovery.c BUG_ON(ndata->state != DLM_RECO_NODE_DATA_INIT); state 569 fs/ocfs2/dlm/dlmrecovery.c ndata->state = DLM_RECO_NODE_DATA_REQUESTING; state 575 fs/ocfs2/dlm/dlmrecovery.c ndata->state = DLM_RECO_NODE_DATA_DONE; state 587 fs/ocfs2/dlm/dlmrecovery.c ndata->state = DLM_RECO_NODE_DATA_DEAD; state 611 fs/ocfs2/dlm/dlmrecovery.c switch (ndata->state) { state 625 fs/ocfs2/dlm/dlmrecovery.c ndata->state = DLM_RECO_NODE_DATA_REQUESTED; state 657 fs/ocfs2/dlm/dlmrecovery.c switch (ndata->state) { state 662 fs/ocfs2/dlm/dlmrecovery.c ndata->node_num, ndata->state); state 675 fs/ocfs2/dlm/dlmrecovery.c ndata->state==DLM_RECO_NODE_DATA_RECEIVING ? state 759 fs/ocfs2/dlm/dlmrecovery.c ndata->state = DLM_RECO_NODE_DATA_INIT; state 996 fs/ocfs2/dlm/dlmrecovery.c switch (ndata->state) { state 1003 fs/ocfs2/dlm/dlmrecovery.c ndata->state); state 1016 fs/ocfs2/dlm/dlmrecovery.c ndata->state = DLM_RECO_NODE_DATA_DONE; state 1367 fs/ocfs2/dlm/dlmrecovery.c res->state |= DLM_LOCK_RES_RECOVERING; state 1369 fs/ocfs2/dlm/dlmrecovery.c if (res->state & DLM_LOCK_RES_MIGRATING) { state 1375 fs/ocfs2/dlm/dlmrecovery.c } else if (res->state & DLM_LOCK_RES_RECOVERING) { state 1384 fs/ocfs2/dlm/dlmrecovery.c res->state |= DLM_LOCK_RES_MIGRATING; state 1400 fs/ocfs2/dlm/dlmrecovery.c res->state |= DLM_LOCK_RES_RECOVERING; state 1402 fs/ocfs2/dlm/dlmrecovery.c res->state |= DLM_LOCK_RES_MIGRATING; state 1427 fs/ocfs2/dlm/dlmrecovery.c res->state &= ~DLM_LOCK_RES_IN_PROGRESS; state 1945 fs/ocfs2/dlm/dlmrecovery.c res->state |= DLM_LOCK_RES_RECOVERING; state 2040 fs/ocfs2/dlm/dlmrecovery.c res->state &= ~DLM_LOCK_RES_RECOVERING; state 2056 fs/ocfs2/dlm/dlmrecovery.c if (res->state & DLM_LOCK_RES_RECOVERING) { state 2084 fs/ocfs2/dlm/dlmrecovery.c res->state &= ~DLM_LOCK_RES_RECOVERING; state 2269 fs/ocfs2/dlm/dlmrecovery.c if (res->state & DLM_LOCK_RES_DROPPING_REF) state 2279 fs/ocfs2/dlm/dlmrecovery.c res->state &= ~DLM_LOCK_RES_DROPPING_REF; state 2299 fs/ocfs2/dlm/dlmrecovery.c if (dlm->reco.state & DLM_RECO_STATE_FINALIZE) { state 2305 fs/ocfs2/dlm/dlmrecovery.c dlm->reco.state &= ~DLM_RECO_STATE_FINALIZE; state 2637 fs/ocfs2/dlm/dlmrecovery.c if (dlm->reco.state & DLM_RECO_STATE_FINALIZE) { state 2791 fs/ocfs2/dlm/dlmrecovery.c if (dlm->reco.state & DLM_RECO_STATE_FINALIZE) { state 2799 fs/ocfs2/dlm/dlmrecovery.c dlm->reco.state |= DLM_RECO_STATE_FINALIZE; state 2803 fs/ocfs2/dlm/dlmrecovery.c if (!(dlm->reco.state & DLM_RECO_STATE_FINALIZE)) { state 2811 fs/ocfs2/dlm/dlmrecovery.c dlm->reco.state &= ~DLM_RECO_STATE_FINALIZE; state 72 fs/ocfs2/dlm/dlmthread.c if (res->state & flags) { state 98 fs/ocfs2/dlm/dlmthread.c (list_empty(&res->dirty) && !(res->state & DLM_LOCK_RES_DIRTY))) { state 172 fs/ocfs2/dlm/dlmthread.c res->state |= DLM_LOCK_RES_DROPPING_REF; state 213 fs/ocfs2/dlm/dlmthread.c res->state &= ~DLM_LOCK_RES_DROPPING_REF; state 295 fs/ocfs2/dlm/dlmthread.c BUG_ON((res->state & (DLM_LOCK_RES_MIGRATING| state 461 fs/ocfs2/dlm/dlmthread.c if (res->state & (DLM_LOCK_RES_MIGRATING | state 469 fs/ocfs2/dlm/dlmthread.c res->state |= DLM_LOCK_RES_DIRTY; state 663 fs/ocfs2/dlm/dlmthread.c res->state & DLM_LOCK_RES_IN_PROGRESS ? "yes" : "no", state 664 fs/ocfs2/dlm/dlmthread.c res->state & DLM_LOCK_RES_MIGRATING ? "yes" : "no", state 665 fs/ocfs2/dlm/dlmthread.c res->state & DLM_LOCK_RES_RECOVERING ? "yes" : "no", state 666 fs/ocfs2/dlm/dlmthread.c res->state & DLM_LOCK_RES_DIRTY ? "yes" : "no"); state 673 fs/ocfs2/dlm/dlmthread.c BUG_ON(res->state & DLM_LOCK_RES_MIGRATING); state 674 fs/ocfs2/dlm/dlmthread.c if (res->state & (DLM_LOCK_RES_IN_PROGRESS | state 677 fs/ocfs2/dlm/dlmthread.c res->state &= ~DLM_LOCK_RES_DIRTY; state 682 fs/ocfs2/dlm/dlmthread.c res->state); state 698 fs/ocfs2/dlm/dlmthread.c res->state &= ~DLM_LOCK_RES_DIRTY; state 133 fs/ocfs2/dlm/dlmunlock.c if (res->state & DLM_LOCK_RES_IN_PROGRESS) { state 141 fs/ocfs2/dlm/dlmunlock.c res->state |= DLM_LOCK_RES_IN_PROGRESS; state 145 fs/ocfs2/dlm/dlmunlock.c if (res->state & DLM_LOCK_RES_RECOVERING) { state 150 fs/ocfs2/dlm/dlmunlock.c if (res->state & DLM_LOCK_RES_MIGRATING) { state 237 fs/ocfs2/dlm/dlmunlock.c res->state &= ~DLM_LOCK_RES_IN_PROGRESS; state 440 fs/ocfs2/dlm/dlmunlock.c if (res->state & DLM_LOCK_RES_RECOVERING) { state 447 fs/ocfs2/dlm/dlmunlock.c if (res->state & DLM_LOCK_RES_MIGRATING) { state 1002 fs/ocfs2/localalloc.c int state; state 1049 fs/ocfs2/localalloc.c state = osb->local_alloc_state; state 1052 fs/ocfs2/localalloc.c return state; state 172 fs/ocfs2/stack_user.c p->op_state = state; state 50 fs/partitions/acorn.c put_partition(state, slot, first_sector, nr_sects); state 93 fs/partitions/acorn.c put_partition(state, slot++, first_sect, size); state 97 fs/partitions/acorn.c put_partition(state, slot++, state 106 fs/partitions/acorn.c put_partition(state, slot++, first_sect, nr_sects); state 136 fs/partitions/acorn.c put_partition(state, slot++, first_sect, size); state 145 fs/partitions/acorn.c if (slot == state->limit) state 147 fs/partitions/acorn.c put_partition(state, slot++, first_sect + state 192 fs/partitions/acorn.c if (slot == state->limit) state 195 fs/partitions/acorn.c dr = adfs_partition(state, name, data, first_sector, slot++); state 220 fs/partitions/acorn.c slot = riscix_partition(state, bdev, first_sector, state 226 fs/partitions/acorn.c slot = linux_partition(state, bdev, first_sector, state 266 fs/partitions/acorn.c dr = adfs_partition(state, "ADFS", data, 0, slot++); state 298 fs/partitions/acorn.c slot = riscix_partition(state, bdev, start_sect, state 304 fs/partitions/acorn.c slot = linux_partition(state, bdev, start_sect, state 388 fs/partitions/acorn.c if (slot == state->limit) state 412 fs/partitions/acorn.c put_partition(state, slot++, start, size); state 484 fs/partitions/acorn.c put_partition(state, slot++, start, size); state 551 fs/partitions/acorn.c put_partition(state, slot++, start, next - start); state 559 fs/partitions/acorn.c put_partition(state, slot++, start, size - start); state 106 fs/partitions/amiga.c put_partition(state,slot++,start_sect,nr_sects); state 66 fs/partitions/atari.c for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) { state 76 fs/partitions/atari.c put_partition (state, slot, be32_to_cpu(pi->st), state 101 fs/partitions/atari.c put_partition(state, slot, state 118 fs/partitions/atari.c if (++slot == state->limit) { state 131 fs/partitions/atari.c for (; pi < &rs->icdpart[8] && slot < state->limit; slot++, pi++) { state 136 fs/partitions/atari.c put_partition (state, slot, state 159 fs/partitions/check.c struct parsed_partitions *state; state 162 fs/partitions/check.c state = kmalloc(sizeof(struct parsed_partitions), GFP_KERNEL); state 163 fs/partitions/check.c if (!state) state 166 fs/partitions/check.c disk_name(hd, 0, state->name); state 167 fs/partitions/check.c printk(KERN_INFO " %s:", state->name); state 168 fs/partitions/check.c if (isdigit(state->name[strlen(state->name)-1])) state 169 fs/partitions/check.c sprintf(state->name, "p"); state 171 fs/partitions/check.c state->limit = disk_max_parts(hd); state 174 fs/partitions/check.c memset(&state->parts, 0, sizeof(state->parts)); state 175 fs/partitions/check.c res = check_part[i++](state, bdev); state 186 fs/partitions/check.c return state; state 194 fs/partitions/check.c kfree(state); state 499 fs/partitions/check.c struct parsed_partitions *state; state 517 fs/partitions/check.c if (!get_capacity(disk) || !(state = check_partition(disk, bdev))) state 519 fs/partitions/check.c if (IS_ERR(state)) /* I/O error reading the partition table */ state 529 fs/partitions/check.c for (p = 1, highest = 0; p < state->limit; p++) state 530 fs/partitions/check.c if (state->parts[p].size) state 536 fs/partitions/check.c for (p = 1; p < state->limit; p++) { state 537 fs/partitions/check.c sector_t size = state->parts[p].size; state 538 fs/partitions/check.c sector_t from = state->parts[p].from; state 546 fs/partitions/check.c res = add_partition(disk, p, from, size, state->parts[p].flags); state 553 fs/partitions/check.c if (state->parts[p].flags & ADDPART_FLAG_RAID) state 557 fs/partitions/check.c kfree(state); state 613 fs/partitions/efi.c for (i = 0; i < le32_to_cpu(gpt->num_partition_entries) && i < state->limit-1; i++) { state 617 fs/partitions/efi.c put_partition(state, i+1, le64_to_cpu(ptes[i].starting_lba), state 625 fs/partitions/efi.c state->parts[i+1].flags = 1; state 136 fs/partitions/ibm.c put_partition(state, 1, offset*(blocksize >> 9), state 185 fs/partitions/ibm.c if (counter >= state->limit) state 187 fs/partitions/ibm.c put_partition(state, counter + 1, state 44 fs/partitions/karma.c if (slot == state->limit) state 48 fs/partitions/karma.c put_partition(state, slot, le32_to_cpu(p->p_offset), state 809 fs/partitions/ldm.c ldm_get_vstr (buffer + 0x18 + r_name, comp->state, state 810 fs/partitions/ldm.c sizeof (comp->state)); state 145 fs/partitions/ldm.h u8 state[16]; state 73 fs/partitions/mac.c put_partition(state, slot, state 78 fs/partitions/mac.c state->parts[slot].flags = 1; state 124 fs/partitions/msdos.c if (state->next == state->limit) state 166 fs/partitions/msdos.c put_partition(state, state->next, next, size); state 168 fs/partitions/msdos.c state->parts[state->next].flags = ADDPART_FLAG_RAID; state 170 fs/partitions/msdos.c if (++state->next == state->limit) state 215 fs/partitions/msdos.c printk(" %s%d: <solaris:", state->name, origin); state 224 fs/partitions/msdos.c for (i=0; i<max_nparts && state->next<state->limit; i++) { state 231 fs/partitions/msdos.c put_partition(state, state->next++, state 261 fs/partitions/msdos.c printk(" %s%d: <%s:", state->name, origin, flavour); state 268 fs/partitions/msdos.c if (state->next == state->limit) state 281 fs/partitions/msdos.c put_partition(state, state->next++, bsd_start, bsd_size); state 296 fs/partitions/msdos.c parse_bsd(state, bdev, offset, size, origin, state 306 fs/partitions/msdos.c parse_bsd(state, bdev, offset, size, origin, state 316 fs/partitions/msdos.c parse_bsd(state, bdev, offset, size, origin, state 342 fs/partitions/msdos.c printk(" %s%d: <unixware:", state->name, origin); state 346 fs/partitions/msdos.c if (state->next == state->limit) state 350 fs/partitions/msdos.c put_partition(state, state->next++, state 386 fs/partitions/msdos.c printk(" %s%d: <minix:", state->name, origin); state 388 fs/partitions/msdos.c if (state->next == state->limit) state 392 fs/partitions/msdos.c put_partition(state, state->next++, state 484 fs/partitions/msdos.c state->next = 5; state 493 fs/partitions/msdos.c put_partition(state, slot, start, size == 1 ? 1 : 2); state 495 fs/partitions/msdos.c parse_extended(state, bdev, start, size); state 499 fs/partitions/msdos.c put_partition(state, slot, start, size); state 501 fs/partitions/msdos.c state->parts[slot].flags = 1; state 524 fs/partitions/msdos.c subtypes[n].parse(state, bdev, START_SECT(p)*sector_size, state 67 fs/partitions/osf.c if (slot == state->limit) state 70 fs/partitions/osf.c put_partition(state, slot, state 73 fs/partitions/sgi.c put_partition(state, slot, start, blocks); state 75 fs/partitions/sgi.c state->parts[slot].flags = ADDPART_FLAG_RAID; state 108 fs/partitions/sun.c put_partition(state, slot, st_sector, num_sectors); state 109 fs/partitions/sun.c state->parts[slot].flags = 0; state 112 fs/partitions/sun.c state->parts[slot].flags |= ADDPART_FLAG_RAID; state 114 fs/partitions/sun.c state->parts[slot].flags |= ADDPART_FLAG_WHOLEDISK; state 76 fs/partitions/sysv68.c printk("sysV68: %s(s%u)", state->name, slices); state 79 fs/partitions/sysv68.c if (slot == state->limit) state 82 fs/partitions/sysv68.c put_partition(state, slot, state 38 fs/partitions/ultrix.c put_partition(state, i+1, state 75 fs/posix_acl.c int state = ACL_USER_OBJ; state 84 fs/posix_acl.c if (state == ACL_USER_OBJ) { state 86 fs/posix_acl.c state = ACL_USER; state 92 fs/posix_acl.c if (state != ACL_USER) state 102 fs/posix_acl.c if (state == ACL_USER) { state 104 fs/posix_acl.c state = ACL_GROUP; state 110 fs/posix_acl.c if (state != ACL_GROUP) state 120 fs/posix_acl.c if (state != ACL_GROUP) state 122 fs/posix_acl.c state = ACL_OTHER; state 126 fs/posix_acl.c if (state == ACL_OTHER || state 127 fs/posix_acl.c (state == ACL_GROUP && !needs_mask)) { state 128 fs/posix_acl.c state = 0; state 137 fs/posix_acl.c if (state == 0) state 146 fs/proc/array.c unsigned int state = (tsk->state & TASK_REPORT) | tsk->exit_state; state 149 fs/proc/array.c while (state) { state 151 fs/proc/array.c state >>= 1; state 340 fs/proc/array.c char state; state 353 fs/proc/array.c state = *get_task_state(task); state 443 fs/proc/array.c state, state 1256 fs/reiserfs/journal.c cn->state); state 1258 fs/reiserfs/journal.c cn->state = 0; state 1523 fs/reiserfs/journal.c set_bit(BLOCK_NEEDS_FLUSH, &cn->state); state 1552 fs/reiserfs/journal.c if (test_bit(BLOCK_NEEDS_FLUSH, &cn->state)) { state 1891 fs/reiserfs/journal.c && (!test_bit(BLOCK_FREED, &cur->state) || remove_freed)) { state 1902 fs/reiserfs/journal.c cur->state = 0; state 3718 fs/reiserfs/journal.c set_bit(BLOCK_FREED, &cn->state); state 4077 fs/reiserfs/journal.c jl_cn->state = 0; state 266 fs/smbfs/dir.c if (server->state == CONN_VALID || !IS_ROOT(dentry)) state 478 fs/smbfs/inode.c server->state = CONN_INVALID; state 541 fs/smbfs/inode.c server->state = CONN_INVALID; /* no connection yet */ state 50 fs/smbfs/ioctl.c server->state = CONN_RETRIED; state 863 fs/smbfs/proc.c if (server->state == CONN_VALID) state 882 fs/smbfs/proc.c server->state = CONN_VALID; state 315 fs/smbfs/request.c if (server->state == CONN_VALID) { state 321 fs/smbfs/request.c server->state = CONN_INVALID; state 328 fs/smbfs/request.c if (server->state != CONN_VALID) state 421 fs/smbfs/request.c if (server->state != CONN_VALID) state 157 fs/smbfs/smbiod.c VERBOSE("state: %d\n", server->state); state 158 fs/smbfs/smbiod.c if (server->state == CONN_VALID || server->state == CONN_RETRYING) state 212 fs/smbfs/smbiod.c server->state = CONN_RETRIED; state 219 fs/smbfs/smbiod.c server->state = CONN_RETRYING; state 256 fs/smbfs/smbiod.c if (server->state != CONN_VALID) state 262 fs/smbfs/smbiod.c server->state = CONN_INVALID; state 272 fs/smbfs/smbiod.c if (server->state != CONN_VALID) state 280 fs/smbfs/smbiod.c server->state = CONN_INVALID; state 330 fs/smbfs/smbiod.c if (server->state == CONN_VALID) { state 48 fs/xfs/linux-2.6/sv.h __set_current_state(state); state 1243 fs/xfs/xfs_attr.c xfs_da_state_t *state; state 1255 fs/xfs/xfs_attr.c state = xfs_da_state_alloc(); state 1256 fs/xfs/xfs_attr.c state->args = args; state 1257 fs/xfs/xfs_attr.c state->mp = mp; state 1258 fs/xfs/xfs_attr.c state->blocksize = state->mp->m_sb.sb_blocksize; state 1259 fs/xfs/xfs_attr.c state->node_ents = state->mp->m_attr_node_ents; state 1265 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); state 1268 fs/xfs/xfs_attr.c blk = &state->path.blk[ state->path.active-1 ]; state 1284 fs/xfs/xfs_attr.c retval = xfs_attr_leaf_add(blk->bp, state->args); state 1286 fs/xfs/xfs_attr.c if (state->path.active == 1) { state 1292 fs/xfs/xfs_attr.c xfs_da_state_free(state); state 1335 fs/xfs/xfs_attr.c error = xfs_da_split(state); state 1359 fs/xfs/xfs_attr.c xfs_da_fixhashpath(state, &state->path); state 1366 fs/xfs/xfs_attr.c xfs_da_state_free(state); state 1367 fs/xfs/xfs_attr.c state = NULL; state 1424 fs/xfs/xfs_attr.c state = xfs_da_state_alloc(); state 1425 fs/xfs/xfs_attr.c state->args = args; state 1426 fs/xfs/xfs_attr.c state->mp = mp; state 1427 fs/xfs/xfs_attr.c state->blocksize = state->mp->m_sb.sb_blocksize; state 1428 fs/xfs/xfs_attr.c state->node_ents = state->mp->m_attr_node_ents; state 1429 fs/xfs/xfs_attr.c state->inleaf = 0; state 1430 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); state 1437 fs/xfs/xfs_attr.c blk = &state->path.blk[ state->path.active-1 ]; state 1440 fs/xfs/xfs_attr.c xfs_da_fixhashpath(state, &state->path); state 1445 fs/xfs/xfs_attr.c if (retval && (state->path.active > 1)) { state 1447 fs/xfs/xfs_attr.c error = xfs_da_join(state); state 1489 fs/xfs/xfs_attr.c if (state) state 1490 fs/xfs/xfs_attr.c xfs_da_state_free(state); state 1506 fs/xfs/xfs_attr.c xfs_da_state_t *state; state 1516 fs/xfs/xfs_attr.c state = xfs_da_state_alloc(); state 1517 fs/xfs/xfs_attr.c state->args = args; state 1518 fs/xfs/xfs_attr.c state->mp = dp->i_mount; state 1519 fs/xfs/xfs_attr.c state->blocksize = state->mp->m_sb.sb_blocksize; state 1520 fs/xfs/xfs_attr.c state->node_ents = state->mp->m_attr_node_ents; state 1525 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); state 1537 fs/xfs/xfs_attr.c blk = &state->path.blk[ state->path.active-1 ]; state 1546 fs/xfs/xfs_attr.c error = xfs_attr_fillstate(state); state 1565 fs/xfs/xfs_attr.c error = xfs_attr_refillstate(state); state 1573 fs/xfs/xfs_attr.c blk = &state->path.blk[ state->path.active-1 ]; state 1576 fs/xfs/xfs_attr.c xfs_da_fixhashpath(state, &state->path); state 1581 fs/xfs/xfs_attr.c if (retval && (state->path.active > 1)) { state 1583 fs/xfs/xfs_attr.c error = xfs_da_join(state); state 1619 fs/xfs/xfs_attr.c ASSERT(state->path.active == 1); state 1620 fs/xfs/xfs_attr.c ASSERT(state->path.blk[0].bp); state 1621 fs/xfs/xfs_attr.c xfs_da_buf_done(state->path.blk[0].bp); state 1622 fs/xfs/xfs_attr.c state->path.blk[0].bp = NULL; state 1663 fs/xfs/xfs_attr.c xfs_da_state_free(state); state 1684 fs/xfs/xfs_attr.c path = &state->path; state 1700 fs/xfs/xfs_attr.c path = &state->altpath; state 1732 fs/xfs/xfs_attr.c path = &state->path; state 1736 fs/xfs/xfs_attr.c error = xfs_da_read_buf(state->args->trans, state 1737 fs/xfs/xfs_attr.c state->args->dp, state 1751 fs/xfs/xfs_attr.c path = &state->altpath; state 1755 fs/xfs/xfs_attr.c error = xfs_da_read_buf(state->args->trans, state 1756 fs/xfs/xfs_attr.c state->args->dp, state 1779 fs/xfs/xfs_attr.c xfs_da_state_t *state; state 1784 fs/xfs/xfs_attr.c state = xfs_da_state_alloc(); state 1785 fs/xfs/xfs_attr.c state->args = args; state 1786 fs/xfs/xfs_attr.c state->mp = args->dp->i_mount; state 1787 fs/xfs/xfs_attr.c state->blocksize = state->mp->m_sb.sb_blocksize; state 1788 fs/xfs/xfs_attr.c state->node_ents = state->mp->m_attr_node_ents; state 1793 fs/xfs/xfs_attr.c error = xfs_da_node_lookup_int(state, &retval); state 1797 fs/xfs/xfs_attr.c blk = &state->path.blk[ state->path.active-1 ]; state 1814 fs/xfs/xfs_attr.c for (i = 0; i < state->path.active; i++) { state 1815 fs/xfs/xfs_attr.c xfs_da_brelse(args->trans, state->path.blk[i].bp); state 1816 fs/xfs/xfs_attr.c state->path.blk[i].bp = NULL; state 1819 fs/xfs/xfs_attr.c xfs_da_state_free(state); state 959 fs/xfs/xfs_attr_leaf.c error = xfs_da_grow_inode(state->args, &blkno); state 962 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_create(state->args, blkno, &newblk->bp); state 972 fs/xfs/xfs_attr_leaf.c xfs_attr_leaf_rebalance(state, oldblk, newblk); state 973 fs/xfs/xfs_attr_leaf.c error = xfs_da_blk_link(state, oldblk, newblk); state 984 fs/xfs/xfs_attr_leaf.c if (state->inleaf) state 985 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_add(oldblk->bp, state->args); state 987 fs/xfs/xfs_attr_leaf.c error = xfs_attr_leaf_add(newblk->bp, state->args); state 1270 fs/xfs/xfs_attr_leaf.c args = state->args; state 1298 fs/xfs/xfs_attr_leaf.c state->inleaf = xfs_attr_leaf_figure_balance(state, blk1, blk2, state 1301 fs/xfs/xfs_attr_leaf.c state->inleaf = !state->inleaf; state 1329 fs/xfs/xfs_attr_leaf.c leaf2, 0, count, state->mp); state 1331 fs/xfs/xfs_attr_leaf.c xfs_da_log_buf(args->trans, blk1->bp, 0, state->blocksize-1); state 1332 fs/xfs/xfs_attr_leaf.c xfs_da_log_buf(args->trans, blk2->bp, 0, state->blocksize-1); state 1361 fs/xfs/xfs_attr_leaf.c be16_to_cpu(hdr1->count), count, state->mp); state 1363 fs/xfs/xfs_attr_leaf.c xfs_da_log_buf(args->trans, blk1->bp, 0, state->blocksize-1); state 1364 fs/xfs/xfs_attr_leaf.c xfs_da_log_buf(args->trans, blk2->bp, 0, state->blocksize-1); state 1388 fs/xfs/xfs_attr_leaf.c ASSERT(state->inleaf == 0); state 1393 fs/xfs/xfs_attr_leaf.c if (state->inleaf) { state 1405 fs/xfs/xfs_attr_leaf.c ASSERT(state->inleaf == 1); state 1449 fs/xfs/xfs_attr_leaf.c state->args->namelen, state 1450 fs/xfs/xfs_attr_leaf.c state->args->valuelen, state 1451 fs/xfs/xfs_attr_leaf.c state->blocksize, NULL); state 1453 fs/xfs/xfs_attr_leaf.c lastdelta = state->blocksize; state 1464 fs/xfs/xfs_attr_leaf.c state->args->namelen, state 1465 fs/xfs/xfs_attr_leaf.c state->args->valuelen, state 1466 fs/xfs/xfs_attr_leaf.c state->blocksize, NULL); state 1503 fs/xfs/xfs_attr_leaf.c state->args->namelen, state 1504 fs/xfs/xfs_attr_leaf.c state->args->valuelen, state 1505 fs/xfs/xfs_attr_leaf.c state->blocksize, NULL); state 1543 fs/xfs/xfs_attr_leaf.c blk = &state->path.blk[ state->path.active-1 ]; state 1551 fs/xfs/xfs_attr_leaf.c if (bytes > (state->blocksize >> 1)) { state 1568 fs/xfs/xfs_attr_leaf.c memcpy(&state->altpath, &state->path, sizeof(state->path)); state 1569 fs/xfs/xfs_attr_leaf.c error = xfs_da_path_shift(state, &state->altpath, forward, state 1597 fs/xfs/xfs_attr_leaf.c error = xfs_da_read_buf(state->args->trans, state->args->dp, state 1605 fs/xfs/xfs_attr_leaf.c bytes = state->blocksize - (state->blocksize>>2); state 1613 fs/xfs/xfs_attr_leaf.c xfs_da_brelse(state->args->trans, bp); state 1626 fs/xfs/xfs_attr_leaf.c memcpy(&state->altpath, &state->path, sizeof(state->path)); state 1628 fs/xfs/xfs_attr_leaf.c error = xfs_da_path_shift(state, &state->altpath, forward, state 1631 fs/xfs/xfs_attr_leaf.c error = xfs_da_path_shift(state, &state->path, forward, state 1820 fs/xfs/xfs_attr_leaf.c mp = state->mp; state 1859 fs/xfs/xfs_attr_leaf.c tmpbuffer = kmem_alloc(state->blocksize, KM_SLEEP); state 1861 fs/xfs/xfs_attr_leaf.c memset(tmpbuffer, 0, state->blocksize); state 1866 fs/xfs/xfs_attr_leaf.c tmp_hdr->firstused = cpu_to_be16(state->blocksize); state 1869 fs/xfs/xfs_attr_leaf.c state->blocksize - XFS_ATTR_LEAF_NAME_ALIGN); state 1885 fs/xfs/xfs_attr_leaf.c memcpy((char *)save_leaf, (char *)tmp_leaf, state->blocksize); state 1889 fs/xfs/xfs_attr_leaf.c xfs_da_log_buf(state->args->trans, save_blk->bp, 0, state 1890 fs/xfs/xfs_attr_leaf.c state->blocksize - 1); state 712 fs/xfs/xfs_bmap.c int state = 0;/* state bits, accessed thru macros */ state 730 fs/xfs/xfs_bmap.c #define STATE_SET(b,v) ((v) ? (state |= MASK(b)) : (state &= ~MASK(b))) state 731 fs/xfs/xfs_bmap.c #define STATE_TEST(b) (state & MASK(b)) state 732 fs/xfs/xfs_bmap.c #define STATE_SET_TEST(b,v) ((v) ? ((state |= MASK(b)), 1) : \ state 733 fs/xfs/xfs_bmap.c ((state &= ~MASK(b)), 0)) state 735 fs/xfs/xfs_bmap.c (state & MASK4(LEFT_FILLING, RIGHT_FILLING, LEFT_CONTIG, RIGHT_CONTIG)) state 786 fs/xfs/xfs_bmap.c ((state & MASK3(LEFT_CONTIG, LEFT_FILLING, RIGHT_FILLING)) != state 1270 fs/xfs/xfs_bmap.c int state = 0;/* state bits, accessed thru macros */ state 1287 fs/xfs/xfs_bmap.c #define STATE_SET(b,v) ((v) ? (state |= MASK(b)) : (state &= ~MASK(b))) state 1288 fs/xfs/xfs_bmap.c #define STATE_TEST(b) (state & MASK(b)) state 1289 fs/xfs/xfs_bmap.c #define STATE_SET_TEST(b,v) ((v) ? ((state |= MASK(b)), 1) : \ state 1290 fs/xfs/xfs_bmap.c ((state &= ~MASK(b)), 0)) state 1292 fs/xfs/xfs_bmap.c (state & MASK4(LEFT_FILLING, RIGHT_FILLING, LEFT_CONTIG, RIGHT_CONTIG)) state 1348 fs/xfs/xfs_bmap.c ((state & MASK3(LEFT_CONTIG, LEFT_FILLING, RIGHT_FILLING)) != state 1826 fs/xfs/xfs_bmap.c int state; /* state bits, accessed thru macros */ state 1837 fs/xfs/xfs_bmap.c #define STATE_SET(b,v) ((v) ? (state |= MASK(b)) : (state &= ~MASK(b))) state 1838 fs/xfs/xfs_bmap.c #define STATE_TEST(b) (state & MASK(b)) state 1839 fs/xfs/xfs_bmap.c #define STATE_SET_TEST(b,v) ((v) ? ((state |= MASK(b)), 1) : \ state 1840 fs/xfs/xfs_bmap.c ((state &= ~MASK(b)), 0)) state 1841 fs/xfs/xfs_bmap.c #define SWITCH_STATE (state & MASK2(LEFT_CONTIG, RIGHT_CONTIG)) state 1845 fs/xfs/xfs_bmap.c state = 0; state 2016 fs/xfs/xfs_bmap.c int state; /* state bits, accessed thru macros */ state 2027 fs/xfs/xfs_bmap.c #define STATE_SET(b,v) ((v) ? (state |= MASK(b)) : (state &= ~MASK(b))) state 2028 fs/xfs/xfs_bmap.c #define STATE_TEST(b) (state & MASK(b)) state 2029 fs/xfs/xfs_bmap.c #define STATE_SET_TEST(b,v) ((v) ? ((state |= MASK(b)), 1) : \ state 2030 fs/xfs/xfs_bmap.c ((state &= ~MASK(b)), 0)) state 2031 fs/xfs/xfs_bmap.c #define SWITCH_STATE (state & MASK2(LEFT_CONTIG, RIGHT_CONTIG)) state 2036 fs/xfs/xfs_bmap.c state = 0; state 2331 fs/xfs/xfs_bmap_btree.c int extent_flag = (state == XFS_EXT_NORM) ? 0 : 1; state 2333 fs/xfs/xfs_bmap_btree.c ASSERT(state == XFS_EXT_NORM || state == XFS_EXT_UNWRITTEN); state 2389 fs/xfs/xfs_bmap_btree.c int extent_flag = (state == XFS_EXT_NORM) ? 0 : 1; state 2391 fs/xfs/xfs_bmap_btree.c ASSERT(state == XFS_EXT_NORM || state == XFS_EXT_UNWRITTEN); state 2562 fs/xfs/xfs_bmap_btree.c (xfs_dfilblks_t)len, (int)state); state 2572 fs/xfs/xfs_bmap_btree.c xfs_bmbt_disk_set_allf(rp, off, bno, len, state); state 156 fs/xfs/xfs_da_btree.c max = state->path.active - 1; state 158 fs/xfs/xfs_da_btree.c ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || state 159 fs/xfs/xfs_da_btree.c state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); state 161 fs/xfs/xfs_da_btree.c addblk = &state->path.blk[max]; /* initial dummy value */ state 162 fs/xfs/xfs_da_btree.c for (i = max; (i >= 0) && addblk; state->path.active--, i--) { state 163 fs/xfs/xfs_da_btree.c oldblk = &state->path.blk[i]; state 164 fs/xfs/xfs_da_btree.c newblk = &state->altpath.blk[i]; state 174 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_split(state, oldblk, newblk); state 185 fs/xfs/xfs_da_btree.c state->extravalid = 1; state 186 fs/xfs/xfs_da_btree.c if (state->inleaf) { state 187 fs/xfs/xfs_da_btree.c state->extraafter = 0; /* before newblk */ state 188 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_split(state, oldblk, state 189 fs/xfs/xfs_da_btree.c &state->extrablk); state 191 fs/xfs/xfs_da_btree.c state->extraafter = 1; /* after newblk */ state 192 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_split(state, newblk, state 193 fs/xfs/xfs_da_btree.c &state->extrablk); state 200 fs/xfs/xfs_da_btree.c error = xfs_dir2_leafn_split(state, oldblk, newblk); state 206 fs/xfs/xfs_da_btree.c error = xfs_da_node_split(state, oldblk, newblk, addblk, state 225 fs/xfs/xfs_da_btree.c xfs_da_fixhashpath(state, &state->path); state 240 fs/xfs/xfs_da_btree.c ASSERT(state->path.active == 0); state 241 fs/xfs/xfs_da_btree.c oldblk = &state->path.blk[0]; state 242 fs/xfs/xfs_da_btree.c error = xfs_da_root_split(state, oldblk, addblk); state 262 fs/xfs/xfs_da_btree.c ASSERT(state->extravalid); state 263 fs/xfs/xfs_da_btree.c bp = state->extrablk.bp; state 267 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, bp, state 276 fs/xfs/xfs_da_btree.c ASSERT(state->extravalid); state 277 fs/xfs/xfs_da_btree.c bp = state->extrablk.bp; state 281 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, bp, state 314 fs/xfs/xfs_da_btree.c args = state->args; state 321 fs/xfs/xfs_da_btree.c mp = state->mp; state 396 fs/xfs/xfs_da_btree.c useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; state 401 fs/xfs/xfs_da_btree.c if ((be16_to_cpu(node->hdr.count) + newcount) > state->node_ents) { state 406 fs/xfs/xfs_da_btree.c error = xfs_da_grow_inode(state->args, &blkno); state 410 fs/xfs/xfs_da_btree.c error = xfs_da_node_create(state->args, blkno, treelevel, state 411 fs/xfs/xfs_da_btree.c &newblk->bp, state->args->whichfork); state 416 fs/xfs/xfs_da_btree.c xfs_da_node_rebalance(state, oldblk, newblk); state 417 fs/xfs/xfs_da_btree.c error = xfs_da_blk_link(state, oldblk, newblk); state 440 fs/xfs/xfs_da_btree.c xfs_da_node_add(state, oldblk, addblk); state 442 fs/xfs/xfs_da_btree.c if (state->extraafter) state 444 fs/xfs/xfs_da_btree.c xfs_da_node_add(state, oldblk, &state->extrablk); state 445 fs/xfs/xfs_da_btree.c state->extravalid = 0; state 449 fs/xfs/xfs_da_btree.c xfs_da_node_add(state, newblk, addblk); state 451 fs/xfs/xfs_da_btree.c if (state->extraafter) state 453 fs/xfs/xfs_da_btree.c xfs_da_node_add(state, newblk, &state->extrablk); state 454 fs/xfs/xfs_da_btree.c state->extravalid = 0; state 495 fs/xfs/xfs_da_btree.c tp = state->args->trans; state 586 fs/xfs/xfs_da_btree.c mp = state->mp; state 590 fs/xfs/xfs_da_btree.c if (state->args->whichfork == XFS_DATA_FORK) state 605 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, oldblk->bp, state 608 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, oldblk->bp, state 632 fs/xfs/xfs_da_btree.c drop_blk = &state->path.blk[ state->path.active-1 ]; state 633 fs/xfs/xfs_da_btree.c save_blk = &state->altpath.blk[ state->path.active-1 ]; state 634 fs/xfs/xfs_da_btree.c ASSERT(state->path.blk[0].magic == XFS_DA_NODE_MAGIC); state 642 fs/xfs/xfs_da_btree.c for ( ; state->path.active >= 2; drop_blk--, save_blk--, state 643 fs/xfs/xfs_da_btree.c state->path.active--) { state 652 fs/xfs/xfs_da_btree.c error = xfs_attr_leaf_toosmall(state, &action); state 657 fs/xfs/xfs_da_btree.c xfs_attr_leaf_unbalance(state, drop_blk, save_blk); state 660 fs/xfs/xfs_da_btree.c error = xfs_dir2_leafn_toosmall(state, &action); state 665 fs/xfs/xfs_da_btree.c xfs_dir2_leafn_unbalance(state, drop_blk, save_blk); state 672 fs/xfs/xfs_da_btree.c xfs_da_node_remove(state, drop_blk); state 673 fs/xfs/xfs_da_btree.c xfs_da_fixhashpath(state, &state->path); state 674 fs/xfs/xfs_da_btree.c error = xfs_da_node_toosmall(state, &action); state 679 fs/xfs/xfs_da_btree.c xfs_da_node_unbalance(state, drop_blk, save_blk); state 682 fs/xfs/xfs_da_btree.c xfs_da_fixhashpath(state, &state->altpath); state 683 fs/xfs/xfs_da_btree.c error = xfs_da_blk_unlink(state, drop_blk, save_blk); state 684 fs/xfs/xfs_da_btree.c xfs_da_state_kill_altpath(state); state 687 fs/xfs/xfs_da_btree.c error = xfs_da_shrink_inode(state->args, drop_blk->blkno, state 698 fs/xfs/xfs_da_btree.c xfs_da_node_remove(state, drop_blk); state 699 fs/xfs/xfs_da_btree.c xfs_da_fixhashpath(state, &state->path); state 700 fs/xfs/xfs_da_btree.c error = xfs_da_root_join(state, &state->path.blk[0]); state 719 fs/xfs/xfs_da_btree.c args = state->args; state 753 fs/xfs/xfs_da_btree.c memcpy(root_blk->bp->data, bp->data, state->blocksize); state 754 fs/xfs/xfs_da_btree.c xfs_da_log_buf(args->trans, root_blk->bp, 0, state->blocksize - 1); state 783 fs/xfs/xfs_da_btree.c blk = &state->path.blk[ state->path.active-1 ]; state 788 fs/xfs/xfs_da_btree.c if (count > (state->node_ents >> 1)) { state 805 fs/xfs/xfs_da_btree.c memcpy(&state->altpath, &state->path, sizeof(state->path)); state 806 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->altpath, forward, state 834 fs/xfs/xfs_da_btree.c error = xfs_da_read_buf(state->args->trans, state->args->dp, state 835 fs/xfs/xfs_da_btree.c blkno, -1, &bp, state->args->whichfork); state 841 fs/xfs/xfs_da_btree.c count = state->node_ents; state 842 fs/xfs/xfs_da_btree.c count -= state->node_ents >> 2; state 847 fs/xfs/xfs_da_btree.c xfs_da_brelse(state->args->trans, bp); state 860 fs/xfs/xfs_da_btree.c memcpy(&state->altpath, &state->path, sizeof(state->path)); state 862 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->altpath, forward, state 872 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->path, forward, state 926 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, blk->bp, state 955 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, drop_blk->bp, state 960 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, drop_blk->bp, state 963 fs/xfs/xfs_da_btree.c xfs_da_log_buf(state->args->trans, drop_blk->bp, state 990 fs/xfs/xfs_da_btree.c tp = state->args->trans; state 1060 fs/xfs/xfs_da_btree.c args = state->args; state 1066 fs/xfs/xfs_da_btree.c blkno = (args->whichfork == XFS_DATA_FORK)? state->mp->m_dirleafblk : 0; state 1067 fs/xfs/xfs_da_btree.c for (blk = &state->path.blk[0], state->path.active = 1; state 1068 fs/xfs/xfs_da_btree.c state->path.active <= XFS_DA_NODE_MAXDEPTH; state 1069 fs/xfs/xfs_da_btree.c blk++, state->path.active++) { state 1078 fs/xfs/xfs_da_btree.c state->path.active--; state 1155 fs/xfs/xfs_da_btree.c &blk->index, state); state 1166 fs/xfs/xfs_da_btree.c error = xfs_da_path_shift(state, &state->path, 1, 1, state 1202 fs/xfs/xfs_da_btree.c args = state->args; state 1331 fs/xfs/xfs_da_btree.c args = state->args; state 1413 fs/xfs/xfs_da_btree.c args = state->args; state 2210 fs/xfs/xfs_da_btree.c for (i = 0; i < state->altpath.active; i++) { state 2211 fs/xfs/xfs_da_btree.c if (state->altpath.blk[i].bp) { state 2212 fs/xfs/xfs_da_btree.c if (state->altpath.blk[i].bp != state->path.blk[i].bp) state 2213 fs/xfs/xfs_da_btree.c xfs_da_buf_done(state->altpath.blk[i].bp); state 2214 fs/xfs/xfs_da_btree.c state->altpath.blk[i].bp = NULL; state 2217 fs/xfs/xfs_da_btree.c state->altpath.active = 0; state 2228 fs/xfs/xfs_da_btree.c xfs_da_state_kill_altpath(state); state 2229 fs/xfs/xfs_da_btree.c for (i = 0; i < state->path.active; i++) { state 2230 fs/xfs/xfs_da_btree.c if (state->path.blk[i].bp) state 2231 fs/xfs/xfs_da_btree.c xfs_da_buf_done(state->path.blk[i].bp); state 2233 fs/xfs/xfs_da_btree.c if (state->extravalid && state->extrablk.bp) state 2234 fs/xfs/xfs_da_btree.c xfs_da_buf_done(state->extrablk.bp); state 2236 fs/xfs/xfs_da_btree.c memset((char *)state, 0, sizeof(*state)); state 2238 fs/xfs/xfs_da_btree.c kmem_zone_free(xfs_da_state_zone, state); state 1777 fs/xfs/xfs_dir2_leaf.c if (state->path.active > 1) state 1779 fs/xfs/xfs_dir2_leaf.c args = state->args; state 1781 fs/xfs/xfs_dir2_leaf.c mp = state->mp; state 1817 fs/xfs/xfs_dir2_leaf.c lbp = state->path.blk[0].bp; state 1885 fs/xfs/xfs_dir2_leaf.c state->path.blk[0].bp = NULL; state 432 fs/xfs/xfs_dir2_node.c if (state->extravalid) { state 434 fs/xfs/xfs_dir2_node.c curbp = state->extrablk.bp; state 435 fs/xfs/xfs_dir2_node.c curfdb = state->extrablk.blkno; state 521 fs/xfs/xfs_dir2_node.c state->extravalid = 1; state 522 fs/xfs/xfs_dir2_node.c state->extrablk.bp = curbp; state 523 fs/xfs/xfs_dir2_node.c state->extrablk.index = fi; state 524 fs/xfs/xfs_dir2_node.c state->extrablk.blkno = curfdb; state 525 fs/xfs/xfs_dir2_node.c state->extrablk.magic = XFS_DIR2_FREE_MAGIC; state 527 fs/xfs/xfs_dir2_node.c state->extravalid = 0; state 576 fs/xfs/xfs_dir2_node.c if (state->extravalid) { state 577 fs/xfs/xfs_dir2_node.c curbp = state->extrablk.bp; state 578 fs/xfs/xfs_dir2_node.c curdb = state->extrablk.blkno; state 607 fs/xfs/xfs_dir2_node.c curdb != state->extrablk.blkno)) state 614 fs/xfs/xfs_dir2_node.c newdb == state->extrablk.blkno) { state 615 fs/xfs/xfs_dir2_node.c ASSERT(state->extravalid); state 616 fs/xfs/xfs_dir2_node.c curbp = state->extrablk.bp; state 641 fs/xfs/xfs_dir2_node.c curdb != state->extrablk.blkno) state 642 fs/xfs/xfs_dir2_node.c xfs_da_brelse(tp, state->extrablk.bp); state 646 fs/xfs/xfs_dir2_node.c state->extravalid = 1; state 647 fs/xfs/xfs_dir2_node.c state->extrablk.bp = curbp; state 648 fs/xfs/xfs_dir2_node.c state->extrablk.blkno = curdb; state 649 fs/xfs/xfs_dir2_node.c state->extrablk.index = (int)((char *)dep - state 651 fs/xfs/xfs_dir2_node.c state->extrablk.magic = XFS_DIR2_DATA_MAGIC; state 661 fs/xfs/xfs_dir2_node.c state->extravalid = 1; state 662 fs/xfs/xfs_dir2_node.c state->extrablk.bp = curbp; state 663 fs/xfs/xfs_dir2_node.c state->extrablk.index = -1; state 664 fs/xfs/xfs_dir2_node.c state->extrablk.blkno = curdb; state 665 fs/xfs/xfs_dir2_node.c state->extrablk.magic = XFS_DIR2_DATA_MAGIC; state 668 fs/xfs/xfs_dir2_node.c if (state->extrablk.bp != curbp) state 672 fs/xfs/xfs_dir2_node.c state->extravalid = 0; state 692 fs/xfs/xfs_dir2_node.c state); state 693 fs/xfs/xfs_dir2_node.c return xfs_dir2_leafn_lookup_for_entry(bp, args, indexp, state); state 828 fs/xfs/xfs_dir2_node.c args = state->args; state 883 fs/xfs/xfs_dir2_node.c state->inleaf = swap; state 885 fs/xfs/xfs_dir2_node.c state->inleaf = !swap; state 887 fs/xfs/xfs_dir2_node.c state->inleaf = state 892 fs/xfs/xfs_dir2_node.c if (!state->inleaf) state 900 fs/xfs/xfs_dir2_node.c state->inleaf = 1; state 1135 fs/xfs/xfs_dir2_node.c args = state->args; state 1157 fs/xfs/xfs_dir2_node.c xfs_dir2_leafn_rebalance(state, oldblk, newblk); state 1158 fs/xfs/xfs_dir2_node.c error = xfs_da_blk_link(state, oldblk, newblk); state 1165 fs/xfs/xfs_dir2_node.c if (state->inleaf) state 1210 fs/xfs/xfs_dir2_node.c blk = &state->path.blk[state->path.active - 1]; state 1216 fs/xfs/xfs_dir2_node.c if (bytes > (state->blocksize >> 1)) { state 1235 fs/xfs/xfs_dir2_node.c memcpy(&state->altpath, &state->path, sizeof(state->path)); state 1236 fs/xfs/xfs_dir2_node.c error = xfs_da_path_shift(state, &state->altpath, forward, 0, state 1259 fs/xfs/xfs_dir2_node.c xfs_da_read_buf(state->args->trans, state->args->dp, blkno, state 1269 fs/xfs/xfs_dir2_node.c bytes = state->blocksize - (state->blocksize >> 2); state 1279 fs/xfs/xfs_dir2_node.c xfs_da_brelse(state->args->trans, bp); state 1297 fs/xfs/xfs_dir2_node.c memcpy(&state->altpath, &state->path, sizeof(state->path)); state 1299 fs/xfs/xfs_dir2_node.c error = xfs_da_path_shift(state, &state->altpath, forward, 0, state 1302 fs/xfs/xfs_dir2_node.c error = xfs_da_path_shift(state, &state->path, forward, 0, state 1325 fs/xfs/xfs_dir2_node.c args = state->args; state 1364 fs/xfs/xfs_dir2_node.c xfs_da_state_t *state; /* btree cursor */ state 1370 fs/xfs/xfs_dir2_node.c state = xfs_da_state_alloc(); state 1371 fs/xfs/xfs_dir2_node.c state->args = args; state 1372 fs/xfs/xfs_dir2_node.c state->mp = args->dp->i_mount; state 1373 fs/xfs/xfs_dir2_node.c state->blocksize = state->mp->m_dirblksize; state 1374 fs/xfs/xfs_dir2_node.c state->node_ents = state->mp->m_dir_node_ents; state 1379 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); state 1390 fs/xfs/xfs_dir2_node.c state->extravalid ? &state->extrablk : NULL); state 1394 fs/xfs/xfs_dir2_node.c blk = &state->path.blk[state->path.active - 1]; state 1405 fs/xfs/xfs_dir2_node.c xfs_da_fixhashpath(state, &state->path); state 1417 fs/xfs/xfs_dir2_node.c rval = xfs_da_split(state); state 1420 fs/xfs/xfs_dir2_node.c xfs_da_state_free(state); state 1823 fs/xfs/xfs_dir2_node.c xfs_da_state_t *state; /* btree cursor */ state 1829 fs/xfs/xfs_dir2_node.c state = xfs_da_state_alloc(); state 1830 fs/xfs/xfs_dir2_node.c state->args = args; state 1831 fs/xfs/xfs_dir2_node.c state->mp = args->dp->i_mount; state 1832 fs/xfs/xfs_dir2_node.c state->blocksize = state->mp->m_dirblksize; state 1833 fs/xfs/xfs_dir2_node.c state->node_ents = state->mp->m_dir_node_ents; state 1837 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); state 1844 fs/xfs/xfs_dir2_node.c dep = (xfs_dir2_data_entry_t *)((char *)state->extrablk.bp-> state 1845 fs/xfs/xfs_dir2_node.c data + state->extrablk.index); state 1851 fs/xfs/xfs_dir2_node.c for (i = 0; i < state->path.active; i++) { state 1852 fs/xfs/xfs_dir2_node.c xfs_da_brelse(args->trans, state->path.blk[i].bp); state 1853 fs/xfs/xfs_dir2_node.c state->path.blk[i].bp = NULL; state 1858 fs/xfs/xfs_dir2_node.c if (state->extravalid && state->extrablk.bp) { state 1859 fs/xfs/xfs_dir2_node.c xfs_da_brelse(args->trans, state->extrablk.bp); state 1860 fs/xfs/xfs_dir2_node.c state->extrablk.bp = NULL; state 1862 fs/xfs/xfs_dir2_node.c xfs_da_state_free(state); state 1876 fs/xfs/xfs_dir2_node.c xfs_da_state_t *state; /* btree cursor */ state 1882 fs/xfs/xfs_dir2_node.c state = xfs_da_state_alloc(); state 1883 fs/xfs/xfs_dir2_node.c state->args = args; state 1884 fs/xfs/xfs_dir2_node.c state->mp = args->dp->i_mount; state 1885 fs/xfs/xfs_dir2_node.c state->blocksize = state->mp->m_dirblksize; state 1886 fs/xfs/xfs_dir2_node.c state->node_ents = state->mp->m_dir_node_ents; state 1890 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); state 1897 fs/xfs/xfs_dir2_node.c xfs_da_state_free(state); state 1900 fs/xfs/xfs_dir2_node.c blk = &state->path.blk[state->path.active - 1]; state 1902 fs/xfs/xfs_dir2_node.c ASSERT(state->extravalid); state 1908 fs/xfs/xfs_dir2_node.c &state->extrablk, &rval); state 1914 fs/xfs/xfs_dir2_node.c xfs_da_fixhashpath(state, &state->path); state 1918 fs/xfs/xfs_dir2_node.c if (rval && state->path.active > 1) state 1919 fs/xfs/xfs_dir2_node.c error = xfs_da_join(state); state 1924 fs/xfs/xfs_dir2_node.c error = xfs_dir2_node_to_leaf(state); state 1925 fs/xfs/xfs_dir2_node.c xfs_da_state_free(state); state 1945 fs/xfs/xfs_dir2_node.c xfs_da_state_t *state; /* btree cursor */ state 1951 fs/xfs/xfs_dir2_node.c state = xfs_da_state_alloc(); state 1952 fs/xfs/xfs_dir2_node.c state->args = args; state 1953 fs/xfs/xfs_dir2_node.c state->mp = args->dp->i_mount; state 1954 fs/xfs/xfs_dir2_node.c state->blocksize = state->mp->m_dirblksize; state 1955 fs/xfs/xfs_dir2_node.c state->node_ents = state->mp->m_dir_node_ents; state 1960 fs/xfs/xfs_dir2_node.c error = xfs_da_node_lookup_int(state, &rval); state 1972 fs/xfs/xfs_dir2_node.c blk = &state->path.blk[state->path.active - 1]; state 1976 fs/xfs/xfs_dir2_node.c ASSERT(state->extravalid); state 1980 fs/xfs/xfs_dir2_node.c data = state->extrablk.bp->data; state 1984 fs/xfs/xfs_dir2_node.c xfs_dir2_dataptr_to_off(state->mp, be32_to_cpu(lep->address))); state 1990 fs/xfs/xfs_dir2_node.c xfs_dir2_data_log_entry(args->trans, state->extrablk.bp, dep); state 1996 fs/xfs/xfs_dir2_node.c else if (state->extravalid) { state 1997 fs/xfs/xfs_dir2_node.c xfs_da_brelse(args->trans, state->extrablk.bp); state 1998 fs/xfs/xfs_dir2_node.c state->extrablk.bp = NULL; state 2003 fs/xfs/xfs_dir2_node.c for (i = 0; i < state->path.active; i++) { state 2004 fs/xfs/xfs_dir2_node.c xfs_da_brelse(args->trans, state->path.blk[i].bp); state 2005 fs/xfs/xfs_dir2_node.c state->path.blk[i].bp = NULL; state 2007 fs/xfs/xfs_dir2_node.c xfs_da_state_free(state); state 186 fs/xfs/xfs_log.c (void *)((unsigned long)state), state 2788 fs/xfs/xfs_vnodeops.c ip->i_d.di_dmstate = state; state 457 include/acpi/aclocal.h u16 state; state 231 include/acpi/acpi_bus.h int state; /* Current state */ state 253 include/acpi/acpi_bus.h int state; state 275 include/acpi/acpi_bus.h struct acpi_device_wakeup_state state; state 9 include/acpi/container.h int state; state 57 include/acpi/processor.h struct acpi_processor_cx *state; state 84 include/acpi/processor.h struct acpi_processor_cx *state; state 123 include/acpi/processor.h unsigned int state; state 168 include/acpi/processor.h unsigned int state; state 178 include/acpi/processor.h int state); state 196 include/acpi/processor.h struct acpi_processor_lx state; /* current limit */ state 34 include/asm-cris/arch-v10/sv_addr_ag.h #define IO_STATE(reg, field, state) IO_STATE_ (reg##_, field##_, _##state) state 47 include/asm-cris/arch-v10/sv_addr_ag.h IO_STATE_VALUE_ (reg##_, field##_, _##state) state 111 include/asm-generic/bug.h WARN_ON((condition) && __ratelimit(state)) state 106 include/asm-parisc/processor.h unsigned int state; state 8 include/asm-x86/mmu_context_32.h if (per_cpu(cpu_tlbstate, cpu).state == TLBSTATE_OK) state 9 include/asm-x86/mmu_context_32.h per_cpu(cpu_tlbstate, cpu).state = TLBSTATE_LAZY; state 23 include/asm-x86/mmu_context_32.h per_cpu(cpu_tlbstate, cpu).state = TLBSTATE_OK; state 39 include/asm-x86/mmu_context_32.h per_cpu(cpu_tlbstate, cpu).state = TLBSTATE_OK; state 154 include/asm-x86/tlbflush.h int state; state 573 include/drm/drmP.h int (*suspend) (struct drm_device *, pm_message_t state); state 607 include/drm/radeon_drm.h drm_radeon_state_t __user *state; state 183 include/drm/savage_drm.h } state; /* SAVAGE_CMD_STATE */ state 94 include/linux/ax25.h unsigned int state; state 104 include/linux/ax25.h unsigned int state; state 44 include/linux/backing-dev.h unsigned long state; /* Always use atomic bitops on this */ state 210 include/linux/backing-dev.h return (bdi->state & bdi_bits); state 412 include/linux/cdk.h unsigned long state; state 188 include/linux/cgroup.h void *state; state 60 include/linux/comstats.h unsigned long state; state 88 include/linux/comstats.h unsigned long state; state 45 include/linux/cpuidle.h struct cpuidle_state *state); state 64 include/linux/cpuidle.h return state->driver_data; state 75 include/linux/cpuidle.h state->driver_data = data; state 79 include/linux/cpuidle.h struct cpuidle_state *state; state 28 include/linux/debugobjects.h enum debug_obj_state state; state 48 include/linux/debugobjects.h int (*fixup_init) (void *addr, enum debug_obj_state state); state 49 include/linux/debugobjects.h int (*fixup_activate) (void *addr, enum debug_obj_state state); state 50 include/linux/debugobjects.h int (*fixup_destroy) (void *addr, enum debug_obj_state state); state 51 include/linux/debugobjects.h int (*fixup_free) (void *addr, enum debug_obj_state state); state 63 include/linux/device.h int (*suspend)(struct device *dev, pm_message_t state); state 64 include/linux/device.h int (*suspend_late)(struct device *dev, pm_message_t state); state 129 include/linux/device.h int (*suspend) (struct device *dev, pm_message_t state); state 195 include/linux/device.h int (*suspend)(struct device *dev, pm_message_t state); state 288 include/linux/device.h int (*suspend)(struct device *dev, pm_message_t state); state 34 include/linux/display.h void (*suspend)(struct display_device *, pm_message_t state); state 37 include/linux/eisa.h int state; state 848 include/linux/fb.h u32 state; /* Hardware state i.e suspend */ state 985 include/linux/fs.h int state; /* state of grant or error if -ve */ state 60 include/linux/hdlc.h void *state; state 127 include/linux/hrtimer.h unsigned long state; state 317 include/linux/hrtimer.h return timer->state != HRTIMER_STATE_INACTIVE; state 325 include/linux/hrtimer.h return timer->state & state 335 include/linux/hrtimer.h return timer->state & HRTIMER_STATE_CALLBACK; state 35 include/linux/i2c-algo-bit.h void (*setsda) (void *data, int state); state 36 include/linux/i2c-algo-bit.h void (*setscl) (void *data, int state); state 37 include/linux/i2c-pnx.h int (*suspend) (struct platform_device *pdev, pm_message_t state); state 179 include/linux/i2o-dev.h __u32 state:4; state 102 include/linux/if_bonding.h __s8 state; state 83 include/linux/if_bridge.h __u8 state; state 189 include/linux/if_frad.h int state; /* state of the S502/8 control latch */ state 17 include/linux/inetdevice.h DECLARE_BITMAP(state, __NET_IPV4_CONF_MAX - 1); state 59 include/linux/inetdevice.h set_bit(index, in_dev->cnf.state); state 65 include/linux/inetdevice.h bitmap_fill(in_dev->cnf.state, __NET_IPV4_CONF_MAX - 1); state 122 include/linux/init_task.h .state = 0, \ state 298 include/linux/interrupt.h unsigned long state; state 320 include/linux/interrupt.h return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); state 326 include/linux/interrupt.h clear_bit(TASKLET_STATE_RUN, &(t)->state); state 331 include/linux/interrupt.h while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } state 343 include/linux/interrupt.h if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) state 351 include/linux/interrupt.h if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) state 16 include/linux/iocontext.h unsigned long state; state 236 include/linux/ip_vs.h int state; state 121 include/linux/isdn_ppp.h void (*free) (void *state); state 122 include/linux/isdn_ppp.h int (*init) (void *state, struct isdn_ppp_comp_data *, state 131 include/linux/isdn_ppp.h void (*reset) (void *state, unsigned char code, unsigned char id, state 135 include/linux/isdn_ppp.h int (*compress) (void *state, struct sk_buff *in, state 138 include/linux/isdn_ppp.h int (*decompress) (void *state,struct sk_buff *in, state 142 include/linux/isdn_ppp.h void (*incomp) (void *state, struct sk_buff *in,int proto); state 143 include/linux/isdn_ppp.h void (*stat) (void *state, struct compstat *stats); state 190 include/linux/isdn_ppp.h enum ippp_ccp_reset_states state; /* State of this transaction */ state 212 include/linux/isdn_ppp.h int state; state 58 include/linux/istallion.h unsigned long state; state 91 include/linux/istallion.h unsigned int state; state 988 include/linux/jbd.h current->state = TASK_UNINTERRUPTIBLE; \ state 1147 include/linux/jbd2.h current->state = TASK_UNINTERRUPTIBLE; \ state 102 include/linux/kgdb.h enum kgdb_bpstate state; state 43 include/linux/lapb.h unsigned int state; state 35 include/linux/leds-pca9532.h enum pca9532_state state; state 41 include/linux/lockd/sm_inter.h u32 state; state 59 include/linux/lockd/xdr.h u32 state; state 82 include/linux/lockd/xdr.h u32 state; state 89 include/linux/mISDNhw.h u_int state; state 152 include/linux/mISDNhw.h u_int state; state 45 include/linux/marker.h char state; /* Marker state. */ state 77 include/linux/marker.h if (unlikely(__mark_##name.state)) { \ state 25 include/linux/memory.h unsigned long state; state 303 include/linux/memstick.h pm_message_t state); state 92 include/linux/mmc/card.h unsigned int state; /* (our) card state */ state 122 include/linux/mmc/card.h #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT) state 123 include/linux/mmc/card.h #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY) state 124 include/linux/mmc/card.h #define mmc_card_highspeed(c) ((c)->state & MMC_STATE_HIGHSPEED) state 125 include/linux/mmc/card.h #define mmc_card_blockaddr(c) ((c)->state & MMC_STATE_BLOCKADDR) state 127 include/linux/mmc/card.h #define mmc_card_set_present(c) ((c)->state |= MMC_STATE_PRESENT) state 128 include/linux/mmc/card.h #define mmc_card_set_readonly(c) ((c)->state |= MMC_STATE_READONLY) state 129 include/linux/mmc/card.h #define mmc_card_set_highspeed(c) ((c)->state |= MMC_STATE_HIGHSPEED) state 130 include/linux/mmc/card.h #define mmc_card_set_blockaddr(c) ((c)->state |= MMC_STATE_BLOCKADDR) state 51 include/linux/mmc/sdio_func.h unsigned int state; /* function state */ state 62 include/linux/mmc/sdio_func.h #define sdio_func_present(f) ((f)->state & SDIO_STATE_PRESENT) state 64 include/linux/mmc/sdio_func.h #define sdio_func_set_present(f) ((f)->state |= SDIO_STATE_PRESENT) state 234 include/linux/module.h enum module_state state; state 359 include/linux/module.h return mod->state != MODULE_STATE_GOING; state 61 include/linux/mtd/flashchip.h flstate_t state; state 42 include/linux/mtd/mtd.h u_char state; state 389 include/linux/mtd/nand.h int (*errstat)(struct mtd_info *mtd, struct nand_chip *this, int state, int status, int page); state 408 include/linux/mtd/nand.h nand_state_t state; state 110 include/linux/mtd/onenand.h int (*wait)(struct mtd_info *mtd, int state); state 126 include/linux/mtd/onenand.h onenand_state_t state; state 223 include/linux/n_r3964.h unsigned int state; state 104 include/linux/ncp_fs_sb.h unsigned int state; /* STREAM only: receiver state */ state 129 include/linux/net.h socket_state state; state 307 include/linux/netdevice.h unsigned long state; state 328 include/linux/netdevice.h return test_bit(NAPI_STATE_DISABLE, &n->state); state 343 include/linux/netdevice.h !test_and_set_bit(NAPI_STATE_SCHED, &n->state); state 377 include/linux/netdevice.h BUG_ON(!test_bit(NAPI_STATE_SCHED, &n->state)); state 380 include/linux/netdevice.h clear_bit(NAPI_STATE_SCHED, &n->state); state 401 include/linux/netdevice.h set_bit(NAPI_STATE_DISABLE, &n->state); state 402 include/linux/netdevice.h while (test_and_set_bit(NAPI_STATE_SCHED, &n->state)) state 404 include/linux/netdevice.h clear_bit(NAPI_STATE_DISABLE, &n->state); state 416 include/linux/netdevice.h BUG_ON(!test_bit(NAPI_STATE_SCHED, &n->state)); state 418 include/linux/netdevice.h clear_bit(NAPI_STATE_SCHED, &n->state); state 432 include/linux/netdevice.h while (test_bit(NAPI_STATE_SCHED, &n->state)) state 448 include/linux/netdevice.h unsigned long state; state 495 include/linux/netdevice.h unsigned long state; state 867 include/linux/netdevice.h set_bit(NAPI_STATE_SCHED, &napi->state); state 1012 include/linux/netdevice.h if (!test_bit(__QUEUE_STATE_XOFF, &txq->state)) state 1026 include/linux/netdevice.h clear_bit(__QUEUE_STATE_XOFF, &dev_queue->state); state 1054 include/linux/netdevice.h clear_bit(__QUEUE_STATE_XOFF, &dev_queue->state); state 1058 include/linux/netdevice.h if (test_and_clear_bit(__QUEUE_STATE_XOFF, &dev_queue->state)) state 1086 include/linux/netdevice.h set_bit(__QUEUE_STATE_XOFF, &dev_queue->state); state 1113 include/linux/netdevice.h return test_bit(__QUEUE_STATE_XOFF, &dev_queue->state); state 1129 include/linux/netdevice.h return test_bit(__QUEUE_STATE_FROZEN, &dev_queue->state); state 1140 include/linux/netdevice.h return test_bit(__LINK_STATE_START, &dev->state); state 1160 include/linux/netdevice.h clear_bit(__QUEUE_STATE_XOFF, &txq->state); state 1177 include/linux/netdevice.h set_bit(__QUEUE_STATE_XOFF, &txq->state); state 1191 include/linux/netdevice.h return test_bit(__QUEUE_STATE_XOFF, &txq->state); state 1214 include/linux/netdevice.h if (test_and_clear_bit(__QUEUE_STATE_XOFF, &txq->state)) state 1309 include/linux/netdevice.h return !test_bit(__LINK_STATE_NOCARRIER, &dev->state); state 1333 include/linux/netdevice.h if (!test_and_set_bit(__LINK_STATE_DORMANT, &dev->state)) state 1345 include/linux/netdevice.h if (test_and_clear_bit(__LINK_STATE_DORMANT, &dev->state)) state 1357 include/linux/netdevice.h return test_bit(__LINK_STATE_DORMANT, &dev->state); state 1380 include/linux/netdevice.h return test_bit(__LINK_STATE_PRESENT, &dev->state); state 1553 include/linux/netdevice.h set_bit(__QUEUE_STATE_FROZEN, &txq->state); state 1575 include/linux/netdevice.h clear_bit(__QUEUE_STATE_FROZEN, &txq->state); state 1576 include/linux/netdevice.h if (!test_bit(__QUEUE_STATE_XOFF, &txq->state)) state 32 include/linux/netfilter/nf_conntrack_dccp.h u_int8_t state; state 16 include/linux/netfilter/nf_conntrack_sane.h enum sane_state state; state 21 include/linux/netfilter/nf_conntrack_sctp.h enum sctp_conntrack state; state 54 include/linux/netfilter/nf_conntrack_tcp.h u_int8_t state; /* state of the connection (enum tcp_conntrack) */ state 84 include/linux/nfs_fs.h struct nfs4_state *state; state 14 include/linux/nfs_fs_i.h u32 state; state 386 include/linux/nodemask.h return node_isset(node, node_states[state]); state 391 include/linux/nodemask.h __node_set(node, &node_states[state]); state 396 include/linux/nodemask.h __node_clear(node, &node_states[state]); state 401 include/linux/nodemask.h return nodes_weight(node_states[state]); state 27 include/linux/nsc_gpio.h void (*gpio_set) (unsigned iminor, int state); state 42 include/linux/of_platform.h int (*suspend)(struct of_device* dev, pm_message_t state); state 237 include/linux/parport.h struct parport_state *state; /* saved status over preemption */ state 407 include/linux/pci.h int (*suspend) (struct pci_dev *dev, pm_message_t state); /* Device suspended */ state 408 include/linux/pci.h int (*suspend_late) (struct pci_dev *dev, pm_message_t state); state 62 include/linux/pcieport_if.h int (*suspend) (struct pcie_device *dev, pm_message_t state); state 108 include/linux/phy.h } state; state 273 include/linux/phy.h enum phy_state state; state 219 include/linux/pktcdvd.h enum packet_data_state state; /* Current state */ state 52 include/linux/platform_device.h int (*suspend)(struct platform_device *, pm_message_t state); state 53 include/linux/platform_device.h int (*suspend_late)(struct platform_device *, pm_message_t state); state 361 include/linux/pnp.h int (*suspend) (struct pnp_dev *dev, pm_message_t state); state 376 include/linux/pnp.h int (*suspend) (struct pnp_card_link *card, pm_message_t state); state 401 include/linux/pnp.h int (*suspend) (struct pnp_dev * dev, pm_message_t state); state 70 include/linux/ppp-comp.h void (*comp_free) (void *state); state 73 include/linux/ppp-comp.h int (*comp_init) (void *state, unsigned char *options, state 77 include/linux/ppp-comp.h void (*comp_reset) (void *state); state 80 include/linux/ppp-comp.h int (*compress) (void *state, unsigned char *rptr, state 84 include/linux/ppp-comp.h void (*comp_stat) (void *state, struct compstat *stats); state 90 include/linux/ppp-comp.h void (*decomp_free) (void *state); state 93 include/linux/ppp-comp.h int (*decomp_init) (void *state, unsigned char *options, state 98 include/linux/ppp-comp.h void (*decomp_reset) (void *state); state 101 include/linux/ppp-comp.h int (*decompress) (void *state, unsigned char *ibuf, int isize, state 105 include/linux/ppp-comp.h void (*incomp) (void *state, unsigned char *ibuf, int icnt); state 108 include/linux/ppp-comp.h void (*decomp_stat) (void *state, struct compstat *stats); state 154 include/linux/raid/bitmap.h __le32 state; /* 48 bitmap state information */ state 311 include/linux/raid/md_k.h void (*quiesce) (mddev_t *mddev, int state); state 372 include/linux/raid/md_k.h current->state = TASK_RUNNING; \ state 89 include/linux/raid/md_p.h __u32 state; /* 4 Operational state */ state 140 include/linux/raid/md_p.h __u32 state; /* 1 State bits (clean, ...) */ state 74 include/linux/raid/md_u.h int state; /* 1 State bits (clean, ...) */ state 96 include/linux/raid/md_u.h int state; state 107 include/linux/raid/md_u.h int state; state 90 include/linux/raid/raid1.h unsigned long state; state 85 include/linux/raid/raid10.h unsigned long state; state 204 include/linux/raid/raid5.h unsigned long state; /* state flags */ state 46 include/linux/raid_class.h enum raid_state state; state 123 include/linux/reiserfs_fs_sb.h unsigned long state; state 100 include/linux/rfkill.h enum rfkill_state state; state 102 include/linux/rfkill.h int (*toggle_radio)(void *data, enum rfkill_state state); state 103 include/linux/rfkill.h int (*get_state)(void *data, enum rfkill_state *state); state 132 include/linux/rfkill.h return (state == RFKILL_STATE_UNBLOCKED) ? state 281 include/linux/rio.h int (*suspend) (struct rio_dev * dev, u32 state); state 283 include/linux/rio.h int (*enable_wake) (struct rio_dev * dev, u32 state, int enable); state 199 include/linux/sched.h #define task_is_traced(task) ((task->state & __TASK_TRACED) != 0) state 200 include/linux/sched.h #define task_is_stopped(task) ((task->state & __TASK_STOPPED) != 0) state 202 include/linux/sched.h ((task->state & (__TASK_STOPPED | __TASK_TRACED)) != 0) state 204 include/linux/sched.h ((task->state & TASK_UNINTERRUPTIBLE) != 0) state 207 include/linux/sched.h do { (tsk)->state = (state_value); } while (0) state 209 include/linux/sched.h set_mb((tsk)->state, (state_value)) state 223 include/linux/sched.h do { current->state = (state_value); } while (0) state 225 include/linux/sched.h set_mb(current->state, (state_value)) state 1031 include/linux/sched.h volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ state 2034 include/linux/sched.h if (!(state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL))) state 2039 include/linux/sched.h return (state & TASK_INTERRUPTIBLE) || __fatal_signal_pending(p); state 67 include/linux/scx200_gpio.h if (state) state 57 include/linux/serialP.h struct serial_state *state; state 194 include/linux/serial_core.h void (*pm)(struct uart_port *, unsigned int state, state 196 include/linux/serial_core.h int (*set_wake)(struct uart_port *, unsigned int state); state 383 include/linux/serial_core.h struct uart_state *state; state 40 include/linux/smb_fs_sb.h enum smb_conn_state state; state 123 include/linux/spi/spi.h spi->controller_state = state; state 465 include/linux/spi/spi.h void *state; state 189 include/linux/ssb/ssb.h int (*suspend)(struct ssb_device *dev, pm_message_t state); state 559 include/linux/ssb/ssb.h pci_set_power_state(sdev->bus->host_pci, state); state 116 include/linux/stallion.h unsigned int state; state 148 include/linux/sunrpc/xprt.h unsigned long state; /* transport state */ state 266 include/linux/sunrpc/xprt.h set_bit(XPRT_CONNECTED, &xprt->state); state 271 include/linux/sunrpc/xprt.h clear_bit(XPRT_CONNECTED, &xprt->state); state 276 include/linux/sunrpc/xprt.h return test_bit(XPRT_CONNECTED, &xprt->state); state 281 include/linux/sunrpc/xprt.h return test_and_set_bit(XPRT_CONNECTED, &xprt->state); state 286 include/linux/sunrpc/xprt.h return test_and_clear_bit(XPRT_CONNECTED, &xprt->state); state 292 include/linux/sunrpc/xprt.h clear_bit(XPRT_CONNECTING, &xprt->state); state 298 include/linux/sunrpc/xprt.h return test_bit(XPRT_CONNECTING, &xprt->state); state 303 include/linux/sunrpc/xprt.h return test_and_set_bit(XPRT_CONNECTING, &xprt->state); state 308 include/linux/sunrpc/xprt.h test_and_set_bit(XPRT_BOUND, &xprt->state); state 313 include/linux/sunrpc/xprt.h return test_bit(XPRT_BOUND, &xprt->state); state 318 include/linux/sunrpc/xprt.h clear_bit(XPRT_BOUND, &xprt->state); state 324 include/linux/sunrpc/xprt.h clear_bit(XPRT_BINDING, &xprt->state); state 330 include/linux/sunrpc/xprt.h return test_and_set_bit(XPRT_BINDING, &xprt->state); state 96 include/linux/suspend.h int (*valid)(suspend_state_t state); state 97 include/linux/suspend.h int (*begin)(suspend_state_t state); state 99 include/linux/suspend.h int (*enter)(suspend_state_t state); state 227 include/linux/synclink.h __u32 state; state 37 include/linux/sysdev.h int (*suspend)(struct sys_device *, pm_message_t state); state 76 include/linux/sysdev.h int (*suspend)(struct sys_device *, pm_message_t state); state 77 include/linux/textsearch.h struct ts_state *state); state 88 include/linux/textsearch.h struct ts_state *state); state 106 include/linux/textsearch.h unsigned int ret = conf->ops->find(conf, state); state 109 include/linux/textsearch.h conf->finish(conf, state); state 125 include/linux/textsearch.h state->offset = 0; state 126 include/linux/textsearch.h return textsearch_next(conf, state); state 108 include/linux/tifm.h pm_message_t state); state 251 include/linux/tty_driver.h int (*break_ctl)(struct tty_struct *tty, int state); state 66 include/linux/uinput.h enum uinput_state state; state 417 include/linux/usb.h enum usb_device_state state; state 72 include/linux/usb/musb.h int (*set_power)(int state); state 47 include/linux/usb/otg.h enum usb_otg_state state; state 124 include/linux/usb/usbnet.h void (*link_change)(struct usbnet *dev, int state); state 175 include/linux/usb/usbnet.h enum skb_state state; state 334 include/linux/wanrouter.h unsigned state; /* link state */ state 493 include/linux/wanrouter.h char state; /* device state */ state 401 include/linux/xfrm.h struct xfrm_usersa_info state; state 94 include/linux/zlib.h struct internal_state *state; /* not visible by applications */ state 67 include/media/soc_camera.h int (*suspend)(struct soc_camera_device *, pm_message_t state); state 120 include/media/soc_camera.h int (*suspend)(struct soc_camera_device *, pm_message_t state); state 30 include/media/v4l2-i2c-drv-legacy.h int (*suspend)(struct i2c_client *client, pm_message_t state); state 76 include/media/v4l2-i2c-drv-legacy.h return v4l2_i2c_data.suspend ? v4l2_i2c_data.suspend(client, state) : 0; state 35 include/media/v4l2-i2c-drv.h int (*suspend)(struct i2c_client *client, pm_message_t state); state 82 include/media/videobuf-core.h enum videobuf_state state; state 230 include/net/ax25.h unsigned char state, modulus, pidincl; state 983 include/net/bluetooth/hci.h __u16 state; state 159 include/net/bluetooth/hci_core.h __u16 state; state 312 include/net/bluetooth/hci_core.h if (c->type == type && c->state == state) state 350 include/net/bluetooth/hci_core.h if (conn->state == BT_CONNECTED) { state 157 include/net/bluetooth/rfcomm.h unsigned long state; state 176 include/net/bluetooth/rfcomm.h unsigned long state; state 342 include/net/bluetooth/rfcomm.h u16 state; state 13 include/net/dn.h unsigned char state; state 72 include/net/dn_dev.h int state; /* Initial state */ state 80 include/net/garp.h enum garp_applicant_state state; state 1071 include/net/ieee80211.h enum ieee80211_state state; state 129 include/net/ip6_fib.h unsigned char state; state 312 include/net/ip_vs.h const char *(*state_name)(int state); state 360 include/net/ip_vs.h volatile __u16 state; /* state info */ state 63 include/net/irda/ircomm_core.h int state; state 106 include/net/irda/ircomm_core.h #define ircomm_is_connected(self) (self->state == IRCOMM_CONN) state 67 include/net/irda/ircomm_tty.h int state; /* Connect state */ state 97 include/net/irda/irda_device.h IRDA_TASK_STATE state; state 174 include/net/irda/irda_device.h int state; /* Receiving state (transmit state not used) */ state 115 include/net/irda/irlan_common.h int state; state 146 include/net/irda/irlan_common.h int state; state 127 include/net/irda/irlap.h volatile IRLAP_STATE state; /* Current state */ state 273 include/net/irda/irlap.h switch(self->state) { state 308 include/net/irda/irlap.h self->state = state; state 87 include/net/lapb.h unsigned char state; state 46 include/net/llc.h unsigned char state; state 36 include/net/llc_conn.h u8 state; /* state of connection */ state 262 include/net/neighbour.h void *(*neigh_sub_iter)(struct neigh_seq_state *state, state 72 include/net/netrom.h unsigned char state, condition, bpqext, window; state 93 include/net/pkt_sched.h if (!test_and_set_bit(__QDISC_STATE_RUNNING, &q->state)) state 129 include/net/rose.h unsigned char state, condition, qbitincl, defer; state 54 include/net/sch_generic.h unsigned long state; state 129 include/net/sctp/command.h sctp_state_t state; state 663 include/net/sctp/sctp.h #define sctp_state(asoc, state) __sctp_state((asoc), (SCTP_STATE_##state)) state 667 include/net/sctp/sctp.h return asoc->state == state; state 671 include/net/sctp/sctp.h #define sctp_sstate(sk, state) __sctp_sstate((sk), (SCTP_SS_##state)) state 674 include/net/sctp/sctp.h return sk->sk_state == state; state 777 include/net/sctp/structs.h __u8 state; state 985 include/net/sctp/structs.h int state; state 1610 include/net/sctp/structs.h sctp_state_t state; state 25 include/net/syncppp.h u16 state; /* state machine */ state 32 include/net/syncppp.h u16 state; /* state machine */ state 1346 include/net/tcp.h enum tcp_seq_states state; state 134 include/net/x25.h unsigned int state; state 148 include/net/x25.h unsigned char state, condition, qbitincl, intflag, accptapprv; state 122 include/net/xfrm.h u8 state; state 139 include/pcmcia/ss.h int (*set_socket)(struct pcmcia_socket *s, socket_state_t *state); state 148 include/pcmcia/ss.h u_int state; state 287 include/rdma/ib_cm.h enum ib_cm_state state; /* internal CM/debug use */ state 197 include/rdma/ib_user_verbs.h __u8 state; state 282 include/rdma/ib_verbs.h enum ib_port_state state; state 118 include/scsi/libiscsi.h int state; state 281 include/scsi/libiscsi.h int state; /* session state */ state 341 include/scsi/libsas.h enum sas_ha_state state; state 244 include/scsi/scsi_device.h enum scsi_target_state state; state 182 include/scsi/scsi_transport_iscsi.h int state; state 394 include/sound/asound.h snd_pcm_state_t state; /* stream state */ state 408 include/sound/asound.h snd_pcm_state_t state; /* RO: state - SNDRV_PCM_STATE_XXXX */ state 88 include/sound/core.h snd_device_state_t state; /* state of the device */ state 179 include/sound/core.h card->power_state = state; state 169 include/sound/emux_synth.h int state; /* status */ state 284 include/sound/opl3.h int state; /* status */ state 613 include/sound/pcm.h return (substream->runtime->status->state == SNDRV_PCM_STATE_RUNNING || state 614 include/sound/pcm.h (substream->runtime->status->state == SNDRV_PCM_STATE_DRAINING && state 95 include/sound/sb16_csp.h unsigned short state; /* state bits */ state 443 include/sound/soc.h int (*suspend)(struct platform_device *pdev, pm_message_t state); state 495 include/sound/soc.h int (*suspend_pre)(struct platform_device *pdev, pm_message_t state); state 496 include/sound/soc.h int (*suspend_post)(struct platform_device *pdev, pm_message_t state); state 125 include/video/neomagic.h struct vgastate state; state 79 include/xen/interface/vcpu.h int state; state 69 include/xen/xenbus.h enum xenbus_state state; state 200 init/do_mounts_md.c ainfo.state = (1 << MD_SB_CLEAN); state 210 init/do_mounts_md.c dinfo.state = (1<<MD_DISK_ACTIVE)|(1<<MD_DISK_SYNC); state 118 init/initramfs.c } state, next_state; state 142 init/initramfs.c state = next; state 147 init/initramfs.c state = Collect; state 169 init/initramfs.c state = next_state; state 190 init/initramfs.c state = SkipIt; state 199 init/initramfs.c state = Collect; state 214 init/initramfs.c state = next_state; state 254 init/initramfs.c state = SkipIt; state 274 init/initramfs.c state = CopyFile; state 298 init/initramfs.c state = SkipIt; state 314 init/initramfs.c state = SkipIt; state 335 init/initramfs.c while (!actions[state]()) state 350 init/initramfs.c state = Start; state 354 init/initramfs.c state = Reset; state 436 init/initramfs.c state = Start; state 442 init/initramfs.c state = Start; state 463 init/initramfs.c if (state != Reset) state 60 ipc/mqueue.c int state; /* one of STATE_* values */ state 410 ipc/mqueue.c while (ewp->state == STATE_PENDING) state 413 ipc/mqueue.c if (ewp->state == STATE_READY) { state 418 ipc/mqueue.c if (ewp->state == STATE_READY) { state 786 ipc/mqueue.c receiver->state = STATE_PENDING; state 789 ipc/mqueue.c receiver->state = STATE_READY; state 805 ipc/mqueue.c sender->state = STATE_PENDING; state 808 ipc/mqueue.c sender->state = STATE_READY; state 874 ipc/mqueue.c wait.state = STATE_NONE; state 949 ipc/mqueue.c wait.state = STATE_NONE; state 228 ipc/msg.c current->state = TASK_INTERRUPTIBLE; state 836 ipc/msg.c current->state = TASK_INTERRUPTIBLE; state 1179 ipc/sem.c current->state = TASK_INTERRUPTIBLE; state 334 kernel/audit.c if (state < AUDIT_OFF || state > AUDIT_LOCKED) state 337 kernel/audit.c rc = audit_do_config_change("audit_enabled", &audit_enabled, state, state 341 kernel/audit.c audit_ever_enabled |= !!state; state 348 kernel/audit.c if (state != AUDIT_FAIL_SILENT state 349 kernel/audit.c && state != AUDIT_FAIL_PRINTK state 350 kernel/audit.c && state != AUDIT_FAIL_PANIC) state 353 kernel/audit.c return audit_do_config_change("audit_failure", &audit_failure, state, state 1724 kernel/auditfilter.c case AUDIT_NEVER: *state = AUDIT_DISABLED; break; state 1725 kernel/auditfilter.c case AUDIT_ALWAYS: *state = AUDIT_RECORD_CONTEXT; break; state 1732 kernel/auditfilter.c enum audit_state state = AUDIT_DISABLED; state 1738 kernel/auditfilter.c if (audit_filter_user_rules(cb, &e->rule, &state)) { state 1739 kernel/auditfilter.c if (state == AUDIT_DISABLED) state 196 kernel/auditsc.c enum audit_state state; state 624 kernel/auditsc.c case AUDIT_NEVER: *state = AUDIT_DISABLED; break; state 625 kernel/auditsc.c case AUDIT_ALWAYS: *state = AUDIT_RECORD_CONTEXT; break; state 637 kernel/auditsc.c enum audit_state state; state 641 kernel/auditsc.c if (audit_filter_rules(tsk, &e->rule, NULL, NULL, &state)) { state 643 kernel/auditsc.c return state; state 660 kernel/auditsc.c enum audit_state state; state 673 kernel/auditsc.c &state)) { state 675 kernel/auditsc.c return state; state 693 kernel/auditsc.c enum audit_state state; state 711 kernel/auditsc.c audit_filter_rules(tsk, &e->rule, ctx, n, &state)) { state 713 kernel/auditsc.c return state; state 755 kernel/auditsc.c enum audit_state state; state 757 kernel/auditsc.c state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_EXIT]); state 758 kernel/auditsc.c if (state == AUDIT_RECORD_CONTEXT) { state 763 kernel/auditsc.c state = audit_filter_inodes(tsk, context); state 764 kernel/auditsc.c if (state == AUDIT_RECORD_CONTEXT) state 831 kernel/auditsc.c context->state = state; state 840 kernel/auditsc.c audit_zero_context(context, state); state 856 kernel/auditsc.c enum audit_state state; state 861 kernel/auditsc.c state = audit_filter_task(tsk); state 862 kernel/auditsc.c if (likely(state == AUDIT_DISABLED)) state 865 kernel/auditsc.c if (!(context = audit_alloc_context(state))) { state 1484 kernel/auditsc.c enum audit_state state; state 1512 kernel/auditsc.c newctx = audit_alloc_context(context->state); state 1522 kernel/auditsc.c audit_zero_context(context, context->state); state 1537 kernel/auditsc.c state = context->state; state 1539 kernel/auditsc.c if (!context->dummy && (state == AUDIT_SETUP_CONTEXT || state == AUDIT_BUILD_CONTEXT)) state 1540 kernel/auditsc.c state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_ENTRY]); state 1541 kernel/auditsc.c if (likely(state == AUDIT_DISABLED)) state 1547 kernel/auditsc.c context->auditable = !!(state == AUDIT_RECORD_CONTEXT); state 1512 kernel/cgroup.c struct seq_file *sf = cb->state; state 1518 kernel/cgroup.c struct cgroup_seqfile_state *state = m->private; state 1519 kernel/cgroup.c struct cftype *cft = state->cft; state 1523 kernel/cgroup.c .state = m, state 1525 kernel/cgroup.c return cft->read_map(state->cgroup, cft, &cb); state 1527 kernel/cgroup.c return cft->read_seq_string(state->cgroup, cft, m); state 1557 kernel/cgroup.c struct cgroup_seqfile_state *state = state 1558 kernel/cgroup.c kzalloc(sizeof(*state), GFP_USER); state 1559 kernel/cgroup.c if (!state) state 1561 kernel/cgroup.c state->cft = cft; state 1562 kernel/cgroup.c state->cgroup = __d_cgrp(file->f_dentry->d_parent); state 1564 kernel/cgroup.c err = single_open(file, cgroup_seqfile_show, state); state 1566 kernel/cgroup.c kfree(state); state 2060 kernel/cgroup.c switch (tsk->state) { state 899 kernel/compat.c current->state = TASK_INTERRUPTIBLE; state 186 kernel/cpu.c p->state, p->flags); state 1127 kernel/exit.c tsk->state = TASK_DEAD; state 1265 kernel/exit.c unsigned long state; state 1294 kernel/exit.c state = xchg(&p->exit_state, EXIT_DEAD); state 1295 kernel/exit.c if (state != EXIT_ZOMBIE) { state 1296 kernel/exit.c BUG_ON(state != EXIT_DEAD); state 1689 kernel/exit.c current->state = TASK_INTERRUPTIBLE; state 1724 kernel/exit.c current->state = TASK_RUNNING; state 348 kernel/hrtimer.c switch (state) { state 365 kernel/hrtimer.c switch (state) { state 387 kernel/hrtimer.c switch (state) { state 450 kernel/hrtimer.c return timer->state & HRTIMER_STATE_PENDING; state 693 kernel/hrtimer.c timer->state = HRTIMER_STATE_PENDING; state 884 kernel/hrtimer.c timer->state |= HRTIMER_STATE_ENQUEUED; state 917 kernel/hrtimer.c timer->state = newstate; state 1002 kernel/hrtimer.c raise = timer->state == HRTIMER_STATE_PENDING; state 1206 kernel/hrtimer.c timer->state &= ~HRTIMER_STATE_CALLBACK; state 1270 kernel/hrtimer.c BUG_ON(timer->state != HRTIMER_STATE_CALLBACK); state 1273 kernel/hrtimer.c timer->state &= ~HRTIMER_STATE_CALLBACK; state 1642 kernel/hrtimer.c if (timer->state == HRTIMER_STATE_MIGRATE) { state 1643 kernel/hrtimer.c timer->state = HRTIMER_STATE_PENDING; state 1650 kernel/hrtimer.c timer->state &= ~HRTIMER_STATE_MIGRATE; state 112 kernel/kgdb.c [0 ... KGDB_MAX_BREAKPOINTS-1] = { .state = BP_UNDEFINED } state 626 kernel/kgdb.c if (kgdb_break[i].state != BP_SET) state 636 kernel/kgdb.c kgdb_break[i].state = BP_ACTIVE; state 651 kernel/kgdb.c if ((kgdb_break[i].state == BP_SET) && state 656 kernel/kgdb.c if (kgdb_break[i].state == BP_REMOVED && state 665 kernel/kgdb.c if (kgdb_break[i].state == BP_UNDEFINED) { state 675 kernel/kgdb.c kgdb_break[breakno].state = BP_SET; state 689 kernel/kgdb.c if (kgdb_break[i].state != BP_ACTIVE) state 698 kernel/kgdb.c kgdb_break[i].state = BP_SET; state 708 kernel/kgdb.c if ((kgdb_break[i].state == BP_SET) && state 710 kernel/kgdb.c kgdb_break[i].state = BP_REMOVED; state 722 kernel/kgdb.c if ((kgdb_break[i].state == BP_REMOVED) && state 737 kernel/kgdb.c if (kgdb_break[i].state != BP_ACTIVE) state 746 kernel/kgdb.c kgdb_break[i].state = BP_UNDEFINED; state 130 kernel/kprobes.c if (p != current && p->state == TASK_RUNNING && state 174 kernel/kthread.c if (k->state != TASK_UNINTERRUPTIBLE) { state 3430 kernel/lockdep.c if (p->state == TASK_RUNNING && p != current) state 554 kernel/marker.c elem->state = active; state 568 kernel/marker.c elem->state = 0; state 92 kernel/module.c if (mod && mod->state == MODULE_STATE_COMING) state 672 kernel/module.c sref->mod->state = MODULE_STATE_GOING; state 684 kernel/module.c mod->state = MODULE_STATE_GOING; state 714 kernel/module.c current->state = TASK_RUNNING; state 748 kernel/module.c if (mod->state != MODULE_STATE_LIVE) { state 890 kernel/module.c const char *state = "unknown"; state 892 kernel/module.c switch (mod->state) { state 894 kernel/module.c state = "live"; state 897 kernel/module.c state = "coming"; state 900 kernel/module.c state = "going"; state 903 kernel/module.c return sprintf(buffer, "%s\n", state); state 1975 kernel/module.c mod->state = MODULE_STATE_COMING; state 2295 kernel/module.c mod->state = MODULE_STATE_GOING; state 2316 kernel/module.c mod->state = MODULE_STATE_LIVE; state 2552 kernel/module.c mod->state == MODULE_STATE_GOING || state 2553 kernel/module.c mod->state == MODULE_STATE_COMING) { state 2566 kernel/module.c if (mod->state == MODULE_STATE_GOING) state 2569 kernel/module.c if (mod->state == MODULE_STATE_COMING) state 2589 kernel/module.c mod->state == MODULE_STATE_GOING ? "Unloading": state 2590 kernel/module.c mod->state == MODULE_STATE_COMING ? "Loading": state 169 kernel/mutex.c if (unlikely(signal_pending_state(state, task))) { state 178 kernel/mutex.c __set_task_state(task, state); state 217 kernel/power/main.c return state == PM_SUSPEND_MEM; state 297 kernel/power/main.c error = suspend_ops->enter(state); state 320 kernel/power/main.c error = suspend_ops->begin(state); state 347 kernel/power/main.c suspend_enter(state); state 396 kernel/power/main.c if (!suspend_ops || !suspend_ops->valid || !suspend_ops->valid(state)) state 416 kernel/power/main.c if (!valid_state(state)) state 426 kernel/power/main.c pr_debug("PM: Preparing system for %s sleep\n", pm_states[state]); state 434 kernel/power/main.c pr_debug("PM: Entering %s sleep\n", pm_states[state]); state 435 kernel/power/main.c error = suspend_devices_and_enter(state); state 456 kernel/power/main.c if (state > PM_SUSPEND_ON && state <= PM_SUSPEND_MAX) state 457 kernel/power/main.c return enter_state(state); state 504 kernel/power/main.c suspend_state_t state = PM_SUSPEND_STANDBY; state 521 kernel/power/main.c for (s = &pm_states[state]; state < PM_SUSPEND_MAX; s++, state++) { state 525 kernel/power/main.c if (state < PM_SUSPEND_MAX && *s) state 526 kernel/power/main.c error = enter_state(state); state 629 kernel/power/main.c if (state == PM_SUSPEND_MEM) { state 630 kernel/power/main.c printk(info_test, pm_states[state]); state 631 kernel/power/main.c status = pm_suspend(state); state 633 kernel/power/main.c state = PM_SUSPEND_STANDBY; state 635 kernel/power/main.c if (state == PM_SUSPEND_STANDBY) { state 636 kernel/power/main.c printk(info_test, pm_states[state]); state 637 kernel/power/main.c status = pm_suspend(state); state 58 kernel/power/process.c save = current->state; state 102 kernel/ptrace.c child->state = TASK_TRACED; state 378 kernel/rtmutex-tester.c td->opcode, td->event, tsk->state, state 630 kernel/rtmutex.c set_current_state(state); state 649 kernel/rtmutex.c if (unlikely(state == TASK_INTERRUPTIBLE)) { state 694 kernel/rtmutex.c set_current_state(state); state 795 kernel/rtmutex.c return slowfn(lock, state, NULL, detect_deadlock); state 809 kernel/rtmutex.c return slowfn(lock, state, timeout, detect_deadlock); state 1928 kernel/sched.c if (match_state && unlikely(p->state != match_state)) state 1942 kernel/sched.c if (!match_state || p->state == match_state) state 2238 kernel/sched.c old_state = p->state; state 2239 kernel/sched.c if (!(old_state & state)) state 2259 kernel/sched.c old_state = p->state; state 2260 kernel/sched.c if (!(old_state & state)) state 2302 kernel/sched.c p->pid, p->state, rq, p, rq->curr); state 2305 kernel/sched.c p->state = TASK_RUNNING; state 2326 kernel/sched.c return try_to_wake_up(p, state, 0); state 2369 kernel/sched.c p->state = TASK_RUNNING; state 2420 kernel/sched.c BUG_ON(p->state != TASK_RUNNING); state 2437 kernel/sched.c p->pid, p->state, rq, p, rq->curr); state 2560 kernel/sched.c prev_state = prev->state; state 2613 kernel/sched.c prev->pid, next->pid, prev->state, state 4452 kernel/sched.c if (prev->state && !(preempt_count() & PREEMPT_ACTIVE)) { state 4453 kernel/sched.c if (unlikely(signal_pending_state(prev->state, prev))) state 4454 kernel/sched.c prev->state = TASK_RUNNING; state 4691 kernel/sched.c if (signal_pending_state(state, current)) { state 4695 kernel/sched.c __set_current_state(state); state 4714 kernel/sched.c timeout = do_wait_for_common(x, timeout, state); state 4853 kernel/sched.c __set_current_state(state); state 5776 kernel/sched.c unsigned state; state 5778 kernel/sched.c state = p->state ? __ffs(p->state) + 1 : 0; state 5780 kernel/sched.c state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?'); state 5782 kernel/sched.c if (state == TASK_RUNNING) state 5787 kernel/sched.c if (state == TASK_RUNNING) state 5824 kernel/sched.c if (!state_filter || (p->state & state_filter)) state 6254 kernel/sched.c BUG_ON(p->state == TASK_DEAD); state 687 kernel/sched_fair.c if (tsk->state & TASK_INTERRUPTIBLE) state 689 kernel/sched_fair.c if (tsk->state & TASK_UNINTERRUPTIBLE) state 235 kernel/sched_stats.h if (t->state == TASK_RUNNING) state 215 kernel/semaphore.c if (signal_pending_state(state, task)) state 219 kernel/semaphore.c __set_task_state(task, state); state 638 kernel/signal.c unsigned int state; state 654 kernel/signal.c state = __TASK_STOPPED; state 657 kernel/signal.c state |= TASK_INTERRUPTIBLE; state 659 kernel/signal.c wake_up_state(t, state); state 2558 kernel/signal.c current->state = TASK_INTERRUPTIBLE; state 2584 kernel/signal.c current->state = TASK_INTERRUPTIBLE; state 64 kernel/softirq.c if (tsk && tsk->state != TASK_RUNNING) state 384 kernel/softirq.c if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) state 419 kernel/softirq.c if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) state 442 kernel/softirq.c t->state = 0; state 455 kernel/softirq.c while (test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) { state 458 kernel/softirq.c while (test_bit(TASKLET_STATE_SCHED, &t->state)); state 461 kernel/softirq.c clear_bit(TASKLET_STATE_SCHED, &t->state); state 539 kernel/softirq.c BUG_ON(test_bit(TASKLET_STATE_RUN, &t->state)); state 541 kernel/softirq.c if (!test_bit(TASKLET_STATE_SCHED, &t->state)) state 237 kernel/softlockup.c if (t->state == TASK_UNINTERRUPTIBLE) state 29 kernel/stop_machine.c static enum stopmachine_state state; state 48 kernel/stop_machine.c state = newstate; state 56 kernel/stop_machine.c if (state == STOPMACHINE_EXIT) state 59 kernel/stop_machine.c set_state(state + 1); state 73 kernel/stop_machine.c if (state != curstate) { state 74 kernel/stop_machine.c curstate = state; state 307 kernel/sys.c (state == SYSTEM_HALT)?SYS_HALT:SYS_POWER_OFF, NULL); state 308 kernel/sys.c system_state = state; state 59 kernel/time/timer_list.c SEQ_printf(m, ", S:%02lx", timer->state); state 335 kernel/timer.c switch (state) { state 354 kernel/timer.c switch (state) { state 388 kernel/timer.c switch (state) { state 1208 kernel/timer.c current->state = TASK_RUNNING; state 963 kernel/trace/trace.c entry->ctx.prev_state = prev->state; state 966 kernel/trace/trace.c entry->ctx.next_state = next->state; state 989 kernel/trace/trace.c entry->ctx.prev_state = curr->state; state 992 kernel/trace/trace.c entry->ctx.next_state = wakee->state; state 1487 kernel/trace/trace.c unsigned state; state 1524 kernel/trace/trace.c state = entry->ctx.prev_state ? __ffs(entry->ctx.prev_state) + 1 : 0; state 1525 kernel/trace/trace.c S = state < sizeof(state_to_char) - 1 ? state_to_char[state] : 'X'; state 143 kernel/trace/trace_sysprof.c if (is_user && current->state != TASK_RUNNING) state 80 kernel/wait.c set_current_state(state); state 99 kernel/wait.c set_current_state(state); state 128 lib/debugobjects.c obj->state = ODEBUG_STATE_NONE; state 215 lib/debugobjects.c obj_states[obj->state], obj->descr->name); state 229 lib/debugobjects.c debug_objects_fixups += fixup(addr, state); state 257 lib/debugobjects.c enum debug_obj_state state; state 280 lib/debugobjects.c switch (obj->state) { state 284 lib/debugobjects.c obj->state = ODEBUG_STATE_INIT; state 289 lib/debugobjects.c state = obj->state; state 291 lib/debugobjects.c debug_object_fixup(descr->fixup_init, addr, state); state 338 lib/debugobjects.c enum debug_obj_state state; state 352 lib/debugobjects.c switch (obj->state) { state 355 lib/debugobjects.c obj->state = ODEBUG_STATE_ACTIVE; state 360 lib/debugobjects.c state = obj->state; state 362 lib/debugobjects.c debug_object_fixup(descr->fixup_activate, addr, state); state 405 lib/debugobjects.c switch (obj->state) { state 409 lib/debugobjects.c obj->state = ODEBUG_STATE_INACTIVE; state 420 lib/debugobjects.c .state = ODEBUG_STATE_NOTAVAILABLE, state 436 lib/debugobjects.c enum debug_obj_state state; state 452 lib/debugobjects.c switch (obj->state) { state 456 lib/debugobjects.c obj->state = ODEBUG_STATE_DESTROYED; state 460 lib/debugobjects.c state = obj->state; state 462 lib/debugobjects.c debug_object_fixup(descr->fixup_destroy, addr, state); state 482 lib/debugobjects.c enum debug_obj_state state; state 498 lib/debugobjects.c switch (obj->state) { state 501 lib/debugobjects.c state = obj->state; state 503 lib/debugobjects.c debug_object_fixup(descr->fixup_free, addr, state); state 522 lib/debugobjects.c enum debug_obj_state state; state 545 lib/debugobjects.c switch (obj->state) { state 549 lib/debugobjects.c state = obj->state; state 552 lib/debugobjects.c (void *) oaddr, state); state 654 lib/debugobjects.c switch (state) { state 673 lib/debugobjects.c switch (state) { state 708 lib/debugobjects.c switch (state) { state 726 lib/debugobjects.c switch (state) { state 749 lib/debugobjects.c if (!obj && state != ODEBUG_STATE_NONE) { state 753 lib/debugobjects.c if (obj && obj->state != state) { state 755 lib/debugobjects.c obj->state, state); state 52 lib/random32.c state->s1 = TAUSWORTHE(state->s1, 13, 19, 4294967294UL, 12); state 53 lib/random32.c state->s2 = TAUSWORTHE(state->s2, 2, 25, 4294967288UL, 4); state 54 lib/random32.c state->s3 = TAUSWORTHE(state->s3, 3, 11, 4294967280UL, 17); state 56 lib/random32.c return (state->s1 ^ state->s2 ^ state->s3); state 77 lib/random32.c struct rnd_state *state = &get_cpu_var(net_rand_state); state 78 lib/random32.c r = __random32(state); state 79 lib/random32.c put_cpu_var(state); state 98 lib/random32.c struct rnd_state *state = &per_cpu(net_rand_state, i); state 99 lib/random32.c state->s1 = __seed(state->s1 ^ entropy, 1); state 113 lib/random32.c struct rnd_state *state = &per_cpu(net_rand_state,i); state 116 lib/random32.c state->s1 = __seed(LCG(i + jiffies), 1); state 117 lib/random32.c state->s2 = __seed(LCG(state->s1), 7); state 118 lib/random32.c state->s3 = __seed(LCG(state->s2), 15); state 121 lib/random32.c __random32(state); state 122 lib/random32.c __random32(state); state 123 lib/random32.c __random32(state); state 124 lib/random32.c __random32(state); state 125 lib/random32.c __random32(state); state 126 lib/random32.c __random32(state); state 141 lib/random32.c struct rnd_state *state = &per_cpu(net_rand_state,i); state 145 lib/random32.c state->s1 = __seed(seeds[0], 1); state 146 lib/random32.c state->s2 = __seed(seeds[1], 7); state 147 lib/random32.c state->s3 = __seed(seeds[2], 15); state 150 lib/random32.c __random32(state); state 163 lib/rwsem-spinlock.c tsk->state = TASK_RUNNING; state 229 lib/rwsem-spinlock.c tsk->state = TASK_RUNNING; state 182 lib/rwsem.c tsk->state = TASK_RUNNING; state 54 lib/syscall.c long state; state 63 lib/syscall.c state = target->state; state 64 lib/syscall.c if (unlikely(!state)) state 67 lib/syscall.c ncsw = wait_task_inactive(target, state); state 70 lib/syscall.c unlikely(wait_task_inactive(target, state) != ncsw)) state 203 lib/textsearch.c struct ts_linear_state *st = (struct ts_linear_state *) state->cb; state 230 lib/textsearch.c struct ts_linear_state *st = (struct ts_linear_state *) state->cb; state 236 lib/textsearch.c return textsearch_find(conf, state); state 65 lib/ts_bm.c unsigned int i, text_len, consumed = state->offset; state 71 lib/ts_bm.c text_len = conf->get_next_block(consumed, &text, conf, state); state 143 lib/ts_fsm.c unsigned block_len = 0, strict, consumed = state->offset; state 149 lib/ts_fsm.c block_len = conf->get_next_block(consumed, &data, conf, state); }) state 255 lib/ts_fsm.c state->offset = consumed + block_idx; state 49 lib/ts_kmp.c unsigned int i, q = 0, text_len, consumed = state->offset; state 54 lib/ts_kmp.c text_len = conf->get_next_block(consumed, &text, conf, state); state 67 lib/ts_kmp.c state->offset = consumed + i + 1; state 68 lib/ts_kmp.c return state->offset - kmp->pattern_len; state 203 lib/zlib_deflate/deflate.c strm->state = (struct internal_state *)s; state 249 lib/zlib_deflate/deflate.c if (strm == NULL || strm->state == NULL || dictionary == NULL) state 252 lib/zlib_deflate/deflate.c s = (deflate_state *) strm->state; state 289 lib/zlib_deflate/deflate.c if (strm == NULL || strm->state == NULL) state 296 lib/zlib_deflate/deflate.c s = (deflate_state *)strm->state; state 325 lib/zlib_deflate/deflate.c if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; state 326 lib/zlib_deflate/deflate.c s = (deflate_state *) strm->state; state 376 lib/zlib_deflate/deflate.c deflate_state *s = (deflate_state *) strm->state; state 404 lib/zlib_deflate/deflate.c if (strm == NULL || strm->state == NULL || state 408 lib/zlib_deflate/deflate.c s = (deflate_state *) strm->state; state 541 lib/zlib_deflate/deflate.c if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; state 542 lib/zlib_deflate/deflate.c s = (deflate_state *) strm->state; state 550 lib/zlib_deflate/deflate.c strm->state = NULL; state 573 lib/zlib_deflate/deflate.c if (source == NULL || dest == NULL || source->state == NULL) { state 577 lib/zlib_deflate/deflate.c ss = (deflate_state *) source->state; state 585 lib/zlib_deflate/deflate.c dest->state = (struct internal_state *) ds; state 633 lib/zlib_deflate/deflate.c if (!((deflate_state *)(strm->state))->noheader) { state 71 lib/zlib_inflate/inffast.c struct inflate_state *state; state 98 lib/zlib_inflate/inffast.c state = (struct inflate_state *)strm->state; state 105 lib/zlib_inflate/inffast.c dmax = state->dmax; state 107 lib/zlib_inflate/inffast.c wsize = state->wsize; state 108 lib/zlib_inflate/inffast.c whave = state->whave; state 109 lib/zlib_inflate/inffast.c write = state->write; state 110 lib/zlib_inflate/inffast.c window = state->window; state 111 lib/zlib_inflate/inffast.c hold = state->hold; state 112 lib/zlib_inflate/inffast.c bits = state->bits; state 113 lib/zlib_inflate/inffast.c lcode = state->lencode; state 114 lib/zlib_inflate/inffast.c dcode = state->distcode; state 115 lib/zlib_inflate/inffast.c lmask = (1U << state->lenbits) - 1; state 116 lib/zlib_inflate/inffast.c dmask = (1U << state->distbits) - 1; state 175 lib/zlib_inflate/inffast.c state->mode = BAD; state 186 lib/zlib_inflate/inffast.c state->mode = BAD; state 262 lib/zlib_inflate/inffast.c state->mode = BAD; state 271 lib/zlib_inflate/inffast.c state->mode = TYPE; state 276 lib/zlib_inflate/inffast.c state->mode = BAD; state 293 lib/zlib_inflate/inffast.c state->hold = hold; state 294 lib/zlib_inflate/inffast.c state->bits = bits; state 25 lib/zlib_inflate/inflate.c struct inflate_state *state; state 27 lib/zlib_inflate/inflate.c if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; state 28 lib/zlib_inflate/inflate.c state = (struct inflate_state *)strm->state; state 29 lib/zlib_inflate/inflate.c strm->total_in = strm->total_out = state->total = 0; state 32 lib/zlib_inflate/inflate.c state->mode = HEAD; state 33 lib/zlib_inflate/inflate.c state->last = 0; state 34 lib/zlib_inflate/inflate.c state->havedict = 0; state 35 lib/zlib_inflate/inflate.c state->dmax = 32768U; state 36 lib/zlib_inflate/inflate.c state->hold = 0; state 37 lib/zlib_inflate/inflate.c state->bits = 0; state 38 lib/zlib_inflate/inflate.c state->lencode = state->distcode = state->next = state->codes; state 41 lib/zlib_inflate/inflate.c state->wsize = 1U << state->wbits; state 42 lib/zlib_inflate/inflate.c state->write = 0; state 43 lib/zlib_inflate/inflate.c state->whave = 0; state 51 lib/zlib_inflate/inflate.c struct inflate_state *state; state 53 lib/zlib_inflate/inflate.c if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; state 54 lib/zlib_inflate/inflate.c state = (struct inflate_state *)strm->state; state 55 lib/zlib_inflate/inflate.c if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR; state 57 lib/zlib_inflate/inflate.c state->hold += value << state->bits; state 58 lib/zlib_inflate/inflate.c state->bits += bits; state 65 lib/zlib_inflate/inflate.c struct inflate_state *state; state 70 lib/zlib_inflate/inflate.c state = &WS(strm)->inflate_state; state 71 lib/zlib_inflate/inflate.c strm->state = (struct internal_state *)state; state 74 lib/zlib_inflate/inflate.c state->wrap = 0; state 78 lib/zlib_inflate/inflate.c state->wrap = (windowBits >> 4) + 1; state 83 lib/zlib_inflate/inflate.c state->wbits = (unsigned)windowBits; state 84 lib/zlib_inflate/inflate.c state->window = &WS(strm)->working_window[0]; state 96 lib/zlib_inflate/inflate.c state->lencode = lenfix; state 97 lib/zlib_inflate/inflate.c state->lenbits = 9; state 98 lib/zlib_inflate/inflate.c state->distcode = distfix; state 99 lib/zlib_inflate/inflate.c state->distbits = 5; state 118 lib/zlib_inflate/inflate.c struct inflate_state *state; state 121 lib/zlib_inflate/inflate.c state = (struct inflate_state *)strm->state; state 125 lib/zlib_inflate/inflate.c if (copy >= state->wsize) { state 126 lib/zlib_inflate/inflate.c memcpy(state->window, strm->next_out - state->wsize, state->wsize); state 127 lib/zlib_inflate/inflate.c state->write = 0; state 128 lib/zlib_inflate/inflate.c state->whave = state->wsize; state 131 lib/zlib_inflate/inflate.c dist = state->wsize - state->write; state 133 lib/zlib_inflate/inflate.c memcpy(state->window + state->write, strm->next_out - copy, dist); state 136 lib/zlib_inflate/inflate.c memcpy(state->window, strm->next_out - copy, copy); state 137 lib/zlib_inflate/inflate.c state->write = copy; state 138 lib/zlib_inflate/inflate.c state->whave = state->wsize; state 141 lib/zlib_inflate/inflate.c state->write += dist; state 142 lib/zlib_inflate/inflate.c if (state->write == state->wsize) state->write = 0; state 143 lib/zlib_inflate/inflate.c if (state->whave < state->wsize) state->whave += dist; state 163 lib/zlib_inflate/inflate.c struct inflate_state *state; state 165 lib/zlib_inflate/inflate.c if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; state 166 lib/zlib_inflate/inflate.c state = (struct inflate_state *)strm->state; state 168 lib/zlib_inflate/inflate.c if (state->mode == STORED && state->bits == 0) { state 169 lib/zlib_inflate/inflate.c state->mode = TYPE; state 187 lib/zlib_inflate/inflate.c hold = state->hold; \ state 188 lib/zlib_inflate/inflate.c bits = state->bits; \ state 198 lib/zlib_inflate/inflate.c state->hold = hold; \ state 199 lib/zlib_inflate/inflate.c state->bits = bits; \ state 334 lib/zlib_inflate/inflate.c struct inflate_state *state; state 353 lib/zlib_inflate/inflate.c if (strm == NULL || strm->state == NULL || state 357 lib/zlib_inflate/inflate.c state = (struct inflate_state *)strm->state; state 359 lib/zlib_inflate/inflate.c if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */ state 365 lib/zlib_inflate/inflate.c switch (state->mode) { state 367 lib/zlib_inflate/inflate.c if (state->wrap == 0) { state 368 lib/zlib_inflate/inflate.c state->mode = TYPEDO; state 375 lib/zlib_inflate/inflate.c state->mode = BAD; state 380 lib/zlib_inflate/inflate.c state->mode = BAD; state 385 lib/zlib_inflate/inflate.c if (len > state->wbits) { state 387 lib/zlib_inflate/inflate.c state->mode = BAD; state 390 lib/zlib_inflate/inflate.c state->dmax = 1U << len; state 391 lib/zlib_inflate/inflate.c strm->adler = state->check = zlib_adler32(0L, NULL, 0); state 392 lib/zlib_inflate/inflate.c state->mode = hold & 0x200 ? DICTID : TYPE; state 397 lib/zlib_inflate/inflate.c strm->adler = state->check = REVERSE(hold); state 399 lib/zlib_inflate/inflate.c state->mode = DICT; state 401 lib/zlib_inflate/inflate.c if (state->havedict == 0) { state 405 lib/zlib_inflate/inflate.c strm->adler = state->check = zlib_adler32(0L, NULL, 0); state 406 lib/zlib_inflate/inflate.c state->mode = TYPE; state 410 lib/zlib_inflate/inflate.c if (state->last) { state 412 lib/zlib_inflate/inflate.c state->mode = CHECK; state 416 lib/zlib_inflate/inflate.c state->last = BITS(1); state 420 lib/zlib_inflate/inflate.c state->mode = STORED; state 423 lib/zlib_inflate/inflate.c zlib_fixedtables(state); state 424 lib/zlib_inflate/inflate.c state->mode = LEN; /* decode codes */ state 427 lib/zlib_inflate/inflate.c state->mode = TABLE; state 431 lib/zlib_inflate/inflate.c state->mode = BAD; state 440 lib/zlib_inflate/inflate.c state->mode = BAD; state 443 lib/zlib_inflate/inflate.c state->length = (unsigned)hold & 0xffff; state 445 lib/zlib_inflate/inflate.c state->mode = COPY; state 447 lib/zlib_inflate/inflate.c copy = state->length; state 457 lib/zlib_inflate/inflate.c state->length -= copy; state 460 lib/zlib_inflate/inflate.c state->mode = TYPE; state 464 lib/zlib_inflate/inflate.c state->nlen = BITS(5) + 257; state 466 lib/zlib_inflate/inflate.c state->ndist = BITS(5) + 1; state 468 lib/zlib_inflate/inflate.c state->ncode = BITS(4) + 4; state 471 lib/zlib_inflate/inflate.c if (state->nlen > 286 || state->ndist > 30) { state 473 lib/zlib_inflate/inflate.c state->mode = BAD; state 477 lib/zlib_inflate/inflate.c state->have = 0; state 478 lib/zlib_inflate/inflate.c state->mode = LENLENS; state 480 lib/zlib_inflate/inflate.c while (state->have < state->ncode) { state 482 lib/zlib_inflate/inflate.c state->lens[order[state->have++]] = (unsigned short)BITS(3); state 485 lib/zlib_inflate/inflate.c while (state->have < 19) state 486 lib/zlib_inflate/inflate.c state->lens[order[state->have++]] = 0; state 487 lib/zlib_inflate/inflate.c state->next = state->codes; state 488 lib/zlib_inflate/inflate.c state->lencode = (code const *)(state->next); state 489 lib/zlib_inflate/inflate.c state->lenbits = 7; state 490 lib/zlib_inflate/inflate.c ret = zlib_inflate_table(CODES, state->lens, 19, &(state->next), state 491 lib/zlib_inflate/inflate.c &(state->lenbits), state->work); state 494 lib/zlib_inflate/inflate.c state->mode = BAD; state 497 lib/zlib_inflate/inflate.c state->have = 0; state 498 lib/zlib_inflate/inflate.c state->mode = CODELENS; state 500 lib/zlib_inflate/inflate.c while (state->have < state->nlen + state->ndist) { state 502 lib/zlib_inflate/inflate.c this = state->lencode[BITS(state->lenbits)]; state 509 lib/zlib_inflate/inflate.c state->lens[state->have++] = this.val; state 515 lib/zlib_inflate/inflate.c if (state->have == 0) { state 517 lib/zlib_inflate/inflate.c state->mode = BAD; state 520 lib/zlib_inflate/inflate.c len = state->lens[state->have - 1]; state 538 lib/zlib_inflate/inflate.c if (state->have + copy > state->nlen + state->ndist) { state 540 lib/zlib_inflate/inflate.c state->mode = BAD; state 544 lib/zlib_inflate/inflate.c state->lens[state->have++] = (unsigned short)len; state 549 lib/zlib_inflate/inflate.c if (state->mode == BAD) break; state 552 lib/zlib_inflate/inflate.c state->next = state->codes; state 553 lib/zlib_inflate/inflate.c state->lencode = (code const *)(state->next); state 554 lib/zlib_inflate/inflate.c state->lenbits = 9; state 555 lib/zlib_inflate/inflate.c ret = zlib_inflate_table(LENS, state->lens, state->nlen, &(state->next), state 556 lib/zlib_inflate/inflate.c &(state->lenbits), state->work); state 559 lib/zlib_inflate/inflate.c state->mode = BAD; state 562 lib/zlib_inflate/inflate.c state->distcode = (code const *)(state->next); state 563 lib/zlib_inflate/inflate.c state->distbits = 6; state 564 lib/zlib_inflate/inflate.c ret = zlib_inflate_table(DISTS, state->lens + state->nlen, state->ndist, state 565 lib/zlib_inflate/inflate.c &(state->next), &(state->distbits), state->work); state 568 lib/zlib_inflate/inflate.c state->mode = BAD; state 571 lib/zlib_inflate/inflate.c state->mode = LEN; state 580 lib/zlib_inflate/inflate.c this = state->lencode[BITS(state->lenbits)]; state 587 lib/zlib_inflate/inflate.c this = state->lencode[last.val + state 595 lib/zlib_inflate/inflate.c state->length = (unsigned)this.val; state 597 lib/zlib_inflate/inflate.c state->mode = LIT; state 601 lib/zlib_inflate/inflate.c state->mode = TYPE; state 606 lib/zlib_inflate/inflate.c state->mode = BAD; state 609 lib/zlib_inflate/inflate.c state->extra = (unsigned)(this.op) & 15; state 610 lib/zlib_inflate/inflate.c state->mode = LENEXT; state 612 lib/zlib_inflate/inflate.c if (state->extra) { state 613 lib/zlib_inflate/inflate.c NEEDBITS(state->extra); state 614 lib/zlib_inflate/inflate.c state->length += BITS(state->extra); state 615 lib/zlib_inflate/inflate.c DROPBITS(state->extra); state 617 lib/zlib_inflate/inflate.c state->mode = DIST; state 620 lib/zlib_inflate/inflate.c this = state->distcode[BITS(state->distbits)]; state 627 lib/zlib_inflate/inflate.c this = state->distcode[last.val + state 637 lib/zlib_inflate/inflate.c state->mode = BAD; state 640 lib/zlib_inflate/inflate.c state->offset = (unsigned)this.val; state 641 lib/zlib_inflate/inflate.c state->extra = (unsigned)(this.op) & 15; state 642 lib/zlib_inflate/inflate.c state->mode = DISTEXT; state 644 lib/zlib_inflate/inflate.c if (state->extra) { state 645 lib/zlib_inflate/inflate.c NEEDBITS(state->extra); state 646 lib/zlib_inflate/inflate.c state->offset += BITS(state->extra); state 647 lib/zlib_inflate/inflate.c DROPBITS(state->extra); state 650 lib/zlib_inflate/inflate.c if (state->offset > state->dmax) { state 652 lib/zlib_inflate/inflate.c state->mode = BAD; state 656 lib/zlib_inflate/inflate.c if (state->offset > state->whave + out - left) { state 658 lib/zlib_inflate/inflate.c state->mode = BAD; state 661 lib/zlib_inflate/inflate.c state->mode = MATCH; state 665 lib/zlib_inflate/inflate.c if (state->offset > copy) { /* copy from window */ state 666 lib/zlib_inflate/inflate.c copy = state->offset - copy; state 667 lib/zlib_inflate/inflate.c if (copy > state->write) { state 668 lib/zlib_inflate/inflate.c copy -= state->write; state 669 lib/zlib_inflate/inflate.c from = state->window + (state->wsize - copy); state 672 lib/zlib_inflate/inflate.c from = state->window + (state->write - copy); state 673 lib/zlib_inflate/inflate.c if (copy > state->length) copy = state->length; state 676 lib/zlib_inflate/inflate.c from = put - state->offset; state 677 lib/zlib_inflate/inflate.c copy = state->length; state 681 lib/zlib_inflate/inflate.c state->length -= copy; state 685 lib/zlib_inflate/inflate.c if (state->length == 0) state->mode = LEN; state 689 lib/zlib_inflate/inflate.c *put++ = (unsigned char)(state->length); state 691 lib/zlib_inflate/inflate.c state->mode = LEN; state 694 lib/zlib_inflate/inflate.c if (state->wrap) { state 698 lib/zlib_inflate/inflate.c state->total += out; state 700 lib/zlib_inflate/inflate.c strm->adler = state->check = state 701 lib/zlib_inflate/inflate.c UPDATE(state->check, put - out, out); state 704 lib/zlib_inflate/inflate.c REVERSE(hold)) != state->check) { state 706 lib/zlib_inflate/inflate.c state->mode = BAD; state 711 lib/zlib_inflate/inflate.c state->mode = DONE; state 732 lib/zlib_inflate/inflate.c if (state->wsize || (state->mode < CHECK && out != strm->avail_out)) state 739 lib/zlib_inflate/inflate.c state->total += out; state 740 lib/zlib_inflate/inflate.c if (state->wrap && out) state 741 lib/zlib_inflate/inflate.c strm->adler = state->check = state 742 lib/zlib_inflate/inflate.c UPDATE(state->check, strm->next_out - out, out); state 744 lib/zlib_inflate/inflate.c strm->data_type = state->bits + (state->last ? 64 : 0) + state 745 lib/zlib_inflate/inflate.c (state->mode == TYPE ? 128 : 0); state 759 lib/zlib_inflate/inflate.c if (strm == NULL || strm->state == NULL) state 768 lib/zlib_inflate/inflate.c struct inflate_state *state; state 772 lib/zlib_inflate/inflate.c if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; state 773 lib/zlib_inflate/inflate.c state = (struct inflate_state *)strm->state; state 774 lib/zlib_inflate/inflate.c if (state->wrap != 0 && state->mode != DICT) state 778 lib/zlib_inflate/inflate.c if (state->mode == DICT) { state 781 lib/zlib_inflate/inflate.c if (id != state->check) state 788 lib/zlib_inflate/inflate.c if (dictLength > state->wsize) { state 789 lib/zlib_inflate/inflate.c memcpy(state->window, dictionary + dictLength - state->wsize, state 790 lib/zlib_inflate/inflate.c state->wsize); state 791 lib/zlib_inflate/inflate.c state->whave = state->wsize; state 794 lib/zlib_inflate/inflate.c memcpy(state->window + state->wsize - dictLength, dictionary, state 796 lib/zlib_inflate/inflate.c state->whave = dictLength; state 798 lib/zlib_inflate/inflate.c state->havedict = 1; state 843 lib/zlib_inflate/inflate.c struct inflate_state *state; state 846 lib/zlib_inflate/inflate.c if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; state 847 lib/zlib_inflate/inflate.c state = (struct inflate_state *)strm->state; state 848 lib/zlib_inflate/inflate.c if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR; state 851 lib/zlib_inflate/inflate.c if (state->mode != SYNC) { state 852 lib/zlib_inflate/inflate.c state->mode = SYNC; state 853 lib/zlib_inflate/inflate.c state->hold <<= state->bits & 7; state 854 lib/zlib_inflate/inflate.c state->bits -= state->bits & 7; state 856 lib/zlib_inflate/inflate.c while (state->bits >= 8) { state 857 lib/zlib_inflate/inflate.c buf[len++] = (unsigned char)(state->hold); state 858 lib/zlib_inflate/inflate.c state->hold >>= 8; state 859 lib/zlib_inflate/inflate.c state->bits -= 8; state 861 lib/zlib_inflate/inflate.c state->have = 0; state 862 lib/zlib_inflate/inflate.c zlib_syncsearch(&(state->have), buf, len); state 866 lib/zlib_inflate/inflate.c len = zlib_syncsearch(&(state->have), strm->next_in, strm->avail_in); state 872 lib/zlib_inflate/inflate.c if (state->have != 4) return Z_DATA_ERROR; state 876 lib/zlib_inflate/inflate.c state->mode = TYPE; state 891 lib/zlib_inflate/inflate.c struct inflate_state *state = (struct inflate_state *)z->state; state 895 lib/zlib_inflate/inflate.c if (state->mode != TYPE && state->mode != HEAD) state 908 lib/zlib_inflate/inflate.c z->adler = state->check = state 909 lib/zlib_inflate/inflate.c UPDATE(state->check, z->next_in, z->avail_in); state 914 lib/zlib_inflate/inflate.c state->total += z->avail_in; state 266 mm/backing-dev.c clear_bit(bit, &bdi->state); state 278 mm/backing-dev.c set_bit(bit, &bdi->state); state 27 mm/readahead.c .state = 0, state 28 net/802/garp.c u8 state; state 32 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_AA, state 34 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_AA }, state 35 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VA }, state 36 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VA }, state 37 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VA }, state 38 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VP }, state 39 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_INVALID }, state 40 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_LA }, state 43 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_QA, state 45 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_QA }, state 46 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VA }, state 47 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VA }, state 48 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VA }, state 49 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VP }, state 50 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_INVALID }, state 51 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_LA }, state 54 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_INVALID }, state 55 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_QA }, state 56 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VA }, state 57 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VA }, state 58 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VP }, state 59 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VP }, state 60 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_INVALID }, state 61 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_LA }, state 64 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_VO, state 66 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_LA }, state 67 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VO }, state 68 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_LA }, state 69 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_LA }, state 70 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VO }, state 71 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_VA }, state 72 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_INVALID }, state 75 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_AA, state 77 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_AP }, state 78 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VP }, state 79 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VP }, state 80 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VP }, state 81 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VP }, state 82 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_INVALID }, state 83 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_VO }, state 86 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_QA, state 88 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_QP }, state 89 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VP }, state 90 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VP }, state 91 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VP }, state 92 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VP }, state 93 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_INVALID }, state 94 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_AO }, state 97 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_INVALID }, state 98 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_QP }, state 99 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VP }, state 100 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VP }, state 101 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VP }, state 102 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VP }, state 103 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_INVALID }, state 104 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_QO }, state 107 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_INVALID }, state 108 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_AO }, state 109 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VO }, state 110 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VO }, state 111 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VO }, state 112 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VO }, state 113 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_VP }, state 114 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_INVALID }, state 117 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_INVALID }, state 118 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_QO }, state 119 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VO }, state 120 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VO }, state 121 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VO }, state 122 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VO }, state 123 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_AP }, state 124 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_INVALID }, state 127 net/802/garp.c [GARP_EVENT_TRANSMIT_PDU] = { .state = GARP_APPLICANT_INVALID }, state 128 net/802/garp.c [GARP_EVENT_R_JOIN_IN] = { .state = GARP_APPLICANT_QO }, state 129 net/802/garp.c [GARP_EVENT_R_JOIN_EMPTY] = { .state = GARP_APPLICANT_VO }, state 130 net/802/garp.c [GARP_EVENT_R_EMPTY] = { .state = GARP_APPLICANT_VO }, state 131 net/802/garp.c [GARP_EVENT_R_LEAVE_IN] = { .state = GARP_APPLICANT_VO }, state 132 net/802/garp.c [GARP_EVENT_R_LEAVE_EMPTY] = { .state = GARP_APPLICANT_VO }, state 133 net/802/garp.c [GARP_EVENT_REQ_JOIN] = { .state = GARP_APPLICANT_QP }, state 134 net/802/garp.c [GARP_EVENT_REQ_LEAVE] = { .state = GARP_APPLICANT_INVALID }, state 195 net/802/garp.c attr->state = GARP_APPLICANT_VO; state 316 net/802/garp.c enum garp_applicant_state state; state 318 net/802/garp.c state = garp_applicant_state_table[attr->state][event].state; state 319 net/802/garp.c if (state == GARP_APPLICANT_INVALID) state 322 net/802/garp.c switch (garp_applicant_state_table[attr->state][event].action) { state 341 net/802/garp.c attr->state = state; state 605 net/8021q/vlan_dev.c dev->state = (real_dev->state & ((1<<__LINK_STATE_NOCARRIER) | state 1194 net/appletalk/ddp.c sock->state = SS_UNCONNECTED; state 1227 net/appletalk/ddp.c sock->state = SS_CONNECTED; state 748 net/atm/clip.c sock->state = SS_CONNECTED; state 876 net/atm/clip.c struct clip_vcc *vcc = state->vcc; state 887 net/atm/clip.c state->vcc = vcc; state 895 net/atm/clip.c struct clip_seq_state *state = (struct clip_seq_state *)_state; state 897 net/atm/clip.c return clip_seq_vcc_walk(state, NEIGH2ENTRY(n), pos); state 902 net/atm/clip.c struct clip_seq_state *state = seq->private; state 903 net/atm/clip.c state->ns.neigh_sub_iter = clip_seq_sub_iter; state 915 net/atm/clip.c struct clip_seq_state *state = seq->private; state 917 net/atm/clip.c struct clip_vcc *vcc = state->vcc; state 417 net/atm/common.c if (sock->state == SS_CONNECTED) state 419 net/atm/common.c if (sock->state != SS_UNCONNECTED) state 463 net/atm/common.c sock->state = SS_CONNECTED; state 476 net/atm/common.c if (sock->state != SS_CONNECTED) state 519 net/atm/common.c if (sock->state != SS_CONNECTED) { state 615 net/atm/common.c if (sock->state == SS_CONNECTING && state 701 net/atm/common.c if (sock->state == SS_CONNECTED) state 703 net/atm/common.c if (sock->state != SS_UNCONNECTED) state 60 net/atm/ioctl.c if (sock->state != SS_CONNECTED || state 73 net/atm/ioctl.c if (sock->state != SS_CONNECTED) { state 110 net/atm/ioctl.c sock->state = SS_CONNECTED; state 558 net/atm/lec.c && f->dst->state == BR_STATE_FORWARDING) { state 1020 net/atm/lec.c struct hlist_node *e = state->node; state 1034 net/atm/lec.c state->node = e; state 1036 net/atm/lec.c return (*l < 0) ? state : NULL; state 1045 net/atm/lec.c for (p = state->arp_table; p < LEC_ARP_TABLE_SIZE; p++) { state 1046 net/atm/lec.c v = lec_tbl_walk(state, &priv->lec_arp_tables[p], l); state 1050 net/atm/lec.c state->arp_table = p; state 1065 net/atm/lec.c for (q = state->misc_table; q < ARRAY_SIZE(lec_misc_tables); q++) { state 1066 net/atm/lec.c v = lec_tbl_walk(state, lec_misc_tables[q], l); state 1070 net/atm/lec.c state->misc_table = q; state 1077 net/atm/lec.c if (!state->locked) { state 1078 net/atm/lec.c state->locked = priv; state 1079 net/atm/lec.c spin_lock_irqsave(&priv->lec_arp_lock, state->flags); state 1081 net/atm/lec.c if (!lec_arp_walk(state, l, priv) && !lec_misc_walk(state, l, priv)) { state 1082 net/atm/lec.c spin_unlock_irqrestore(&priv->lec_arp_lock, state->flags); state 1083 net/atm/lec.c state->locked = NULL; state 1085 net/atm/lec.c state->arp_table = state->misc_table = 0; state 1087 net/atm/lec.c return state->locked; state 1095 net/atm/lec.c dev = state->dev ? state->dev : dev_lec[state->itf]; state 1096 net/atm/lec.c v = (dev && dev->priv) ? lec_priv_walk(state, l, dev->priv) : NULL; state 1102 net/atm/lec.c state->dev = dev; state 1110 net/atm/lec.c for (; state->itf < MAX_LEC_ITF; state->itf++) { state 1111 net/atm/lec.c v = lec_itf_walk(state, &l); state 1120 net/atm/lec.c struct lec_state *state = seq->private; state 1122 net/atm/lec.c state->itf = 0; state 1123 net/atm/lec.c state->dev = NULL; state 1124 net/atm/lec.c state->locked = NULL; state 1125 net/atm/lec.c state->arp_table = 0; state 1126 net/atm/lec.c state->misc_table = 0; state 1127 net/atm/lec.c state->node = SEQ_START_TOKEN; state 1129 net/atm/lec.c return *pos ? lec_get_idx(state, *pos) : SEQ_START_TOKEN; state 1134 net/atm/lec.c struct lec_state *state = seq->private; state 1136 net/atm/lec.c if (state->dev) { state 1137 net/atm/lec.c spin_unlock_irqrestore(&state->locked->lec_arp_lock, state 1138 net/atm/lec.c state->flags); state 1139 net/atm/lec.c dev_put(state->dev); state 1145 net/atm/lec.c struct lec_state *state = seq->private; state 1147 net/atm/lec.c v = lec_get_idx(state, 1); state 1161 net/atm/lec.c struct lec_state *state = seq->private; state 1162 net/atm/lec.c struct net_device *dev = state->dev; state 1163 net/atm/lec.c struct lec_arp_table *entry = hlist_entry(state->node, struct lec_arp_table, next); state 1212 net/atm/lec.c sock->state = SS_CONNECTED; state 1428 net/atm/mpc.c sock->state = SS_CONNECTED; state 55 net/atm/mpoa_proc.c switch(state) { state 77 net/atm/mpoa_proc.c switch(state) { state 109 net/atm/proc.c return __vcc_walk(&state->sk, state->family, &state->bucket, l) ? state 110 net/atm/proc.c state : NULL; state 116 net/atm/proc.c struct vcc_state *state; state 118 net/atm/proc.c state = __seq_open_private(file, ops, sizeof(*state)); state 119 net/atm/proc.c if (state == NULL) state 122 net/atm/proc.c state->family = family; state 129 net/atm/proc.c struct vcc_state *state = seq->private; state 133 net/atm/proc.c state->sk = SEQ_START_TOKEN; state 134 net/atm/proc.c return left ? vcc_walk(state, left) : SEQ_START_TOKEN; state 145 net/atm/proc.c struct vcc_state *state = seq->private; state 147 net/atm/proc.c v = vcc_walk(state, 1); state 275 net/atm/proc.c struct vcc_state *state = seq->private; state 276 net/atm/proc.c struct atm_vcc *vcc = atm_sk(state->sk); state 309 net/atm/proc.c struct vcc_state *state = seq->private; state 310 net/atm/proc.c struct atm_vcc *vcc = atm_sk(state->sk); state 344 net/atm/proc.c struct vcc_state *state = seq->private; state 345 net/atm/proc.c struct atm_vcc *vcc = atm_sk(state->sk); state 43 net/atm/signaling.c current->state = TASK_RUNNING; state 103 net/atm/svc.c if (sock->state == SS_CONNECTED) { state 107 net/atm/svc.c if (sock->state != SS_UNCONNECTED) { state 163 net/atm/svc.c switch (sock->state) { state 175 net/atm/svc.c sock->state = SS_UNCONNECTED; state 207 net/atm/svc.c sock->state = SS_CONNECTING; state 273 net/atm/svc.c sock->state = SS_CONNECTED; state 405 net/atm/svc.c newsock->state = SS_CONNECTED; state 324 net/ax25/af_ax25.c sax25->state = AX25_STATE_0; state 520 net/ax25/af_ax25.c ax25->state = AX25_STATE_0; state 651 net/ax25/af_ax25.c (sock->state != SS_UNCONNECTED || state 954 net/ax25/af_ax25.c switch (ax25->state) { state 996 net/ax25/af_ax25.c ax25->state = AX25_STATE_2; state 1137 net/ax25/af_ax25.c if (sock->state == SS_CONNECTING) { state 1144 net/ax25/af_ax25.c sock->state = SS_CONNECTED; state 1148 net/ax25/af_ax25.c sock->state = SS_UNCONNECTED; state 1160 net/ax25/af_ax25.c sock->state = SS_UNCONNECTED; state 1235 net/ax25/af_ax25.c sock->state = SS_CONNECTED; state 1241 net/ax25/af_ax25.c sock->state = SS_CONNECTING; state 1262 net/ax25/af_ax25.c ax25->state = AX25_STATE_1; state 1297 net/ax25/af_ax25.c sock->state = SS_UNCONNECTED; state 1302 net/ax25/af_ax25.c sock->state = SS_CONNECTED; state 1319 net/ax25/af_ax25.c if (sock->state != SS_UNCONNECTED) state 1370 net/ax25/af_ax25.c newsock->state = SS_CONNECTED; state 1785 net/ax25/af_ax25.c ax25_info.state = ax25->state; state 1913 net/ax25/af_ax25.c ax25->state, state 63 net/ax25/ax25_ds_in.c ax25->state = AX25_STATE_3; state 200 net/ax25/ax25_ds_in.c ax25->state = AX25_STATE_1; state 221 net/ax25/ax25_ds_in.c ax25->state = AX25_STATE_1; state 228 net/ax25/ax25_ds_in.c ax25->state = AX25_STATE_1; state 270 net/ax25/ax25_ds_in.c ax25->state = AX25_STATE_1; state 289 net/ax25/ax25_ds_in.c switch (ax25->state) { state 74 net/ax25/ax25_ds_subr.c if (ax25->state == AX25_STATE_1 || ax25->state == AX25_STATE_2 || skb_peek(&ax25->ack_queue) != NULL) state 90 net/ax25/ax25_ds_subr.c if (ax25o->state == AX25_STATE_1 || ax25o->state == AX25_STATE_2) { state 95 net/ax25/ax25_ds_subr.c if (!(ax25o->condition & AX25_COND_PEER_RX_BUSY) && ax25o->state == AX25_STATE_3) { state 100 net/ax25/ax25_ds_subr.c if (ax25o->state == AX25_STATE_1 || ax25o->state == AX25_STATE_2 || skb_peek(&ax25o->ack_queue) != NULL) state 105 net/ax25/ax25_ds_subr.c if (ax25o->state != AX25_STATE_0) state 166 net/ax25/ax25_ds_subr.c if (ax25->ax25_dev == ax25_dev && (ax25->condition & AX25_COND_DAMA_MODE) && ax25->state > AX25_STATE_1) { state 104 net/ax25/ax25_ds_timer.c switch (ax25->state) { state 165 net/ax25/ax25_ds_timer.c ax25->state = AX25_STATE_2; state 194 net/ax25/ax25_ds_timer.c switch (ax25->state) { state 165 net/ax25/ax25_in.c if (ax25->state == AX25_STATE_0) state 427 net/ax25/ax25_in.c ax25->state = AX25_STATE_3; state 97 net/ax25/ax25_out.c ax25->state = AX25_STATE_1; state 245 net/ax25/ax25_out.c if (ax25->state != AX25_STATE_3 && ax25->state != AX25_STATE_4) state 71 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_3; state 192 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 208 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 215 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 255 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 293 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_3; state 320 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_3; state 326 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 336 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 349 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_3; state 355 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 366 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 373 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 410 net/ax25/ax25_std_in.c ax25->state = AX25_STATE_1; state 429 net/ax25/ax25_std_in.c switch (ax25->state) { state 40 net/ax25/ax25_std_timer.c switch (ax25->state) { state 93 net/ax25/ax25_std_timer.c ax25->state = AX25_STATE_4; state 102 net/ax25/ax25_std_timer.c ax25->state = AX25_STATE_2; state 124 net/ax25/ax25_std_timer.c switch (ax25->state) { state 159 net/ax25/ax25_std_timer.c ax25->state = AX25_STATE_4; state 272 net/ax25/ax25_subr.c ax25->state = AX25_STATE_0; state 391 net/bluetooth/af_bluetooth.c while (sk->sk_state != state) { state 131 net/bluetooth/bnep/bnep.h __u16 state; state 156 net/bluetooth/bnep/bnep.h unsigned long state; state 564 net/bluetooth/bnep/core.c if (ss && ss->state == BT_CONNECTED) { state 580 net/bluetooth/bnep/core.c s->state = BT_CONNECTED; state 651 net/bluetooth/bnep/core.c ci->state = s->state; state 220 net/bluetooth/bnep/sock.c sock->state = SS_UNCONNECTED; state 85 net/bluetooth/cmtp/capi.c app->state = BT_OPEN; state 211 net/bluetooth/cmtp/capi.c application->state = BT_CONNECTED; state 224 net/bluetooth/cmtp/capi.c application->state = BT_CLOSED; state 248 net/bluetooth/cmtp/capi.c session->state = BT_CONNECTED; state 426 net/bluetooth/cmtp/capi.c application->state = BT_CONFIG; state 441 net/bluetooth/cmtp/capi.c if (application->state == BT_CLOSED) { state 446 net/bluetooth/cmtp/capi.c if (application->state == BT_CONNECTED) state 484 net/bluetooth/cmtp/capi.c (application->state == BT_CLOSED), CMTP_INTEROP_TIMEOUT); state 502 net/bluetooth/cmtp/capi.c if ((!application) || (application->state != BT_CONNECTED)) { state 52 net/bluetooth/cmtp/cmtp.h __u16 state; state 77 net/bluetooth/cmtp/cmtp.h unsigned long state; state 105 net/bluetooth/cmtp/cmtp.h unsigned long state; state 89 net/bluetooth/cmtp/core.c ci->state = session->state; state 345 net/bluetooth/cmtp/core.c if (s && s->state == BT_CONNECTED) { state 359 net/bluetooth/cmtp/core.c session->state = BT_CONFIG; state 215 net/bluetooth/cmtp/sock.c sock->state = SS_UNCONNECTED; state 61 net/bluetooth/hci_conn.c conn->state = BT_CONNECT; state 114 net/bluetooth/hci_conn.c conn->state = BT_DISCONN; state 128 net/bluetooth/hci_conn.c conn->state = BT_CONNECT; state 144 net/bluetooth/hci_conn.c conn->state = BT_CONNECT; state 164 net/bluetooth/hci_conn.c BT_DBG("conn %p state %d", conn, conn->state); state 171 net/bluetooth/hci_conn.c switch (conn->state) { state 184 net/bluetooth/hci_conn.c conn->state = BT_CLOSED; state 214 net/bluetooth/hci_conn.c conn->state = BT_OPEN; state 347 net/bluetooth/hci_conn.c if (acl->state == BT_OPEN || acl->state == BT_CLOSED) { state 367 net/bluetooth/hci_conn.c if (acl->state == BT_CONNECTED && state 368 net/bluetooth/hci_conn.c (sco->state == BT_OPEN || sco->state == BT_CLOSED)) { state 548 net/bluetooth/hci_conn.c c->state = BT_CLOSED; state 608 net/bluetooth/hci_conn.c (ci + n)->state = c->state; state 644 net/bluetooth/hci_conn.c ci.state = conn->state; state 1292 net/bluetooth/hci_core.c if (c->state != BT_CONNECTED && c->state != BT_CONFIG) state 568 net/bluetooth/hci_event.c if (conn && conn->state == BT_CONNECT) { state 570 net/bluetooth/hci_event.c conn->state = BT_CLOSED; state 574 net/bluetooth/hci_event.c conn->state = BT_CONNECT2; state 613 net/bluetooth/hci_event.c sco->state = BT_CLOSED; state 640 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 667 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 699 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 726 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 758 net/bluetooth/hci_event.c sco->state = BT_CLOSED; state 872 net/bluetooth/hci_event.c conn->state = BT_CONFIG; state 875 net/bluetooth/hci_event.c conn->state = BT_CONNECTED; state 902 net/bluetooth/hci_event.c conn->state = BT_CLOSED; state 960 net/bluetooth/hci_event.c conn->state = BT_CONNECT; state 1015 net/bluetooth/hci_event.c conn->state = BT_CLOSED; state 1042 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 1051 net/bluetooth/hci_event.c conn->state = BT_CONNECTED; state 1104 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 1106 net/bluetooth/hci_event.c conn->state = BT_CONNECTED; state 1153 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 1163 net/bluetooth/hci_event.c conn->state = BT_CONNECTED; state 1606 net/bluetooth/hci_event.c if (conn->state == BT_CONFIG) { state 1614 net/bluetooth/hci_event.c conn->state = BT_CONNECTED; state 1647 net/bluetooth/hci_event.c conn->state = BT_CONNECTED; state 1651 net/bluetooth/hci_event.c conn->state = BT_CLOSED; state 650 net/bluetooth/hci_sock.c sock->state = SS_UNCONNECTED; state 113 net/bluetooth/hidp/core.c ci->state = session->state; state 816 net/bluetooth/hidp/core.c if (s && s->state == BT_CONNECTED) { state 830 net/bluetooth/hidp/core.c session->state = BT_CONNECTED; state 108 net/bluetooth/hidp/hidp.h __u16 state; state 134 net/bluetooth/hidp/hidp.h unsigned long state; state 266 net/bluetooth/hidp/sock.c sock->state = SS_UNCONNECTED; state 539 net/bluetooth/l2cap.c if (state && sk->sk_state != state) state 561 net/bluetooth/l2cap.c s = __l2cap_get_sock_by_psm(state, psm, src); state 712 net/bluetooth/l2cap.c sock->state = SS_UNCONNECTED; state 827 net/bluetooth/l2cap.c if (hcon->state == BT_CONNECTED) { state 989 net/bluetooth/l2cap.c newsock->state = SS_CONNECTED; state 251 net/bluetooth/rfcomm/core.c BT_DBG("dlc %p state %ld", d, d->state); state 260 net/bluetooth/rfcomm/core.c BT_DBG("dlc %p state %ld timeout %ld", d, d->state, timeout); state 268 net/bluetooth/rfcomm/core.c BT_DBG("dlc %p state %ld", d, d->state); state 278 net/bluetooth/rfcomm/core.c d->state = BT_OPEN; state 360 net/bluetooth/rfcomm/core.c d, d->state, batostr(src), batostr(dst), channel); state 365 net/bluetooth/rfcomm/core.c if (d->state != BT_OPEN && d->state != BT_CLOSED) state 387 net/bluetooth/rfcomm/core.c d->state = BT_CONFIG; state 395 net/bluetooth/rfcomm/core.c if (s->state == BT_CONNECTED) { state 426 net/bluetooth/rfcomm/core.c d, d->state, d->dlci, err, s); state 428 net/bluetooth/rfcomm/core.c switch (d->state) { state 432 net/bluetooth/rfcomm/core.c d->state = BT_DISCONN; state 446 net/bluetooth/rfcomm/core.c d->state = BT_CLOSED; state 473 net/bluetooth/rfcomm/core.c if (d->state != BT_CONNECTED) state 491 net/bluetooth/rfcomm/core.c BT_DBG("dlc %p state %ld", d, d->state); state 502 net/bluetooth/rfcomm/core.c BT_DBG("dlc %p state %ld", d, d->state); state 519 net/bluetooth/rfcomm/core.c d, d->state, v24_sig); state 537 net/bluetooth/rfcomm/core.c d, d->state, d->v24_sig); state 554 net/bluetooth/rfcomm/core.c s->state = state; state 562 net/bluetooth/rfcomm/core.c if (state != BT_LISTEN) state 575 net/bluetooth/rfcomm/core.c int state = s->state; state 577 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld", s, s->state); state 581 net/bluetooth/rfcomm/core.c if (state == BT_CONNECTED) state 587 net/bluetooth/rfcomm/core.c if (state != BT_LISTEN) state 612 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld err %d", s, s->state, err); state 616 net/bluetooth/rfcomm/core.c s->state = BT_CLOSED; state 621 net/bluetooth/rfcomm/core.c d->state = BT_CLOSED; state 1055 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld dlci %d", s, s->state, dlci); state 1065 net/bluetooth/rfcomm/core.c switch (d->state) { state 1070 net/bluetooth/rfcomm/core.c d->state = BT_CONNECTED; state 1078 net/bluetooth/rfcomm/core.c d->state = BT_CLOSED; state 1082 net/bluetooth/rfcomm/core.c s->state = BT_DISCONN; state 1090 net/bluetooth/rfcomm/core.c switch (s->state) { state 1092 net/bluetooth/rfcomm/core.c s->state = BT_CONNECTED; state 1108 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld dlci %d", s, s->state, dlci); state 1114 net/bluetooth/rfcomm/core.c if (d->state == BT_CONNECT || d->state == BT_CONFIG) state 1119 net/bluetooth/rfcomm/core.c d->state = BT_CLOSED; state 1123 net/bluetooth/rfcomm/core.c if (s->state == BT_CONNECT) state 1128 net/bluetooth/rfcomm/core.c s->state = BT_CLOSED; state 1138 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld dlci %d", s, s->state, dlci); state 1145 net/bluetooth/rfcomm/core.c if (d->state == BT_CONNECT || d->state == BT_CONFIG) state 1150 net/bluetooth/rfcomm/core.c d->state = BT_CLOSED; state 1158 net/bluetooth/rfcomm/core.c if (s->state == BT_CONNECT) state 1163 net/bluetooth/rfcomm/core.c s->state = BT_CLOSED; state 1179 net/bluetooth/rfcomm/core.c d->state = BT_CONNECTED; state 1194 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld dlci %d", s, s->state, dlci); state 1199 net/bluetooth/rfcomm/core.c if (s->state == BT_OPEN) { state 1200 net/bluetooth/rfcomm/core.c s->state = BT_CONNECTED; state 1209 net/bluetooth/rfcomm/core.c if (d->state == BT_OPEN) { state 1244 net/bluetooth/rfcomm/core.c d, d->state, d->dlci, pn->mtu, pn->flow_ctrl, pn->credits); state 1274 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld dlci %d", s, s->state, dlci); state 1287 net/bluetooth/rfcomm/core.c switch (d->state) { state 1291 net/bluetooth/rfcomm/core.c d->state = BT_CONNECT; state 1311 net/bluetooth/rfcomm/core.c d->state = BT_OPEN; state 1545 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld dlci %d pf %d", s, s->state, dlci, pf); state 1561 net/bluetooth/rfcomm/core.c if (skb->len && d->state == BT_CONNECTED) { state 1639 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld", s, s->state); state 1643 net/bluetooth/rfcomm/core.c if (d->state == BT_CONFIG) { state 1663 net/bluetooth/rfcomm/core.c d, d->state, d->cfc, d->rx_credits, d->tx_credits); state 1710 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld", s, s->state); state 1737 net/bluetooth/rfcomm/core.c d->state = BT_CLOSED; state 1745 net/bluetooth/rfcomm/core.c if ((d->state == BT_CONNECTED || d->state == BT_DISCONN) && state 1757 net/bluetooth/rfcomm/core.c BT_DBG("session %p state %ld qlen %d", s, s->state, skb_queue_len(&sk->sk_receive_queue)); state 1812 net/bluetooth/rfcomm/core.c BT_DBG("%p state %ld", s, s->state); state 1816 net/bluetooth/rfcomm/core.c s->state = BT_CONNECT; state 1826 net/bluetooth/rfcomm/core.c s->state = BT_CLOSED; state 1842 net/bluetooth/rfcomm/core.c if (s->state == BT_LISTEN) { state 1849 net/bluetooth/rfcomm/core.c switch (s->state) { state 2010 net/bluetooth/rfcomm/core.c (d->state == BT_CONNECTED || state 2011 net/bluetooth/rfcomm/core.c d->state == BT_CONFIG) && state 2053 net/bluetooth/rfcomm/core.c d->state, d->dlci, d->mtu, d->rx_credits, d->tx_credits); state 91 net/bluetooth/rfcomm/sock.c BT_DBG("dlc %p state %ld err %d", d, d->state, err); state 98 net/bluetooth/rfcomm/sock.c sk->sk_state = d->state; state 102 net/bluetooth/rfcomm/sock.c if (d->state == BT_CLOSED) { state 108 net/bluetooth/rfcomm/sock.c if (d->state == BT_CONNECTED) state 148 net/bluetooth/rfcomm/sock.c if (state && sk->sk_state != state) state 170 net/bluetooth/rfcomm/sock.c s = __rfcomm_get_sock_by_channel(state, channel, src); state 330 net/bluetooth/rfcomm/sock.c sock->state = SS_UNCONNECTED; state 527 net/bluetooth/rfcomm/sock.c newsock->state = SS_CONNECTED; state 490 net/bluetooth/rfcomm/tty.c (di + n)->state = dev->dlc->state; state 525 net/bluetooth/rfcomm/tty.c di.state = dev->dlc->state; state 592 net/bluetooth/rfcomm/tty.c if (dlc->state == BT_CLOSED) { state 716 net/bluetooth/rfcomm/tty.c if (dlc->state == BT_CLOSED) { state 721 net/bluetooth/rfcomm/tty.c if (dlc->state == BT_CONNECTED) state 220 net/bluetooth/sco.c if (hcon->state == BT_CONNECTED) { state 449 net/bluetooth/sco.c sock->state = SS_UNCONNECTED; state 604 net/bluetooth/sco.c newsock->state = SS_CONNECTED; state 391 net/bridge/br_fdb.c if (!(source->state == BR_STATE_LEARNING || state 392 net/bridge/br_fdb.c source->state == BR_STATE_FORWARDING)) state 25 net/bridge/br_forward.c return (skb->dev != p->dev && p->state == BR_STATE_FORWARDING); state 78 net/bridge/br_if.c if (p->state == BR_STATE_DISABLED) state 81 net/bridge/br_if.c if (p->state != BR_STATE_DISABLED) state 260 net/bridge/br_if.c p->state = BR_STATE_DISABLED; state 46 net/bridge/br_input.c if (!p || p->state == BR_STATE_DISABLED) state 53 net/bridge/br_input.c if (p->state == BR_STATE_LEARNING) state 144 net/bridge/br_input.c switch (p->state) { state 243 net/bridge/br_ioctl.c p.state = pt->state; state 71 net/bridge/br_netlink.c NLA_PUT_U8(skb, IFLA_PROTINFO, port->state); state 179 net/bridge/br_netlink.c p->state = new_state; state 69 net/bridge/br_private.h u8 state; state 36 net/bridge/br_stp.c br_port_state_names[p->state]); state 62 net/bridge/br_stp.c if (p->state == BR_STATE_DISABLED || state 250 net/bridge/br_stp.c if (p->state != BR_STATE_DISABLED && state 321 net/bridge/br_stp.c if (p->state != BR_STATE_DISABLED && state 356 net/bridge/br_stp.c if (p->state != BR_STATE_DISABLED && state 357 net/bridge/br_stp.c p->state != BR_STATE_BLOCKING) { state 358 net/bridge/br_stp.c if (p->state == BR_STATE_FORWARDING || state 359 net/bridge/br_stp.c p->state == BR_STATE_LEARNING) state 362 net/bridge/br_stp.c p->state = BR_STATE_BLOCKING; state 373 net/bridge/br_stp.c if (p->state != BR_STATE_BLOCKING) state 377 net/bridge/br_stp.c p->state = BR_STATE_FORWARDING; state 382 net/bridge/br_stp.c p->state = BR_STATE_LISTENING; state 384 net/bridge/br_stp.c p->state = BR_STATE_LEARNING; state 402 net/bridge/br_stp.c if (p->state != BR_STATE_DISABLED) { state 163 net/bridge/br_stp_bpdu.c if (p->state == BR_STATE_DISABLED) state 37 net/bridge/br_stp_if.c p->state = BR_STATE_BLOCKING; state 68 net/bridge/br_stp_if.c if (p->state != BR_STATE_DISABLED) state 102 net/bridge/br_stp_if.c p->state = BR_STATE_DISABLED; state 241 net/bridge/br_stp_if.c if (p->state != BR_STATE_DISABLED && state 26 net/bridge/br_stp_timer.c if (p->state != BR_STATE_DISABLED && state 55 net/bridge/br_stp_timer.c if (p->state == BR_STATE_DISABLED) state 72 net/bridge/br_stp_timer.c if (p->state == BR_STATE_DISABLED) state 93 net/bridge/br_stp_timer.c if (p->state == BR_STATE_LISTENING) { state 94 net/bridge/br_stp_timer.c p->state = BR_STATE_LEARNING; state 97 net/bridge/br_stp_timer.c } else if (p->state == BR_STATE_LEARNING) { state 98 net/bridge/br_stp_timer.c p->state = BR_STATE_FORWARDING; state 114 net/bridge/br_sysfs_if.c return sprintf(buf, "%d\n", p->state); state 123 net/can/af_can.c sock->state = SS_UNCONNECTED; state 1078 net/core/dev.c set_bit(__LINK_STATE_START, &dev->state); state 1091 net/core/dev.c clear_bit(__LINK_STATE_START, &dev->state); state 1141 net/core/dev.c clear_bit(__LINK_STATE_START, &dev->state); state 1389 net/core/dev.c if (!test_and_set_bit(__QDISC_STATE_SCHED, &q->state)) state 1428 net/core/dev.c if (test_and_clear_bit(__LINK_STATE_PRESENT, &dev->state) && state 1443 net/core/dev.c if (!test_and_set_bit(__LINK_STATE_PRESENT, &dev->state) && state 1840 net/core/dev.c if (unlikely(test_bit(__QDISC_STATE_DEACTIVATED, &q->state))) { state 2022 net/core/dev.c &q->state); state 2027 net/core/dev.c &q->state)) { state 2032 net/core/dev.c &q->state); state 2135 net/core/dev.c if (likely(!test_bit(__QDISC_STATE_DEACTIVATED, &q->state))) state 2411 net/core/dev.c if (test_bit(NAPI_STATE_SCHED, &n->state)) state 4081 net/core/dev.c set_bit(__LINK_STATE_PRESENT, &dev->state); state 4164 net/core/dev.c &dev->state)) { state 4640 net/core/dev.c switch (state) { state 179 net/core/link_watch.c clear_bit(__LINK_STATE_LINKWATCH_PENDING, &dev->state); state 218 net/core/link_watch.c if (!test_and_set_bit(__LINK_STATE_LINKWATCH_PENDING, &dev->state)) { state 723 net/core/neighbour.c unsigned int state; state 727 net/core/neighbour.c state = n->nud_state; state 728 net/core/neighbour.c if (state & (NUD_PERMANENT | NUD_IN_TIMER)) { state 737 net/core/neighbour.c (state == NUD_FAILED || state 782 net/core/neighbour.c unsigned state; state 787 net/core/neighbour.c state = neigh->nud_state; state 791 net/core/neighbour.c if (!(state & NUD_IN_TIMER)) { state 798 net/core/neighbour.c if (state & NUD_REACHABLE) { state 817 net/core/neighbour.c } else if (state & NUD_DELAY) { state 2189 net/core/neighbour.c struct neigh_seq_state *state = seq->private; state 2191 net/core/neighbour.c struct neigh_table *tbl = state->tbl; state 2193 net/core/neighbour.c int bucket = state->bucket; state 2195 net/core/neighbour.c state->flags &= ~NEIGH_SEQ_IS_PNEIGH; state 2202 net/core/neighbour.c if (state->neigh_sub_iter) { state 2206 net/core/neighbour.c v = state->neigh_sub_iter(state, n, &fakep); state 2210 net/core/neighbour.c if (!(state->flags & NEIGH_SEQ_SKIP_NOARP)) state 2221 net/core/neighbour.c state->bucket = bucket; state 2230 net/core/neighbour.c struct neigh_seq_state *state = seq->private; state 2232 net/core/neighbour.c struct neigh_table *tbl = state->tbl; state 2234 net/core/neighbour.c if (state->neigh_sub_iter) { state 2235 net/core/neighbour.c void *v = state->neigh_sub_iter(state, n, pos); state 2245 net/core/neighbour.c if (state->neigh_sub_iter) { state 2246 net/core/neighbour.c void *v = state->neigh_sub_iter(state, n, pos); state 2251 net/core/neighbour.c if (!(state->flags & NEIGH_SEQ_SKIP_NOARP)) state 2263 net/core/neighbour.c if (++state->bucket > tbl->hash_mask) state 2266 net/core/neighbour.c n = tbl->hash_buckets[state->bucket]; state 2291 net/core/neighbour.c struct neigh_seq_state *state = seq->private; state 2293 net/core/neighbour.c struct neigh_table *tbl = state->tbl; state 2295 net/core/neighbour.c int bucket = state->bucket; state 2297 net/core/neighbour.c state->flags |= NEIGH_SEQ_IS_PNEIGH; state 2305 net/core/neighbour.c state->bucket = bucket; state 2314 net/core/neighbour.c struct neigh_seq_state *state = seq->private; state 2316 net/core/neighbour.c struct neigh_table *tbl = state->tbl; state 2320 net/core/neighbour.c if (++state->bucket > PNEIGH_HASHMASK) state 2322 net/core/neighbour.c pn = tbl->phash_buckets[state->bucket]; state 2352 net/core/neighbour.c struct neigh_seq_state *state = seq->private; state 2357 net/core/neighbour.c if (!rc && !(state->flags & NEIGH_SEQ_NEIGH_ONLY)) state 2366 net/core/neighbour.c struct neigh_seq_state *state = seq->private; state 2368 net/core/neighbour.c state->tbl = tbl; state 2369 net/core/neighbour.c state->bucket = 0; state 2370 net/core/neighbour.c state->flags = (neigh_seq_flags & ~NEIGH_SEQ_IS_PNEIGH); state 2380 net/core/neighbour.c struct neigh_seq_state *state; state 2388 net/core/neighbour.c state = seq->private; state 2389 net/core/neighbour.c if (!(state->flags & NEIGH_SEQ_IS_PNEIGH)) { state 2393 net/core/neighbour.c if (!(state->flags & NEIGH_SEQ_NEIGH_ONLY)) state 2396 net/core/neighbour.c BUG_ON(state->flags & NEIGH_SEQ_NEIGH_ONLY); state 2408 net/core/neighbour.c struct neigh_seq_state *state = seq->private; state 2409 net/core/neighbour.c struct neigh_table *tbl = state->tbl; state 131 net/core/netpoll.c if (!test_bit(NAPI_STATE_SCHED, &napi->state)) state 2127 net/core/skbuff.c #define TS_SKB_CB(state) ((struct skb_seq_state *) &((state)->cb)) state 2133 net/core/skbuff.c return skb_seq_read(offset, text, TS_SKB_CB(state)); state 2138 net/core/skbuff.c skb_abort_seq_read(TS_SKB_CB(state)); state 2163 net/core/skbuff.c skb_prepare_seq_read(skb, from, to, TS_SKB_CB(state)); state 2165 net/core/skbuff.c ret = textsearch_find(config, state); state 176 net/core/utils.c int state = IN6PTON_COLON_1_2 | IN6PTON_XDIGIT | IN6PTON_NULL; state 190 net/core/utils.c if (!(c & state)) state 194 net/core/utils.c if (!(state & IN6PTON_NULL)) { state 208 net/core/utils.c switch (state & IN6PTON_COLON_MASK) { state 211 net/core/utils.c state = IN6PTON_XDIGIT | IN6PTON_DELIM; state 213 net/core/utils.c state |= IN6PTON_NULL; state 216 net/core/utils.c state = IN6PTON_XDIGIT | IN6PTON_COLON_2; state 219 net/core/utils.c state = IN6PTON_XDIGIT; state 222 net/core/utils.c state = IN6PTON_COLON_2; state 225 net/core/utils.c state = 0; state 241 net/core/utils.c state = IN6PTON_COLON_1 | IN6PTON_DELIM; state 243 net/core/utils.c state |= IN6PTON_XDIGIT; state 246 net/core/utils.c state |= IN6PTON_COLON_1_2; state 247 net/core/utils.c state &= ~IN6PTON_DELIM; state 250 net/core/utils.c state &= ~(IN6PTON_COLON_1|IN6PTON_COLON_1_2); state 255 net/core/utils.c state |= IN6PTON_DOT; state 258 net/core/utils.c state &= ~(IN6PTON_XDIGIT|IN6PTON_COLON_MASK); state 229 net/dccp/ackvec.c av->av_buf[av->av_buf_head] = state; state 264 net/dccp/ackvec.c av->av_buf[av->av_buf_head] = state; state 274 net/dccp/ackvec.c dccp_ackvec_state(av, av->av_buf_head) == state && state 277 net/dccp/ackvec.c else if (dccp_ackvec_set_buf_head_state(av, delta, state)) state 303 net/dccp/ackvec.c av->av_buf[index] = state; state 408 net/dccp/ackvec.c const u8 state = *vector & DCCP_ACKVEC_STATE_MASK; state 409 net/dccp/ackvec.c if (state != DCCP_ACKVEC_STATE_NOT_RECEIVED) { state 610 net/dccp/ccids/ccid2.c const u8 state = *vector & state 614 net/dccp/ccids/ccid2.c if (state != DCCP_ACKVEC_STATE_NOT_RECEIVED && state 616 net/dccp/ccids/ccid2.c if (state == state 62 net/dccp/ccids/ccid3.c return ccid3_state_names[state]; state 74 net/dccp/ccids/ccid3.c ccid3_tx_state_name(state)); state 75 net/dccp/ccids/ccid3.c WARN_ON(state == oldstate); state 76 net/dccp/ccids/ccid3.c hctx->ccid3hctx_state = state; state 655 net/dccp/ccids/ccid3.c return ccid3_rx_state_names[state]; state 667 net/dccp/ccids/ccid3.c ccid3_rx_state_name(state)); state 668 net/dccp/ccids/ccid3.c WARN_ON(state == oldstate); state 669 net/dccp/ccids/ccid3.c hcrx->ccid3hcrx_state = state; state 60 net/dccp/minisocks.c tw = inet_twsk_alloc(sk, state); state 85 net/dccp/minisocks.c if (state == DCCP_TIME_WAIT) state 275 net/dccp/minisocks.c const int state = child->sk_state; state 282 net/dccp/minisocks.c if (state == DCCP_RESPOND && child->sk_state != state) state 63 net/dccp/proto.c dccp_state_name(oldstate), dccp_state_name(state)); state 64 net/dccp/proto.c WARN_ON(state == oldstate); state 66 net/dccp/proto.c switch (state) { state 90 net/dccp/proto.c sk->sk_state = state; state 167 net/dccp/proto.c if (state >= DCCP_MAX_STATES) state 170 net/dccp/proto.c return dccp_state_names[state]; state 285 net/dccp/proto.c return state != DCCP_CLOSED && state != DCCP_LISTEN && state 286 net/dccp/proto.c state != DCCP_REQUESTING; state 873 net/dccp/proto.c if (sock->state != SS_UNCONNECTED || sock->type != SOCK_DCCP) state 934 net/dccp/proto.c int state; state 976 net/dccp/proto.c state = sk->sk_state; state 994 net/dccp/proto.c if (state != DCCP_CLOSED && sk->sk_state == DCCP_CLOSED) state 497 net/decnet/af_decnet.c scp->state = DN_O; /* Open */ state 578 net/decnet/af_decnet.c switch(scp->state) { state 582 net/decnet/af_decnet.c scp->state = DN_CN; state 588 net/decnet/af_decnet.c scp->state = DN_DRC; state 620 net/decnet/af_decnet.c if (sk->sk_socket->state != SS_UNCONNECTED) state 621 net/decnet/af_decnet.c sk->sk_socket->state = SS_DISCONNECTING; state 626 net/decnet/af_decnet.c switch(scp->state) { state 634 net/decnet/af_decnet.c scp->state = DN_DR; state 637 net/decnet/af_decnet.c scp->state = DN_DI; state 827 net/decnet/af_decnet.c if (scp->state != DN_CR) state 830 net/decnet/af_decnet.c scp->state = DN_CC; state 837 net/decnet/af_decnet.c if (scp->state == DN_CC) state 841 net/decnet/af_decnet.c if (scp->state == DN_RUN) state 856 net/decnet/af_decnet.c sk->sk_socket->state = SS_CONNECTED; state 857 net/decnet/af_decnet.c } else if (scp->state != DN_CC) { state 858 net/decnet/af_decnet.c sk->sk_socket->state = SS_UNCONNECTED; state 869 net/decnet/af_decnet.c if (scp->state == DN_RUN) state 878 net/decnet/af_decnet.c if (scp->state == DN_CI || scp->state == DN_CC) state 882 net/decnet/af_decnet.c if (scp->state == DN_RUN) state 898 net/decnet/af_decnet.c sk->sk_socket->state = SS_CONNECTED; state 899 net/decnet/af_decnet.c } else if (scp->state != DN_CI && scp->state != DN_CC) { state 900 net/decnet/af_decnet.c sk->sk_socket->state = SS_UNCONNECTED; state 912 net/decnet/af_decnet.c if (sock->state == SS_CONNECTED) state 915 net/decnet/af_decnet.c if (sock->state == SS_CONNECTING) { state 917 net/decnet/af_decnet.c if (scp->state == DN_RUN) { state 918 net/decnet/af_decnet.c sock->state = SS_CONNECTED; state 922 net/decnet/af_decnet.c if (scp->state != DN_CI && scp->state != DN_CC) { state 923 net/decnet/af_decnet.c sock->state = SS_UNCONNECTED; state 930 net/decnet/af_decnet.c if (scp->state != DN_O) state 958 net/decnet/af_decnet.c sock->state = SS_CONNECTING; state 959 net/decnet/af_decnet.c scp->state = DN_CI; state 989 net/decnet/af_decnet.c switch(scp->state) { state 1081 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN || DN_SK(sk)->state != DN_O) { state 1108 net/decnet/af_decnet.c DN_SK(newsk)->state = DN_CR; state 1187 net/decnet/af_decnet.c if ((sock->state != SS_CONNECTED && state 1188 net/decnet/af_decnet.c sock->state != SS_CONNECTING) && state 1235 net/decnet/af_decnet.c if (scp->state != DN_RUN) state 1283 net/decnet/af_decnet.c if ((DN_SK(sk)->state != DN_O) || (sk->sk_state == TCP_LISTEN)) state 1307 net/decnet/af_decnet.c if (sock->state == SS_UNCONNECTED) state 1311 net/decnet/af_decnet.c if (sock->state == SS_DISCONNECTING) state 1315 net/decnet/af_decnet.c if (scp->state == DN_O) state 1370 net/decnet/af_decnet.c if (sock->state == SS_CONNECTED) state 1372 net/decnet/af_decnet.c if ((scp->state != DN_O) && (scp->state != DN_CR)) state 1385 net/decnet/af_decnet.c if (sock->state != SS_CONNECTED && scp->accept_mode == ACC_IMMED) state 1398 net/decnet/af_decnet.c if (sock->state == SS_CONNECTED) state 1400 net/decnet/af_decnet.c if (scp->state != DN_O) state 1415 net/decnet/af_decnet.c if (sock->state == SS_CONNECTED) state 1417 net/decnet/af_decnet.c if (scp->state != DN_O) state 1431 net/decnet/af_decnet.c if (scp->state != DN_CR) state 1439 net/decnet/af_decnet.c if (scp->state != DN_CR) state 1442 net/decnet/af_decnet.c scp->state = DN_DR; state 1561 net/decnet/af_decnet.c switch(sock->state) { state 1737 net/decnet/af_decnet.c if (scp->state != DN_RUN) state 2128 net/decnet/af_decnet.c struct dn_iter_state *state = seq->private; state 2131 net/decnet/af_decnet.c for(state->bucket = 0; state 2132 net/decnet/af_decnet.c state->bucket < DN_SK_HASH_SIZE; state 2133 net/decnet/af_decnet.c ++state->bucket) { state 2134 net/decnet/af_decnet.c n = sk_head(&dn_sk_hash[state->bucket]); state 2145 net/decnet/af_decnet.c struct dn_iter_state *state = seq->private; state 2151 net/decnet/af_decnet.c if (++state->bucket >= DN_SK_HASH_SIZE) state 2153 net/decnet/af_decnet.c n = sk_head(&dn_sk_hash[state->bucket]); state 2232 net/decnet/af_decnet.c switch(state) { state 2300 net/decnet/af_decnet.c dn_state2asc(scp->state), state 88 net/decnet/dn_dev.c .state = DN_DEV_S_RU, state 100 net/decnet/dn_dev.c .state = DN_DEV_S_RU, state 111 net/decnet/dn_dev.c .state = DN_DEV_S_DS, state 123 net/decnet/dn_dev.c .state = DN_DEV_S_RU, state 134 net/decnet/dn_dev.c .state = DN_DEV_S_DS, state 144 net/decnet/dn_dev.c .state = DN_DEV_S_RU, state 1405 net/decnet/dn_dev.c dn_db->parms.state, dn_db->parms.name, state 522 net/decnet/dn_neigh.c struct elist_cb_state state; state 524 net/decnet/dn_neigh.c state.dev = dev; state 525 net/decnet/dn_neigh.c state.t = 0; state 526 net/decnet/dn_neigh.c state.n = n; state 527 net/decnet/dn_neigh.c state.ptr = ptr; state 528 net/decnet/dn_neigh.c state.rs = ptr; state 530 net/decnet/dn_neigh.c neigh_for_each(&dn_neigh_table, neigh_elist_cb, &state); state 532 net/decnet/dn_neigh.c return state.t; state 349 net/decnet/dn_nsp_in.c if ((scp->state == DN_CI) || (scp->state == DN_CD)) { state 353 net/decnet/dn_nsp_in.c scp->state = DN_RUN; state 382 net/decnet/dn_nsp_in.c if (scp->state == DN_CI) { state 383 net/decnet/dn_nsp_in.c scp->state = DN_CD; state 417 net/decnet/dn_nsp_in.c switch(scp->state) { state 420 net/decnet/dn_nsp_in.c scp->state = DN_RJ; state 425 net/decnet/dn_nsp_in.c scp->state = DN_DN; state 428 net/decnet/dn_nsp_in.c scp->state = DN_DIC; state 433 net/decnet/dn_nsp_in.c if (sk->sk_socket->state != SS_UNCONNECTED) state 434 net/decnet/dn_nsp_in.c sk->sk_socket->state = SS_DISCONNECTING; state 470 net/decnet/dn_nsp_in.c switch(scp->state) { state 472 net/decnet/dn_nsp_in.c scp->state = DN_NR; state 476 net/decnet/dn_nsp_in.c scp->state = DN_DRC; state 478 net/decnet/dn_nsp_in.c scp->state = DN_CN; state 481 net/decnet/dn_nsp_in.c scp->state = DN_DIC; state 486 net/decnet/dn_nsp_in.c scp->state = DN_CN; state 490 net/decnet/dn_nsp_in.c if (sk->sk_socket->state != SS_UNCONNECTED) state 491 net/decnet/dn_nsp_in.c sk->sk_socket->state = SS_DISCONNECTING; state 681 net/decnet/dn_nsp_in.c if (scp->state == DN_CI) { state 682 net/decnet/dn_nsp_in.c scp->state = DN_NC; state 870 net/decnet/dn_nsp_in.c if ((scp->state == DN_CC) && !sock_flag(sk, SOCK_DEAD)) { state 871 net/decnet/dn_nsp_in.c scp->state = DN_RUN; state 895 net/decnet/dn_nsp_in.c if (scp->state != DN_RUN) state 515 net/decnet/dn_nsp_out.c if (scp->state == DN_CC) state 650 net/decnet/dn_nsp_out.c if (scp->state == DN_CI) state 648 net/decnet/dn_route.c if (dn->parms.state != DN_DEV_S_RU) state 665 net/decnet/dn_route.c if (dn->parms.state != DN_DEV_S_RU) state 98 net/decnet/dn_timer.c if (scp->keepalive && scp->keepalive_fxn && (scp->state == DN_RUN)) { state 622 net/econet/af_econet.c sock->state = SS_UNCONNECTED; state 200 net/ipv4/af_inet.c if (sock->state != SS_UNCONNECTED || sock->type != SOCK_STREAM) state 280 net/ipv4/af_inet.c sock->state = SS_UNCONNECTED; state 575 net/ipv4/af_inet.c sock->state = err ? SS_DISCONNECTING : SS_UNCONNECTED; state 579 net/ipv4/af_inet.c switch (sock->state) { state 599 net/ipv4/af_inet.c sock->state = SS_CONNECTING; state 632 net/ipv4/af_inet.c sock->state = SS_CONNECTED; state 640 net/ipv4/af_inet.c sock->state = SS_UNCONNECTED; state 642 net/ipv4/af_inet.c sock->state = SS_DISCONNECTING; state 666 net/ipv4/af_inet.c newsock->state = SS_CONNECTED; state 746 net/ipv4/af_inet.c if (sock->state == SS_CONNECTING) { state 749 net/ipv4/af_inet.c sock->state = SS_DISCONNECTING; state 751 net/ipv4/af_inet.c sock->state = SS_CONNECTED; state 775 net/ipv4/af_inet.c sock->state = err ? SS_DISCONNECTING : SS_UNCONNECTED; state 872 net/ipv4/arp.c int state = NUD_REACHABLE; state 887 net/ipv4/arp.c state = NUD_STALE; state 888 net/ipv4/arp.c neigh_update(n, sha, state, override ? NEIGH_UPDATE_F_OVERRIDE : 0); state 1031 net/ipv4/arp.c unsigned state = NUD_STALE; state 1033 net/ipv4/arp.c state = NUD_PERMANENT; state 1035 net/ipv4/arp.c r->arp_ha.sa_data : NULL, state, state 1336 net/ipv4/arp.c struct neigh_seq_state *state = seq->private; state 1338 net/ipv4/arp.c if (state->flags & NEIGH_SEQ_IS_PNEIGH) state 158 net/ipv4/cipso_ipv4.c if ((state && (byte & bitmask) == bitmask) || state 159 net/ipv4/cipso_ipv4.c (state == 0 && (byte & bitmask) == 0)) state 193 net/ipv4/cipso_ipv4.c if (state) state 1237 net/ipv4/devinet.c if (in_dev && !test_bit(i, in_dev->cnf.state)) state 1277 net/ipv4/devinet.c set_bit(i, cnf->state); state 1330 net/ipv4/devinet.c set_bit(i, cnf->state); state 455 net/ipv4/fib_hash.c u8 state; state 468 net/ipv4/fib_hash.c state = fa->fa_state; state 474 net/ipv4/fib_hash.c if (state & FA_S_ACCESSED) state 354 net/ipv4/fib_semantics.c int state = NUD_NONE; state 358 net/ipv4/fib_semantics.c state = n->nud_state; state 361 net/ipv4/fib_semantics.c if (state==NUD_REACHABLE) state 363 net/ipv4/fib_semantics.c if ((state&NUD_VALID) && order != dflt) state 365 net/ipv4/fib_semantics.c if ((state&NUD_VALID) || state 1248 net/ipv4/fib_trie.c u8 state; state 1266 net/ipv4/fib_trie.c state = fa->fa_state; state 1267 net/ipv4/fib_trie.c new_fa->fa_state = state & ~FA_S_ACCESSED; state 1273 net/ipv4/fib_trie.c if (state & FA_S_ACCESSED) state 2287 net/ipv4/igmp.c struct igmp_mc_iter_state *state = igmp_mc_seq_private(seq); state 2289 net/ipv4/igmp.c state->in_dev = NULL; state 2290 net/ipv4/igmp.c for_each_netdev(&init_net, state->dev) { state 2292 net/ipv4/igmp.c in_dev = in_dev_get(state->dev); state 2298 net/ipv4/igmp.c state->in_dev = in_dev; state 2309 net/ipv4/igmp.c struct igmp_mc_iter_state *state = igmp_mc_seq_private(seq); state 2312 net/ipv4/igmp.c if (likely(state->in_dev != NULL)) { state 2313 net/ipv4/igmp.c read_unlock(&state->in_dev->mc_list_lock); state 2314 net/ipv4/igmp.c in_dev_put(state->in_dev); state 2316 net/ipv4/igmp.c state->dev = next_net_device(state->dev); state 2317 net/ipv4/igmp.c if (!state->dev) { state 2318 net/ipv4/igmp.c state->in_dev = NULL; state 2321 net/ipv4/igmp.c state->in_dev = in_dev_get(state->dev); state 2322 net/ipv4/igmp.c if (!state->in_dev) state 2324 net/ipv4/igmp.c read_lock(&state->in_dev->mc_list_lock); state 2325 net/ipv4/igmp.c im = state->in_dev->mc_list; state 2360 net/ipv4/igmp.c struct igmp_mc_iter_state *state = igmp_mc_seq_private(seq); state 2361 net/ipv4/igmp.c if (likely(state->in_dev != NULL)) { state 2362 net/ipv4/igmp.c read_unlock(&state->in_dev->mc_list_lock); state 2363 net/ipv4/igmp.c in_dev_put(state->in_dev); state 2364 net/ipv4/igmp.c state->in_dev = NULL; state 2366 net/ipv4/igmp.c state->dev = NULL; state 2377 net/ipv4/igmp.c struct igmp_mc_iter_state *state = igmp_mc_seq_private(seq); state 2380 net/ipv4/igmp.c querier = IGMP_V1_SEEN(state->in_dev) ? "V1" : state 2381 net/ipv4/igmp.c IGMP_V2_SEEN(state->in_dev) ? "V2" : state 2387 net/ipv4/igmp.c if (state->in_dev->mc_list == im) { state 2389 net/ipv4/igmp.c state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier); state 2435 net/ipv4/igmp.c struct igmp_mcf_iter_state *state = igmp_mcf_seq_private(seq); state 2437 net/ipv4/igmp.c state->idev = NULL; state 2438 net/ipv4/igmp.c state->im = NULL; state 2439 net/ipv4/igmp.c for_each_netdev(&init_net, state->dev) { state 2441 net/ipv4/igmp.c idev = in_dev_get(state->dev); state 2450 net/ipv4/igmp.c state->im = im; state 2451 net/ipv4/igmp.c state->idev = idev; state 2464 net/ipv4/igmp.c struct igmp_mcf_iter_state *state = igmp_mcf_seq_private(seq); state 2468 net/ipv4/igmp.c spin_unlock_bh(&state->im->lock); state 2469 net/ipv4/igmp.c state->im = state->im->next; state 2470 net/ipv4/igmp.c while (!state->im) { state 2471 net/ipv4/igmp.c if (likely(state->idev != NULL)) { state 2472 net/ipv4/igmp.c read_unlock(&state->idev->mc_list_lock); state 2473 net/ipv4/igmp.c in_dev_put(state->idev); state 2475 net/ipv4/igmp.c state->dev = next_net_device(state->dev); state 2476 net/ipv4/igmp.c if (!state->dev) { state 2477 net/ipv4/igmp.c state->idev = NULL; state 2480 net/ipv4/igmp.c state->idev = in_dev_get(state->dev); state 2481 net/ipv4/igmp.c if (!state->idev) state 2483 net/ipv4/igmp.c read_lock(&state->idev->mc_list_lock); state 2484 net/ipv4/igmp.c state->im = state->idev->mc_list; state 2486 net/ipv4/igmp.c if (!state->im) state 2488 net/ipv4/igmp.c spin_lock_bh(&state->im->lock); state 2489 net/ipv4/igmp.c psf = state->im->sources; state 2523 net/ipv4/igmp.c struct igmp_mcf_iter_state *state = igmp_mcf_seq_private(seq); state 2524 net/ipv4/igmp.c if (likely(state->im != NULL)) { state 2525 net/ipv4/igmp.c spin_unlock_bh(&state->im->lock); state 2526 net/ipv4/igmp.c state->im = NULL; state 2528 net/ipv4/igmp.c if (likely(state->idev != NULL)) { state 2529 net/ipv4/igmp.c read_unlock(&state->idev->mc_list_lock); state 2530 net/ipv4/igmp.c in_dev_put(state->idev); state 2531 net/ipv4/igmp.c state->idev = NULL; state 2533 net/ipv4/igmp.c state->dev = NULL; state 2540 net/ipv4/igmp.c struct igmp_mcf_iter_state *state = igmp_mcf_seq_private(seq); state 2552 net/ipv4/igmp.c state->dev->ifindex, state->dev->name, state 2553 net/ipv4/igmp.c ntohl(state->im->multiaddr), state 122 net/ipv4/inet_timewait_sock.c tw->tw_substate = state; state 73 net/ipv4/ipcomp.c t->km.state = XFRM_STATE_DEAD; state 854 net/ipv4/raw.c struct raw_iter_state* state = raw_seq_private(seq); state 856 net/ipv4/raw.c for (state->bucket = 0; state->bucket < RAW_HTABLE_SIZE; state 857 net/ipv4/raw.c ++state->bucket) { state 860 net/ipv4/raw.c sk_for_each(sk, node, &state->h->ht[state->bucket]) state 871 net/ipv4/raw.c struct raw_iter_state* state = raw_seq_private(seq); state 879 net/ipv4/raw.c if (!sk && ++state->bucket < RAW_HTABLE_SIZE) { state 880 net/ipv4/raw.c sk = sk_head(&state->h->ht[state->bucket]); state 898 net/ipv4/raw.c struct raw_iter_state *state = raw_seq_private(seq); state 900 net/ipv4/raw.c read_lock(&state->h->lock); state 920 net/ipv4/raw.c struct raw_iter_state *state = raw_seq_private(seq); state 922 net/ipv4/raw.c read_unlock(&state->h->lock); state 1668 net/ipv4/tcp.c switch (state) { state 1691 net/ipv4/tcp.c sk->sk_state = state; state 1694 net/ipv4/tcp.c SOCK_DEBUG(sk, "TCP sk=%p, State %s -> %s\n",sk, statename[oldstate],statename[state]); state 1760 net/ipv4/tcp.c int state; state 1835 net/ipv4/tcp.c state = sk->sk_state; state 1852 net/ipv4/tcp.c if (state != TCP_CLOSE && sk->sk_state == TCP_CLOSE) state 1916 net/ipv4/tcp.c return (1 << state) & state 2504 net/ipv4/tcp_input.c int state = TCP_CA_Open; state 2507 net/ipv4/tcp_input.c state = TCP_CA_Disorder; state 2509 net/ipv4/tcp_input.c if (inet_csk(sk)->icsk_ca_state != state) { state 2510 net/ipv4/tcp_input.c tcp_set_ca_state(sk, state); state 1891 net/ipv4/tcp_ipv4.c if (st->state == TCP_SEQ_STATE_OPENREQ) { state 1910 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_LISTENING; state 1932 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_OPENREQ; state 1989 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_TIME_WAIT; state 2000 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_ESTABLISHED; state 2016 net/ipv4/tcp_ipv4.c if (st->state == TCP_SEQ_STATE_TIME_WAIT) { state 2028 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_ESTABLISHED; state 2047 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_TIME_WAIT; state 2073 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_LISTENING; state 2078 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_ESTABLISHED; state 2088 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_LISTENING; state 2104 net/ipv4/tcp_ipv4.c switch (st->state) { state 2110 net/ipv4/tcp_ipv4.c st->state = TCP_SEQ_STATE_ESTABLISHED; state 2128 net/ipv4/tcp_ipv4.c switch (st->state) { state 2299 net/ipv4/tcp_ipv4.c switch (st->state) { state 283 net/ipv4/tcp_minisocks.c tw = inet_twsk_alloc(sk, state); state 341 net/ipv4/tcp_minisocks.c if (state == TCP_TIME_WAIT) state 715 net/ipv4/tcp_minisocks.c int state = child->sk_state; state 721 net/ipv4/tcp_minisocks.c if (state == TCP_SYN_RECV && child->sk_state != state) state 1504 net/ipv4/udp.c struct udp_iter_state *state = seq->private; state 1507 net/ipv4/udp.c for (state->bucket = 0; state->bucket < UDP_HTABLE_SIZE; ++state->bucket) { state 1509 net/ipv4/udp.c sk_for_each(sk, node, state->hashtable + state->bucket) { state 1512 net/ipv4/udp.c if (sk->sk_family == state->family) state 1523 net/ipv4/udp.c struct udp_iter_state *state = seq->private; state 1530 net/ipv4/udp.c } while (sk && (!net_eq(sock_net(sk), net) || sk->sk_family != state->family)); state 1532 net/ipv4/udp.c if (!sk && ++state->bucket < UDP_HTABLE_SIZE) { state 1533 net/ipv4/udp.c sk = sk_head(state->hashtable + state->bucket); state 1647 net/ipv4/udp.c struct udp_iter_state *state = seq->private; state 1650 net/ipv4/udp.c udp4_format_sock(v, seq, state->bucket, &len); state 2918 net/ipv6/addrconf.c struct if6_iter_state *state = seq->private; state 2921 net/ipv6/addrconf.c for (state->bucket = 0; state->bucket < IN6_ADDR_HSIZE; ++state->bucket) { state 2922 net/ipv6/addrconf.c ifa = inet6_addr_lst[state->bucket]; state 2934 net/ipv6/addrconf.c struct if6_iter_state *state = seq->private; state 2946 net/ipv6/addrconf.c if (!ifa && ++state->bucket < IN6_ADDR_HSIZE) { state 2947 net/ipv6/addrconf.c ifa = inet6_addr_lst[state->bucket]; state 430 net/ipv6/anycast.c struct ac6_iter_state *state = ac6_seq_private(seq); state 433 net/ipv6/anycast.c state->idev = NULL; state 434 net/ipv6/anycast.c for_each_netdev(net, state->dev) { state 436 net/ipv6/anycast.c idev = in6_dev_get(state->dev); state 442 net/ipv6/anycast.c state->idev = idev; state 453 net/ipv6/anycast.c struct ac6_iter_state *state = ac6_seq_private(seq); state 457 net/ipv6/anycast.c if (likely(state->idev != NULL)) { state 458 net/ipv6/anycast.c read_unlock_bh(&state->idev->lock); state 459 net/ipv6/anycast.c in6_dev_put(state->idev); state 461 net/ipv6/anycast.c state->dev = next_net_device(state->dev); state 462 net/ipv6/anycast.c if (!state->dev) { state 463 net/ipv6/anycast.c state->idev = NULL; state 466 net/ipv6/anycast.c state->idev = in6_dev_get(state->dev); state 467 net/ipv6/anycast.c if (!state->idev) state 469 net/ipv6/anycast.c read_lock_bh(&state->idev->lock); state 470 net/ipv6/anycast.c im = state->idev->ac_list; state 502 net/ipv6/anycast.c struct ac6_iter_state *state = ac6_seq_private(seq); state 503 net/ipv6/anycast.c if (likely(state->idev != NULL)) { state 504 net/ipv6/anycast.c read_unlock_bh(&state->idev->lock); state 505 net/ipv6/anycast.c in6_dev_put(state->idev); state 513 net/ipv6/anycast.c struct ac6_iter_state *state = ac6_seq_private(seq); state 517 net/ipv6/anycast.c state->dev->ifindex, state->dev->name, state 1055 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 1, s=%d/%d\n", w, w->state, nstate); state 1057 net/ipv6/ip6_fib.c w->state = nstate; state 1067 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state); state 1068 net/ipv6/ip6_fib.c w->state = w->state>=FWS_R ? FWS_U : FWS_INIT; state 1070 net/ipv6/ip6_fib.c RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state); state 1071 net/ipv6/ip6_fib.c w->state = w->state>=FWS_C ? FWS_U : FWS_INIT; state 1110 net/ipv6/ip6_fib.c if (w->state == FWS_C && w->leaf == rt) { state 1114 net/ipv6/ip6_fib.c w->state = FWS_U; state 1228 net/ipv6/ip6_fib.c fn->fn_flags&RTN_RTINFO && w->state < FWS_C) { state 1229 net/ipv6/ip6_fib.c w->state = FWS_C; state 1232 net/ipv6/ip6_fib.c switch (w->state) { state 1239 net/ipv6/ip6_fib.c w->state = FWS_L; state 1244 net/ipv6/ip6_fib.c w->state = FWS_INIT; state 1247 net/ipv6/ip6_fib.c w->state = FWS_R; state 1251 net/ipv6/ip6_fib.c w->state = FWS_INIT; state 1254 net/ipv6/ip6_fib.c w->state = FWS_C; state 1263 net/ipv6/ip6_fib.c w->state = FWS_U; state 1272 net/ipv6/ip6_fib.c w->state = FWS_L; state 1277 net/ipv6/ip6_fib.c w->state = FWS_R; state 1281 net/ipv6/ip6_fib.c w->state = FWS_C; state 1296 net/ipv6/ip6_fib.c w->state = FWS_INIT; state 623 net/ipv6/ip6_flowlabel.c struct ip6fl_iter_state *state = ip6fl_seq_private(seq); state 626 net/ipv6/ip6_flowlabel.c for (state->bucket = 0; state->bucket <= FL_HASH_MASK; ++state->bucket) { state 627 net/ipv6/ip6_flowlabel.c fl = fl_ht[state->bucket]; state 639 net/ipv6/ip6_flowlabel.c struct ip6fl_iter_state *state = ip6fl_seq_private(seq); state 648 net/ipv6/ip6_flowlabel.c if (++state->bucket <= FL_HASH_MASK) { state 649 net/ipv6/ip6_flowlabel.c fl = fl_ht[state->bucket]; state 103 net/ipv6/ipcomp6.c t->km.state = XFRM_STATE_DEAD; state 2345 net/ipv6/mcast.c struct igmp6_mc_iter_state *state = igmp6_mc_seq_private(seq); state 2348 net/ipv6/mcast.c state->idev = NULL; state 2349 net/ipv6/mcast.c for_each_netdev(net, state->dev) { state 2351 net/ipv6/mcast.c idev = in6_dev_get(state->dev); state 2357 net/ipv6/mcast.c state->idev = idev; state 2368 net/ipv6/mcast.c struct igmp6_mc_iter_state *state = igmp6_mc_seq_private(seq); state 2372 net/ipv6/mcast.c if (likely(state->idev != NULL)) { state 2373 net/ipv6/mcast.c read_unlock_bh(&state->idev->lock); state 2374 net/ipv6/mcast.c in6_dev_put(state->idev); state 2376 net/ipv6/mcast.c state->dev = next_net_device(state->dev); state 2377 net/ipv6/mcast.c if (!state->dev) { state 2378 net/ipv6/mcast.c state->idev = NULL; state 2381 net/ipv6/mcast.c state->idev = in6_dev_get(state->dev); state 2382 net/ipv6/mcast.c if (!state->idev) state 2384 net/ipv6/mcast.c read_lock_bh(&state->idev->lock); state 2385 net/ipv6/mcast.c im = state->idev->mc_list; state 2417 net/ipv6/mcast.c struct igmp6_mc_iter_state *state = igmp6_mc_seq_private(seq); state 2418 net/ipv6/mcast.c if (likely(state->idev != NULL)) { state 2419 net/ipv6/mcast.c read_unlock_bh(&state->idev->lock); state 2420 net/ipv6/mcast.c in6_dev_put(state->idev); state 2421 net/ipv6/mcast.c state->idev = NULL; state 2423 net/ipv6/mcast.c state->dev = NULL; state 2430 net/ipv6/mcast.c struct igmp6_mc_iter_state *state = igmp6_mc_seq_private(seq); state 2434 net/ipv6/mcast.c state->dev->ifindex, state->dev->name, state 2476 net/ipv6/mcast.c struct igmp6_mcf_iter_state *state = igmp6_mcf_seq_private(seq); state 2479 net/ipv6/mcast.c state->idev = NULL; state 2480 net/ipv6/mcast.c state->im = NULL; state 2481 net/ipv6/mcast.c for_each_netdev(net, state->dev) { state 2483 net/ipv6/mcast.c idev = in6_dev_get(state->dev); state 2492 net/ipv6/mcast.c state->im = im; state 2493 net/ipv6/mcast.c state->idev = idev; state 2506 net/ipv6/mcast.c struct igmp6_mcf_iter_state *state = igmp6_mcf_seq_private(seq); state 2510 net/ipv6/mcast.c spin_unlock_bh(&state->im->mca_lock); state 2511 net/ipv6/mcast.c state->im = state->im->next; state 2512 net/ipv6/mcast.c while (!state->im) { state 2513 net/ipv6/mcast.c if (likely(state->idev != NULL)) { state 2514 net/ipv6/mcast.c read_unlock_bh(&state->idev->lock); state 2515 net/ipv6/mcast.c in6_dev_put(state->idev); state 2517 net/ipv6/mcast.c state->dev = next_net_device(state->dev); state 2518 net/ipv6/mcast.c if (!state->dev) { state 2519 net/ipv6/mcast.c state->idev = NULL; state 2522 net/ipv6/mcast.c state->idev = in6_dev_get(state->dev); state 2523 net/ipv6/mcast.c if (!state->idev) state 2525 net/ipv6/mcast.c read_lock_bh(&state->idev->lock); state 2526 net/ipv6/mcast.c state->im = state->idev->mc_list; state 2528 net/ipv6/mcast.c if (!state->im) state 2530 net/ipv6/mcast.c spin_lock_bh(&state->im->mca_lock); state 2531 net/ipv6/mcast.c psf = state->im->mca_sources; state 2567 net/ipv6/mcast.c struct igmp6_mcf_iter_state *state = igmp6_mcf_seq_private(seq); state 2568 net/ipv6/mcast.c if (likely(state->im != NULL)) { state 2569 net/ipv6/mcast.c spin_unlock_bh(&state->im->mca_lock); state 2570 net/ipv6/mcast.c state->im = NULL; state 2572 net/ipv6/mcast.c if (likely(state->idev != NULL)) { state 2573 net/ipv6/mcast.c read_unlock_bh(&state->idev->lock); state 2574 net/ipv6/mcast.c in6_dev_put(state->idev); state 2575 net/ipv6/mcast.c state->idev = NULL; state 2577 net/ipv6/mcast.c state->dev = NULL; state 2584 net/ipv6/mcast.c struct igmp6_mcf_iter_state *state = igmp6_mcf_seq_private(seq); state 2595 net/ipv6/mcast.c state->dev->ifindex, state->dev->name, state 2596 net/ipv6/mcast.c NIP6(state->im->mca_addr), state 1982 net/ipv6/tcp_ipv6.c switch (st->state) { state 110 net/ipv6/xfrm6_input.c likely(x->km.state == XFRM_STATE_VALID) && state 1531 net/ipx/af_ipx.c sock->state = SS_UNCONNECTED; state 1571 net/ipx/af_ipx.c sock->state = SS_CONNECTED; state 798 net/irda/af_irda.c sock->state = SS_CONNECTED; state 844 net/irda/af_irda.c if (sock->state != SS_UNCONNECTED) state 922 net/irda/af_irda.c newsock->state = SS_CONNECTED; state 963 net/irda/af_irda.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { state 964 net/irda/af_irda.c sock->state = SS_CONNECTED; state 968 net/irda/af_irda.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { state 969 net/irda/af_irda.c sock->state = SS_UNCONNECTED; state 977 net/irda/af_irda.c sock->state = SS_UNCONNECTED; state 1020 net/irda/af_irda.c sock->state = SS_CONNECTING; state 1041 net/irda/af_irda.c sock->state = SS_UNCONNECTED; state 1046 net/irda/af_irda.c sock->state = SS_CONNECTED; state 563 net/irda/ircomm/ircomm_core.c ircomm_state[ self->state], state 80 net/irda/ircomm/ircomm_event.c static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event, state 233 net/irda/ircomm/ircomm_event.c ircomm_state[self->state], ircomm_event[event]); state 235 net/irda/ircomm/ircomm_event.c return (*state[self->state])(self, event, skb, info); state 246 net/irda/ircomm/ircomm_event.c self->state = state; state 249 net/irda/ircomm/ircomm_event.c ircomm_state[self->state], self->service_type); state 305 net/irda/ircomm/ircomm_tty.c current->state = TASK_INTERRUPTIBLE; state 321 net/irda/ircomm/ircomm_tty.c self->state == IRCOMM_TTY_READY) state 864 net/irda/ircomm/ircomm_tty.c current->state = TASK_RUNNING; state 1251 net/irda/ircomm/ircomm_tty.c ret += sprintf(buf+ret, "State: %s\n", ircomm_tty_state[self->state]); state 112 net/irda/ircomm/ircomm_tty_attach.c static int (*state[])(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, state 632 net/irda/ircomm/ircomm_tty_attach.c ircomm_tty_state[self->state], ircomm_tty_event[event]); state 634 net/irda/ircomm/ircomm_tty_attach.c return (*state[self->state])(self, event, skb, info); state 652 net/irda/ircomm/ircomm_tty_attach.c self->state = state; state 669 net/irda/ircomm/ircomm_tty_attach.c ircomm_tty_state[self->state], ircomm_tty_event[event]); state 733 net/irda/ircomm/ircomm_tty_attach.c ircomm_tty_state[self->state], ircomm_tty_event[event]); state 806 net/irda/ircomm/ircomm_tty_attach.c ircomm_tty_state[self->state], ircomm_tty_event[event]); state 864 net/irda/ircomm/ircomm_tty_attach.c ircomm_tty_state[self->state], ircomm_tty_event[event]); state 913 net/irda/ircomm/ircomm_tty_attach.c ircomm_tty_state[self->state], ircomm_tty_event[event]); state 303 net/irda/ircomm/ircomm_tty_ioctl.c struct ircomm_tty_cb old_state, *state; state 311 net/irda/ircomm/ircomm_tty_ioctl.c state = self state 315 net/irda/ircomm/ircomm_tty_ioctl.c if ((new_serial.baud_base != state->settings.data_rate) || state 316 net/irda/ircomm/ircomm_tty_ioctl.c (new_serial.close_delay != state->close_delay) || state 320 net/irda/ircomm/ircomm_tty_ioctl.c state->flags = ((state->flags & ~ASYNC_USR_MASK) | state 208 net/irda/irda_device.c } while ((timeout == 0) && (task->state != IRDA_TASK_DONE)); state 217 net/irda/irda_device.c if (task->state == IRDA_TASK_DONE) { state 227 net/irda/irda_device.c if (task->parent->state == IRDA_TASK_CHILD_WAIT) { state 228 net/irda/irda_device.c task->parent->state = IRDA_TASK_CHILD_DONE; state 99 net/irda/iriap_event.c self->client_state = state; state 107 net/irda/iriap_event.c self->call_state = state; state 115 net/irda/iriap_event.c self->server_state = state; state 123 net/irda/iriap_event.c self->r_connect_state = state; state 86 net/irda/irlan/irlan_client.c (self->client.state == IRLAN_IDLE) && state 87 net/irda/irlan/irlan_client.c (self->provider.state != IRLAN_IDLE)) { state 117 net/irda/irlan/irlan_client.c if ((self->client.state != IRLAN_IDLE) || state 62 net/irda/irlan/irlan_client_event.c static int (*state[])(struct irlan_cb *, IRLAN_EVENT event, struct sk_buff *) = state 83 net/irda/irlan/irlan_client_event.c (*state[ self->client.state]) (self, event, skb); state 162 net/irda/irlan/irlan_client_event.c (self->provider.state != IRLAN_IDLE)) state 325 net/irda/irlan/irlan_client_event.c if (self->provider.state == IRLAN_OPEN) { state 600 net/irda/irlan/irlan_common.c (self->client.state == IRLAN_IDLE)) state 1183 net/irda/irlan/irlan_common.c irlan_state[ self->client.state]); state 1185 net/irda/irlan/irlan_common.c irlan_state[ self->provider.state]); state 305 net/irda/irlan/irlan_eth.c if (self->client.state != IRLAN_DATA) { state 43 net/irda/irlan/irlan_event.c IRDA_DEBUG(2, "%s(), %s\n", __func__ , irlan_state[state]); state 48 net/irda/irlan/irlan_event.c self->client.state = state; state 53 net/irda/irlan/irlan_event.c IRDA_DEBUG(2, "%s(), %s\n", __func__ , irlan_state[state]); state 58 net/irda/irlan/irlan_event.c self->provider.state = state; state 141 net/irda/irlan/irlan_provider.c IRDA_ASSERT(self->provider.state == IRLAN_IDLE, return;); state 156 net/irda/irlan/irlan_provider.c (self->client.state == IRLAN_IDLE)) state 42 net/irda/irlan/irlan_provider_event.c static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event, state 61 net/irda/irlan/irlan_provider_event.c IRDA_ASSERT(*state[ self->provider.state] != NULL, return;); state 63 net/irda/irlan/irlan_provider_event.c (*state[self->provider.state]) (self, event, skb); state 115 net/irda/irlan/irlan_provider_event.c if (self->client.state == IRLAN_IDLE) { state 138 net/irda/irlap.c self->state = LAP_OFFLINE; state 170 net/irda/irlap.c self->state = LAP_NDM; state 296 net/irda/irlap.c if ((self->state == LAP_NDM) && !self->media_busy) state 372 net/irda/irlap.c if ((self->state == LAP_XMIT_P) || (self->state == LAP_XMIT_S)) { state 452 net/irda/irlap.c switch (self->state) { state 521 net/irda/irlap.c if (self->state != LAP_NDM) { state 652 net/irda/irlap.c if (self->state == LAP_RESET_WAIT) state 1145 net/irda/irlap.c irlap_state[self->state]); state 141 net/irda/irlap_event.c static int (*state[])(struct irlap_cb *self, IRLAP_EVENT event, state 245 net/irda/irlap_event.c irlap_event[event], irlap_state[self->state]); state 247 net/irda/irlap_event.c ret = (*state[self->state])(self, event, skb, info); state 252 net/irda/irlap_event.c switch (self->state) { state 287 net/irda/irlap_event.c ret = (*state[self->state])(self, SEND_I_CMD, state 306 net/irda/irlap_event.c ret = (*state[self->state])(self, DISCONNECT_REQUEST, state 466 net/irda/irlap_event.c ret = (*state[self->state])(self, SEND_UI_FRAME, state 481 net/irda/irlap_event.c ret = (*state[self->state])(self, state 1423 net/irda/irlap_event.c IRDA_DEBUG(1, "%s: RECV_UI_FRAME: next state %s\n", __func__, irlap_state[self->state]); state 272 net/irda/irlap_frame.c if (self->state == LAP_NDM) state 125 net/irda/irlmp_event.c self->lap_state = state; state 135 net/irda/irlmp_event.c self->lsap_state = state; state 1726 net/irda/irnet/irnet_irda.c char * state; state 1771 net/irda/irnet/irnet_irda.c state = "connected"; state 1774 net/irda/irnet/irnet_irda.c state = "connecting"; state 1777 net/irda/irnet/irnet_irda.c state = "searching"; state 1780 net/irda/irnet/irnet_irda.c state = "weird"; state 1782 net/irda/irnet/irnet_irda.c state = "idle"; state 1783 net/irda/irnet/irnet_irda.c seq_printf(m, "\n IrDA state: %s, ", state); state 308 net/irda/irnet/irnet_ppp.c current->state = TASK_INTERRUPTIBLE; state 324 net/irda/irnet/irnet_ppp.c current->state = TASK_RUNNING; state 108 net/irda/timer.c if (self->state == LAP_NDM) state 284 net/irda/wrapper.c switch(rx_buff->state) { state 304 net/irda/wrapper.c rx_buff->state = BEGIN_FRAME; state 328 net/irda/wrapper.c switch(rx_buff->state) { state 343 net/irda/wrapper.c rx_buff->state = OUTSIDE_FRAME; state 382 net/irda/wrapper.c switch(rx_buff->state) { state 396 net/irda/wrapper.c rx_buff->state = LINK_ESCAPE; state 412 net/irda/wrapper.c switch(rx_buff->state) { state 425 net/irda/wrapper.c rx_buff->state = OUTSIDE_FRAME; state 440 net/irda/wrapper.c rx_buff->state = INSIDE_FRAME; state 444 net/irda/wrapper.c rx_buff->state = OUTSIDE_FRAME; state 460 net/irda/wrapper.c rx_buff->state = INSIDE_FRAME; state 248 net/iucv/af_iucv.c sock->state = SS_UNCONNECTED; state 341 net/iucv/af_iucv.c while (sk->sk_state != state && sk->sk_state != state2) { state 582 net/iucv/af_iucv.c newsock->state = SS_CONNECTED; state 59 net/key/af_key.c struct xfrm_state_walk state; state 836 net/key/af_key.c switch (x->km.state) { state 1289 net/key/af_key.c x->km.state = XFRM_STATE_DEAD; state 1412 net/key/af_key.c if (x->km.state == XFRM_STATE_ACQ) { state 1413 net/key/af_key.c x->km.state = XFRM_STATE_ERROR; state 1505 net/key/af_key.c x->km.state = XFRM_STATE_DEAD; state 1779 net/key/af_key.c return xfrm_state_walk(&pfk->dump.u.state, dump_sa, (void *) pfk); state 1784 net/key/af_key.c xfrm_state_walk_done(&pfk->dump.u.state); state 1803 net/key/af_key.c xfrm_state_walk_init(&pfk->dump.u.state, proto); state 135 net/lapb/lapb_iface.c lapb->state = LAPB_STATE_0; state 208 net/lapb/lapb_iface.c parms->state = lapb->state; state 240 net/lapb/lapb_iface.c if (lapb->state == LAPB_STATE_0) { state 272 net/lapb/lapb_iface.c if (lapb->state == LAPB_STATE_1) state 276 net/lapb/lapb_iface.c if (lapb->state == LAPB_STATE_3 || lapb->state == LAPB_STATE_4) state 284 net/lapb/lapb_iface.c lapb->state = LAPB_STATE_1; state 301 net/lapb/lapb_iface.c switch (lapb->state) { state 314 net/lapb/lapb_iface.c lapb->state = LAPB_STATE_0; state 329 net/lapb/lapb_iface.c lapb->state = LAPB_STATE_2; state 354 net/lapb/lapb_iface.c if (lapb->state != LAPB_STATE_3 && lapb->state != LAPB_STATE_4) state 71 net/lapb/lapb_in.c lapb->state = LAPB_STATE_3; state 99 net/lapb/lapb_in.c lapb->state = LAPB_STATE_3; state 209 net/lapb/lapb_in.c lapb->state = LAPB_STATE_3; state 230 net/lapb/lapb_in.c lapb->state = LAPB_STATE_0; state 282 net/lapb/lapb_in.c lapb->state = LAPB_STATE_0; state 299 net/lapb/lapb_in.c lapb->state = LAPB_STATE_0; state 412 net/lapb/lapb_in.c lapb->state = LAPB_STATE_0; state 426 net/lapb/lapb_in.c lapb->state = LAPB_STATE_0; state 451 net/lapb/lapb_in.c lapb->state = LAPB_STATE_4; state 475 net/lapb/lapb_in.c lapb->state = LAPB_STATE_4; state 502 net/lapb/lapb_in.c lapb->state = LAPB_STATE_4; state 522 net/lapb/lapb_in.c lapb->state = LAPB_STATE_4; state 590 net/lapb/lapb_in.c lapb->state = LAPB_STATE_1; state 606 net/lapb/lapb_in.c lapb->state = LAPB_STATE_4; state 648 net/lapb/lapb_in.c lapb->state = LAPB_STATE_3; state 676 net/lapb/lapb_in.c lapb->state = LAPB_STATE_3; state 709 net/lapb/lapb_in.c switch (lapb->state) { state 65 net/lapb/lapb_out.c lapb->dev, lapb->state, poll_bit, lapb->vs, lapb->vr); state 153 net/lapb/lapb_out.c lapb->dev, lapb->state, state 169 net/lapb/lapb_out.c lapb->dev, lapb->state); state 175 net/lapb/lapb_out.c lapb->dev, lapb->state); state 188 net/lapb/lapb_out.c lapb->dev, lapb->state, lapb->vr); state 200 net/lapb/lapb_out.c lapb->dev, lapb->state, lapb->vr); state 116 net/lapb/lapb_subr.c lapb->dev, lapb->state, state 289 net/lapb/lapb_subr.c lapb->dev, lapb->state, state 306 net/lapb/lapb_subr.c lapb->dev, lapb->state, skb->data[1], state 91 net/lapb/lapb_timer.c switch (lapb->state) { state 107 net/lapb/lapb_timer.c lapb->state = LAPB_STATE_0; state 135 net/lapb/lapb_timer.c lapb->state = LAPB_STATE_0; state 156 net/lapb/lapb_timer.c lapb->state = LAPB_STATE_0; state 175 net/lapb/lapb_timer.c lapb->state = LAPB_STATE_0; state 117 net/llc/af_llc.c if (unlikely(llc_data_accept_state(llc->state) || state 419 net/llc/af_llc.c if (unlikely(sock->state == SS_CONNECTING)) state 430 net/llc/af_llc.c sock->state = SS_CONNECTING; state 437 net/llc/af_llc.c sock->state = SS_UNCONNECTED; state 456 net/llc/af_llc.c sock->state = SS_CONNECTED; state 463 net/llc/af_llc.c sock->state = SS_UNCONNECTED; state 481 net/llc/af_llc.c if (unlikely(sock->state != SS_UNCONNECTED)) state 550 net/llc/af_llc.c (!llc_data_accept_state(llc->state) && state 614 net/llc/af_llc.c if (unlikely(sock->state != SS_UNCONNECTED || state 635 net/llc/af_llc.c newsock->state = SS_CONNECTED; state 1431 net/llc/llc_c_ac.c if (llc_sk(sk)->state == LLC_CONN_OUT_OF_SVC) { state 231 net/llc/llc_c_ev.c __func__, llc_sk(sk)->state, ns, vr); state 309 net/llc/llc_c_ev.c __func__, llc_sk(sk)->state, ns, vr); state 514 net/llc/llc_c_ev.c __func__, llc_sk(sk)->state, vs, nr); state 533 net/llc/llc_c_ev.c __func__, llc_sk(sk)->state, vs, nr); state 120 net/llc/llc_conn.c sk->sk_socket->state = SS_UNCONNECTED; state 150 net/llc/llc_conn.c if (!llc_data_accept_state(llc->state)) state 159 net/llc/llc_conn.c sk->sk_socket->state = SS_UNCONNECTED; state 162 net/llc/llc_conn.c sk->sk_socket->state = SS_CONNECTED; state 171 net/llc/llc_conn.c sk->sk_socket->state = SS_UNCONNECTED; state 385 net/llc/llc_conn.c if (llc->state > NBR_CONN_STATES) state 392 net/llc/llc_conn.c llc->state = trans->next_state; state 393 net/llc/llc_conn.c if (!llc_data_accept_state(llc->state)) state 417 net/llc/llc_conn.c &llc_conn_state_table[llc->state - 1]; state 423 net/llc/llc_conn.c llc_find_offset(llc->state - 1, ev->type); state 575 net/llc/llc_conn.c return state != LLC_CONN_STATE_NORMAL && state != LLC_CONN_STATE_BUSY && state 576 net/llc/llc_conn.c state != LLC_CONN_STATE_REJ; state 592 net/llc/llc_conn.c for (next_trans = state->transitions + offset; state 607 net/llc/llc_conn.c int state, ev_type, next_offset; state 609 net/llc/llc_conn.c for (state = 0; state < NBR_CONN_STATES; state++) { state 610 net/llc/llc_conn.c curr_state = &llc_conn_state_table[state]; state 613 net/llc/llc_conn.c llc_offset_table[state][ev_type] = next_offset; state 636 net/llc/llc_conn.c rc = llc_offset_table[state][0]; break; state 638 net/llc/llc_conn.c rc = llc_offset_table[state][4]; break; state 640 net/llc/llc_conn.c rc = llc_offset_table[state][1]; break; state 645 net/llc/llc_conn.c rc = llc_offset_table[state][3]; break; state 799 net/llc/llc_conn.c if (likely(llc->state > 1)) /* not closed */ state 805 net/llc/llc_conn.c if (likely(llc->state > 1)) /* not closed */ state 830 net/llc/llc_conn.c llc->state = LLC_CONN_STATE_ADM; state 893 net/llc/llc_conn.c llc->state = LLC_CONN_OUT_OF_SVC; state 39 net/llc/llc_core.c sap->state = LLC_SAP_STATE_ACTIVE; state 47 net/llc/llc_if.c if (unlikely(llc->state == LLC_CONN_STATE_ADM)) state 50 net/llc/llc_if.c if (unlikely(llc_data_accept_state(llc->state) || /* data_conn_refuse */ state 132 net/llc/llc_if.c llc_sk(sk)->state == LLC_CONN_STATE_ADM || state 133 net/llc/llc_if.c llc_sk(sk)->state == LLC_CONN_OUT_OF_SVC) state 178 net/llc/llc_proc.c llc->daddr.lsap, llc_conn_state_names[llc->state], state 125 net/llc/llc_sap.c struct llc_sap_state *curr_state = &llc_sap_state_table[sap->state - 1]; state 174 net/llc/llc_sap.c if (sap->state > LLC_NR_SAP_STATES) state 190 net/llc/llc_sap.c sap->state = trans->next_state; state 40 net/llc/llc_station.c u8 state; state 568 net/llc/llc_station.c &llc_station_state_table[llc_main_station.state - 1]; state 604 net/llc/llc_station.c if (llc_main_station.state > LLC_NBR_STATION_STATES) state 617 net/llc/llc_station.c llc_main_station.state = trans->next_state; state 710 net/llc/llc_station.c llc_main_station.state = LLC_STATION_STATE_DOWN; state 252 net/mac80211/debugfs_netdev.c DEBUGFS_ADD(state, sta); state 383 net/mac80211/debugfs_netdev.c DEBUGFS_DEL(state, sta); state 537 net/mac80211/debugfs_netdev.c if (state != NETDEV_CHANGENAME) state 187 net/mac80211/debugfs_sta.c char state[4]; state 202 net/mac80211/debugfs_sta.c strcpy(state, "off "); state 209 net/mac80211/debugfs_sta.c strcpy(state, "on "); state 215 net/mac80211/debugfs_sta.c tid_num, state); state 219 net/mac80211/debugfs_sta.c strcpy(state, "on "); state 224 net/mac80211/debugfs_sta.c strcpy(state, "off"); state 230 net/mac80211/debugfs_sta.c tid_num, state, rs); state 327 net/mac80211/ht.c u8 *state; state 337 net/mac80211/ht.c state = &sta->ampdu_mlme.tid_state_tx[tid]; state 340 net/mac80211/ht.c if (!(*state & HT_ADDBA_REQUESTED_MSK)) { state 342 net/mac80211/ht.c *state = HT_AGG_STATE_IDLE; state 355 net/mac80211/ht.c *state = HT_AGG_STATE_OPERATIONAL; state 384 net/mac80211/ht.c u8 *state; state 415 net/mac80211/ht.c state = &sta->ampdu_mlme.tid_state_tx[tid]; state 417 net/mac80211/ht.c if (*state != HT_AGG_STATE_IDLE) { state 461 net/mac80211/ht.c *state |= HT_ADDBA_REQUESTED_MSK; state 479 net/mac80211/ht.c *state = HT_AGG_STATE_IDLE; state 525 net/mac80211/ht.c u8 *state; state 540 net/mac80211/ht.c state = &sta->ampdu_mlme.tid_state_tx[tid]; state 543 net/mac80211/ht.c if (*state != HT_AGG_STATE_OPERATIONAL) { state 555 net/mac80211/ht.c *state = HT_AGG_STATE_REQ_STOP_BA_MSK | state 565 net/mac80211/ht.c *state = HT_AGG_STATE_OPERATIONAL; state 581 net/mac80211/ht.c u8 *state; state 603 net/mac80211/ht.c state = &sta->ampdu_mlme.tid_state_tx[tid]; state 606 net/mac80211/ht.c if (!(*state & HT_ADDBA_REQUESTED_MSK)) { state 609 net/mac80211/ht.c *state); state 616 net/mac80211/ht.c WARN_ON_ONCE(*state & HT_ADDBA_DRV_READY_MSK); state 618 net/mac80211/ht.c *state |= HT_ADDBA_DRV_READY_MSK; state 620 net/mac80211/ht.c if (*state == HT_AGG_STATE_OPERATIONAL) { state 635 net/mac80211/ht.c u8 *state; state 662 net/mac80211/ht.c state = &sta->ampdu_mlme.tid_state_tx[tid]; state 668 net/mac80211/ht.c if ((*state & HT_AGG_STATE_REQ_STOP_BA_MSK) == 0) { state 676 net/mac80211/ht.c if (*state & HT_AGG_STATE_INITIATOR_MSK) state 691 net/mac80211/ht.c *state = HT_AGG_STATE_IDLE; state 914 net/mac80211/ht.c u8 *state; state 919 net/mac80211/ht.c state = &sta->ampdu_mlme.tid_state_tx[tid]; state 923 net/mac80211/ht.c if (!(*state & HT_ADDBA_REQUESTED_MSK)) { state 943 net/mac80211/ht.c *state |= HT_ADDBA_RECEIVED_MSK; state 946 net/mac80211/ht.c if (*state == HT_AGG_STATE_OPERATIONAL) state 953 net/mac80211/ht.c *state = HT_AGG_STATE_OPERATIONAL; state 319 net/mac80211/ieee80211_i.h enum ieee80211_sta_mlme_state state; state 470 net/mac80211/ieee80211_i.h struct dentry *state; state 426 net/mac80211/iface.c sdata->u.sta.state = IEEE80211_STA_MLME_DISABLED; state 769 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DISABLED; state 777 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DIRECT_PROBE; state 801 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DISABLED; state 805 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_AUTHENTICATE; state 867 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DISABLED; state 924 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DISABLED; state 928 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_ASSOCIATE; state 934 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DISABLED; state 957 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_ASSOCIATED; state 1037 net/mac80211/mlme.c if (ifsta->state != IEEE80211_STA_MLME_AUTHENTICATE && state 1141 net/mac80211/mlme.c if (ifsta->state == IEEE80211_STA_MLME_AUTHENTICATE || state 1142 net/mac80211/mlme.c ifsta->state == IEEE80211_STA_MLME_ASSOCIATE || state 1143 net/mac80211/mlme.c ifsta->state == IEEE80211_STA_MLME_ASSOCIATED) { state 1144 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DIRECT_PROBE; state 1173 net/mac80211/mlme.c if (ifsta->state == IEEE80211_STA_MLME_ASSOCIATED) { state 1174 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_ASSOCIATE; state 1204 net/mac80211/mlme.c if (ifsta->state != IEEE80211_STA_MLME_ASSOCIATE) state 1485 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_IBSS_JOINED; state 1740 net/mac80211/mlme.c ifsta->state != IEEE80211_STA_MLME_IBSS_JOINED || state 2119 net/mac80211/mlme.c if (ifsta->state == IEEE80211_STA_MLME_IBSS_JOINED && state 2129 net/mac80211/mlme.c } else if (ifsta->state != IEEE80211_STA_MLME_IBSS_JOINED) { state 2149 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_IBSS_SEARCH; state 2213 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DIRECT_PROBE; state 2215 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_AUTHENTICATE; state 2228 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_AUTHENTICATE; state 2231 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_DISABLED; state 2259 net/mac80211/mlme.c if (ifsta->state != IEEE80211_STA_MLME_DIRECT_PROBE && state 2260 net/mac80211/mlme.c ifsta->state != IEEE80211_STA_MLME_AUTHENTICATE && state 2261 net/mac80211/mlme.c ifsta->state != IEEE80211_STA_MLME_ASSOCIATE && state 2275 net/mac80211/mlme.c switch (ifsta->state) { state 2402 net/mac80211/mlme.c if (ifsta->state == IEEE80211_STA_MLME_ASSOCIATED) state 2449 net/mac80211/mlme.c ifsta->state = IEEE80211_STA_MLME_IBSS_SEARCH; state 2555 net/mac80211/mlme.c (!(ifsta->state == IEEE80211_STA_MLME_IBSS_JOINED) && state 510 net/mac80211/wext.c if (sdata->u.sta.state == IEEE80211_STA_MLME_ASSOCIATED || state 511 net/mac80211/wext.c sdata->u.sta.state == IEEE80211_STA_MLME_IBSS_JOINED) { state 459 net/netfilter/ipvs/ip_vs_conn.c ip_vs_fwd_tag(cp), cp->state, state 522 net/netfilter/ipvs/ip_vs_conn.c ip_vs_fwd_tag(cp), cp->state, state 724 net/netfilter/ipvs/ip_vs_conn.c cp->state = 0; state 830 net/netfilter/ipvs/ip_vs_conn.c ip_vs_state_name(cp->protocol, cp->state), state 841 net/netfilter/ipvs/ip_vs_conn.c ip_vs_state_name(cp->protocol, cp->state), state 893 net/netfilter/ipvs/ip_vs_conn.c ip_vs_state_name(cp->protocol, cp->state), state 905 net/netfilter/ipvs/ip_vs_conn.c ip_vs_state_name(cp->protocol, cp->state), state 989 net/netfilter/ipvs/ip_vs_conn.c switch(cp->state) { state 1350 net/netfilter/ipvs/ip_vs_core.c cp->state == IP_VS_TCP_S_ESTABLISHED) && state 1353 net/netfilter/ipvs/ip_vs_core.c ((cp->protocol == IPPROTO_TCP) && (cp->old_state != cp->state) && state 1354 net/netfilter/ipvs/ip_vs_core.c ((cp->state == IP_VS_TCP_S_FIN_WAIT) || state 1355 net/netfilter/ipvs/ip_vs_core.c (cp->state == IP_VS_TCP_S_CLOSE_WAIT) || state 1356 net/netfilter/ipvs/ip_vs_core.c (cp->state == IP_VS_TCP_S_TIME_WAIT))))) state 1358 net/netfilter/ipvs/ip_vs_core.c cp->old_state = cp->state; state 2118 net/netfilter/ipvs/ip_vs_ctl.c ret = start_sync_thread(dm->state, dm->mcast_ifn, dm->syncid); state 2122 net/netfilter/ipvs/ip_vs_ctl.c ret = stop_sync_thread(dm->state); state 2481 net/netfilter/ipvs/ip_vs_ctl.c d[0].state = IP_VS_STATE_MASTER; state 2486 net/netfilter/ipvs/ip_vs_ctl.c d[1].state = IP_VS_STATE_BACKUP; state 2950 net/netfilter/ipvs/ip_vs_ctl.c NLA_PUT_U32(skb, IPVS_DAEMON_ATTR_STATE, state); state 2974 net/netfilter/ipvs/ip_vs_ctl.c if (ip_vs_genl_fill_daemon(skb, state, mcast_ifn, syncid)) state 161 net/netfilter/ipvs/ip_vs_ftp.c if (cp->state != IP_VS_TCP_S_ESTABLISHED) state 271 net/netfilter/ipvs/ip_vs_ftp.c if (cp->state != IP_VS_TCP_S_ESTABLISHED) state 150 net/netfilter/ipvs/ip_vs_proto.c return pp->state_name(state); state 410 net/netfilter/ipvs/ip_vs_proto_tcp.c if (state >= IP_VS_TCP_S_LAST) state 412 net/netfilter/ipvs/ip_vs_proto_tcp.c return tcp_state_name_table[state] ? tcp_state_name_table[state] : "?"; state 521 net/netfilter/ipvs/ip_vs_proto_tcp.c new_state = tcp_state_table[state_off+state_idx].next_state[cp->state]; state 524 net/netfilter/ipvs/ip_vs_proto_tcp.c if (new_state != cp->state) { state 540 net/netfilter/ipvs/ip_vs_proto_tcp.c tcp_state_name(cp->state), state 559 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->timeout = pp->timeout_table[cp->state = new_state]; state 692 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->state = IP_VS_TCP_S_LISTEN; state 487 net/netfilter/ipvs/ip_vs_proto_udp.c if (state >= IP_VS_UDP_S_LAST) state 489 net/netfilter/ipvs/ip_vs_proto_udp.c return udp_state_name_table[state] ? udp_state_name_table[state] : "?"; state 61 net/netfilter/ipvs/ip_vs_sync.c __be16 state; /* state info */ state 265 net/netfilter/ipvs/ip_vs_sync.c s->state = htons(cp->state); state 326 net/netfilter/ipvs/ip_vs_sync.c unsigned flags, state; state 347 net/netfilter/ipvs/ip_vs_sync.c state = ntohs(s->state); state 355 net/netfilter/ipvs/ip_vs_sync.c if (state >= pp->num_states) { state 357 net/netfilter/ipvs/ip_vs_sync.c pp->name, state); state 363 net/netfilter/ipvs/ip_vs_sync.c if (state > 0) { state 365 net/netfilter/ipvs/ip_vs_sync.c state); state 366 net/netfilter/ipvs/ip_vs_sync.c state = 0; state 396 net/netfilter/ipvs/ip_vs_sync.c if (state != IP_VS_TCP_S_ESTABLISHED) state 420 net/netfilter/ipvs/ip_vs_sync.c (cp->state != state)) { state 424 net/netfilter/ipvs/ip_vs_sync.c (state != IP_VS_TCP_S_ESTABLISHED)) { state 429 net/netfilter/ipvs/ip_vs_sync.c (state == IP_VS_TCP_S_ESTABLISHED)) { state 439 net/netfilter/ipvs/ip_vs_sync.c cp->state = state; state 440 net/netfilter/ipvs/ip_vs_sync.c cp->old_state = cp->state; state 448 net/netfilter/ipvs/ip_vs_sync.c cp->timeout = pp->timeout_table[state]; state 831 net/netfilter/ipvs/ip_vs_sync.c if (state == IP_VS_STATE_MASTER) { state 842 net/netfilter/ipvs/ip_vs_sync.c } else if (state == IP_VS_STATE_BACKUP) { state 862 net/netfilter/ipvs/ip_vs_sync.c set_sync_mesg_maxlen(state); state 863 net/netfilter/ipvs/ip_vs_sync.c if (state == IP_VS_STATE_BACKUP) { state 884 net/netfilter/ipvs/ip_vs_sync.c ip_vs_sync_state |= state; state 906 net/netfilter/ipvs/ip_vs_sync.c if (state == IP_VS_STATE_MASTER) { state 924 net/netfilter/ipvs/ip_vs_sync.c } else if (state == IP_VS_STATE_BACKUP) { state 424 net/netfilter/nf_conntrack_proto_dccp.c u_int8_t state; state 429 net/netfilter/nf_conntrack_proto_dccp.c state = dccp_state_table[CT_DCCP_ROLE_CLIENT][dh->dccph_type][CT_DCCP_NONE]; state 430 net/netfilter/nf_conntrack_proto_dccp.c switch (state) { state 445 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.state = CT_DCCP_NONE; state 487 net/netfilter/nf_conntrack_proto_dccp.c old_state = ct->proto.dccp.state; state 543 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.state = new_state; state 610 net/netfilter/nf_conntrack_proto_dccp.c return seq_printf(s, "%s ", dccp_state_names[ct->proto.dccp.state]); state 623 net/netfilter/nf_conntrack_proto_dccp.c NLA_PUT_U8(skb, CTA_PROTOINFO_DCCP_STATE, ct->proto.dccp.state); state 656 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.state = nla_get_u8(tb[CTA_PROTOINFO_DCCP_STATE]); state 169 net/netfilter/nf_conntrack_proto_sctp.c enum sctp_conntrack state; state 172 net/netfilter/nf_conntrack_proto_sctp.c state = ct->proto.sctp.state; state 175 net/netfilter/nf_conntrack_proto_sctp.c return seq_printf(s, "%s ", sctp_conntrack_names[state]); state 345 net/netfilter/nf_conntrack_proto_sctp.c old_state = ct->proto.sctp.state; state 370 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.state = new_state; state 460 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.state = new_state; state 481 net/netfilter/nf_conntrack_proto_sctp.c NLA_PUT_U8(skb, CTA_PROTOINFO_SCTP_STATE, ct->proto.sctp.state); state 531 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.state = nla_get_u8(tb[CTA_PROTOINFO_SCTP_STATE]); state 298 net/netfilter/nf_conntrack_proto_tcp.c enum tcp_conntrack state; state 301 net/netfilter/nf_conntrack_proto_tcp.c state = ct->proto.tcp.state; state 304 net/netfilter/nf_conntrack_proto_tcp.c return seq_printf(s, "%s ", tcp_conntrack_names[state]); state 381 net/netfilter/nf_conntrack_proto_tcp.c state->td_scale = state 382 net/netfilter/nf_conntrack_proto_tcp.c state->flags = 0; state 403 net/netfilter/nf_conntrack_proto_tcp.c state->flags |= IP_CT_TCP_FLAG_SACK_PERM; state 406 net/netfilter/nf_conntrack_proto_tcp.c state->td_scale = *(u_int8_t *)ptr; state 408 net/netfilter/nf_conntrack_proto_tcp.c if (state->td_scale > 14) { state 410 net/netfilter/nf_conntrack_proto_tcp.c state->td_scale = 14; state 412 net/netfilter/nf_conntrack_proto_tcp.c state->flags |= state 492 net/netfilter/nf_conntrack_proto_tcp.c struct ip_ct_tcp_state *sender = &state->seen[dir]; state 493 net/netfilter/nf_conntrack_proto_tcp.c struct ip_ct_tcp_state *receiver = &state->seen[!dir]; state 553 net/netfilter/nf_conntrack_proto_tcp.c } else if (((state->state == TCP_CONNTRACK_SYN_SENT state 555 net/netfilter/nf_conntrack_proto_tcp.c || (state->state == TCP_CONNTRACK_SYN_RECV state 587 net/netfilter/nf_conntrack_proto_tcp.c || (seq == 0 && state->state == TCP_CONNTRACK_SYN_SENT))) state 651 net/netfilter/nf_conntrack_proto_tcp.c if (state->last_dir == dir state 652 net/netfilter/nf_conntrack_proto_tcp.c && state->last_seq == seq state 653 net/netfilter/nf_conntrack_proto_tcp.c && state->last_ack == ack state 654 net/netfilter/nf_conntrack_proto_tcp.c && state->last_end == end state 655 net/netfilter/nf_conntrack_proto_tcp.c && state->last_win == win) state 656 net/netfilter/nf_conntrack_proto_tcp.c state->retrans++; state 658 net/netfilter/nf_conntrack_proto_tcp.c state->last_dir = dir; state 659 net/netfilter/nf_conntrack_proto_tcp.c state->last_seq = seq; state 660 net/netfilter/nf_conntrack_proto_tcp.c state->last_ack = ack; state 661 net/netfilter/nf_conntrack_proto_tcp.c state->last_end = end; state 662 net/netfilter/nf_conntrack_proto_tcp.c state->last_win = win; state 663 net/netfilter/nf_conntrack_proto_tcp.c state->retrans = 0; state 825 net/netfilter/nf_conntrack_proto_tcp.c old_state = ct->proto.tcp.state; state 958 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.state = new_state; state 1072 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.state = TCP_CONNTRACK_NONE; state 1100 net/netfilter/nf_conntrack_proto_tcp.c NLA_PUT_U8(skb, CTA_PROTOINFO_TCP_STATE, ct->proto.tcp.state); state 1155 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.state = nla_get_u8(tb[CTA_PROTOINFO_TCP_STATE]); state 105 net/netfilter/nf_conntrack_sane.c ct_sane_info->state = SANE_STATE_NORMAL; state 110 net/netfilter/nf_conntrack_sane.c ct_sane_info->state = SANE_STATE_START_REQUESTED; state 115 net/netfilter/nf_conntrack_sane.c if (ct_sane_info->state != SANE_STATE_START_REQUESTED) state 119 net/netfilter/nf_conntrack_sane.c ct_sane_info->state = SANE_STATE_NORMAL; state 76 net/netfilter/xt_connlimit.c return conn->proto.tcp.state == TCP_CONNTRACK_TIME_WAIT || state 77 net/netfilter/xt_connlimit.c conn->proto.tcp.state == TCP_CONNTRACK_CLOSE; state 28 net/netfilter/xt_string.c struct ts_state state; state 31 net/netfilter/xt_string.c memset(&state, 0, sizeof(struct ts_state)); state 37 net/netfilter/xt_string.c conf->to_offset, conf->config, &state) state 77 net/netlink/af_netlink.c unsigned long state; state 429 net/netlink/af_netlink.c sock->state = SS_UNCONNECTED; state 712 net/netlink/af_netlink.c if (!test_and_set_bit(0, &nlk_sk(sk)->state)) { state 771 net/netlink/af_netlink.c test_bit(0, &nlk->state)) { state 785 net/netlink/af_netlink.c test_bit(0, &nlk->state)) && state 849 net/netlink/af_netlink.c clear_bit(0, &nlk->state); state 850 net/netlink/af_netlink.c if (!test_bit(0, &nlk->state)) state 931 net/netlink/af_netlink.c !test_bit(0, &nlk->state)) { state 283 net/netrom/af_netrom.c nr_sk(skb->sk)->state = NR_STATE_0; state 470 net/netrom/af_netrom.c nr->state = NR_STATE_0; state 532 net/netrom/af_netrom.c switch (nr->state) { state 548 net/netrom/af_netrom.c nr->state = NR_STATE_2; state 650 net/netrom/af_netrom.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { state 651 net/netrom/af_netrom.c sock->state = SS_CONNECTED; state 655 net/netrom/af_netrom.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { state 656 net/netrom/af_netrom.c sock->state = SS_UNCONNECTED; state 667 net/netrom/af_netrom.c sock->state = SS_UNCONNECTED; state 718 net/netrom/af_netrom.c sock->state = SS_CONNECTING; state 723 net/netrom/af_netrom.c nr->state = NR_STATE_1; state 760 net/netrom/af_netrom.c sock->state = SS_UNCONNECTED; state 765 net/netrom/af_netrom.c sock->state = SS_CONNECTED; state 1011 net/netrom/af_netrom.c nr_make->state = NR_STATE_3; state 1324 net/netrom/af_netrom.c nr->state, state 89 net/netrom/nr_in.c nr->state = NR_STATE_3; state 285 net/netrom/nr_in.c if (nr->state == NR_STATE_0) state 290 net/netrom/nr_in.c switch (nr->state) { state 131 net/netrom/nr_out.c if (nr->state != NR_STATE_3) state 271 net/netrom/nr_subr.c nr_sk(sk)->state = NR_STATE_0; state 123 net/netrom/nr_timer.c switch (nr->state) { state 189 net/netrom/nr_timer.c nr->state = NR_STATE_2; state 212 net/netrom/nr_timer.c switch (nr->state) { state 1046 net/packet/af_packet.c sock->state = SS_UNCONNECTED; state 89 net/phonet/af_phonet.c sock->state = SS_UNCONNECTED; state 184 net/phonet/socket.c newsock->state = SS_CONNECTED; state 277 net/phonet/socket.c if (sock->state != SS_UNCONNECTED) state 117 net/rfkill/rfkill-input.c if (state) { state 109 net/rfkill/rfkill.c if (state != RFKILL_STATE_UNBLOCKED) state 122 net/rfkill/rfkill.c rfkill_led_trigger(rfkill, rfkill->state); state 128 net/rfkill/rfkill.c rfkill_led_trigger(rfkill, rfkill->state); state 141 net/rfkill/rfkill.c oldstate = rfkill->state; state 142 net/rfkill/rfkill.c rfkill->state = newstate; state 185 net/rfkill/rfkill.c oldstate = rfkill->state; state 189 net/rfkill/rfkill.c rfkill->state = newstate; state 191 net/rfkill/rfkill.c switch (state) { state 195 net/rfkill/rfkill.c state = RFKILL_STATE_SOFT_BLOCKED; state 199 net/rfkill/rfkill.c if (rfkill->state == RFKILL_STATE_HARD_BLOCKED) state 210 net/rfkill/rfkill.c "to rfkill_toggle_radio\n", state); state 214 net/rfkill/rfkill.c if (force || state != rfkill->state) { state 215 net/rfkill/rfkill.c retval = rfkill->toggle_radio(rfkill->data, state); state 217 net/rfkill/rfkill.c if (!retval && rfkill->state != RFKILL_STATE_HARD_BLOCKED) state 218 net/rfkill/rfkill.c rfkill->state = state; state 221 net/rfkill/rfkill.c if (force || rfkill->state != oldstate) state 243 net/rfkill/rfkill.c if (WARN((state >= RFKILL_STATE_MAX || type >= RFKILL_TYPE_MAX), state 247 net/rfkill/rfkill.c state, type)) state 250 net/rfkill/rfkill.c rfkill_global_states[type].current_state = state; state 254 net/rfkill/rfkill.c rfkill_toggle_radio(rfkill, state, 0); state 271 net/rfkill/rfkill.c __rfkill_switch_all(type, state); state 348 net/rfkill/rfkill.c if (WARN((state >= RFKILL_STATE_MAX), state 351 net/rfkill/rfkill.c "to rfkill_force_state\n", state)) state 356 net/rfkill/rfkill.c oldstate = rfkill->state; state 357 net/rfkill/rfkill.c rfkill->state = state; state 359 net/rfkill/rfkill.c if (state != oldstate) state 411 net/rfkill/rfkill.c return sprintf(buf, "%d\n", rfkill->state); state 419 net/rfkill/rfkill.c unsigned long state; state 425 net/rfkill/rfkill.c error = strict_strtoul(buf, 0, &state); state 430 net/rfkill/rfkill.c if (state != RFKILL_STATE_UNBLOCKED && state 431 net/rfkill/rfkill.c state != RFKILL_STATE_SOFT_BLOCKED) state 436 net/rfkill/rfkill.c error = rfkill_toggle_radio(rfkill, state, 0); state 498 net/rfkill/rfkill.c __ATTR(state, S_IRUGO|S_IWUSR, rfkill_state_show, rfkill_state_store), state 515 net/rfkill/rfkill.c if (dev->power.power_state.event != state.event) state 516 net/rfkill/rfkill.c dev->power.power_state = state; state 531 net/rfkill/rfkill.c rfkill_toggle_radio(rfkill, rfkill->state, 1); state 577 net/rfkill/rfkill.c error = add_uevent_var(env, "RFKILL_STATE=%d", rfkill->state); state 749 net/rfkill/rfkill.c rfkill->state >= RFKILL_STATE_MAX), state 825 net/rfkill/rfkill.c (state != RFKILL_STATE_SOFT_BLOCKED && state 826 net/rfkill/rfkill.c state != RFKILL_STATE_UNBLOCKED)), state 829 net/rfkill/rfkill.c "parameter to rfkill_set_default\n", state, type)) state 835 net/rfkill/rfkill.c rfkill_global_states[type].default_state = state; state 353 net/rose/af_rose.c rose_sk(skb->sk)->state = ROSE_STATE_0; state 555 net/rose/af_rose.c rose->state = ROSE_STATE_0; state 618 net/rose/af_rose.c switch (rose->state) { state 642 net/rose/af_rose.c rose->state = ROSE_STATE_2; state 752 net/rose/af_rose.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { state 754 net/rose/af_rose.c sock->state = SS_CONNECTED; state 758 net/rose/af_rose.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { state 759 net/rose/af_rose.c sock->state = SS_UNCONNECTED; state 771 net/rose/af_rose.c sock->state = SS_UNCONNECTED; state 824 net/rose/af_rose.c sock->state = SS_CONNECTING; state 827 net/rose/af_rose.c rose->state = ROSE_STATE_1; state 875 net/rose/af_rose.c sock->state = SS_UNCONNECTED; state 880 net/rose/af_rose.c sock->state = SS_CONNECTED; state 1037 net/rose/af_rose.c make_rose->state = ROSE_STATE_5; state 1040 net/rose/af_rose.c make_rose->state = ROSE_STATE_3; state 1380 net/rose/af_rose.c if (rose->state == ROSE_STATE_5) { state 1388 net/rose/af_rose.c rose->state = ROSE_STATE_3; state 1469 net/rose/af_rose.c rose->state, state 53 net/rose/rose_in.c rose->state = ROSE_STATE_3; state 138 net/rose/rose_in.c rose->state = ROSE_STATE_4; state 160 net/rose/rose_in.c rose->state = ROSE_STATE_4; state 179 net/rose/rose_in.c rose->state = ROSE_STATE_4; state 230 net/rose/rose_in.c rose->state = ROSE_STATE_3; state 269 net/rose/rose_in.c if (rose->state == ROSE_STATE_0) state 274 net/rose/rose_in.c switch (rose->state) { state 54 net/rose/rose_out.c if (rose->state != ROSE_STATE_3) state 912 net/rose/rose_route.c rose->state = ROSE_STATE_0; state 503 net/rose/rose_subr.c rose->state = ROSE_STATE_0; state 135 net/rose/rose_timer.c switch (rose->state) { state 173 net/rose/rose_timer.c switch (rose->state) { state 177 net/rose/rose_timer.c rose->state = ROSE_STATE_2; state 204 net/rose/rose_timer.c rose_sk(sk)->state = ROSE_STATE_2; state 628 net/rxrpc/af_rxrpc.c sock->state = SS_UNCONNECTED; state 136 net/rxrpc/ar-accept.c call->conn->state == RXRPC_CONN_SERVER_UNSECURED) { state 139 net/rxrpc/ar-accept.c call->conn->state = RXRPC_CONN_SERVER_CHALLENGING; state 145 net/rxrpc/ar-accept.c call->state = RXRPC_CALL_SERVER_ACCEPTING; state 351 net/rxrpc/ar-accept.c switch (call->state) { state 353 net/rxrpc/ar-accept.c call->state = RXRPC_CALL_SERVER_RECV_REQUEST; state 427 net/rxrpc/ar-accept.c switch (call->state) { state 429 net/rxrpc/ar-accept.c call->state = RXRPC_CALL_SERVER_BUSY; state 114 net/rxrpc/ar-ack.c if (call->state <= RXRPC_CALL_COMPLETE && state 142 net/rxrpc/ar-ack.c if (call->state >= RXRPC_CALL_COMPLETE) state 504 net/rxrpc/ar-ack.c if (call->state < RXRPC_CALL_COMPLETE && state 601 net/rxrpc/ar-ack.c _debug("process %s [st %d]", rxrpc_pkts[sp->hdr.type], call->state); state 657 net/rxrpc/ar-ack.c if (call->state != RXRPC_CALL_CLIENT_SEND_REQUEST && state 658 net/rxrpc/ar-ack.c call->state != RXRPC_CALL_CLIENT_AWAIT_REPLY && state 659 net/rxrpc/ar-ack.c call->state != RXRPC_CALL_SERVER_SEND_REPLY && state 660 net/rxrpc/ar-ack.c call->state != RXRPC_CALL_SERVER_AWAIT_ACK) state 663 net/rxrpc/ar-ack.c _debug("Tx=%d H=%u S=%d", tx, call->acks_hard, call->state); state 673 net/rxrpc/ar-ack.c if ((call->state == RXRPC_CALL_CLIENT_AWAIT_REPLY || state 674 net/rxrpc/ar-ack.c call->state == RXRPC_CALL_SERVER_AWAIT_ACK) && state 715 net/rxrpc/ar-ack.c _debug("ack all %d", call->state); state 717 net/rxrpc/ar-ack.c switch (call->state) { state 719 net/rxrpc/ar-ack.c call->state = RXRPC_CALL_CLIENT_RECV_REPLY; state 723 net/rxrpc/ar-ack.c call->state = RXRPC_CALL_COMPLETE; state 845 net/rxrpc/ar-ack.c call->debug_id, rxrpc_call_states[call->state], call->events, state 900 net/rxrpc/ar-ack.c ASSERTCMP(call->state, >, RXRPC_CALL_COMPLETE); state 921 net/rxrpc/ar-ack.c ASSERTCMP(call->state, >, RXRPC_CALL_COMPLETE); state 988 net/rxrpc/ar-ack.c if (call->state <= RXRPC_CALL_COMPLETE) { state 989 net/rxrpc/ar-ack.c call->state = RXRPC_CALL_LOCALLY_ABORTED; state 1032 net/rxrpc/ar-ack.c if (call->state > RXRPC_CALL_SERVER_ACK_REQUEST && state 1106 net/rxrpc/ar-ack.c if (call->state == RXRPC_CALL_SERVER_SECURING) { state 1112 net/rxrpc/ar-ack.c call->state = RXRPC_CALL_SERVER_ACCEPTING; state 1118 net/rxrpc/ar-ack.c if (call->state < RXRPC_CALL_COMPLETE) state 1144 net/rxrpc/ar-ack.c if (call->state < RXRPC_CALL_COMPLETE) state 1223 net/rxrpc/ar-ack.c if (call->state < RXRPC_CALL_DEAD) state 1237 net/rxrpc/ar-ack.c if (call->state == RXRPC_CALL_CLIENT_FINAL_ACK) state 1238 net/rxrpc/ar-ack.c call->state = RXRPC_CALL_COMPLETE; state 1244 net/rxrpc/ar-ack.c switch (call->state) { state 1267 net/rxrpc/ar-ack.c if (call->state < RXRPC_CALL_DEAD) state 1273 net/rxrpc/ar-ack.c if (call->state >= RXRPC_CALL_COMPLETE && state 86 net/rxrpc/ar-call.c call->state = RXRPC_CALL_CLIENT_SEND_REQUEST; state 268 net/rxrpc/ar-call.c candidate->state = RXRPC_CALL_SERVER_ACCEPTING; state 270 net/rxrpc/ar-call.c candidate->state = RXRPC_CALL_SERVER_SECURING; state 279 net/rxrpc/ar-call.c _debug("extant call [%d]", call->state); state 283 net/rxrpc/ar-call.c switch (call->state) { state 301 net/rxrpc/ar-call.c call->debug_id, rxrpc_call_states[call->state]); state 303 net/rxrpc/ar-call.c if (call->state >= RXRPC_CALL_COMPLETE) { state 489 net/rxrpc/ar-call.c if (call->state < RXRPC_CALL_COMPLETE && state 490 net/rxrpc/ar-call.c call->state != RXRPC_CALL_CLIENT_FINAL_ACK) { state 491 net/rxrpc/ar-call.c _debug("+++ ABORTING STATE %d +++\n", call->state); state 492 net/rxrpc/ar-call.c call->state = RXRPC_CALL_LOCALLY_ABORTED; state 529 net/rxrpc/ar-call.c ASSERTCMP(call->state, !=, RXRPC_CALL_COMPLETE); state 551 net/rxrpc/ar-call.c call->state = RXRPC_CALL_DEAD; state 565 net/rxrpc/ar-call.c if (call->state < RXRPC_CALL_DEAD) { state 567 net/rxrpc/ar-call.c if (call->state < RXRPC_CALL_COMPLETE) { state 569 net/rxrpc/ar-call.c call->state = RXRPC_CALL_LOCALLY_ABORTED; state 626 net/rxrpc/ar-call.c ASSERTCMP(call->state, ==, RXRPC_CALL_DEAD); state 707 net/rxrpc/ar-call.c ASSERTCMP(call->state, ==, RXRPC_CALL_DEAD); state 736 net/rxrpc/ar-call.c ASSERTCMP(call->state, ==, RXRPC_CALL_DEAD); state 740 net/rxrpc/ar-call.c call->state != RXRPC_CALL_DEAD) state 742 net/rxrpc/ar-call.c if (call->state != RXRPC_CALL_DEAD) state 749 net/rxrpc/ar-call.c rxrpc_call_states[call->state], state 774 net/rxrpc/ar-call.c if (call->state >= RXRPC_CALL_COMPLETE) state 779 net/rxrpc/ar-call.c if (call->state < RXRPC_CALL_COMPLETE) { state 795 net/rxrpc/ar-call.c if (call->state >= RXRPC_CALL_COMPLETE) state 800 net/rxrpc/ar-call.c if (call->state < RXRPC_CALL_COMPLETE && state 815 net/rxrpc/ar-call.c if (call->state >= RXRPC_CALL_COMPLETE) state 819 net/rxrpc/ar-call.c if (call->state < RXRPC_CALL_COMPLETE && state 358 net/rxrpc/ar-connection.c conn->state = RXRPC_CONN_CLIENT; state 523 net/rxrpc/ar-connection.c candidate->state = RXRPC_CONN_CLIENT; state 660 net/rxrpc/ar-connection.c candidate->state = RXRPC_CONN_SERVER; state 662 net/rxrpc/ar-connection.c candidate->state = RXRPC_CONN_SERVER_UNSECURED; state 41 net/rxrpc/ar-connevent.c if (call->state <= RXRPC_CALL_COMPLETE) { state 42 net/rxrpc/ar-connevent.c call->state = state; state 44 net/rxrpc/ar-connevent.c if (state == RXRPC_CALL_LOCALLY_ABORTED) state 74 net/rxrpc/ar-connevent.c if (conn->state < RXRPC_CONN_REMOTELY_ABORTED) { state 75 net/rxrpc/ar-connevent.c conn->state = RXRPC_CONN_LOCALLY_ABORTED; state 134 net/rxrpc/ar-connevent.c if (call->state < RXRPC_CALL_COMPLETE && state 153 net/rxrpc/ar-connevent.c if (conn->state >= RXRPC_CONN_REMOTELY_ABORTED) state 164 net/rxrpc/ar-connevent.c conn->state = RXRPC_CONN_REMOTELY_ABORTED; state 191 net/rxrpc/ar-connevent.c if (conn->state == RXRPC_CONN_SERVER_CHALLENGING) { state 192 net/rxrpc/ar-connevent.c conn->state = RXRPC_CONN_SERVER; state 236 net/rxrpc/ar-error.c if (call->state != RXRPC_CALL_COMPLETE && state 237 net/rxrpc/ar-error.c call->state < RXRPC_CALL_NETWORK_ERROR) { state 238 net/rxrpc/ar-error.c call->state = RXRPC_CALL_NETWORK_ERROR; state 62 net/rxrpc/ar-input.c ASSERTCMP(call->state, >=, RXRPC_CALL_COMPLETE); state 156 net/rxrpc/ar-input.c if (call->state > RXRPC_CALL_COMPLETE) state 241 net/rxrpc/ar-input.c if (call->state < RXRPC_CALL_COMPLETE && state 277 net/rxrpc/ar-input.c if (call->state < RXRPC_CALL_DEAD) state 292 net/rxrpc/ar-input.c switch (call->state) { state 294 net/rxrpc/ar-input.c call->state = RXRPC_CALL_CLIENT_RECV_REPLY; state 367 net/rxrpc/ar-input.c if (call->state < RXRPC_CALL_COMPLETE) { state 368 net/rxrpc/ar-input.c call->state = RXRPC_CALL_REMOTELY_ABORTED; state 382 net/rxrpc/ar-input.c switch (call->state) { state 384 net/rxrpc/ar-input.c call->state = RXRPC_CALL_SERVER_BUSY; state 409 net/rxrpc/ar-input.c if (call->state == RXRPC_CALL_CLIENT_AWAIT_REPLY) state 428 net/rxrpc/ar-input.c if (call->state < RXRPC_CALL_DEAD) { state 441 net/rxrpc/ar-input.c if (call->state <= RXRPC_CALL_COMPLETE) { state 442 net/rxrpc/ar-input.c call->state = RXRPC_CALL_LOCALLY_ABORTED; state 513 net/rxrpc/ar-input.c if (call->state <= RXRPC_CALL_COMPLETE) { state 514 net/rxrpc/ar-input.c call->state = RXRPC_CALL_LOCALLY_ABORTED; state 546 net/rxrpc/ar-input.c _debug("extant call [%d]", call->state); state 550 net/rxrpc/ar-input.c switch (call->state) { state 623 net/rxrpc/ar-input.c ASSERTIFCMP(call->state != RXRPC_CALL_CLIENT_FINAL_ACK, state 624 net/rxrpc/ar-input.c call->state, >=, RXRPC_CALL_COMPLETE); state 626 net/rxrpc/ar-input.c if (call->state == RXRPC_CALL_LOCALLY_ABORTED || state 627 net/rxrpc/ar-input.c call->state == RXRPC_CALL_REMOTELY_ABORTED || state 628 net/rxrpc/ar-input.c call->state == RXRPC_CALL_DEAD) { state 271 net/rxrpc/ar-internal.h } state; state 368 net/rxrpc/ar-internal.h } state; state 426 net/rxrpc/ar-internal.h if (call->state < RXRPC_CALL_COMPLETE) { state 428 net/rxrpc/ar-internal.h call->state = RXRPC_CALL_LOCALLY_ABORTED; state 107 net/rxrpc/ar-output.c if (call->state <= RXRPC_CALL_COMPLETE) { state 108 net/rxrpc/ar-output.c call->state = RXRPC_CALL_LOCALLY_ABORTED; state 176 net/rxrpc/ar-output.c call->debug_id, call->user_call_ID, call->state, call->conn); state 178 net/rxrpc/ar-output.c if (call->state >= RXRPC_CALL_COMPLETE) { state 185 net/rxrpc/ar-output.c } else if (call->state != RXRPC_CALL_CLIENT_SEND_REQUEST) { state 213 net/rxrpc/ar-output.c _enter("{%d,%s},", call->debug_id, rxrpc_call_states[call->state]); state 221 net/rxrpc/ar-output.c call->debug_id, call->user_call_ID, call->state, call->conn); state 223 net/rxrpc/ar-output.c if (call->state >= RXRPC_CALL_COMPLETE) { state 225 net/rxrpc/ar-output.c } else if (call->state != RXRPC_CALL_CLIENT_SEND_REQUEST && state 226 net/rxrpc/ar-output.c call->state != RXRPC_CALL_SERVER_ACK_REQUEST && state 227 net/rxrpc/ar-output.c call->state != RXRPC_CALL_SERVER_SEND_REPLY) { state 257 net/rxrpc/ar-output.c call->debug_id, call->user_call_ID, call->state, call->conn); state 259 net/rxrpc/ar-output.c if (call->state < RXRPC_CALL_COMPLETE) state 299 net/rxrpc/ar-output.c if (call->state >= RXRPC_CALL_COMPLETE) { state 306 net/rxrpc/ar-output.c if (call->state != RXRPC_CALL_CLIENT_SEND_REQUEST && state 307 net/rxrpc/ar-output.c call->state != RXRPC_CALL_SERVER_ACK_REQUEST && state 308 net/rxrpc/ar-output.c call->state != RXRPC_CALL_SERVER_SEND_REPLY) { state 440 net/rxrpc/ar-output.c if (call->state < RXRPC_CALL_COMPLETE && state 464 net/rxrpc/ar-output.c if (last || call->state == RXRPC_CALL_SERVER_ACK_REQUEST) { state 467 net/rxrpc/ar-output.c switch (call->state) { state 469 net/rxrpc/ar-output.c call->state = RXRPC_CALL_CLIENT_AWAIT_REPLY; state 472 net/rxrpc/ar-output.c call->state = RXRPC_CALL_SERVER_SEND_REPLY; state 476 net/rxrpc/ar-output.c call->state = RXRPC_CALL_SERVER_AWAIT_ACK; state 661 net/rxrpc/ar-output.c if (call->state > RXRPC_CALL_COMPLETE) state 722 net/rxrpc/ar-output.c if (call->state == RXRPC_CALL_NETWORK_ERROR) state 82 net/rxrpc/ar-proc.c rxrpc_call_states[call->state], state 165 net/rxrpc/ar-proc.c rxrpc_conn_states[conn->state], state 29 net/rxrpc/ar-skbuff.c switch (call->state) { state 31 net/rxrpc/ar-skbuff.c call->state = RXRPC_CALL_CLIENT_FINAL_ACK; state 43 net/rxrpc/ar-skbuff.c call->state = RXRPC_CALL_SERVER_ACK_REQUEST; state 77 net/rxrpc/ar-skbuff.c ASSERTIFCMP(call->state <= RXRPC_CALL_COMPLETE, state 79 net/rxrpc/ar-skbuff.c ASSERTIFCMP(call->state <= RXRPC_CALL_COMPLETE, state 37 net/sched/em_text.c struct ts_state state; state 45 net/sched/em_text.c return skb_find_text(skb, from, to, tm->config, &state) != UINT_MAX; state 482 net/sched/sch_api.c &qdisc_root_sleeping(wd->qdisc)->state)) state 633 net/sched/sch_atm.c int state; state 640 net/sched/sch_atm.c state = ATM_VF2VS(flow->vcc->flags); state 641 net/sched/sch_atm.c NLA_PUT_U32(skb, TCA_ATM_STATE, state); state 525 net/sched/sch_cbq.c &qdisc_root_sleeping(cl->qdisc)->state)) state 196 net/sched/sch_generic.c clear_bit(__QDISC_STATE_RUNNING, &q->state); state 272 net/sched/sch_generic.c if (test_and_clear_bit(__LINK_STATE_NOCARRIER, &dev->state)) { state 288 net/sched/sch_generic.c if (!test_and_set_bit(__LINK_STATE_NOCARRIER, &dev->state)) state 599 net/sched/sch_generic.c clear_bit(__QDISC_STATE_DEACTIVATED, &new_qdisc->state); state 645 net/sched/sch_generic.c set_bit(__QDISC_STATE_DEACTIVATED, &qdisc->state); state 670 net/sched/sch_generic.c val = (test_bit(__QDISC_STATE_RUNNING, &q->state) || state 671 net/sched/sch_generic.c test_bit(__QDISC_STATE_SCHED, &q->state)); state 97 net/sched/sch_netem.c state->rho = rho; state 98 net/sched/sch_netem.c state->last = net_random(); state 110 net/sched/sch_netem.c if (state->rho == 0) /* no correlation */ state 114 net/sched/sch_netem.c rho = (u64)state->rho + 1; state 115 net/sched/sch_netem.c answer = (value * ((1ull<<32) - rho) + state->last * rho) >> 32; state 116 net/sched/sch_netem.c state->last = answer; state 135 net/sched/sch_netem.c rnd = get_crandom(state); state 106 net/sctp/associola.c asoc->state = SCTP_STATE_CLOSED; state 498 net/sctp/associola.c if ((transport->state == SCTP_ACTIVE) || state 499 net/sctp/associola.c (transport->state == SCTP_UNKNOWN)) state 607 net/sctp/associola.c if (peer->state == SCTP_UNKNOWN) { state 608 net/sctp/associola.c peer->state = SCTP_ACTIVE; state 693 net/sctp/associola.c peer->state = peer_state; state 788 net/sctp/associola.c if (SCTP_UNCONFIRMED == transport->state && state 793 net/sctp/associola.c transport->state = SCTP_ACTIVE; state 800 net/sctp/associola.c if (transport->state != SCTP_UNCONFIRMED) state 801 net/sctp/associola.c transport->state = SCTP_INACTIVE; state 833 net/sctp/associola.c if ((t->state == SCTP_INACTIVE) || state 834 net/sctp/associola.c (t->state == SCTP_UNCONFIRMED)) state 854 net/sctp/associola.c if (((asoc->peer.primary_path->state == SCTP_ACTIVE) || state 855 net/sctp/associola.c (asoc->peer.primary_path->state == SCTP_UNKNOWN)) && state 1031 net/sctp/associola.c int state; state 1042 net/sctp/associola.c state = asoc->state; state 1068 net/sctp/associola.c state, ep, asoc, chunk, GFP_ATOMIC); state 1135 net/sctp/associola.c if (asoc->state >= SCTP_STATE_ESTABLISHED) state 1144 net/sctp/associola.c if (asoc->state >= SCTP_STATE_ESTABLISHED) { state 1172 net/sctp/associola.c GFP_ATOMIC, trans->state); state 1249 net/sctp/associola.c if ((t->state == SCTP_ACTIVE) || state 1250 net/sctp/associola.c (t->state == SCTP_UNKNOWN)) { state 1351 net/sctp/associola.c switch (asoc->state) { state 185 net/sctp/bind_addr.c addr->state = addr_state; state 394 net/sctp/bind_addr.c int state = -1; state 398 net/sctp/bind_addr.c return state; state 405 net/sctp/bind_addr.c state = laddr->state; state 411 net/sctp/bind_addr.c return state; state 200 net/sctp/chunk.c if (asoc->state < SCTP_STATE_COOKIE_ECHOED) { state 408 net/sctp/endpointola.c sctp_state_t state; state 459 net/sctp/endpointola.c state = asoc ? asoc->state : SCTP_STATE_CLOSED; state 474 net/sctp/endpointola.c error = sctp_do_sm(SCTP_EVENT_T_CHUNK, subtype, state, state 417 net/sctp/input.c asoc->state, asoc->ep, asoc, t, state 343 net/sctp/ipv6.c if ((laddr->state == SCTP_ADDR_SRC) && state 320 net/sctp/outqueue.c switch (q->asoc->state) { state 780 net/sctp/outqueue.c } else if ((new_transport->state == SCTP_INACTIVE) || state 781 net/sctp/outqueue.c (new_transport->state == SCTP_UNCONFIRMED)) { state 873 net/sctp/outqueue.c switch (asoc->state) { state 958 net/sctp/outqueue.c ((new_transport->state == SCTP_INACTIVE) || state 959 net/sctp/outqueue.c (new_transport->state == SCTP_UNCONFIRMED))) state 1577 net/sctp/outqueue.c if ((transport->state == SCTP_INACTIVE) || state 1578 net/sctp/outqueue.c (transport->state == SCTP_UNCONFIRMED)) { state 63 net/sctp/primitive.c sctp_state_t state; \ state 68 net/sctp/primitive.c state = asoc ? asoc->state : SCTP_STATE_CLOSED; \ state 71 net/sctp/primitive.c error = sctp_do_sm(event_type, subtype, state, ep, asoc, \ state 324 net/sctp/proc.c assoc->state, hash, state 508 net/sctp/protocol.c if (!laddr->valid || (laddr->state != SCTP_ADDR_SRC)) state 529 net/sctp/protocol.c if ((laddr->state == SCTP_ADDR_SRC) && state 2235 net/sctp/sm_make_chunk.c if (transport->state == SCTP_UNKNOWN) { state 2338 net/sctp/sm_make_chunk.c if (transport->state != SCTP_ACTIVE) state 3124 net/sctp/sm_make_chunk.c saddr->state = SCTP_ADDR_SRC; state 272 net/sctp/sm_sideeffect.c asoc->state, state 313 net/sctp/sm_sideeffect.c asoc->state, asoc->ep, asoc, state 389 net/sctp/sm_sideeffect.c asoc->state, asoc->ep, asoc, state 445 net/sctp/sm_sideeffect.c if (transport->state != SCTP_UNCONFIRMED) state 448 net/sctp/sm_sideeffect.c if (transport->state != SCTP_INACTIVE && state 627 net/sctp/sm_sideeffect.c if ((t->state == SCTP_INACTIVE) || (t->state == SCTP_UNCONFIRMED)) state 673 net/sctp/sm_sideeffect.c asoc->state, asoc->ep, asoc, NULL, state 702 net/sctp/sm_sideeffect.c asoc->state = state; state 705 net/sctp/sm_sideeffect.c asoc, sctp_state_tbl[state]); state 872 net/sctp/sm_sideeffect.c ev = sctp_ulpevent_make_assoc_change(asoc, 0, state, 0, state 930 net/sctp/sm_sideeffect.c sctp_state_tbl[state], state_fn->name) state 941 net/sctp/sm_sideeffect.c sctp_assoc2id(asoc)))?asoc->state:SCTP_STATE_CLOSED]) state 970 net/sctp/sm_sideeffect.c state_fn = sctp_sm_lookup_event(event_type, state, subtype); state 978 net/sctp/sm_sideeffect.c error = sctp_side_effects(event_type, subtype, state, state 1009 net/sctp/sm_sideeffect.c if (0 != (error = sctp_cmd_interpreter(event_type, subtype, state, state 1019 net/sctp/sm_sideeffect.c state, event_type, subtype.chunk); state 1047 net/sctp/sm_sideeffect.c "chunkid %d\n", state, subtype.chunk); state 1053 net/sctp/sm_sideeffect.c state, event_type, subtype.chunk); state 1059 net/sctp/sm_sideeffect.c state, event_type, subtype.chunk); state 1066 net/sctp/sm_sideeffect.c status, state, event_type, subtype.chunk); state 1150 net/sctp/sm_sideeffect.c sctp_cmd_new_state(commands, asoc, cmd->obj.state); state 1278 net/sctp/sm_statefuns.c switch (asoc->state) { state 1864 net/sctp/sm_statefuns.c if (asoc->state < SCTP_STATE_ESTABLISHED) { state 4158 net/sctp/sm_statefuns.c if (asoc->state <= SCTP_STATE_COOKIE_ECHOED) { state 5362 net/sctp/sm_statefuns.c switch (asoc->state) { state 77 net/sctp/sm_statetable.c return &_table[event_subtype._type][(int)state]; state 85 net/sctp/sm_statetable.c return sctp_chunk_event_lookup(event_subtype.chunk, state); state 988 net/sctp/sm_statetable.c if (state > SCTP_STATE_MAX) state 992 net/sctp/sm_statetable.c return &chunk_event_table[cid][state]; state 996 net/sctp/sm_statetable.c return &prsctp_chunk_event_table[0][state]; state 1001 net/sctp/sm_statetable.c return &addip_chunk_event_table[0][state]; state 1004 net/sctp/sm_statetable.c return &addip_chunk_event_table[1][state]; state 1009 net/sctp/sm_statetable.c return &auth_chunk_event_table[0][state]; state 1012 net/sctp/sm_statetable.c return &chunk_event_table_unknown[state]; state 785 net/sctp/socket.c saddr->state = SCTP_ADDR_DEL; state 1035 net/sctp/socket.c if (asoc2->state >= SCTP_STATE_ESTABLISHED) state 3705 net/sctp/socket.c status.sstat_state = asoc->state; state 3719 net/sctp/socket.c status.sstat_primary.spinfo_state = transport->state; state 3779 net/sctp/socket.c pinfo.spinfo_state = transport->state; state 5831 net/sctp/socket.c if (sock->state != SS_UNCONNECTED) state 6338 net/sctp/socket.c if (sk->sk_err || asoc->state >= SCTP_STATE_SHUTDOWN_PENDING || state 6433 net/sctp/socket.c if (sk->sk_err || asoc->state >= SCTP_STATE_SHUTDOWN_PENDING || state 581 net/sctp/transport.c if (t->state != SCTP_UNCONFIRMED) state 192 net/sctp/ulpevent.c sac->sac_state = state; state 314 net/sctp/ulpevent.c spc->spc_state = state; state 253 net/socket.c ei->socket.state = SS_UNCONNECTED; state 581 net/sunrpc/svc.c return &serv->sv_pools[(*state)++ % serv->sv_nrpools]; state 598 net/sunrpc/svc.c pool = &serv->sv_pools[--(*state) % serv->sv_nrpools]; state 645 net/sunrpc/svc.c unsigned int state = serv->sv_nrthreads-1; state 659 net/sunrpc/svc.c chosen_pool = choose_pool(serv, pool, &state); state 685 net/sunrpc/svc.c (task = choose_victim(serv, pool, &state)) != NULL) { state 1183 net/sunrpc/svcsock.c else if (so->state > SS_UNCONNECTED) state 171 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) { state 201 net/sunrpc/xprt.c if (!test_bit(XPRT_CLOSE_WAIT, &xprt->state) || xprt->shutdown) { state 203 net/sunrpc/xprt.c clear_bit(XPRT_LOCKED, &xprt->state); state 222 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) { state 263 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) state 289 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) state 573 net/sunrpc/xprt.c clear_bit(XPRT_CLOSE_WAIT, &xprt->state); state 601 net/sunrpc/xprt.c set_bit(XPRT_CLOSE_WAIT, &xprt->state); state 603 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state) == 0) state 626 net/sunrpc/xprt.c if (test_bit(XPRT_CLOSING, &xprt->state) || !xprt_connected(xprt)) state 628 net/sunrpc/xprt.c set_bit(XPRT_CLOSE_WAIT, &xprt->state); state 630 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state) == 0) state 645 net/sunrpc/xprt.c if (test_and_set_bit(XPRT_LOCKED, &xprt->state)) state 740 net/sunrpc/xprtsock.c set_bit(XPRT_CLOSE_WAIT, &task->tk_xprt->state); state 778 net/sunrpc/xprtsock.c clear_bit(XPRT_CLOSE_WAIT, &xprt->state); state 779 net/sunrpc/xprtsock.c clear_bit(XPRT_CLOSING, &xprt->state); state 1145 net/sunrpc/xprtsock.c set_bit(XPRT_CLOSING, &xprt->state); state 1147 net/sunrpc/xprtsock.c clear_bit(XPRT_CONNECTED, &xprt->state); state 1148 net/sunrpc/xprtsock.c clear_bit(XPRT_CLOSE_WAIT, &xprt->state); state 1153 net/sunrpc/xprtsock.c set_bit(XPRT_CLOSING, &xprt->state); state 1167 net/sunrpc/xprtsock.c clear_bit(XPRT_CONNECTED, &xprt->state); state 1172 net/sunrpc/xprtsock.c clear_bit(XPRT_CLOSE_WAIT, &xprt->state); state 1173 net/sunrpc/xprtsock.c clear_bit(XPRT_CLOSING, &xprt->state); state 1784 net/sunrpc/xprtsock.c if (test_bit(XPRT_CONNECTED, &xprt->state)) state 1787 net/sunrpc/xprtsock.c if (test_bit(XPRT_CLOSING, &xprt->state)) state 802 net/tipc/bcast.c bcl->state = WORKING_WORKING; state 227 net/tipc/discover.c link_fully_up = (link->state == WORKING_WORKING); state 207 net/tipc/link.c return (l_ptr->state == WORKING_WORKING); state 212 net/tipc/link.c return (l_ptr->state == WORKING_UNKNOWN); state 217 net/tipc/link.c return (l_ptr->state == RESET_UNKNOWN); state 222 net/tipc/link.c return (l_ptr->state == RESET_RESET); state 467 net/tipc/link.c l_ptr->state = RESET_UNKNOWN; state 710 net/tipc/link.c u32 prev_state = l_ptr->state; state 722 net/tipc/link.c l_ptr->state = RESET_UNKNOWN; state 807 net/tipc/link.c switch (l_ptr->state) { state 834 net/tipc/link.c l_ptr->state = WORKING_UNKNOWN; state 845 net/tipc/link.c l_ptr->state = RESET_RESET; state 862 net/tipc/link.c l_ptr->state = WORKING_WORKING; state 871 net/tipc/link.c l_ptr->state = RESET_RESET; state 881 net/tipc/link.c l_ptr->state = WORKING_WORKING; state 904 net/tipc/link.c l_ptr->state = RESET_UNKNOWN; state 929 net/tipc/link.c l_ptr->state = WORKING_WORKING; state 939 net/tipc/link.c l_ptr->state = RESET_RESET; state 972 net/tipc/link.c l_ptr->state = WORKING_WORKING; state 994 net/tipc/link.c err("Unknown link state %u/%u\n", l_ptr->state, event); state 131 net/tipc/link.h int state; state 190 net/tipc/socket.c socket_state state; state 205 net/tipc/socket.c state = SS_UNCONNECTED; state 209 net/tipc/socket.c state = SS_UNCONNECTED; state 214 net/tipc/socket.c state = SS_READY; state 238 net/tipc/socket.c sock->state = state; state 247 net/tipc/socket.c if (sock->state == SS_READY) { state 297 net/tipc/socket.c while (sock->state != SS_DISCONNECTING) { state 305 net/tipc/socket.c if ((sock->state == SS_CONNECTING) || state 306 net/tipc/socket.c (sock->state == SS_CONNECTED)) { state 307 net/tipc/socket.c sock->state = SS_DISCONNECTING; state 327 net/tipc/socket.c sock->state = SS_DISCONNECTING; state 397 net/tipc/socket.c if ((sock->state != SS_CONNECTED) && state 398 net/tipc/socket.c ((peer != 2) || (sock->state != SS_DISCONNECTING))) state 450 net/tipc/socket.c (sock->state == SS_UNCONNECTED) || state 451 net/tipc/socket.c (sock->state == SS_DISCONNECTING)) state 456 net/tipc/socket.c if (sock->state == SS_DISCONNECTING) state 527 net/tipc/socket.c needs_conn = (sock->state != SS_READY); state 529 net/tipc/socket.c if (sock->state == SS_LISTENING) { state 533 net/tipc/socket.c if (sock->state != SS_UNCONNECTED) { state 583 net/tipc/socket.c sock->state = SS_CONNECTING; state 634 net/tipc/socket.c if (unlikely(sock->state != SS_CONNECTED)) { state 635 net/tipc/socket.c if (sock->state == SS_DISCONNECTING) state 696 net/tipc/socket.c if (unlikely(sock->state != SS_CONNECTED)) { state 697 net/tipc/socket.c if (sock->state == SS_UNCONNECTED) { state 700 net/tipc/socket.c } else if (sock->state == SS_DISCONNECTING) { state 775 net/tipc/socket.c sock->state = SS_DISCONNECTING; state 783 net/tipc/socket.c sock->state = SS_CONNECTED; state 913 net/tipc/socket.c if (unlikely(sock->state == SS_UNCONNECTED)) { state 923 net/tipc/socket.c if (sock->state == SS_DISCONNECTING) { state 934 net/tipc/socket.c (sock->state == SS_DISCONNECTING))); state 949 net/tipc/socket.c if (unlikely(sock->state == SS_CONNECTING)) { state 986 net/tipc/socket.c if ((sock->state == SS_READY) || state 996 net/tipc/socket.c if ((sock->state != SS_READY) && state 1045 net/tipc/socket.c if (unlikely((sock->state == SS_UNCONNECTED) || state 1046 net/tipc/socket.c (sock->state == SS_CONNECTING))) { state 1056 net/tipc/socket.c if (sock->state == SS_DISCONNECTING) { state 1067 net/tipc/socket.c (sock->state == SS_DISCONNECTING))); state 1207 net/tipc/socket.c if (sock->state == SS_READY) { state 1217 net/tipc/socket.c if (sock->state == SS_CONNECTED) { state 1223 net/tipc/socket.c else if (sock->state == SS_CONNECTING) { state 1229 net/tipc/socket.c else if (sock->state == SS_LISTENING) { state 1235 net/tipc/socket.c else if (sock->state == SS_DISCONNECTING) { state 1269 net/tipc/socket.c if (unlikely(msg_errcode(msg) && (sock->state == SS_CONNECTED))) { state 1270 net/tipc/socket.c sock->state = SS_DISCONNECTING; state 1372 net/tipc/socket.c if (sock->state == SS_READY) { state 1386 net/tipc/socket.c if (sock->state == SS_LISTENING) { state 1390 net/tipc/socket.c if (sock->state == SS_CONNECTING) { state 1394 net/tipc/socket.c if (sock->state != SS_UNCONNECTED) { state 1429 net/tipc/socket.c (sock->state != SS_CONNECTING)), state 1443 net/tipc/socket.c if (sock->state == SS_CONNECTED) { state 1454 net/tipc/socket.c sock->state = SS_DISCONNECTING; state 1477 net/tipc/socket.c if (sock->state == SS_READY) state 1479 net/tipc/socket.c else if (sock->state != SS_UNCONNECTED) state 1482 net/tipc/socket.c sock->state = SS_LISTENING; state 1507 net/tipc/socket.c if (sock->state == SS_READY) { state 1511 net/tipc/socket.c if (sock->state != SS_LISTENING) { state 1553 net/tipc/socket.c new_sock->state = SS_CONNECTED; state 1605 net/tipc/socket.c switch (sock->state) { state 1624 net/tipc/socket.c sock->state = SS_DISCONNECTING; state 377 net/unix/af_unix.c int state; state 389 net/unix/af_unix.c state = sk->sk_state; state 417 net/unix/af_unix.c if (state==TCP_LISTEN) state 622 net/unix/af_unix.c sock->state = SS_UNCONNECTED; state 1146 net/unix/af_unix.c sock->state = SS_CONNECTED; state 1194 net/unix/af_unix.c socka->state = SS_CONNECTED; state 1195 net/unix/af_unix.c sockb->state = SS_CONNECTED; state 1233 net/unix/af_unix.c newsock->state = SS_CONNECTED; state 235 net/wanrouter/wanmain.c if (wandev->state != WAN_UNCONFIGURED) state 504 net/wanrouter/wanmain.c if (wandev->state == WAN_UNCONFIGURED) state 541 net/wanrouter/wanmain.c if ((wandev->state != WAN_UNCONFIGURED) && wandev->update) state 546 net/wanrouter/wanmain.c stat.state = wandev->state; state 571 net/wanrouter/wanmain.c if ((wandev->state == WAN_UNCONFIGURED) || (wandev->new_if == NULL)) state 665 net/wanrouter/wanmain.c if (wandev->state == WAN_UNCONFIGURED) state 116 net/wanrouter/wanproc.c if (!p->state) state 132 net/wanrouter/wanproc.c if (!p->state) state 148 net/wanrouter/wanproc.c switch (p->state) { state 215 net/wanrouter/wanproc.c if (!wandev->state) { state 386 net/wireless/core.c switch (state) { state 371 net/x25/af_x25.c x25_sk(skb->sk)->state = X25_STATE_0; state 521 net/x25/af_x25.c x25->state = X25_STATE_0; state 592 net/x25/af_x25.c switch (x25->state) { state 606 net/x25/af_x25.c x25->state = X25_STATE_2; state 651 net/x25/af_x25.c sk->sk_socket->state = SS_UNCONNECTED; state 677 net/x25/af_x25.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { state 678 net/x25/af_x25.c sock->state = SS_CONNECTED; state 683 net/x25/af_x25.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { state 684 net/x25/af_x25.c sock->state = SS_UNCONNECTED; state 693 net/x25/af_x25.c sock->state = SS_UNCONNECTED; state 725 net/x25/af_x25.c sock->state = SS_CONNECTING; state 728 net/x25/af_x25.c x25->state = X25_STATE_1; state 744 net/x25/af_x25.c sock->state = SS_CONNECTED; state 814 net/x25/af_x25.c newsock->state = SS_CONNECTED; state 948 net/x25/af_x25.c makex25->state = X25_STATE_3; state 1448 net/x25/af_x25.c x25->state = X25_STATE_3; state 103 net/x25/x25_in.c x25->state = X25_STATE_3; state 206 net/x25/x25_in.c x25->state = X25_STATE_4; state 228 net/x25/x25_in.c x25->state = X25_STATE_4; state 246 net/x25/x25_in.c x25->state = X25_STATE_4; state 311 net/x25/x25_in.c x25->state = X25_STATE_3; state 333 net/x25/x25_in.c if (x25->state == X25_STATE_0) state 338 net/x25/x25_in.c switch (x25->state) { state 81 net/x25/x25_link.c nb->state = X25_LINK_STATE_3; state 88 net/x25/x25_link.c nb->state = X25_LINK_STATE_3; state 104 net/x25/x25_link.c if (nb->state == X25_LINK_STATE_3) state 194 net/x25/x25_link.c switch (nb->state) { state 197 net/x25/x25_link.c nb->state = X25_LINK_STATE_1; state 215 net/x25/x25_link.c switch (nb->state) { state 217 net/x25/x25_link.c nb->state = X25_LINK_STATE_2; state 221 net/x25/x25_link.c nb->state = X25_LINK_STATE_2; state 234 net/x25/x25_link.c nb->state = X25_LINK_STATE_0; state 254 net/x25/x25_link.c nb->state = X25_LINK_STATE_0; state 144 net/x25/x25_out.c if (x25->state != X25_STATE_3) state 163 net/x25/x25_proc.c devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, state 339 net/x25/x25_subr.c x25->state = X25_STATE_0; state 104 net/x25/x25_timer.c switch (x25_sk(sk)->state) { state 141 net/x25/x25_timer.c switch (x25->state) { state 153 net/x25/x25_timer.c x25->state = X25_STATE_2; state 169 net/x25/x25_timer.c if (x25_sk(sk)->state == X25_STATE_3) state 164 net/xfrm/xfrm_input.c if (unlikely(x->km.state != XFRM_STATE_VALID)) { state 1243 net/xfrm/xfrm_policy.c if (x && x->km.state == XFRM_STATE_VALID) { state 1250 net/xfrm/xfrm_policy.c error = (x->km.state == XFRM_STATE_ERROR ? state 2244 net/xfrm/xfrm_policy.c if (dst->xfrm->km.state != XFRM_STATE_VALID) state 437 net/xfrm/xfrm_state.c if (x->km.state == XFRM_STATE_DEAD) state 439 net/xfrm/xfrm_state.c if (x->km.state == XFRM_STATE_EXPIRED) state 486 net/xfrm/xfrm_state.c if (x->km.state == XFRM_STATE_ACQ && x->id.spi == 0) { state 487 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_EXPIRED; state 540 net/xfrm/xfrm_state.c WARN_ON(x->km.state != XFRM_STATE_DEAD); state 553 net/xfrm/xfrm_state.c if (x->km.state != XFRM_STATE_DEAD) { state 554 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_DEAD; state 809 net/xfrm/xfrm_state.c if (x->km.state == XFRM_STATE_VALID) { state 818 net/xfrm/xfrm_state.c } else if (x->km.state == XFRM_STATE_ACQ) { state 820 net/xfrm/xfrm_state.c } else if (x->km.state == XFRM_STATE_ERROR || state 821 net/xfrm/xfrm_state.c x->km.state == XFRM_STATE_EXPIRED) { state 849 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_DEAD; state 856 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_ACQ; state 871 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_DEAD; state 905 net/xfrm/xfrm_state.c x->km.state == XFRM_STATE_VALID) { state 992 net/xfrm/xfrm_state.c x->km.state != XFRM_STATE_ACQ || state 1046 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_ACQ; state 1182 net/xfrm/xfrm_state.c x->km.state = orig->km.state; state 1298 net/xfrm/xfrm_state.c if (x1->km.state == XFRM_STATE_ACQ) { state 1321 net/xfrm/xfrm_state.c if (likely(x1->km.state == XFRM_STATE_VALID)) { state 1351 net/xfrm/xfrm_state.c if (x->km.state != XFRM_STATE_VALID) state 1356 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_EXPIRED; state 1462 net/xfrm/xfrm_state.c x->km.state == XFRM_STATE_ACQ) { state 1504 net/xfrm/xfrm_state.c if (x->km.state == XFRM_STATE_DEAD) state 1552 net/xfrm/xfrm_state.c struct xfrm_state *state; state 1565 net/xfrm/xfrm_state.c if (x->state == XFRM_STATE_DEAD) state 1567 net/xfrm/xfrm_state.c state = container_of(x, struct xfrm_state, km); state 1568 net/xfrm/xfrm_state.c if (!xfrm_id_proto_match(state->id.proto, walk->proto)) state 1570 net/xfrm/xfrm_state.c err = func(state, walk->seq, data); state 1592 net/xfrm/xfrm_state.c walk->state = XFRM_STATE_DEAD; state 1662 net/xfrm/xfrm_state.c if (x->km.state == XFRM_STATE_VALID) { state 1989 net/xfrm/xfrm_state.c if (x->km.state == XFRM_STATE_VALID && state 2075 net/xfrm/xfrm_state.c x->km.state = XFRM_STATE_VALID; state 384 net/xfrm/xfrm_user.c x->km.state = XFRM_STATE_DEAD; state 419 net/xfrm/xfrm_user.c x->km.state = XFRM_STATE_DEAD; state 1516 net/xfrm/xfrm_user.c if (x->km.state != XFRM_STATE_VALID) state 1629 net/xfrm/xfrm_user.c struct xfrm_usersa_info *p = &ue->state; state 1639 net/xfrm/xfrm_user.c if (x->km.state != XFRM_STATE_VALID) state 2028 net/xfrm/xfrm_user.c copy_to_user_state(x, &ue->state); state 218 scripts/unifdef.c static void state(Ifstate); state 351 scripts/unifdef.c static void Strue (void) { drop(); ignoreoff(); state(IS_TRUE_PREFIX); } state 352 scripts/unifdef.c static void Sfalse(void) { drop(); ignoreoff(); state(IS_FALSE_PREFIX); } state 353 scripts/unifdef.c static void Selse (void) { drop(); state(IS_TRUE_ELSE); } state 355 scripts/unifdef.c static void Pelif (void) { print(); ignoreoff(); state(IS_PASS_MIDDLE); } state 356 scripts/unifdef.c static void Pelse (void) { print(); state(IS_PASS_ELSE); } state 359 scripts/unifdef.c static void Dfalse(void) { drop(); ignoreoff(); state(IS_FALSE_TRAILER); } state 360 scripts/unifdef.c static void Delif (void) { drop(); ignoreoff(); state(IS_FALSE_MIDDLE); } state 361 scripts/unifdef.c static void Delse (void) { drop(); state(IS_FALSE_ELSE); } state 378 scripts/unifdef.c static void Mtrue (void) { keywordedit("else\n"); state(IS_TRUE_MIDDLE); } state 379 scripts/unifdef.c static void Melif (void) { keywordedit("endif\n"); state(IS_FALSE_TRAILER); } state 380 scripts/unifdef.c static void Melse (void) { keywordedit("endif\n"); state(IS_FALSE_ELSE); } state 38 security/selinux/ss/conditional.c s[sp] = p->bool_val_to_struct[cur->bool - 1]->state; state 207 security/selinux/ss/conditional.c if (!(b->state == 0 || b->state == 1)) state 229 security/selinux/ss/conditional.c booldatum->state = le32_to_cpu(buf[1]); state 123 security/selinux/ss/policydb.h int state; state 2170 security/selinux/ss/services.c (*values)[i] = policydb.bool_val_to_struct[i]->state; state 2207 security/selinux/ss/services.c if (!!values[i] != policydb.bool_val_to_struct[i]->state) { state 2213 security/selinux/ss/services.c policydb.bool_val_to_struct[i]->state, state 2218 security/selinux/ss/services.c policydb.bool_val_to_struct[i]->state = 1; state 2220 security/selinux/ss/services.c policydb.bool_val_to_struct[i]->state = 0; state 2254 security/selinux/ss/services.c rc = policydb.bool_val_to_struct[bool]->state; state 2273 security/selinux/ss/services.c booldatum->state = bvalues[i]; state 35 sound/ac97_bus.c ret = dev->driver->suspend(dev, state); state 137 sound/aoa/soundbus/core.c return drv->suspend(soundbus_dev, state); state 384 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = cii->codec->suspend(cii, state); state 134 sound/aoa/soundbus/soundbus.h int (*suspend)(struct codec_info_item *cii, pm_message_t state); state 191 sound/aoa/soundbus/soundbus.h int (*suspend)(struct soundbus_dev* dev, pm_message_t state); state 57 sound/core/device.c dev->state = SNDRV_DEV_BUILD; state 89 sound/core/device.c if (dev->state == SNDRV_DEV_REGISTERED && state 130 sound/core/device.c if (dev->state == SNDRV_DEV_REGISTERED && state 134 sound/core/device.c dev->state = SNDRV_DEV_DISCONNECTED; state 166 sound/core/device.c if (dev->state == SNDRV_DEV_BUILD && dev->ops->dev_register) { state 169 sound/core/device.c dev->state = SNDRV_DEV_REGISTERED; state 193 sound/core/device.c if (dev->state == SNDRV_DEV_BUILD && dev->ops->dev_register) { state 196 sound/core/device.c dev->state = SNDRV_DEV_REGISTERED; state 1159 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN || state 1160 sound/core/oss/pcm_oss.c runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) { state 1162 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN) state 1183 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_PREPARED) state 1195 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN || state 1196 sound/core/oss/pcm_oss.c runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) { state 1198 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN) state 1206 sound/core/oss/pcm_oss.c } else if (runtime->status->state == SNDRV_PCM_STATE_SETUP) { state 1223 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_DRAINING) { state 1241 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN || state 1242 sound/core/oss/pcm_oss.c runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) { state 1244 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN) state 1266 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_PREPARED) state 1277 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN || state 1278 sound/core/oss/pcm_oss.c runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) { state 1280 sound/core/oss/pcm_oss.c if (runtime->status->state == SNDRV_PCM_STATE_XRUN) state 1288 sound/core/oss/pcm_oss.c } else if (runtime->status->state == SNDRV_PCM_STATE_SETUP) { state 1550 sound/core/oss/pcm_oss.c res = runtime->status->state; state 2688 sound/core/oss/pcm_oss.c if (runtime->status->state != SNDRV_PCM_STATE_DRAINING && state 2689 sound/core/oss/pcm_oss.c (runtime->status->state != SNDRV_PCM_STATE_RUNNING || state 2699 sound/core/oss/pcm_oss.c if ((ostate = runtime->status->state) != SNDRV_PCM_STATE_RUNNING || state 279 sound/core/pcm.c return snd_pcm_state_names[state]; state 372 sound/core/pcm.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) { state 404 sound/core/pcm.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) { state 435 sound/core/pcm.c snd_iprintf(buffer, "state: %s\n", snd_pcm_state_name(status.state)); state 896 sound/core/pcm.c runtime->status->state = SNDRV_PCM_STATE_OPEN; state 1024 sound/core/pcm.c substream->runtime->status->state = SNDRV_PCM_STATE_DISCONNECTED; state 182 sound/core/pcm_compat.c s32 state; state 206 sound/core/pcm_compat.c if (put_user(status.state, &src->state) || state 285 sound/core/pcm_compat.c if (substream->runtime->status->state == SNDRV_PCM_STATE_OPEN) state 364 sound/core/pcm_compat.c s32 state; state 427 sound/core/pcm_compat.c sstatus.state = status->state; state 432 sound/core/pcm_compat.c if (put_user(sstatus.state, &src->s.status.state) || state 174 sound/core/pcm_lib.c if (substream->runtime->status->state == SNDRV_PCM_STATE_DRAINING) state 1527 sound/core/pcm_lib.c switch (runtime->status->state) { state 1603 sound/core/pcm_lib.c switch (runtime->status->state) { state 1623 sound/core/pcm_lib.c if (runtime->status->state == SNDRV_PCM_STATE_RUNNING) state 1649 sound/core/pcm_lib.c switch (runtime->status->state) { state 1669 sound/core/pcm_lib.c if (runtime->status->state == SNDRV_PCM_STATE_PREPARED && state 1691 sound/core/pcm_lib.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 1813 sound/core/pcm_lib.c switch (runtime->status->state) { state 1840 sound/core/pcm_lib.c if (runtime->status->state == SNDRV_PCM_STATE_RUNNING) state 1844 sound/core/pcm_lib.c if (runtime->status->state == state 1873 sound/core/pcm_lib.c switch (runtime->status->state) { state 1966 sound/core/pcm_lib.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 376 sound/core/pcm_native.c switch (runtime->status->state) { state 444 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_SETUP; state 456 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_OPEN; state 496 sound/core/pcm_native.c switch (runtime->status->state) { state 509 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_OPEN; state 524 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) { state 581 sound/core/pcm_native.c status->state = runtime->status->state; state 583 sound/core/pcm_native.c if (status->state == SNDRV_PCM_STATE_OPEN) state 599 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_RUNNING || state 600 sound/core/pcm_native.c runtime->status->state == SNDRV_PCM_STATE_DRAINING) state 606 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_RUNNING) state 644 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) { state 687 sound/core/pcm_native.c int (*pre_action)(struct snd_pcm_substream *substream, int state); state 688 sound/core/pcm_native.c int (*do_action)(struct snd_pcm_substream *substream, int state); state 689 sound/core/pcm_native.c void (*undo_action)(struct snd_pcm_substream *substream, int state); state 690 sound/core/pcm_native.c void (*post_action)(struct snd_pcm_substream *substream, int state); state 710 sound/core/pcm_native.c res = ops->pre_action(s, state); state 715 sound/core/pcm_native.c res = ops->do_action(s, state); state 721 sound/core/pcm_native.c ops->undo_action(s1, state); state 729 sound/core/pcm_native.c ops->post_action(s, state); state 753 sound/core/pcm_native.c res = ops->pre_action(substream, state); state 756 sound/core/pcm_native.c res = ops->do_action(substream, state); state 758 sound/core/pcm_native.c ops->post_action(substream, state); state 760 sound/core/pcm_native.c ops->undo_action(substream, state); state 779 sound/core/pcm_native.c res = snd_pcm_action_group(ops, substream, state, 1); state 782 sound/core/pcm_native.c res = snd_pcm_action_single(ops, substream, state); state 800 sound/core/pcm_native.c res = snd_pcm_action_group(ops, substream, state, 1); state 805 sound/core/pcm_native.c res = snd_pcm_action_single(ops, substream, state); state 822 sound/core/pcm_native.c res = snd_pcm_action_group(ops, substream, state, 0); state 824 sound/core/pcm_native.c res = snd_pcm_action_single(ops, substream, state); state 835 sound/core/pcm_native.c if (runtime->status->state != SNDRV_PCM_STATE_PREPARED) state 861 sound/core/pcm_native.c runtime->status->state = state; state 895 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 912 sound/core/pcm_native.c if (runtime->status->state != state) { state 917 sound/core/pcm_native.c runtime->status->state = state; state 938 sound/core/pcm_native.c return snd_pcm_action(&snd_pcm_action_stop, substream, state); state 966 sound/core/pcm_native.c if (runtime->status->state != SNDRV_PCM_STATE_RUNNING) state 968 sound/core/pcm_native.c } else if (runtime->status->state != SNDRV_PCM_STATE_PAUSED) state 996 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_PAUSED; state 1003 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_RUNNING; state 1032 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) state 1056 sound/core/pcm_native.c runtime->status->suspended_state = runtime->status->state; state 1057 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_SUSPENDED; state 1159 sound/core/pcm_native.c runtime->status->state = runtime->status->suspended_state; state 1202 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) { state 1209 sound/core/pcm_native.c switch (runtime->status->state) { state 1231 sound/core/pcm_native.c switch (runtime->status->state) { state 1284 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN || state 1285 sound/core/pcm_native.c runtime->status->state == SNDRV_PCM_STATE_DISCONNECTED) state 1306 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_PREPARED; state 1358 sound/core/pcm_native.c switch (runtime->status->state) { state 1367 sound/core/pcm_native.c runtime->status->state = SNDRV_PCM_STATE_DRAINING; state 1374 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_RUNNING) { state 1421 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 1425 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) { state 1466 sound/core/pcm_native.c if (substream->runtime->status->state == SNDRV_PCM_STATE_PAUSED) state 1485 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_DRAINING) state 1498 sound/core/pcm_native.c if (substream->runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) state 1542 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN || state 1543 sound/core/pcm_native.c runtime->status->state == SNDRV_PCM_STATE_DISCONNECTED || state 1544 sound/core/pcm_native.c runtime->status->state == SNDRV_PCM_STATE_SUSPENDED) state 1549 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_PAUSED) state 1602 sound/core/pcm_native.c if (substream->runtime->status->state == SNDRV_PCM_STATE_OPEN || state 1603 sound/core/pcm_native.c substream->runtime->status->state != substream1->runtime->status->state) { state 2203 sound/core/pcm_native.c switch (runtime->status->state) { state 2248 sound/core/pcm_native.c switch (runtime->status->state) { state 2293 sound/core/pcm_native.c switch (runtime->status->state) { state 2339 sound/core/pcm_native.c switch (runtime->status->state) { state 2379 sound/core/pcm_native.c switch (runtime->status->state) { state 2411 sound/core/pcm_native.c switch (runtime->status->state) { state 2472 sound/core/pcm_native.c sync_ptr.s.status.state = status->state; state 2580 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2597 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2662 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2679 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2796 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2820 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2848 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2883 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 2920 sound/core/pcm_native.c switch (runtime->status->state) { state 2959 sound/core/pcm_native.c switch (runtime->status->state) { state 3192 sound/core/pcm_native.c if (runtime->status->state == SNDRV_PCM_STATE_OPEN) state 130 sound/drivers/opl3/opl3_midi.c printk("%c", *(str + opl3->voices[i].state + 1)); state 172 sound/drivers/opl3/opl3_midi.c if (vp->state == SNDRV_OPL3_ST_NOT_AVAIL) state 188 sound/drivers/opl3/opl3_midi.c if (vp->state) state 194 sound/drivers/opl3/opl3_midi.c if (vp2->state == SNDRV_OPL3_ST_ON_2OP) { state 205 sound/drivers/opl3/opl3_midi.c else if (vp->state) state 209 sound/drivers/opl3/opl3_midi.c if (vp->state) state 248 sound/drivers/opl3/opl3_midi.c if (vp->state > 0 && vp->note_off_check) { state 401 sound/drivers/opl3/opl3_midi.c if (vp->state > 0) { state 408 sound/drivers/opl3/opl3_midi.c if (vp->state > 0) { state 573 sound/drivers/opl3/opl3_midi.c vp->state = SNDRV_OPL3_ST_ON_4OP; state 579 sound/drivers/opl3/opl3_midi.c vp2->state = SNDRV_OPL3_ST_NOT_AVAIL; state 581 sound/drivers/opl3/opl3_midi.c if (vp->state == SNDRV_OPL3_ST_ON_4OP) { state 585 sound/drivers/opl3/opl3_midi.c vp2->state = SNDRV_OPL3_ST_OFF; state 587 sound/drivers/opl3/opl3_midi.c vp->state = SNDRV_OPL3_ST_ON_2OP; state 645 sound/drivers/opl3/opl3_midi.c if (vp->state == SNDRV_OPL3_ST_ON_4OP) { state 649 sound/drivers/opl3/opl3_midi.c vp2->state = SNDRV_OPL3_ST_OFF; state 651 sound/drivers/opl3/opl3_midi.c vp->state = SNDRV_OPL3_ST_OFF; state 689 sound/drivers/opl3/opl3_midi.c if (vp->state > 0 && vp->chan == chan && vp->note == note) { state 791 sound/drivers/opl3/opl3_midi.c if (vp->state > 0 && vp->chan == chan) { state 67 sound/drivers/opl3/opl3_seq.c opl3->voices[idx].state = SNDRV_OPL3_ST_OFF; state 113 sound/drivers/opl3/opl3_seq.c opl3->voices[6].state = opl3->voices[7].state = state 114 sound/drivers/opl3/opl3_seq.c opl3->voices[8].state = SNDRV_OPL3_ST_NOT_AVAIL; state 284 sound/drivers/vx/vx_pcm.c *state = (rmh.Stat[0] & (1 << pipe->number)) ? 1 : 0; state 391 sound/drivers/vx/vx_pcm.c if (state == cur_state) state 398 sound/drivers/vx/vx_pcm.c if (state) { state 422 sound/drivers/vx/vx_pcm.c if (err < 0 || cur_state == state) state 62 sound/i2c/other/ak4xxx-adda.c snd_akm4xxx_write(ak, chip, 0x01, state ? 0x00 : 0x03); state 63 sound/i2c/other/ak4xxx-adda.c if (state) state 78 sound/i2c/other/ak4xxx-adda.c if (state) { state 96 sound/i2c/other/ak4xxx-adda.c snd_akm4xxx_write(ak, chip, 0x00, state ? 0x0c : 0x0f); state 97 sound/i2c/other/ak4xxx-adda.c if (state) state 116 sound/i2c/other/ak4xxx-adda.c ak4524_reset(ak, state); state 122 sound/i2c/other/ak4xxx-adda.c ak435X_reset(ak, state, 0x0b); state 125 sound/i2c/other/ak4xxx-adda.c ak435X_reset(ak, state, 0x10); state 128 sound/i2c/other/ak4xxx-adda.c ak4381_reset(ak, state); state 2264 sound/isa/es18xx.c return snd_es18xx_suspend(dev_get_drvdata(dev), state); state 2332 sound/isa/es18xx.c return snd_es18xx_suspend(pnp_get_drvdata(pdev), state); state 2393 sound/isa/es18xx.c return snd_es18xx_suspend(pnp_get_card_drvdata(pcard), state); state 250 sound/isa/gus/gus_pcm.c *runtime->state == SNDRV_PCM_STATE_RUNNING) { state 752 sound/isa/opl3sa2.c return snd_opl3sa2_suspend(pnp_get_drvdata(pdev), state); state 818 sound/isa/opl3sa2.c return snd_opl3sa2_suspend(pnp_get_card_drvdata(pcard), state); state 897 sound/isa/opl3sa2.c return snd_opl3sa2_suspend(dev_get_drvdata(dev), state); state 185 sound/isa/sb/emu8000_callback.c int state, val; state 188 sound/isa/sb/emu8000_callback.c state = vp->state; state 190 sound/isa/sb/emu8000_callback.c if (state == SNDRV_EMUX_ST_OFF) state 192 sound/isa/sb/emu8000_callback.c else if (state == SNDRV_EMUX_ST_RELEASED || state 193 sound/isa/sb/emu8000_callback.c state == SNDRV_EMUX_ST_PENDING) { state 199 sound/isa/sb/emu8000_callback.c else if (state & SNDRV_EMUX_ST_ON) state 205 sound/isa/sb/emu8000_callback.c if (state != SNDRV_EMUX_ST_OFF && state 573 sound/isa/sb/sb16.c return snd_sb16_suspend(dev_get_drvdata(dev), state); state 639 sound/isa/sb/sb16.c return snd_sb16_suspend(pnp_get_card_drvdata(pcard), state); state 220 sound/isa/sb/sb16_csp.c info.state = p->running; state 1404 sound/oss/ad1848.c state &= devc->audio_mode; state 1410 sound/oss/ad1848.c if (state & PCM_ENABLE_INPUT) state 1417 sound/oss/ad1848.c if (state & PCM_ENABLE_OUTPUT) state 1183 sound/oss/dmasound/dmasound_core.c } state; state 1225 sound/oss/dmasound/dmasound_core.c char *buffer = state.buf; state 1228 sound/oss/dmasound/dmasound_core.c if (state.busy) state 1233 sound/oss/dmasound/dmasound_core.c state.ptr = 0; state 1234 sound/oss/dmasound/dmasound_core.c state.busy = 1; state 1293 sound/oss/dmasound/dmasound_core.c state.len = len; state 1300 sound/oss/dmasound/dmasound_core.c state.busy = 0; state 1309 sound/oss/dmasound/dmasound_core.c int n = state.len - state.ptr; state 1314 sound/oss/dmasound/dmasound_core.c if (copy_to_user(buf, &state.buf[state.ptr], n)) state 1316 sound/oss/dmasound/dmasound_core.c state.ptr += n; state 1336 sound/oss/dmasound/dmasound_core.c state.busy = 0; state 669 sound/oss/msnd_pinnacle.c current->state = TASK_INTERRUPTIBLE; state 1275 sound/oss/msnd_pinnacle.c current->state = TASK_INTERRUPTIBLE; state 350 sound/oss/pas2_pcm.c state &= open_mode; state 352 sound/oss/pas2_pcm.c if (state & PCM_ENABLE_OUTPUT) state 354 sound/oss/pas2_pcm.c else if (state & PCM_ENABLE_INPUT) state 159 sound/oss/sscape.c current->state = TASK_INTERRUPTIBLE; state 1634 sound/oss/swarm_cs4297a.c current->state = TASK_RUNNING; state 1837 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 2207 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 2284 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 2290 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 2295 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 2360 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 2366 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 2371 sound/oss/vwsnd.c current->state = TASK_RUNNING; state 742 sound/oss/waveartist.c if (state & PCM_ENABLE_INPUT) state 744 sound/oss/waveartist.c if (state & PCM_ENABLE_OUTPUT) state 751 sound/oss/waveartist.c state &= devc->audio_mode; state 754 sound/oss/waveartist.c state & PCM_ENABLE_INPUT) state 761 sound/oss/waveartist.c state & PCM_ENABLE_OUTPUT) state 1991 sound/pci/ali5451/ali5451.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 773 sound/pci/als300.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1003 sound/pci/als4000.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1480 sound/pci/atiixp.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1136 sound/pci/atiixp_modem.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 2344 sound/pci/azt3328.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 3362 sound/pci/cmipci.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 2051 sound/pci/cs4281.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 3635 sound/pci/cs46xx/cs46xx_lib.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 81 sound/pci/cs5535audio/cs5535audio_pm.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 723 sound/pci/echoaudio/echoaudio.c switch (pipe->state) { state 730 sound/pci/echoaudio/echoaudio.c pipe->state = PIPE_STATE_STARTED; state 745 sound/pci/echoaudio/echoaudio.c pipe->state = PIPE_STATE_STOPPED; state 755 sound/pci/echoaudio/echoaudio.c pipe->state = PIPE_STATE_PAUSED; state 344 sound/pci/echoaudio/echoaudio.h char state; /* pipe state */ state 1052 sound/pci/echoaudio/echoaudio_dsp.c pipe->state = PIPE_STATE_STOPPED; state 1073 sound/pci/echoaudio/echoaudio_dsp.c if (snd_BUG_ON(pipe->state != PIPE_STATE_STOPPED)) state 230 sound/pci/emu10k1/emu10k1.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 111 sound/pci/emu10k1/emu10k1_callback.c vp->state = SNDRV_EMUX_ST_OFF; state 236 sound/pci/emu10k1/emu10k1_callback.c int state, val; state 239 sound/pci/emu10k1/emu10k1_callback.c state = vp->state; state 240 sound/pci/emu10k1/emu10k1_callback.c if (state == SNDRV_EMUX_ST_OFF) { state 248 sound/pci/emu10k1/emu10k1_callback.c else if (state == SNDRV_EMUX_ST_RELEASED || state 249 sound/pci/emu10k1/emu10k1_callback.c state == SNDRV_EMUX_ST_PENDING) { state 257 sound/pci/emu10k1/emu10k1_callback.c else if (state == SNDRV_EMUX_ST_STANDBY) state 259 sound/pci/emu10k1/emu10k1_callback.c else if (state & SNDRV_EMUX_ST_ON) state 2045 sound/pci/ens1370.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1497 sound/pci/es1938.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 2367 sound/pci/es1968.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1555 sound/pci/fm801.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1856 sound/pci/hda/hda_codec.c int state; state 1861 sound/pci/hda/hda_codec.c state = snd_hda_codec_read(codec, fg, 0, state 1863 sound/pci/hda/hda_codec.c if (state == power_state) state 615 sound/pci/hda/hda_codec.h int (*suspend)(struct hda_codec *codec, pm_message_t state); state 1936 sound/pci/hda/hda_intel.c snd_hda_suspend(chip->bus, state); state 1946 sound/pci/hda/hda_intel.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 401 sound/pci/hda/hda_proc.c if (state < 4) state 402 sound/pci/hda/hda_proc.c return buf[state]; state 1024 sound/pci/intel8x0m.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 2446 sound/pci/maestro3.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1396 sound/pci/nm256/nm256.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 610 sound/pci/oxygen/oxygen_lib.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 854 sound/pci/pcxhr/pcxhr_core.c int state, i, err; state 863 sound/pci/pcxhr/pcxhr_core.c state = pcxhr_pipes_running(mgr); state 865 sound/pci/pcxhr/pcxhr_core.c start ? "START" : "STOP", audio_mask, state); state 867 sound/pci/pcxhr/pcxhr_core.c audio_mask &= ~state; /* start only pipes that are not yet started */ state 868 sound/pci/pcxhr/pcxhr_core.c state = audio_mask; state 870 sound/pci/pcxhr/pcxhr_core.c err = pcxhr_prepair_pipe_start(mgr, state, &state); state 873 sound/pci/pcxhr/pcxhr_core.c if (state == 0) state 878 sound/pci/pcxhr/pcxhr_core.c audio_mask &= state; /* stop only pipes that are started */ state 889 sound/pci/pcxhr/pcxhr_core.c state = pcxhr_pipes_running(mgr); state 891 sound/pci/pcxhr/pcxhr_core.c if ((state & audio_mask) == (start ? audio_mask : 0)) state 484 sound/pci/riptide/riptide.c unsigned char state; state 1127 sound/pci/riptide/riptide.c (data = runtime->private_data) && data->state != ST_STOP) { state 1137 sound/pci/riptide/riptide.c && (data->state == ST_PLAY)) { state 1138 sound/pci/riptide/riptide.c data->state = ST_STOP; state 1149 sound/pci/riptide/riptide.c if (data->state != ST_STOP) { state 1184 sound/pci/riptide/riptide.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1432 sound/pci/riptide/riptide.c if (!(data->state & ST_PLAY)) { state 1435 sound/pci/riptide/riptide.c data->state = ST_PLAY; state 1449 sound/pci/riptide/riptide.c data->state = ST_STOP; state 1461 sound/pci/riptide/riptide.c if (!(data->state & ST_PAUSE)) { state 1463 sound/pci/riptide/riptide.c data->state |= ST_PAUSE; state 1468 sound/pci/riptide/riptide.c if (data->state & ST_PAUSE) { state 1470 sound/pci/riptide/riptide.c data->state &= ~ST_PAUSE; state 1646 sound/pci/riptide/riptide.c data->state = ST_STOP; state 1666 sound/pci/riptide/riptide.c data->state = ST_STOP; state 456 sound/pci/rme9652/hdsp.c unsigned short state; /* stores state bits */ state 660 sound/pci/rme9652/hdsp.c hdsp->state &= ~HDSP_FirmwareLoaded; state 710 sound/pci/rme9652/hdsp.c if (hdsp->state & HDSP_InitializationComplete) { state 717 sound/pci/rme9652/hdsp.c hdsp->state |= HDSP_FirmwareLoaded; state 762 sound/pci/rme9652/hdsp.c hdsp->state &= ~HDSP_FirmwareLoaded; state 767 sound/pci/rme9652/hdsp.c if (! (hdsp->state & HDSP_FirmwareCached)) { state 3283 sound/pci/rme9652/hdsp.c if (hdsp->state & HDSP_FirmwareCached) { state 4556 sound/pci/rme9652/hdsp.c if (!(hdsp->state & HDSP_FirmwareLoaded)) { state 4575 sound/pci/rme9652/hdsp.c if (!(hdsp->state & HDSP_FirmwareLoaded)) { state 4647 sound/pci/rme9652/hdsp.c if (hdsp->state & (HDSP_FirmwareCached | HDSP_FirmwareLoaded)) state 4662 sound/pci/rme9652/hdsp.c hdsp->state |= HDSP_FirmwareCached; state 4667 sound/pci/rme9652/hdsp.c if (!(hdsp->state & HDSP_InitializationComplete)) { state 4867 sound/pci/rme9652/hdsp.c if (!(hdsp->state & HDSP_InitializationComplete)) { state 4876 sound/pci/rme9652/hdsp.c hdsp->state |= HDSP_InitializationComplete; state 4933 sound/pci/rme9652/hdsp.c hdsp->state |= HDSP_FirmwareCached; state 4938 sound/pci/rme9652/hdsp.c if (!(hdsp->state & HDSP_InitializationComplete)) { state 4966 sound/pci/rme9652/hdsp.c hdsp->state = 0; state 5089 sound/pci/rme9652/hdsp.c hdsp->state |= HDSP_FirmwareLoaded; state 1210 sound/pci/sis7019.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 3933 sound/pci/trident/trident_main.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 2187 sound/pci/via82xx.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 1039 sound/pci/via82xx_modem.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 267 sound/pci/vx222/vx222.c err = snd_vx_suspend(&vx->core, state); state 270 sound/pci/vx222/vx222.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 2285 sound/pci/ymfpci/ymfpci_main.c pci_set_power_state(pci, pci_choose_state(pci, state)); state 966 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, reg, val | (!!state << bit)); state 484 sound/soc/codecs/wm8580.c struct pll_state *state; state 497 sound/soc/codecs/wm8580.c state = &wm8580->a; state 502 sound/soc/codecs/wm8580.c state = &wm8580->b; state 516 sound/soc/codecs/wm8580.c state->in = freq_in; state 517 sound/soc/codecs/wm8580.c state->out = freq_out; state 66 sound/soc/s3c24xx/s3c24xx-pcm.c int state; state 133 sound/soc/s3c24xx/s3c24xx-pcm.c if (prtd->state & ST_RUNNING) { state 270 sound/soc/s3c24xx/s3c24xx-pcm.c prtd->state |= ST_RUNNING; state 278 sound/soc/s3c24xx/s3c24xx-pcm.c prtd->state &= ~ST_RUNNING; state 667 sound/soc/soc-core.c machine->suspend_pre(pdev, state); state 693 sound/soc/soc-core.c codec_dev->suspend(pdev, state); state 702 sound/soc/soc-core.c machine->suspend_post(pdev, state); state 777 sound/soc/soc-dapm.c char *state = "not set"; state 803 sound/soc/soc-dapm.c state = "On"; state 806 sound/soc/soc-dapm.c state = "Prepare"; state 809 sound/soc/soc-dapm.c state = "Standby"; state 812 sound/soc/soc-dapm.c state = "Off"; state 815 sound/soc/soc-dapm.c count += sprintf(buf + count, "PM State: %s\n", state); state 212 sound/synth/emux/emux_effect.c if (!STATE_IS_PLAYING(vp->state) || vp->chan != chan) state 66 sound/synth/emux/emux_proc.c if (emu->voices[0].state != SNDRV_EMUX_ST_OFF && emu->voices[0].ch >= 0) { state 105 sound/synth/emux/emux_synth.c if (STATE_IS_PLAYING(vp->state)) state 122 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_STANDBY; state 124 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_OFF; state 126 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_STANDBY; state 133 sound/synth/emux/emux_synth.c if (vp->state == SNDRV_EMUX_ST_STANDBY && state 136 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_ON; state 177 sound/synth/emux/emux_synth.c if (STATE_IS_PLAYING(vp->state) && state 179 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_RELEASED; state 186 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_PENDING; state 215 sound/synth/emux/emux_synth.c if (vp->state == SNDRV_EMUX_ST_PENDING) { state 220 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_RELEASED; state 256 sound/synth/emux/emux_synth.c if (vp->state == SNDRV_EMUX_ST_ON && state 388 sound/synth/emux/emux_synth.c if (STATE_IS_PLAYING(vp->state) && vp->chan == chan && state 430 sound/synth/emux/emux_synth.c if (STATE_IS_PLAYING(vp->state)) state 432 sound/synth/emux/emux_synth.c if (vp->state == SNDRV_EMUX_ST_OFF) { state 467 sound/synth/emux/emux_synth.c if (STATE_IS_PLAYING(vp->state) && state 470 sound/synth/emux/emux_synth.c if (vp->state == SNDRV_EMUX_ST_OFF) { state 495 sound/synth/emux/emux_synth.c if (STATE_IS_PLAYING(vp->state) && vp->port == port && state 516 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_OFF; state 528 sound/synth/emux/emux_synth.c if (!STATE_IS_PLAYING(vp->state)) state 939 sound/synth/emux/emux_synth.c vp->state = SNDRV_EMUX_ST_OFF; state 956 sound/synth/emux/emux_synth.c if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF) state 957 sound/synth/emux/emux_synth.c emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED; state 960 sound/synth/emux/emux_synth.c voice, emu->voices[voice].state); state 973 sound/synth/emux/emux_synth.c if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED) state 974 sound/synth/emux/emux_synth.c emu->voices[voice].state = SNDRV_EMUX_ST_OFF; state 977 sound/synth/emux/emux_synth.c voice, emu->voices[voice].state); state 131 sound/usb/usbmidi.c uint8_t state; state 476 sound/usb/usbmidi.c port->state = STATE_SYSEX_1; state 481 sound/usb/usbmidi.c port->state = STATE_1PARAM; state 485 sound/usb/usbmidi.c port->state = STATE_2PARAM_1; state 489 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; state 493 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; state 496 sound/usb/usbmidi.c switch (port->state) { state 507 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; state 513 sound/usb/usbmidi.c port->state = STATE_1PARAM; state 515 sound/usb/usbmidi.c port->state = STATE_2PARAM_1; state 517 sound/usb/usbmidi.c switch (port->state) { state 523 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; state 529 sound/usb/usbmidi.c port->state = STATE_2PARAM_2; state 534 sound/usb/usbmidi.c port->state = STATE_2PARAM_1; state 537 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; state 543 sound/usb/usbmidi.c port->state = STATE_SYSEX_1; state 547 sound/usb/usbmidi.c port->state = STATE_SYSEX_2; state 551 sound/usb/usbmidi.c port->state = STATE_SYSEX_0; state 861 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; state 199 sound/usb/usbmixer.c if (! state->map) state 202 sound/usb/usbmixer.c for (p = state->map; p->id; p++) { state 217 sound/usb/usbmixer.c if (! state->map) state 219 sound/usb/usbmixer.c for (p = state->map; p->id; p++) { state 235 sound/usb/usbmixer.c if (! state->selector_map) state 237 sound/usb/usbmixer.c for (p = state->selector_map; p->id; p++) { state 252 sound/usb/usbmixer.c while ((p = snd_usb_find_desc(state->buffer, state->buflen, p, state 266 sound/usb/usbmixer.c int len = usb_string(state->chip->dev, index, buf, maxlen - 1); state 471 sound/usb/usbmixer.c while (snd_ctl_find_id(state->chip->card, &kctl->id)) state 473 sound/usb/usbmixer.c if ((err = snd_ctl_add(state->chip->card, kctl)) < 0) { state 478 sound/usb/usbmixer.c cval->next_id_elem = state->mixer->id_elems[cval->id]; state 479 sound/usb/usbmixer.c state->mixer->id_elems[cval->id] = cval; state 537 sound/usb/usbmixer.c return snd_usb_copy_string_desc(state, iterm->name, name, maxlen); state 586 sound/usb/usbmixer.c while ((p1 = find_audio_control_unit(state, id)) != NULL) { state 606 sound/usb/usbmixer.c if (check_input_term(state, p1[5], term) < 0) state 887 sound/usb/usbmixer.c if (check_ignored_ctl(state, unitid, control)) state 895 sound/usb/usbmixer.c cval->mixer = state->mixer; state 921 sound/usb/usbmixer.c len = check_mapped_name(state, unitid, control, kctl->id.name, sizeof(kctl->id.name)); state 924 sound/usb/usbmixer.c len = snd_usb_copy_string_desc(state, nameid, kctl->id.name, sizeof(kctl->id.name)); state 937 sound/usb/usbmixer.c len = get_term_name(state, iterm, kctl->id.name, sizeof(kctl->id.name), 1); state 939 sound/usb/usbmixer.c len = get_term_name(state, &state->oterm, kctl->id.name, sizeof(kctl->id.name), 1); state 948 sound/usb/usbmixer.c if (! mapped_name && ! (state->oterm.type >> 16)) { state 949 sound/usb/usbmixer.c if ((state->oterm.type & 0xff00) == 0x0100) { state 976 sound/usb/usbmixer.c switch (state->chip->usb_id) { state 990 sound/usb/usbmixer.c add_control_to_empty(state, kctl); state 1013 sound/usb/usbmixer.c if ((err = parse_audio_unit(state, ftr[4])) < 0) state 1017 sound/usb/usbmixer.c if (check_input_term(state, ftr[4], &iterm) < 0) state 1036 sound/usb/usbmixer.c build_feature_ctl(state, ftr, ch_bits, i, &iterm, unitid); state 1038 sound/usb/usbmixer.c build_feature_ctl(state, ftr, 0, i, &iterm, unitid); state 1066 sound/usb/usbmixer.c if (check_ignored_ctl(state, unitid, 0)) state 1073 sound/usb/usbmixer.c cval->mixer = state->mixer; state 1095 sound/usb/usbmixer.c len = check_mapped_name(state, unitid, 0, kctl->id.name, sizeof(kctl->id.name)); state 1097 sound/usb/usbmixer.c len = get_term_name(state, iterm, kctl->id.name, sizeof(kctl->id.name), 0); state 1104 sound/usb/usbmixer.c add_control_to_empty(state, kctl); state 1130 sound/usb/usbmixer.c err = parse_audio_unit(state, desc[5 + pin]); state 1133 sound/usb/usbmixer.c err = check_input_term(state, desc[5 + pin], &iterm); state 1148 sound/usb/usbmixer.c build_mixer_unit_ctl(state, desc, pin, ich, state 1299 sound/usb/usbmixer.c if ((err = parse_audio_unit(state, dsc[7 + i])) < 0) state 1314 sound/usb/usbmixer.c if (check_ignored_ctl(state, unitid, valinfo->control)) state 1321 sound/usb/usbmixer.c cval->mixer = state->mixer; state 1345 sound/usb/usbmixer.c if (check_mapped_name(state, unitid, cval->control, kctl->id.name, sizeof(kctl->id.name))) state 1353 sound/usb/usbmixer.c len = snd_usb_copy_string_desc(state, nameid, kctl->id.name, sizeof(kctl->id.name)); state 1362 sound/usb/usbmixer.c if ((err = add_control_to_empty(state, kctl)) < 0) state 1371 sound/usb/usbmixer.c return build_audio_procunit(state, unitid, desc, procunits, "Processing Unit"); state 1376 sound/usb/usbmixer.c return build_audio_procunit(state, unitid, desc, NULL, "Extension Unit"); state 1493 sound/usb/usbmixer.c if ((err = parse_audio_unit(state, desc[5 + i])) < 0) state 1500 sound/usb/usbmixer.c if (check_ignored_ctl(state, unitid, 0)) state 1508 sound/usb/usbmixer.c cval->mixer = state->mixer; state 1536 sound/usb/usbmixer.c len = check_mapped_selector_name(state, unitid, i, namelist[i], state 1538 sound/usb/usbmixer.c if (! len && check_input_term(state, desc[5 + i], &iterm) >= 0) state 1539 sound/usb/usbmixer.c len = get_term_name(state, &iterm, namelist[i], MAX_ITEM_NAME_LEN, 0); state 1555 sound/usb/usbmixer.c len = check_mapped_name(state, unitid, 0, kctl->id.name, sizeof(kctl->id.name)); state 1559 sound/usb/usbmixer.c snd_usb_copy_string_desc(state, nameid, kctl->id.name, sizeof(kctl->id.name)); state 1561 sound/usb/usbmixer.c len = get_term_name(state, &state->oterm, state 1566 sound/usb/usbmixer.c if ((state->oterm.type & 0xff00) == 0x0100) state 1574 sound/usb/usbmixer.c if ((err = add_control_to_empty(state, kctl)) < 0) state 1589 sound/usb/usbmixer.c if (test_and_set_bit(unitid, state->unitbitmap)) state 1592 sound/usb/usbmixer.c p1 = find_audio_control_unit(state, unitid); state 1602 sound/usb/usbmixer.c return parse_audio_mixer_unit(state, unitid, p1); state 1604 sound/usb/usbmixer.c return parse_audio_selector_unit(state, unitid, p1); state 1606 sound/usb/usbmixer.c return parse_audio_feature_unit(state, unitid, p1); state 1608 sound/usb/usbmixer.c return parse_audio_processing_unit(state, unitid, p1); state 1610 sound/usb/usbmixer.c return parse_audio_extension_unit(state, unitid, p1); state 1644 sound/usb/usbmixer.c struct mixer_build state; state 1650 sound/usb/usbmixer.c memset(&state, 0, sizeof(state)); state 1651 sound/usb/usbmixer.c state.chip = mixer->chip; state 1652 sound/usb/usbmixer.c state.mixer = mixer; state 1653 sound/usb/usbmixer.c state.buffer = hostif->extra; state 1654 sound/usb/usbmixer.c state.buflen = hostif->extralen; state 1658 sound/usb/usbmixer.c if (map->id == state.chip->usb_id) { state 1659 sound/usb/usbmixer.c state.map = map->map; state 1660 sound/usb/usbmixer.c state.selector_map = map->selector_map; state 1670 sound/usb/usbmixer.c set_bit(desc[3], state.unitbitmap); /* mark terminal ID as visited */ state 1671 sound/usb/usbmixer.c state.oterm.id = desc[3]; state 1672 sound/usb/usbmixer.c state.oterm.type = combine_word(&desc[4]); state 1673 sound/usb/usbmixer.c state.oterm.name = desc[8]; state 1674 sound/usb/usbmixer.c err = parse_audio_unit(&state, desc[7]); state 242 sound/usb/usx2y/us122l.c switch (s->state) { state 404 sound/usb/usx2y/us122l.c us122l->sk.s->state == usb_stream_xrun) { state 234 sound/usb/usx2y/usb_stream.c sk->s->state = usb_stream_stopped; state 502 sound/usb/usx2y/usb_stream.c s->state = usb_stream_xrun; state 524 sound/usb/usx2y/usb_stream.c if (s->state >= usb_stream_sync1) { state 592 sound/usb/usx2y/usb_stream.c if (s->state == usb_stream_sync1 && s->insize_done > 360000) { state 594 sound/usb/usx2y/usb_stream.c s->state = usb_stream_ready; state 617 sound/usb/usx2y/usb_stream.c if (s->state >= usb_stream_sync0) { state 639 sound/usb/usx2y/usb_stream.c if (!empty && s->state < usb_stream_sync1) state 640 sound/usb/usx2y/usb_stream.c ++s->state; state 660 sound/usb/usx2y/usb_stream.c if (s->state != usb_stream_stopped) state 737 sound/usb/usx2y/usb_stream.c while (s->state != usb_stream_ready && wait_ms > 0) { state 738 sound/usb/usx2y/usb_stream.c snd_printdd(KERN_DEBUG "%i\n", s->state); state 744 sound/usb/usx2y/usb_stream.c return s->state == usb_stream_ready ? 0 : -EFAULT; state 759 sound/usb/usx2y/usb_stream.c sk->s->state = usb_stream_stopped; state 44 sound/usb/usx2y/usb_stream.h unsigned state; state 55 sound/usb/usx2y/usbusx2y.h atomic_t state; state 149 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&subs->state) >= state_PRERUNNING) state 214 sound/usb/usx2y/usbusx2yaudio.c int err, state; state 217 sound/usb/usx2y/usbusx2yaudio.c state = atomic_read(&playbacksubs->state); state 219 sound/usb/usx2y/usbusx2yaudio.c if (state == state_RUNNING) state 221 sound/usb/usx2y/usbusx2yaudio.c else if (state >= state_PRERUNNING) state 222 sound/usb/usx2y/usbusx2yaudio.c atomic_inc(&playbacksubs->state); state 224 sound/usb/usx2y/usbusx2yaudio.c switch (state) { state 227 sound/usb/usx2y/usbusx2yaudio.c atomic_inc(&playbacksubs->state); state 231 sound/usb/usx2y/usbusx2yaudio.c atomic_inc(&playbacksubs->state); state 244 sound/usb/usx2y/usbusx2yaudio.c state = atomic_read(&capsubs->state); state 245 sound/usb/usx2y/usbusx2yaudio.c if (state >= state_PREPARED) { state 246 sound/usb/usx2y/usbusx2yaudio.c if (state == state_RUNNING) { state 249 sound/usb/usx2y/usbusx2yaudio.c } else if (state >= state_PRERUNNING) state 250 sound/usb/usx2y/usbusx2yaudio.c atomic_inc(&capsubs->state); state 266 sound/usb/usx2y/usbusx2yaudio.c snd_printdd("%i %p state=%i\n", s, subs, atomic_read(&subs->state)); state 267 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&subs->state, state_STOPPED); state 273 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&subs->state) >= state_PRERUNNING) { state 313 sound/usb/usx2y/usbusx2yaudio.c if (unlikely(atomic_read(&subs->state) < state_PREPARED)) { state 334 sound/usb/usx2y/usbusx2yaudio.c atomic_read(&capsubs->state) >= state_PREPARED && state 336 sound/usb/usx2y/usbusx2yaudio.c atomic_read(&playbacksubs->state) < state_PREPARED)) { state 376 sound/usb/usx2y/usbusx2yaudio.c atomic_inc(&prepare_subs->state); state 490 sound/usb/usx2y/usbusx2yaudio.c if (subs != NULL && atomic_read(&subs->state) >= state_PREPARED) state 501 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&subs->state, state_STARTING3); state 518 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&subs->state, state_STARTING1); state 524 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&subs->state) != state_PREPARED) state 553 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&subs->state) == state_PREPARED && state 554 sound/usb/usx2y/usbusx2yaudio.c atomic_read(&subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]->state) >= state_PREPARED) { state 555 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&subs->state, state_PRERUNNING); state 563 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&subs->state) >= state_PRERUNNING) state 564 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&subs->state, state_PREPARED); state 812 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&subs->state, state_STOPPED); state 817 sound/usb/usx2y/usbusx2yaudio.c cap_subs->pcm_substream->runtime->status->state < SNDRV_PCM_STATE_PREPARED) { state 818 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&cap_subs->state, state_STOPPED); state 823 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&playback_subs->state) < state_PREPARED) { state 824 sound/usb/usx2y/usbusx2yaudio.c atomic_set(&subs->state, state_STOPPED); state 849 sound/usb/usx2y/usbusx2yaudio.c if (atomic_read(&capsubs->state) < state_PREPARED) { state 861 sound/usb/usx2y/usbusx2yaudio.c if (subs != capsubs && atomic_read(&subs->state) < state_PREPARED) state 136 sound/usb/usx2y/usx2yhwdeppcm.c if (atomic_read(&subs->state) != state_RUNNING) state 176 sound/usb/usx2y/usx2yhwdeppcm.c int err, state; state 179 sound/usb/usx2y/usx2yhwdeppcm.c state = atomic_read(&playbacksubs->state); state 181 sound/usb/usx2y/usx2yhwdeppcm.c if (state == state_RUNNING) state 183 sound/usb/usx2y/usx2yhwdeppcm.c else if (state >= state_PRERUNNING) state 184 sound/usb/usx2y/usx2yhwdeppcm.c atomic_inc(&playbacksubs->state); state 186 sound/usb/usx2y/usx2yhwdeppcm.c switch (state) { state 189 sound/usb/usx2y/usx2yhwdeppcm.c atomic_inc(&playbacksubs->state); state 193 sound/usb/usx2y/usx2yhwdeppcm.c atomic_inc(&playbacksubs->state); state 206 sound/usb/usx2y/usx2yhwdeppcm.c state = atomic_read(&capsubs->state); state 207 sound/usb/usx2y/usx2yhwdeppcm.c if (state >= state_PREPARED) { state 208 sound/usb/usx2y/usx2yhwdeppcm.c if (state == state_RUNNING) { state 211 sound/usb/usx2y/usx2yhwdeppcm.c } else if (state >= state_PRERUNNING) state 212 sound/usb/usx2y/usx2yhwdeppcm.c atomic_inc(&capsubs->state); state 235 sound/usb/usx2y/usx2yhwdeppcm.c if (unlikely(atomic_read(&subs->state) < state_PREPARED)) { state 256 sound/usb/usx2y/usx2yhwdeppcm.c if (capsubs->completed_urb && atomic_read(&capsubs->state) >= state_PREPARED && state 258 sound/usb/usx2y/usx2yhwdeppcm.c (playbacksubs->completed_urb || atomic_read(&playbacksubs->state) < state_PREPARED)) { state 300 sound/usb/usx2y/usx2yhwdeppcm.c atomic_inc(&prepare_subs->state); state 304 sound/usb/usx2y/usx2yhwdeppcm.c atomic_inc(&cap_subs2->state); state 370 sound/usb/usx2y/usx2yhwdeppcm.c atomic_set(&subs->state, state_STOPPED); state 375 sound/usb/usx2y/usx2yhwdeppcm.c cap_subs->pcm_substream->runtime->status->state < SNDRV_PCM_STATE_PREPARED) { state 376 sound/usb/usx2y/usx2yhwdeppcm.c atomic_set(&cap_subs->state, state_STOPPED); state 378 sound/usb/usx2y/usx2yhwdeppcm.c atomic_set(&cap_subs2->state, state_STOPPED); state 385 sound/usb/usx2y/usx2yhwdeppcm.c if (atomic_read(&playback_subs->state) < state_PREPARED) { state 386 sound/usb/usx2y/usx2yhwdeppcm.c atomic_set(&subs->state, state_STOPPED); state 388 sound/usb/usx2y/usx2yhwdeppcm.c atomic_set(&cap_subs2->state, state_STOPPED); state 429 sound/usb/usx2y/usx2yhwdeppcm.c if (subs != NULL && atomic_read(&subs->state) >= state_PREPARED) state 443 sound/usb/usx2y/usx2yhwdeppcm.c atomic_set(&subs->state, state_STARTING3); state 462 sound/usb/usx2y/usx2yhwdeppcm.c atomic_set(&subs->state, state_STARTING1); state 470 sound/usb/usx2y/usx2yhwdeppcm.c if (atomic_read(&subs->state) != state_PREPARED) state 505 sound/usb/usx2y/usx2yhwdeppcm.c if (atomic_read(&capsubs->state) < state_PREPARED) { state 520 sound/usb/usx2y/usx2yhwdeppcm.c if (atomic_read(&subs->state) < state_PREPARED) {