Lines Matching refs:code
36 static inline bool sclp_command_code_valid(uint32_t code) in sclp_command_code_valid() argument
38 switch (code & SCLP_CMD_CODE_MASK) { in sclp_command_code_valid()
53 uint32_t code) in sccb_verify_boundary() argument
58 switch (code & SCLP_CMD_CODE_MASK) { in sccb_verify_boundary()
237 static void sclp_execute(SCLPDevice *sclp, SCCB *sccb, uint32_t code) in sclp_execute() argument
243 switch (code & SCLP_CMD_CODE_MASK) { in sclp_execute()
258 efc->command_handler(ef, sccb, code); in sclp_execute()
268 int sclp_service_call_protected(S390CPU *cpu, uint64_t sccb, uint32_t code) in sclp_service_call_protected() argument
282 if (!sclp_command_code_valid(code)) { in sclp_service_call_protected()
287 sclp_c->execute(sclp, work_sccb, code); in sclp_service_call_protected()
295 int sclp_service_call(S390CPU *cpu, uint64_t sccb, uint32_t code) in sclp_service_call() argument
331 if (!sclp_command_code_valid(code)) { in sclp_service_call()
336 if (!sccb_verify_boundary(sccb, be16_to_cpu(work_sccb->h.length), code)) { in sclp_service_call()
341 sclp_c->execute(sclp, work_sccb, code); in sclp_service_call()