Searched refs:STATE_OPENED_FLAG (Results 1 – 1 of 1) sorted by relevance
38 #define STATE_OPENED_FLAG BIT(0) macro81 !(proxy_dev->state & STATE_OPENED_FLAG)); in vtpm_proxy_fops_read()87 if (!(proxy_dev->state & STATE_OPENED_FLAG)) { in vtpm_proxy_fops_read()134 if (!(proxy_dev->state & STATE_OPENED_FLAG)) { in vtpm_proxy_fops_write()185 if (!(proxy_dev->state & STATE_OPENED_FLAG)) in vtpm_proxy_fops_poll()204 proxy_dev->state |= STATE_OPENED_FLAG; in vtpm_proxy_fops_open()217 proxy_dev->state &= ~STATE_OPENED_FLAG; in vtpm_proxy_fops_undo_open()275 if (!(proxy_dev->state & STATE_OPENED_FLAG)) { in vtpm_proxy_tpm_op_recv()347 if (!(proxy_dev->state & STATE_OPENED_FLAG)) { in vtpm_proxy_tpm_op_send()388 ret = !(proxy_dev->state & STATE_OPENED_FLAG); in vtpm_proxy_tpm_req_canceled()