Searched +full:unterminated +full:- +full:ok (Results 1 – 10 of 10) sorted by relevance
/linux/Documentation/netlink/specs/ |
H A D | team.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 c-family-name: team-genl-name 11 c-version-name: team-genl-version 12 kernel-policy: global 13 uapi-header: linux/if_team.h 16 - 17 name: string-max-len 20 - 21 name: genl-change-event-mc-grp-name [all …]
|
/linux/Documentation/core-api/ |
H A D | netlink.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 13 --------------- 21 ------------- 31 --------------- 44 ---------- 51 ------------------------ 54 them - make sure to report dump inconsistency with ``NLM_F_DUMP_INTR``. 65 ------- 67 kernel-policy 71 operations of the family, defined for each operation individually - ``per-op``, [all …]
|
/linux/scripts/dtc/ |
H A D | fdtget.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Portions from U-Boot cmd_fdt.c (C) Copyright 2007 51 * @return 0 if ok, -1 if data does not match format 66 is_string = (disp->type) == 's' || in show_data() 67 (!disp->type && util_is_printable_string(data, len)); in show_data() 69 if (data[len - 1] != '\0') { in show_data() 70 fprintf(stderr, "Unterminated string\n"); in show_data() 71 return -1; in show_data() 73 for (s = data; s - data < len; s += strlen(s) + 1) { in show_data() 80 size = disp->size; in show_data() [all …]
|
/linux/Documentation/netlink/ |
H A D | genetlink-c.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. 19 pattern: ^[su](8|16|32|64)-(min|max)$ 26 required: [ name, doc, attribute-sets, operations ] [all …]
|
H A D | genetlink-legacy.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. 19 pattern: ^[su](8|16|32|64)-(min|max)$ 26 required: [ name, doc, attribute-sets, operations ] [all …]
|
H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 31 enum: [ netlink-raw ] # Trim 32 # Start netlink-raw 34 description: Protocol number to use for netlink-raw [all …]
|
/linux/Documentation/userspace-api/netlink/ |
H A D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 17 - the C uAPI header 18 …- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i… 19 - policy tables for input attribute validation 20 - operation tables 25 See :doc:`intro-specs` for a practical starting guide. 28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)`` 40 - ``genetlink`` - most streamlined, should be used by all new families 41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing 45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of [all …]
|
/linux/fs/proc/ |
H A D | task_mmu.c | 1 // SPDX-License-Identifier: GPL-2.0 33 seq_put_decimal_ull_width(m, str, (val) << (PAGE_SHIFT-10), 8) 50 hiwater_vm = total_vm = mm->total_vm; in task_mem() 51 if (hiwater_vm < mm->hiwater_vm) in task_mem() 52 hiwater_vm = mm->hiwater_vm; in task_mem() 54 if (hiwater_rss < mm->hiwater_rss) in task_mem() 55 hiwater_rss = mm->hiwater_rss; in task_mem() 58 text = PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK); in task_mem() 59 text = min(text, mm->exec_vm << PAGE_SHIFT); in task_mem() 60 lib = (mm->exec_vm << PAGE_SHIFT) - text; in task_mem() [all …]
|
/linux/kernel/printk/ |
H A D | printk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 85 * console_mutex protects console_list updates and console->flags updates. 92 * console_sem protects updates to console->seq 148 return -EINVAL; in __control_devkmsg() 168 return -EINVAL; in __control_devkmsg() 210 return -EINVAL; in devkmsg_sysctl_set_loglvl() 233 return -EINVAL; in devkmsg_sysctl_set_loglvl() 242 * console_list_lock - Lock the console list 244 * For console list or console->flags updates 254 * Detecting if this context is really in the read-side critical in console_list_lock() [all …]
|
/linux/tools/net/ynl/ |
H A D | ynl-gen-c.py | 2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17 return name.upper().replace('-', '_') 21 return name.lower().replace('-', '_') 26 Turn a string limit like u32-max or s64-min into its numerical value 28 if name[0] == 'u' and name.endswith('-min'): 30 width = int(name[1:-4]) 32 width -= 1 33 value = (1 << width) - 1 34 if name[0] == 's' and name.endswith('-min'): 35 value = -value - 1 [all …]
|