Lines Matching +full:pd +full:- +full:node
5 .. _printk-specifiers:
8 :Author: Andrew Murray <amurray@mpc-data.co.uk>
17 ------------------------------------------------------------
41 If <type> is architecture-dependent for its size (e.g., cycles_t, tcflag_t) or
72 --------------
80 has the added benefit of providing a unique identifier. On 64-bit machines
86 post-hoc. If not possible, and the aim of printing the address is to provide
97 --------------
101 %pe -ENOSPC
105 known are printed in decimal, while a non-ERR_PTR passed as the
109 -------------------------
127 when tail-calls are used and marked with the noreturn GCC attribute.
142 ----------------------------------
156 ---------------
163 users. The behaviour of %pK depends on the kptr_restrict sysctl - see
164 Documentation/admin-guide/sysctl/kernel.rst for more details.
172 --------------------
193 -------------------
204 printk("test: difference between pointers: %td\n", ptr2 - ptr1);
207 ----------------
211 %pr [mem 0x60000000-0x6fffffff flags 0x2200] or
212 [mem 0x0000000060000000-0x000000006fffffff flags 0x2200]
213 %pR [mem 0x60000000-0x6fffffff pref] or
214 [mem 0x0000000060000000-0x000000006fffffff pref]
222 ----------------------------------
235 ----------------------------
247 -------------------------------
268 - a - ESCAPE_ANY
269 - c - ESCAPE_SPECIAL
270 - h - ESCAPE_HEX
271 - n - ESCAPE_NULL
272 - o - ESCAPE_OCTAL
273 - p - ESCAPE_NP
274 - s - ESCAPE_SPACE
284 --------------------------
290 %*phD 00-01-02- ... -3f
298 ------------------
304 %pMF 00-01-02-03-04-05
308 For printing 6-byte MAC/FDDI addresses in hex notation. The ``M`` and ``m``
313 the ``M`` specifier to use dash (-) separators instead of the default
323 --------------
331 For printing IPv4 dot-separated decimal addresses. The ``I4`` and ``i4``
342 --------------
350 For printing IPv6 network-order 16-bit hex addresses. The ``I6`` and ``i6``
352 colon-separators. Leading zeros are always used.
361 ---------------------------------------------------------
383 https://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-07
398 -------------------
402 %pUb 00010203-0405-0607-0809-0a0b0c0d0e0f
403 %pUB 00010203-0405-0607-0809-0A0B0C0D0E0F
404 %pUl 03020100-0504-0706-0809-0a0b0c0e0e0f
405 %pUL 03020100-0504-0706-0809-0A0B0C0E0E0F
407 For printing 16-byte UUID/GUIDs addresses. The additional ``l``, ``L``,
409 lower (l) or upper case (L) hex notation - and big endian order in lower (b)
418 ------------
422 %pd{,2,3,4}
423 %pD{,2,3,4}
426 be a mix of old and new ones, but it won't oops. %pd dentry is a safer
427 equivalent of %s dentry->d_name.name we used to use, %pd<n> prints ``n``
428 last components. %pD does the same thing for struct file.
433 ------------------
442 ----------------
464 -----------------
471 For printing device tree node structures. Default behaviour is
474 - f - device node full_name
475 - n - device node name
476 - p - device node phandle
477 - P - device node path spec (name + @unit)
478 - F - device node flags
479 - c - major compatible string
480 - C - full compatible string
486 %pOF /foo/bar@0 - Node full name
487 %pOFf /foo/bar@0 - Same as above
488 %pOFfp /foo/bar@0:10 - Node full name + phandle
489 %pOFfcF /foo/bar@0:foo,device:--P- - Node full name +
491 node flags
492 D - dynamic
493 d - detached
494 P - Populated
495 B - Populated bus
500 --------------
507 node name, including the path. The modifiers are functionally equivalent to
510 - f - full name of the node, including the path
511 - P - the name of the node including an address (if there is one)
515 %pfwf \_SB.PCI0.CIO2.port@1.endpoint@0 - Full node name
516 %pfwP endpoint@0 - Node name
520 %pfwf /ocp@68000000/i2c@48072000/camera@10/port/endpoint - Full name
521 %pfwP endpoint - Node name
524 -------------
528 %pt[RT] YYYY-mm-ddTHH:MM:SS
529 %pt[RT]s YYYY-mm-dd HH:MM:SS
530 %pt[RT]d YYYY-mm-dd
551 ----------
559 (Common Clock Framework) or a unique 32-bit ID (legacy clock framework).
564 -------------------------------------------------------
569 %*pbl 0,3-6,8-10
580 --------------------------------------------------------
584 %pGp 0x17ffffc0002036(referenced|uptodate|lru|active|private|node=0|zone=2|lastcpupid=0x1fffff)
592 - p - [p]age flags, expects value of type (``unsigned long *``)
593 - v - [v]ma_flags, expects value of type (``unsigned long *``)
594 - g - [g]fp_flags, expects value of type (``gfp_t *``)
605 -----------------------
616 ---------------------------------------
629 %p4cc BG12 little-endian (0x32314742)
630 %p4cc Y10 little-endian (0x20303159)
631 %p4cc NV12 big-endian (0xb231564e)
634 ----