Lines Matching refs:flag
694 u32 flag) in iscsit_ta_generate_node_acls() argument
698 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls()
699 pr_err("Illegal value %d\n", flag); in iscsit_ta_generate_node_acls()
703 a->generate_node_acls = flag; in iscsit_ta_generate_node_acls()
707 if (flag == 1 && a->cache_dynamic_acls == 0) { in iscsit_ta_generate_node_acls()
743 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
747 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
748 pr_err("Illegal value %d\n", flag); in iscsit_ta_cache_dynamic_acls()
752 if (a->generate_node_acls == 1 && flag == 0) { in iscsit_ta_cache_dynamic_acls()
758 a->cache_dynamic_acls = flag; in iscsit_ta_cache_dynamic_acls()
768 u32 flag) in iscsit_ta_demo_mode_write_protect() argument
772 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_write_protect()
773 pr_err("Illegal value %d\n", flag); in iscsit_ta_demo_mode_write_protect()
777 a->demo_mode_write_protect = flag; in iscsit_ta_demo_mode_write_protect()
786 u32 flag) in iscsit_ta_prod_mode_write_protect() argument
790 if ((flag != 0) && (flag != 1)) { in iscsit_ta_prod_mode_write_protect()
791 pr_err("Illegal value %d\n", flag); in iscsit_ta_prod_mode_write_protect()
795 a->prod_mode_write_protect = flag; in iscsit_ta_prod_mode_write_protect()
805 u32 flag) in iscsit_ta_demo_mode_discovery() argument
809 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_discovery()
810 pr_err("Illegal value %d\n", flag); in iscsit_ta_demo_mode_discovery()
814 a->demo_mode_discovery = flag; in iscsit_ta_demo_mode_discovery()
841 u32 flag) in iscsit_ta_t10_pi() argument
845 if ((flag != 0) && (flag != 1)) { in iscsit_ta_t10_pi()
846 pr_err("Illegal value %d\n", flag); in iscsit_ta_t10_pi()
850 a->t10_pi = flag; in iscsit_ta_t10_pi()
878 u32 flag) in iscsit_ta_tpg_enabled_sendtargets() argument
882 if ((flag != 0) && (flag != 1)) { in iscsit_ta_tpg_enabled_sendtargets()
883 pr_err("Illegal value %d\n", flag); in iscsit_ta_tpg_enabled_sendtargets()
887 a->tpg_enabled_sendtargets = flag; in iscsit_ta_tpg_enabled_sendtargets()
896 u32 flag) in iscsit_ta_login_keys_workaround() argument
900 if ((flag != 0) && (flag != 1)) { in iscsit_ta_login_keys_workaround()
901 pr_err("Illegal value %d\n", flag); in iscsit_ta_login_keys_workaround()
905 a->login_keys_workaround = flag; in iscsit_ta_login_keys_workaround()