/kernel/linux/linux-6.6/fs/smb/server/mgmt/ |
H A D | user_config.c | 38 user->name = kstrdup(resp->account, GFP_KERNEL); in ksmbd_alloc_user() 47 if (!user->name || !user->passkey) { in ksmbd_alloc_user() 48 kfree(user->name); in ksmbd_alloc_user() 58 ksmbd_ipc_logout_request(user->name, user->flags); in ksmbd_free_user() 59 kfree(user->name); in ksmbd_free_user() 66 if (user->name[0] == '\0') in ksmbd_anonymous_user() 73 if (strcmp(u1->name, u2->name)) in ksmbd_compare_user()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/ |
H A D | u_f.h | 23 #define vla_item(groupname, type, name, n) \ 24 size_t groupname##_##name##__offset = ({ \ 40 #define vla_item_with_sz(groupname, type, name, n) \ 41 size_t groupname##_##name##__sz = array_size(n, sizeof(type)); \ 42 size_t groupname##_##name##__offset = ({ \ 48 if (check_add_overflow(offset, groupname##_##name##__sz,\ 57 #define vla_ptr(ptr, groupname, name) \ 58 ((void *) ((char *)ptr + groupname##_##name##__offset))
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-menf21bmc.c | 27 const char *name; member 33 .name = "menf21bmc:led_status", 37 .name = "menf21bmc:led_hotswap", 41 .name = "menf21bmc:led_user1", 45 .name = "menf21bmc:led_user2", 83 leds[i].cdev.name = leds[i].name; in menf21bmc_led_probe() 101 .name = "menf21bmc_led",
|
/kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
H A D | fdt_wip.c | 14 const char *name, int namelen, in fdt_setprop_inplace_namelen_partial() 21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial() 33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace() 47 strlen(name), 0, in fdt_setprop_inplace() 59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 13 fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, const char *name, int namelen, uint32_t idx, const void *val, int len) fdt_setprop_inplace_namelen_partial() argument
|
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | clk.py | 33 clk['name'].string(), 59 """Find struct clk_core by name""" 64 def lookup_hlist(self, hlist_head, name): 66 if child['name'].string() == name: 68 result = self.lookup_hlist(child['children'], name) 72 def invoke(self, name): 73 name = name.string() 74 return (self.lookup_hlist(gdb.parse_and_eval("clk_root_list"), name) o [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | assembler.h | 31 .macro function name 33 .type \name, @function 36 \name: 39 .macro define_accessor name, num, insn 40 .macro \name\()_entry n 45 function \name 51 _for x, 0, (\num) - 1, \name\()_entry \x 54 .purgem \name\()_entry
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/ |
H A D | check_prctl.c | 63 void set_mode_test(const char *name, int hwcap2, int mask) in set_mode_test() argument 68 ksft_test_result_skip("%s\n", name); in set_mode_test() 74 ksft_test_result_fail("%s\n", name); in set_mode_test() 80 ksft_test_result_fail("%s\n", name); in set_mode_test() 85 ksft_test_result_pass("%s\n", name); in set_mode_test() 89 ksft_test_result_fail("%s\n", name); in set_mode_test() 96 const char *name; member 113 set_mode_test(mte_modes[i].name, mte_modes[i].hwcap2, in main()
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | procattr.c | 68 * split_token_from_name - separate a string of form <token>^<name> 73 * Returns: start position of name after token else NULL on failure 77 char *name; in split_token_from_name() local 79 *token = simple_strtoull(args, &name, 16); in split_token_from_name() 80 if ((name == args) || *name != '^') { in split_token_from_name() 85 name++; /* skip ^ */ in split_token_from_name() 86 if (!*name) in split_token_from_name() 87 name = NULL; in split_token_from_name() 88 return name; in split_token_from_name() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc-self-map-files-002.c | 28 char name[64]; in pass() local 31 snprintf(name, sizeof(name), fmt, a, b); in pass() 32 if (readlink(name, buf, sizeof(buf)) == -1) in pass() 38 char name[64]; in fail() local 41 snprintf(name, sizeof(name), fmt, a, b); in fail() 42 if (readlink(name, buf, sizeof(buf)) == -1 && errno == ENOENT) in fail()
|
H A D | proc-self-map-files-001.c | 28 char name[64]; in pass() local 31 snprintf(name, sizeof(name), fmt, a, b); in pass() 32 if (readlink(name, buf, sizeof(buf)) == -1) in pass() 38 char name[64]; in fail() local 41 snprintf(name, sizeof(name), fmt, a, b); in fail() 42 if (readlink(name, buf, sizeof(buf)) == -1 && errno == ENOENT) in fail()
|
/kernel/linux/linux-6.6/lib/ |
H A D | notifier-error-inject.c | 21 static struct dentry *debugfs_create_errno(const char *name, umode_t mode, in debugfs_create_errno() argument 24 return debugfs_create_file(name, mode, parent, value, &fops_errno); in debugfs_create_errno() 35 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback() 42 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback() 50 struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent, in notifier_err_inject_init() argument 61 dir = debugfs_create_dir(name, parent); in notifier_err_inject_init() 65 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init() 68 action_dir = debugfs_create_dir(action->name, actions_dir); in notifier_err_inject_init()
|
H A D | decompress.c | 47 const char *name; member 64 const char **name) in decompress_method() 69 if (name) in decompress_method() 70 *name = NULL; in decompress_method() 76 for (cf = compressed_formats; cf->name; cf++) { in decompress_method() 81 if (name) in decompress_method() 82 *name = cf->name; in decompress_method() 63 decompress_method(const unsigned char *inbuf, long len, const char **name) decompress_method() argument
|
/third_party/elfutils/tests/ |
H A D | peel_type.c | 53 const char *name = dwarf_diename (var); in print_var_raw_type() local 65 printf ("%s error peeling type: %s\n", name, dwarf_errmsg (-1)); in print_var_raw_type() 68 name, dwarf_tag_string (dwarf_tag (result))); in print_var_raw_type() 72 printf ("%s raw type %s\n", name, dwarf_tag_string (tag)); in print_var_raw_type() 75 printf ("%s cannot peel type itself: %s\n", name, in print_var_raw_type() 79 name, dwarf_tag_string (dwarf_tag (type))); in print_var_raw_type() 81 printf ("%s doesn't resolve the same: %s != %s\n", name, in print_var_raw_type() 87 printf ("%s has no type.\n", name); in print_var_raw_type()
|
/third_party/ffmpeg/libavutil/ |
H A D | macos_kperf.c | 41 #define F(ret, name, ...) \ 42 typedef ret name##proc(__VA_ARGS__); \ 43 static name##proc *name = NULL; 81 #define F(ret, name, ...) av_assert0(name = (name##proc *)(dlsym(kperf, #name))); in kperf_init()
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | idctdsp.c | 35 const char *name; member 39 #define RANDOMIZE_BUFFER16(name, size) \ 44 AV_WN16A(name##0 + i, r); \ 45 AV_WN16A(name##1 + i, r); \ 49 #define RANDOMIZE_BUFFER8(name, size) \ 54 name##0[i] = r; \ 55 name##1[i] = r; \ 81 if (check_func(func, "idctdsp.%s", tests[t].name)) { in check_add_put_clamped()
|
/third_party/benchmark/bindings/python/google_benchmark/ |
H A D | __init__.py | 121 def register(undefined=None, *, name=None): 125 return lambda f: register(f, name=name) 131 if name is None: 132 name = options.func.__name__ 136 benchmark = _benchmark.RegisterBenchmark(name, options.func) 137 for name, args, kwargs in options.builder_calls[::-1]: 138 getattr(benchmark, name)(*args, **kwargs)
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_fragcolor.c | 70 ralloc_free(out->name); in lower_fragcolor_instr() 72 const char *name = out->data.index == 0 ? "gl_FragData[0]" : in lower_fragcolor_instr() local 77 out->name = ralloc_strdup(out, name); in lower_fragcolor_instr() 86 char name[28]; in lower_fragcolor_instr() local 87 snprintf(name, sizeof(name), name_tmpl, i); in lower_fragcolor_instr() 89 out->type, name); in lower_fragcolor_instr()
|
/third_party/mesa3d/src/broadcom/cle/ |
H A D | v3d_decoder.h | 39 struct v3d_group *v3d_spec_find_struct(struct v3d_spec *spec, const char *name); 43 struct v3d_group *v3d_spec_find_register_by_name(struct v3d_spec *spec, const char *name); 47 struct v3d_enum *v3d_spec_find_enum(struct v3d_spec *spec, const char *name); 51 char name[128]; member 65 char *name; member 85 char *name; member 90 char *name; member 126 char *name; member
|
/third_party/libwebsockets/lib/tls/ |
H A D | lws-genec-common.c | 30 lws_genec_curve(const struct lws_ec_curves *table, const char *name) in lws_genec_curve() argument 37 while (c->name) { in lws_genec_curve() 38 if (!strcmp(name, c->name)) in lws_genec_curve() 65 while (lws_ec_curves[n].name) { in lws_genec_confirm_curve_allowed_by_tls_id() 71 lws_ec_curves[n].name); in lws_genec_confirm_curve_allowed_by_tls_id() 72 len = strlen(lws_ec_curves[n].name); in lws_genec_confirm_curve_allowed_by_tls_id() 81 lws_ec_curves[n].name, len + 1); in lws_genec_confirm_curve_allowed_by_tls_id() 90 lwsl_err("%s: malformed or curve name in list\n", in lws_genec_confirm_curve_allowed_by_tls_id() 123 (char *)el[LWS_GENCRYPTO_EC_KEYEL_CRV].buf: "no curve name"); in lws_genec_dump() [all...] |
/third_party/node/test/fixtures/wpt/user-timing/resources/ |
H A D | user-timing-helper.js | 10 const actualEntrySet = new Set(actualEntries.map(ae=>ae.name)); 12 const expectedEntrySet = new Set(expectedEntries.map(ee=>ee.name)); 15 const expectedEntry = expectedEntries.find(e=>e.name === ae.name); 16 assert_true(!!expectedEntry, `Entry name '${ae.name}' was not found.`); 21 function checkEntry(entry, {name, entryType, startTime, detail, duration}) { 22 assert_equals(entry.name, name);
|
/third_party/node/test/fixtures/crypto/ |
H A D | rsa_pss.js | 85 algorithm: { name: 'RSA-PSS', saltLength: 0 }, 93 algorithm: { name: 'RSA-PSS', saltLength: 0 }, 101 algorithm: { name: 'RSA-PSS', saltLength: 0 }, 109 algorithm: { name: 'RSA-PSS', saltLength: 0 }, 117 algorithm: { name: 'RSA-PSS', saltLength: 20 }, 125 algorithm: { name: 'RSA-PSS', saltLength: 32 }, 133 algorithm: { name: 'RSA-PSS', saltLength: 48 }, 141 algorithm: { name: 'RSA-PSS', saltLength: 64 },
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/ |
H A D | aes_cbc_vectors.js | 8 // name - a unique name for this vector 206 name: "AES-CBC " + keyLength.toString() + "-bit key", 209 algorithm: {name: "AES-CBC", iv: iv}, 220 name: "AES-CBC " + keyLength.toString() + "-bit key, 64-bit IV", 223 algorithm: {name: "AES-CBC", iv: shortIv}, 232 name: "AES-CBC " + keyLength.toString() + "-bit key, 192-bit IV", 235 algorithm: {name: "AES-CBC", iv: longIv}, 250 name: "AES-CBC " + keyLength.toString() + "-bit key, " + paddingProblem, 253 algorithm: {name [all...] |
/third_party/node/benchmark/module/ |
H A D | module-loader.js | 11 const otherModules = builtinModules.filter((name) => !/\/|^_|^sys/.test(name)); 14 name: ['', '/', '/index.js'], 21 function main({ n, name, cache, files, dir }) { 39 measureDir(n, cache === 'true', files, name); 44 function measureDir(n, cache, files, name) { 47 require(`${benchmarkDirectory}${i}${name}`); 53 require(`${benchmarkDirectory}${i}${name}`);
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | requirements.py | 23 Parse a given requirement string into its parts, such as name, specifier, 31 # TODO: Can we normalize the name and extra name? 39 self.name: str = parsed.name 48 def _iter_parts(self, name: str) -> Iterator[str]: 49 yield name 67 return "".join(self._iter_parts(self.name)) 76 *self._iter_parts(canonicalize_name(self.name)), 85 canonicalize_name(self.name) [all...] |
/third_party/lwip/src/include/lwip/priv/ |
H A D | memp_priv.h | 18 * 3. The name of the author may not be used to endorse or promote products 84 #define LWIP_MEMPOOL(name,num,size,desc) 93 #define LWIP_MEMPOOL(name,num,size,desc) 140 #define LWIP_MEMPOOL_DECLARE_STATS_INSTANCE(name) static struct stats_mem name; 141 #define LWIP_MEMPOOL_DECLARE_STATS_REFERENCE(name) &name, 143 #define LWIP_MEMPOOL_DECLARE_STATS_INSTANCE(name) 144 #define LWIP_MEMPOOL_DECLARE_STATS_REFERENCE(name)
|