Home
last modified time | relevance | path

Searched +full:unterminated +full:- +full:ok (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/core-api/
H A Dnetlink.rst1 .. 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 Dfdtget.c1 // 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 Dnetlink-raw.yaml1 # 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
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
27 required: [ name, doc, attribute-sets, operations ]
[all …]
/linux/kernel/printk/
H A Dprintk.c1 // SPDX-License-Identifier: GPL-2.0-only
86 * console_mutex protects console_list updates and console->flags updates.
93 * console_sem protects updates to console->seq
149 return -EINVAL; in __control_devkmsg()
169 return -EINVAL; in __control_devkmsg()
211 return -EINVAL; in devkmsg_sysctl_set_loglvl()
234 return -EINVAL; in devkmsg_sysctl_set_loglvl()
243 * console_list_lock - Lock the console list
245 * For console list or console->flags updates
255 * Detecting if this context is really in the read-side critical in console_list_lock()
[all …]
/linux/fs/proc/
H A Dtask_mmu.c1 // SPDX-License-Identifier: GPL-2.0
32 #define SENTINEL_VMA_END -1
33 #define SENTINEL_VMA_GATE -2
36 seq_put_decimal_ull_width(m, str, (val) << (PAGE_SHIFT-10), 8)
53 hiwater_vm = total_vm = mm->total_vm; in task_mem()
54 if (hiwater_vm < mm->hiwater_vm) in task_mem()
55 hiwater_vm = mm->hiwater_vm; in task_mem()
57 if (hiwater_rss < mm->hiwater_rss) in task_mem()
58 hiwater_rss = mm->hiwater_rss; in task_mem()
61 text = PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK); in task_mem()
[all …]
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
20 return name.upper().replace('-', '_')
24 return name.lower().replace('-', '_')
29 Turn a string limit like u32-max or s64-min into its numerical value
31 if name[0] == 'u' and name.endswith('-min'):
33 width = int(name[1:-4])
35 width -= 1
36 value = (1 << width) - 1
37 if name[0] == 's' and name.endswith('-min'):
38 value = -value - 1
[all …]