Home
last modified time | relevance | path

Searched +full:entry +full:- +full:name (Results 1 – 25 of 1104) sorted by relevance

12345678910>>...45

/kernel/linux/linux-5.10/drivers/firmware/efi/
Defi-pstore.c1 // SPDX-License-Identifier: GPL-2.0+
28 psi->data = NULL; in efi_pstore_open()
34 psi->data = NULL; in efi_pstore_close()
43 static int efi_pstore_read_func(struct efivar_entry *entry, in efi_pstore_read_func() argument
47 char name[DUMP_NAME_LEN], data_type; in efi_pstore_read_func() local
54 if (efi_guidcmp(entry->var.VendorGuid, vendor)) in efi_pstore_read_func()
58 name[i] = entry->var.VariableName[i]; in efi_pstore_read_func()
60 if (sscanf(name, "dump-type%u-%u-%d-%llu-%c", in efi_pstore_read_func()
61 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func()
62 record->id = generic_id(time, part, cnt); in efi_pstore_read_func()
[all …]
Dvars.c1 // SPDX-License-Identifier: GPL-2.0+
30 * 2) ->ops calls
47 while (offset <= len - sizeof(*node) && in validate_device_path()
48 node->length >= sizeof(*node) && in validate_device_path()
49 node->length <= len - offset) { in validate_device_path()
50 offset += node->length; in validate_device_path()
52 if ((node->type == EFI_DEV_END_PATH || in validate_device_path()
53 node->type == EFI_DEV_END_PATH2) && in validate_device_path()
54 node->sub_type == EFI_DEV_END_ENTIRE) in validate_device_path()
61 * If we're here then either node->length pointed past the end in validate_device_path()
[all …]
Defivars.c1 // SPDX-License-Identifier: GPL-2.0+
19 #define EFIVARS_DATE "2004-May-17"
44 ssize_t (*show) (struct efivar_entry *entry, char *buf);
45 ssize_t (*store)(struct efivar_entry *entry, const char *buf, size_t count);
50 .attr = {.name = __stringify(_name), .mode = _mode}, \
65 efivar_guid_read(struct efivar_entry *entry, char *buf) in efivar_guid_read() argument
67 struct efi_variable *var = &entry->var; in efivar_guid_read()
70 if (!entry || !buf) in efivar_guid_read()
73 efi_guid_to_str(&var->VendorGuid, str); in efivar_guid_read()
77 return str - buf; in efivar_guid_read()
[all …]
/kernel/linux/linux-5.10/sound/core/
Dinfo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
55 struct snd_info_entry *entry; member
60 static void snd_info_disconnect(struct snd_info_entry *entry);
74 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument
79 if (!entry || !entry->p) in alloc_info_private()
80 return -ENODEV; in alloc_info_private()
81 if (!try_module_get(entry->module)) in alloc_info_private()
82 return -EFAULT; in alloc_info_private()
85 module_put(entry->module); in alloc_info_private()
86 return -ENOMEM; in alloc_info_private()
[all …]
/kernel/linux/linux-4.19/drivers/firmware/efi/
Defi-pstore.c21 psi->data = NULL; in efi_pstore_open()
27 psi->data = NULL; in efi_pstore_close()
36 static int efi_pstore_read_func(struct efivar_entry *entry, in efi_pstore_read_func() argument
40 char name[DUMP_NAME_LEN], data_type; in efi_pstore_read_func() local
47 if (efi_guidcmp(entry->var.VendorGuid, vendor)) in efi_pstore_read_func()
51 name[i] = entry->var.VariableName[i]; in efi_pstore_read_func()
53 if (sscanf(name, "dump-type%u-%u-%d-%llu-%c", in efi_pstore_read_func()
54 &record->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func()
55 record->id = generic_id(time, part, cnt); in efi_pstore_read_func()
56 record->part = part; in efi_pstore_read_func()
[all …]
Dvars.c19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
43 * 2) ->ops calls
64 while (offset <= len - sizeof(*node) && in validate_device_path()
65 node->length >= sizeof(*node) && in validate_device_path()
66 node->length <= len - offset) { in validate_device_path()
67 offset += node->length; in validate_device_path()
69 if ((node->type == EFI_DEV_END_PATH || in validate_device_path()
70 node->type == EFI_DEV_END_PATH2) && in validate_device_path()
71 node->sub_type == EFI_DEV_END_ENTIRE) in validate_device_path()
78 * If we're here then either node->length pointed past the end in validate_device_path()
[all …]
Defivars.c22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 * 17 May 2004 - Matt Domsch <Matt_Domsch@dell.com>
30 * 26 Apr 2004 - Matt Domsch <Matt_Domsch@dell.com>
33 * 21 Apr 2004 - Matt Tolentino <matthew.e.tolentino@intel.com)
38 * 10 Dec 2002 - Matt Domsch <Matt_Domsch@dell.com>
41 * 25 Mar 2002 - Matt Domsch <Matt_Domsch@dell.com>
42 * move uuid_unparse() to include/asm-ia64/efi.h:efi_guid_to_str()
44 * 12 Feb 2002 - Matt Domsch <Matt_Domsch@dell.com>
47 * v0.04 release to linux-ia64@linuxia64.org
49 * 20 April 2001 - Matt Domsch <Matt_Domsch@dell.com>
[all …]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Ddsp_pipeline.c1 // SPDX-License-Identifier: GPL-2.0-or-later
47 for (i = 0; i < elem->num_args; i++) in attr_show_args()
48 p += sprintf(p, "Name: %s\n%s%s%sDescription: %s\n\n", in attr_show_args()
49 elem->args[i].name, in attr_show_args()
50 elem->args[i].def ? "Default: " : "", in attr_show_args()
51 elem->args[i].def ? elem->args[i].def : "", in attr_show_args()
52 elem->args[i].def ? "\n" : "", in attr_show_args()
53 elem->args[i].desc); in attr_show_args()
55 return p - buf; in attr_show_args()
65 struct dsp_element_entry *entry = in mISDN_dsp_dev_release() local
[all …]
/kernel/linux/linux-4.19/sound/core/
Dinfo.c18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
70 struct snd_info_entry *entry; member
75 static void snd_info_disconnect(struct snd_info_entry *entry);
89 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument
94 if (!entry || !entry->p) in alloc_info_private()
95 return -ENODEV; in alloc_info_private()
96 if (!try_module_get(entry->module)) in alloc_info_private()
97 return -EFAULT; in alloc_info_private()
100 module_put(entry->module); in alloc_info_private()
101 return -ENOMEM; in alloc_info_private()
[all …]
/kernel/linux/linux-4.19/drivers/isdn/mISDN/
Ddsp_pipeline.c20 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
64 for (i = 0; i < elem->num_args; i++) in attr_show_args()
65 p += sprintf(p, "Name: %s\n%s%s%sDescription: %s\n\n", in attr_show_args()
66 elem->args[i].name, in attr_show_args()
67 elem->args[i].def ? "Default: " : "", in attr_show_args()
68 elem->args[i].def ? elem->args[i].def : "", in attr_show_args()
69 elem->args[i].def ? "\n" : "", in attr_show_args()
70 elem->args[i].desc); in attr_show_args()
72 return p - buf; in attr_show_args()
82 struct dsp_element_entry *entry = in mISDN_dsp_dev_release() local
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Didtentry.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <linux/entry-common.h>
15 * DECLARE_IDTENTRY - Declare functions for simple IDT entry points
18 * @func: Function name of the entry point
21 * - The ASM entry point: asm_##func
22 * - The XEN PV trap entry point: xen_##func (maybe unused)
23 * - The C handler called from the ASM entry point
25 * Note: This is the C variant of DECLARE_IDTENTRY(). As the name says it
26 * declares the entry points for usage in C code. There is an ASM variant
27 * as well which is used to emit the entry stubs in entry_32/64.S.
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dnfs42xattr.c1 // SPDX-License-Identifier: GPL-2.0
25 * to a special-cased entry for the listxattr cache.
51 * You can certainly add a lot more - but you get what you ask for
111 INIT_HLIST_HEAD(&cache->buckets[i].hlist); in nfs4_xattr_hash_init()
112 spin_lock_init(&cache->buckets[i].lock); in nfs4_xattr_hash_init()
113 cache->buckets[i].cache = cache; in nfs4_xattr_hash_init()
114 cache->buckets[i].draining = false; in nfs4_xattr_hash_init()
125 * Wrapper functions to add a cache entry to the right LRU.
128 nfs4_xattr_entry_lru_add(struct nfs4_xattr_entry *entry) in nfs4_xattr_entry_lru_add() argument
132 lru = (entry->flags & NFS4_XATTR_ENTRY_EXTVAL) ? in nfs4_xattr_entry_lru_add()
[all …]
/kernel/linux/linux-5.10/net/atm/
Dmpc.c1 // SPDX-License-Identifier: GPL-2.0-only
68 /* mpc_daemon -> kernel */
87 static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry);
134 if (mpc->dev_num == itf) in find_mpc_by_itfnum()
136 mpc = mpc->next; in find_mpc_by_itfnum()
148 if (mpc->mpoad_vcc == vcc) in find_mpc_by_vcc()
150 mpc = mpc->next; in find_mpc_by_vcc()
162 if (mpc->dev == dev) in find_mpc_by_lec()
164 mpc = mpc->next; in find_mpc_by_lec()
175 * Overwrites the old entry or makes a new one.
[all …]
/kernel/linux/linux-4.19/net/atm/
Dmpc.c67 /* mpc_daemon -> kernel */
86 static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry);
133 if (mpc->dev_num == itf) in find_mpc_by_itfnum()
135 mpc = mpc->next; in find_mpc_by_itfnum()
147 if (mpc->mpoad_vcc == vcc) in find_mpc_by_vcc()
149 mpc = mpc->next; in find_mpc_by_vcc()
161 if (mpc->dev == dev) in find_mpc_by_lec()
163 mpc = mpc->next; in find_mpc_by_lec()
174 * Overwrites the old entry or makes a new one.
178 struct atm_mpoa_qos *entry; in atm_mpoa_add_qos() local
[all …]
/kernel/linux/linux-5.10/fs/efivarfs/
Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
37 * 1. A case-sensitive variable name
38 * 2. A case-insensitive GUID
40 * So we need to perform a case-sensitive match on part 1 and a
41 * case-insensitive match on part 2.
45 const struct qstr *name) in efivarfs_d_compare() argument
47 int guid = len - EFI_VARIABLE_GUID_LEN; in efivarfs_d_compare()
49 if (name->len != len) in efivarfs_d_compare()
52 /* Case-sensitive compare for the variable name */ in efivarfs_d_compare()
53 if (memcmp(str, name->name, guid)) in efivarfs_d_compare()
[all …]
/kernel/linux/linux-4.19/fs/efivarfs/
Dsuper.c41 * 1. A case-sensitive variable name
42 * 2. A case-insensitive GUID
44 * So we need to perform a case-sensitive match on part 1 and a
45 * case-insensitive match on part 2.
49 const struct qstr *name) in efivarfs_d_compare() argument
51 int guid = len - EFI_VARIABLE_GUID_LEN; in efivarfs_d_compare()
53 if (name->len != len) in efivarfs_d_compare()
56 /* Case-sensitive compare for the variable name */ in efivarfs_d_compare()
57 if (memcmp(str, name->name, guid)) in efivarfs_d_compare()
60 /* Case-insensitive compare for the GUID */ in efivarfs_d_compare()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dinfo.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
30 void (*read)(struct snd_info_entry *entry,
32 void (*write)(struct snd_info_entry *entry,
37 int (*open)(struct snd_info_entry *entry,
39 int (*release)(struct snd_info_entry *entry,
41 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data,
44 ssize_t (*write)(struct snd_info_entry *entry, void *file_private_data,
47 loff_t (*llseek)(struct snd_info_entry *entry,
50 __poll_t (*poll)(struct snd_info_entry *entry,
53 int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
[all …]
/kernel/linux/linux-4.19/security/tomoyo/
Ddomain.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2011 NTT DATA CORPORATION
20 * tomoyo_update_policy - Update an entry for exception policy.
25 * @check_duplicate: Callback function to find duplicated entry.
38 int error = param->is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_policy()
39 struct tomoyo_acl_head *entry; in tomoyo_update_policy() local
40 struct list_head *list = param->list; in tomoyo_update_policy()
43 return -ENOMEM; in tomoyo_update_policy()
44 list_for_each_entry_rcu(entry, list, list) { in tomoyo_update_policy()
45 if (entry->is_deleted == TOMOYO_GC_IN_PROGRESS) in tomoyo_update_policy()
[all …]
/kernel/linux/linux-4.19/fs/f2fs/
Dxattr.c9 * Copyright (C) 2001-2003 Andreas Gruenbacher <agruen@suse.de>
30 const char *name, void *buffer, size_t size) in f2fs_xattr_generic_get() argument
32 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); in f2fs_xattr_generic_get()
34 switch (handler->flags) { in f2fs_xattr_generic_get()
37 return -EOPNOTSUPP; in f2fs_xattr_generic_get()
43 return -EINVAL; in f2fs_xattr_generic_get()
45 return f2fs_getxattr(inode, handler->flags, name, in f2fs_xattr_generic_get()
51 const char *name, const void *value, in f2fs_xattr_generic_set() argument
54 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); in f2fs_xattr_generic_set()
56 switch (handler->flags) { in f2fs_xattr_generic_set()
[all …]
/kernel/linux/linux-5.10/fs/f2fs/
Dxattr.c1 // SPDX-License-Identifier: GPL-2.0
10 * Copyright (C) 2001-2003 Andreas Gruenbacher <agruen@suse.de>
28 if (likely(size == sbi->inline_xattr_slab_size)) { in xattr_alloc()
30 return kmem_cache_zalloc(sbi->inline_xattr_slab, GFP_NOFS); in xattr_alloc()
40 kmem_cache_free(sbi->inline_xattr_slab, xattr_addr); in xattr_free()
47 const char *name, void *buffer, size_t size) in f2fs_xattr_generic_get() argument
49 struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb); in f2fs_xattr_generic_get()
51 switch (handler->flags) { in f2fs_xattr_generic_get()
54 return -EOPNOTSUPP; in f2fs_xattr_generic_get()
60 return -EINVAL; in f2fs_xattr_generic_get()
[all …]
/kernel/linux/linux-4.19/include/linux/
Dlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
18 * using the generic single-entry routines.
21 #define LIST_HEAD_INIT(name) { &(name), &(name) } argument
23 #define LIST_HEAD(name) \ argument
24 struct list_head name = LIST_HEAD_INIT(name)
28 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD()
29 list->prev = list; in INIT_LIST_HEAD()
36 extern bool __list_del_entry_valid(struct list_head *entry);
44 static inline bool __list_del_entry_valid(struct list_head *entry) in __list_del_entry_valid() argument
51 * Insert a new entry between two known consecutive entries.
[all …]
/kernel/linux/linux-4.19/fs/proc/
Dproc_sysctl.c1 // SPDX-License-Identifier: GPL-2.0
32 return head->ctl_table[0].child == sysctl_mount_point; in is_empty_dir()
37 dir->header.ctl_table[0].child = sysctl_mount_point; in set_empty_dir()
43 dir->header.ctl_table[0].child = NULL; in clear_empty_dir()
51 atomic_inc(&poll->event); in proc_sys_poll_notify()
52 wake_up_interruptible(&poll->wait); in proc_sys_poll_notify()
83 if (dir->header.parent) in sysctl_print_dir()
84 sysctl_print_dir(dir->header.parent); in sysctl_print_dir()
85 pr_cont("%s/", dir->header.ctl_table[0].procname); in sysctl_print_dir()
99 cmp = len1 - len2; in namecmp()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/broadcom/
Dbcm47xx_sprom.c6 * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de>
37 const char *name, char *buf, int len) in create_key() argument
40 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key()
42 snprintf(buf, len, "%s%s", prefix, name); in create_key()
44 snprintf(buf, len, "%s%s", name, postfix); in create_key()
46 snprintf(buf, len, "%s", name); in create_key()
50 const char *name, char *buf, int len, bool fallback) in get_nvram_var() argument
55 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var()
58 if (fallback && err == -ENOENT && prefix) { in get_nvram_var()
59 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var()
[all …]
/kernel/linux/linux-4.19/drivers/firmware/broadcom/
Dbcm47xx_sprom.c6 * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de>
36 const char *name, char *buf, int len) in create_key() argument
39 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key()
41 snprintf(buf, len, "%s%s", prefix, name); in create_key()
43 snprintf(buf, len, "%s%s", name, postfix); in create_key()
45 snprintf(buf, len, "%s", name); in create_key()
49 const char *name, char *buf, int len, bool fallback) in get_nvram_var() argument
54 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var()
57 if (fallback && err == -ENOENT && prefix) { in get_nvram_var()
58 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var()
[all …]
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
Dlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 * using the generic single-entry routines.
23 #define LIST_HEAD_INIT(name) { &(name), &(name) } argument
25 #define LIST_HEAD(name) \ argument
26 struct list_head name = LIST_HEAD_INIT(name)
30 list->next = list; in INIT_LIST_HEAD()
31 list->prev = list; in INIT_LIST_HEAD()
35 * Insert a new entry between two known consecutive entries.
44 next->prev = new; in __list_add()
45 new->next = next; in __list_add()
[all …]

12345678910>>...45