/* * net/9p/protocol.h * * 9P Protocol Support Code * * Copyright (C) 2008 by Eric Van Hensbergen * * Base on code from Anthony Liguori * Copyright (C) 2008 by IBM, Corp. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to: * Free Software Foundation * 51 Franklin Street, Fifth Floor * Boston, MA 02111-1301 USA * */ int p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt, va_list ap); int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...); int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type); int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu); void p9pdu_reset(struct p9_fcall *pdu); size_t pdu_read(struct p9_fcall *pdu, void *data, size_t size); back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2017-01-27 17:09:04 -0600
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-03 17:45:46 +0800
commite5da5c5667381d2772374ee6a2967b3576c9483d (patch)
tree426bc8a0a32233f28da1fa913e99b4a6c30b64db
parent500c0106e638e08c2c661c305ed57d6b67e10908 (diff)
crypto: ccp - Fix double add when creating new DMA command
Eliminate a double-add by creating a new list to manage command descriptors when created; move the descriptor to the pending list when the command is submitted. Cc: <stable@vger.kernel.org> Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>