Searched refs:W_OK (Results 1 – 4 of 4) sorted by relevance
87 srv->allocator_valid[MPP_BUFFER_TYPE_ION] = !access("/dev/ion", F_OK | R_OK | W_OK); in mpp_rt_srv_init()89 !access("/dev/dri/renderD128", F_OK | R_OK | W_OK) || in mpp_rt_srv_init()90 !access("/dev/dri/card0", F_OK | R_OK | W_OK); in mpp_rt_srv_init()115 if (!access("/dev/mpp_service", F_OK | R_OK | W_OK)) { in mpp_rt_srv_init()
137 #define W_OK 2 /* Test for write permission. */ macro
50 if (!access(mpp_service_dev[0], F_OK | R_OK | W_OK)) { in mpp_get_mpp_service_name()52 } else if (!access(mpp_service_dev[1], F_OK | R_OK | W_OK)) in mpp_get_mpp_service_name()
729 if (access("/dev/vcodec", F_OK | R_OK | W_OK)) { in mpi_enc_opt_kmpp()