From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3868B36F42E for ; Sun, 15 Mar 2026 15:46:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773589603; cv=none; b=flDxULjH+MDufkvXAd4GIoAovlE0ozmuKY6kGXSGaj6JEG4gE9lgoo7eVHs1GnevFnhfLIAtItiAQSVxS9ip+IoDDtWL5HKnAIjhezXaZENFLuZRxcX1WoI1xkBJF8L6Bhjgej8S8VpvA8g92le2xsQBlKukLLo1JttemkxZaXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773589603; c=relaxed/simple; bh=iAydSp2SOigKwiJIXzuzx6l3d9f7Vn/peXmnFUF3hCg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=o7YPYJPTYev3kLNY9J3Ob1oXuLd5hJ7dLYjdvYKDklx/QqTOGfQsQeNCjY3lSIX5AGZUikfO5/qrRt+i0ieffYudnddUxz1U14xuzxhqIYb8Z24HHId00X5T42PiB3Lyx5MhAHEoo/PMVz5yEkIgGoBd0G4mP0rjtXerWXxoW7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cgGPDWu/; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cgGPDWu/" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4852c9b4158so32556895e9.0 for ; Sun, 15 Mar 2026 08:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773589600; x=1774194400; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=M6Ayv+qRbNpeH5TjyhcgtwmRoDj3PFSQoFhk2DqpBxA=; b=cgGPDWu/5xdLI1utapdYi72WBuDcHqImLWj4bJE//Xm+Og0ipJZVEWqv/uKaawkqBz sQ8fSKCig6C6EOjkGeoBsJ+lF8Mows/bsHqbzkiOghINjbdUMcayJgbi0wsaDhp5fLU5 5q2pKKd72Qpge0gBKre4/W3vdgt3Cj85qCa+XoXIu5/5weWDixAUozYkxFET/ZF40M6w BwOCTk2PfWjr25ylFoGmJ4AUVAEGXuS1VGVgX7PwGZyrkQrSBXQFp2mzPhrNC9O+quwm ywOqjzLtmeGcaBe7mKuvhmkdQ2kUWId5Jd58D4FoSrzDeMkL0tqL6db9y9GrlygmCDrL RU1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773589600; x=1774194400; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=M6Ayv+qRbNpeH5TjyhcgtwmRoDj3PFSQoFhk2DqpBxA=; b=eaayqG7LdJuPLa17HCYPbmK39GwmiNDfuP2EucZMymP6aV/3hIE5vgtAbsLQe0mk+Q vCiIAvZqrtYBNldKE4Uha5KFTwziDCMxRW1PReokVtWDH+re7SA1Su5CdSzUE/l3dBeM AROMqrKuHRG6kQ6MBkPAPXsyeeNq5BnCq51y8VZIHRKzvK4n7rMZmyDhK3pD6BZ10khh c8wdf9LxNdbxoQNlhKpoBazPwEp9efinj4X/9eRkG2r7ZsspceEyljuQsXpCFmTZ1jsG ln3RY63zfVbg4RWIX5nwOAxfpuga/m02XuRHMHf07t72UflzePRPG7WjdGYiAlYPZ2CY +hNQ== X-Forwarded-Encrypted: i=1; AJvYcCV5GxRDopMH5j8sI6vrd9gDSzZ+foNH3klOai2c2oykGmIKeGvDSwkDfvnu3crqBnZ0Pkv2Vx8I88sn7N8=@vger.kernel.org X-Gm-Message-State: AOJu0YxfVj07wTo8DopyPv243piG1l55PoP1Zvdx0yUe8UjvwRYX8UO9 Wfz2KLL+r92TPujHP0IAXCX5SagWsKCx6Rwf4rrGLwlouTE5dSG+bpKs X-Gm-Gg: ATEYQzyu+Bq7sPVKbt4nYlYMOdmk1OdT7OoCYtpskI/Yz0W+J2gwOv4x6YctTG1HjZa uOoD8uvDfLLbI+HhB7+SoRDkB2o7TEEAxFcVWYI7cfzs/IcxW6vbuXJAvV3jdVZ7D9SsZWZvcy3 ljWGKkp8dWC+1eGh5/22inbOrpXFTIL/4kPd3CQjwdsKJxq6ce8c4TFWGUMUbRV3Ydv5NTnIf3a 9/9fwOCDcfFbQeE/HazxxzUSZtUzYPk5np4HdR9Km1QR8wcpSc+LIElD/n7Q4koU89FRKczlRR+ p27wlbbvAUsNvoZRsxoDzftCg4tNJNrjJoz7TTnQtujo4v1f5cttNwhipx0O27lsnu4hDDLLyfr fHNA8HsHy33ZYYCu1yXfje3dN4X99XhcmgpuoNrEVmujuVmkmcrj3reQEAEdJUj8IvFX3cbdlDU rR3Qc85gYZO4R2YoGx0amr5hRBGp9TUYRClyQl60IrYq2172cb+TBq+mFiNdgM7hmdSz8NEkcNs VeUoF7Gh5sefoPt3p4+PkT0dc7skg== X-Received: by 2002:a05:600c:4753:b0:485:531d:28b9 with SMTP id 5b1f17b1804b1-485566d709dmr166345485e9.14.1773589600414; Sun, 15 Mar 2026 08:46:40 -0700 (PDT) Received: from DESKTOP-TILNSD1.localdomain ([139.47.104.103]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b3d87b1fbsm9474540f8f.7.2026.03.15.08.46.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2026 08:46:39 -0700 (PDT) From: Kit Dallege To: Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet Cc: Christian Schoenebeck , v9fs@lists.linux.dev, linux-kernel@vger.kernel.org, Kit Dallege , Claude Subject: [PATCH 3/3] 9p: document missing enum values in kernel-doc comments Date: Sun, 15 Mar 2026 16:46:29 +0100 Message-ID: <20260315154629.51013-1-xaum.io@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add kernel-doc entries for all undocumented enum values: - p9_debug_flags: P9_DEBUG_CACHE, P9_DEBUG_MMAP - p9_msg_t: all 9P2000.L message types (TLOPEN/RLOPEN through TUNLINKAT/RUNLINKAT) - p9_open_mode_t: P9L_MODE_MASK, P9L_DIRECT, P9L_NOWRITECACHE, P9L_LOOSE Assisted-by: Claude Signed-off-by: Kit Dallege --- include/net/9p/9p.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h index 60cad0d200a4..6b645a0d3487 100644 --- a/include/net/9p/9p.h +++ b/include/net/9p/9p.h @@ -24,6 +24,8 @@ * @P9_DEBUG_PKT: packet marshalling/unmarshalling * @P9_DEBUG_FSC: FS-cache tracing * @P9_DEBUG_VPKT: Verbose packet debugging (full packet dump) + * @P9_DEBUG_CACHE: cache operations tracing + * @P9_DEBUG_MMAP: memory-mapped I/O tracing * * These flags are passed at mount time to turn on various levels of * verbosity and tracing which will be output to the system logs. @@ -68,10 +70,36 @@ void _p9_debug(enum p9_debug_flags level, const char *func, * @P9_RSYMLINK: make symlink response * @P9_TMKNOD: create a special file object request * @P9_RMKNOD: create a special file object response + * @P9_TLOPEN: open a file for I/O (9P2000.L) + * @P9_RLOPEN: response with file access information (9P2000.L) * @P9_TLCREATE: prepare a handle for I/O on an new file for 9P2000.L * @P9_RLCREATE: response with file access information for 9P2000.L * @P9_TRENAME: rename request * @P9_RRENAME: rename response + * @P9_TREADLINK: read symbolic link request + * @P9_RREADLINK: read symbolic link response + * @P9_TGETATTR: get file attributes request (9P2000.L) + * @P9_RGETATTR: get file attributes response (9P2000.L) + * @P9_TSETATTR: set file attributes request (9P2000.L) + * @P9_RSETATTR: set file attributes response (9P2000.L) + * @P9_TXATTRWALK: walk to an extended attribute + * @P9_RXATTRWALK: response with extended attribute handle + * @P9_TXATTRCREATE: create an extended attribute + * @P9_RXATTRCREATE: response for extended attribute creation + * @P9_TREADDIR: read directory entries request + * @P9_RREADDIR: read directory entries response + * @P9_TFSYNC: flush file data to storage request + * @P9_RFSYNC: flush file data to storage response + * @P9_TLOCK: acquire or test a POSIX lock + * @P9_RLOCK: lock acquisition response + * @P9_TGETLOCK: get lock information + * @P9_RGETLOCK: lock information response + * @P9_TLINK: create a hard link + * @P9_RLINK: hard link response + * @P9_TRENAMEAT: rename using directory fids + * @P9_RRENAMEAT: rename response + * @P9_TUNLINKAT: unlink using directory fid + * @P9_RUNLINKAT: unlink response * @P9_TMKDIR: create a directory request * @P9_RMKDIR: create a directory response * @P9_TVERSION: version handshake request @@ -194,6 +222,10 @@ enum p9_msg_t { * @P9_ORCLOSE: remove the file when the file is closed * @P9_OAPPEND: open the file and seek to the end * @P9_OEXCL: only create a file, do not open it + * @P9L_MODE_MASK: mask for protocol mode bits (client-side only) + * @P9L_DIRECT: disable client-side caching for this file + * @P9L_NOWRITECACHE: disable write caching for this file + * @P9L_LOOSE: enable loose cache consistency * * 9P open modes differ slightly from Posix standard modes. * In particular, there are extra modes which specify different -- 2.53.0