Lines Matching refs:flag
670 u32 flag) in iscsit_ta_generate_node_acls() argument
674 if ((flag != 0) && (flag != 1)) { in iscsit_ta_generate_node_acls()
675 pr_err("Illegal value %d\n", flag); in iscsit_ta_generate_node_acls()
679 a->generate_node_acls = flag; in iscsit_ta_generate_node_acls()
683 if (flag == 1 && a->cache_dynamic_acls == 0) { in iscsit_ta_generate_node_acls()
719 u32 flag) in iscsit_ta_cache_dynamic_acls() argument
723 if ((flag != 0) && (flag != 1)) { in iscsit_ta_cache_dynamic_acls()
724 pr_err("Illegal value %d\n", flag); in iscsit_ta_cache_dynamic_acls()
728 if (a->generate_node_acls == 1 && flag == 0) { in iscsit_ta_cache_dynamic_acls()
734 a->cache_dynamic_acls = flag; in iscsit_ta_cache_dynamic_acls()
744 u32 flag) in iscsit_ta_demo_mode_write_protect() argument
748 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_write_protect()
749 pr_err("Illegal value %d\n", flag); in iscsit_ta_demo_mode_write_protect()
753 a->demo_mode_write_protect = flag; in iscsit_ta_demo_mode_write_protect()
762 u32 flag) in iscsit_ta_prod_mode_write_protect() argument
766 if ((flag != 0) && (flag != 1)) { in iscsit_ta_prod_mode_write_protect()
767 pr_err("Illegal value %d\n", flag); in iscsit_ta_prod_mode_write_protect()
771 a->prod_mode_write_protect = flag; in iscsit_ta_prod_mode_write_protect()
781 u32 flag) in iscsit_ta_demo_mode_discovery() argument
785 if ((flag != 0) && (flag != 1)) { in iscsit_ta_demo_mode_discovery()
786 pr_err("Illegal value %d\n", flag); in iscsit_ta_demo_mode_discovery()
790 a->demo_mode_discovery = flag; in iscsit_ta_demo_mode_discovery()
817 u32 flag) in iscsit_ta_t10_pi() argument
821 if ((flag != 0) && (flag != 1)) { in iscsit_ta_t10_pi()
822 pr_err("Illegal value %d\n", flag); in iscsit_ta_t10_pi()
826 a->t10_pi = flag; in iscsit_ta_t10_pi()
854 u32 flag) in iscsit_ta_tpg_enabled_sendtargets() argument
858 if ((flag != 0) && (flag != 1)) { in iscsit_ta_tpg_enabled_sendtargets()
859 pr_err("Illegal value %d\n", flag); in iscsit_ta_tpg_enabled_sendtargets()
863 a->tpg_enabled_sendtargets = flag; in iscsit_ta_tpg_enabled_sendtargets()
872 u32 flag) in iscsit_ta_login_keys_workaround() argument
876 if ((flag != 0) && (flag != 1)) { in iscsit_ta_login_keys_workaround()
877 pr_err("Illegal value %d\n", flag); in iscsit_ta_login_keys_workaround()
881 a->login_keys_workaround = flag; in iscsit_ta_login_keys_workaround()