Lines Matching refs:q_creation
425 create(const char *queue, struct Creation q_creation) in create() argument
430 .mq_maxmsg = q_creation.depth, in create()
431 .mq_msgsize = q_creation.size, in create()
435 if (!q_creation.block) { in create()
441 q_creation.exists = handle != fail; in create()
442 if (!q_creation.exists) { in create()
450 q_creation.set_mode = false; in create()
452 handle = mq_open(queue, flags, q_creation.mode, &stuff); in create()
488 if (q_creation.set_group || q_creation.set_user) { in create()
489 q_creation.user = in create()
490 q_creation.set_user ? q_creation.user : status.st_uid; in create()
491 q_creation.group = in create()
492 q_creation.set_group ? q_creation.group : status.st_gid; in create()
493 result = fchown(fd, q_creation.user, q_creation.group); in create()
504 if (q_creation.exists && q_creation.set_mode && in create()
505 q_creation.mode != (status.st_mode & accepted_mode_bits)) { in create()
506 result = fchmod(fd, q_creation.mode); in create()