Lines Matching refs:flags
89 if ((req->flags & ~STORAGE_FILE_DELETE_MASK) != 0) { in storage_tipc_file_delete()
90 SS_ERR("%s: unexpected flags (0x%" PRIx32 ")\n", __func__, req->flags); in storage_tipc_file_delete()
95 extract_storage_op_flags(msg->flags)); in storage_tipc_file_delete()
108 if ((req->flags & ~STORAGE_FILE_MOVE_MASK) != 0) { in storage_tipc_file_move()
109 SS_ERR("invalid move flags 0x%" PRIx32 "\n", req->flags); in storage_tipc_file_move()
122 if (req->flags & STORAGE_FILE_MOVE_CREATE) { in storage_tipc_file_move()
123 file_create_mode = req->flags & STORAGE_FILE_MOVE_CREATE_EXCLUSIVE in storage_tipc_file_move()
131 session, req->handle, req->flags & STORAGE_FILE_MOVE_OPEN_FILE, in storage_tipc_file_move()
134 extract_storage_op_flags(msg->flags)); in storage_tipc_file_move()
147 if ((req->flags & ~STORAGE_FILE_OPEN_MASK) != 0) { in storage_tipc_file_open()
148 SS_ERR("%s: invalid flags 0x%" PRIx32 "\n", __func__, req->flags); in storage_tipc_file_open()
153 if (req->flags & STORAGE_FILE_OPEN_CREATE) { in storage_tipc_file_open()
154 file_create_mode = req->flags & STORAGE_FILE_OPEN_CREATE_EXCLUSIVE in storage_tipc_file_open()
164 file_create_mode, req->flags & STORAGE_FILE_OPEN_TRUNCATE, in storage_tipc_file_open()
165 extract_storage_op_flags(msg->flags), &resp.handle); in storage_tipc_file_open()
182 extract_storage_op_flags(msg->flags)); in storage_tipc_file_close()
196 extract_storage_op_flags(msg->flags)); in storage_tipc_file_write()
219 extract_storage_op_flags(msg->flags), resp, &resp_len); in storage_tipc_file_read()
239 enum storage_file_list_flag flags, in write_to_buf() argument
246 resp->flags = flags; in write_to_buf()
272 req->flags & STORAGE_FILE_LIST_STATE_MASK, req->name, in storage_tipc_file_list()
273 req_size - sizeof(*req), extract_storage_op_flags(msg->flags), in storage_tipc_file_list()
295 extract_storage_op_flags(msg->flags), &resp.size); in storage_tipc_file_get_size()
312 extract_storage_op_flags(msg->flags)); in storage_tipc_file_set_size()
384 msg->flags = 0; in send_response()
460 extract_storage_op_flags(msg->flags)); in client_handle_msg()
475 uint32_t flags = IPC_PORT_ALLOW_TA_CONNECT; in client_create_port() local
477 flags |= IPC_PORT_ALLOW_NS_CONNECT; in client_create_port()
483 STORAGE_MAX_BUFFER_SIZE, flags); in client_create_port()