/kernel/linux/linux-6.6/fs/ |
H A D | readdir.c | 118 * POSIX says that a dirent name cannot contain NULL or a '/'. 134 * Note that this should likely do a "memchr(name, 0, len)" 137 * which has to do a strlen() on the name anyway to find the 146 static int verify_dirent_name(const char *name, int len) in verify_dirent_name() argument 150 if (memchr(name, '/', len)) in verify_dirent_name() 179 static bool fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir() argument 189 buf->result = verify_dirent_name(name, namlen); in fillonedir() 206 unsafe_copy_dirent_name(dirent->d_name, name, namlen, efault_end); in fillonedir() 258 static bool filldir(struct dir_context *ctx, const char *name, int namlen, in filldir() argument 269 buf->error = verify_dirent_name(name, namle in filldir() 346 filldir64(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) filldir64() argument 436 compat_fillonedir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) compat_fillonedir() argument 510 compat_filldir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type) compat_filldir() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_sysfs.c | 30 #define XFS_SYSFS_ATTR_RW(name) \ 31 static struct xfs_sysfs_attr xfs_sysfs_attr_##name = __ATTR_RW(name) 32 #define XFS_SYSFS_ATTR_RO(name) \ 33 static struct xfs_sysfs_attr xfs_sysfs_attr_##name = __ATTR_RO(name) 34 #define XFS_SYSFS_ATTR_WO(name) \ 35 static struct xfs_sysfs_attr xfs_sysfs_attr_##name = __ATTR_WO(name) 37 #define ATTR_LIST(name) 585 char *name; global() member [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | module.h | 39 char name[MODULE_NAME_LEN]; member 243 #define MODULE_DEVICE_TABLE(type, name) \ 244 extern typeof(name) __mod_##type##__##name##_device_table \ 245 __attribute__ ((unused, alias(__stringify(name)))) 247 #define MODULE_DEVICE_TABLE(type, name) 278 .name = "version", \ 289 * format is simply firmware file name. Multiple firmware 409 char name[MODULE_NAME_LEN]; member 649 /* Search for module by name 971 module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, char *name, char *module_name, int *exported) module_get_kallsym() argument 978 module_kallsyms_lookup_name(const char *name) module_kallsyms_lookup_name() argument 983 find_kallsyms_symbol_value(struct module *mod, const char *name) find_kallsyms_symbol_value() argument [all...] |
/kernel/linux/linux-6.6/drivers/soc/renesas/ |
H A D | renesas-soc.c | 17 const char name[16]; member 22 .name = "R-Car Gen1", 27 .name = "R-Car Gen2", 32 .name = "R-Car Gen3", 37 .name = "R-Car Gen4", 41 .name = "R-Mobile", 46 .name = "RZ/A1", 50 .name = "RZ/A2", 54 .name = "RZ/Five", 58 .name [all...] |
/kernel/linux/linux-6.6/drivers/powercap/ |
H A D | dtpm.c | 94 child->weight, child->zone.name); in __dtpm_rebalance_weight() 145 dtpm->zone.name, ret); in dtpm_update_power() 221 dtpm->zone.name, power_limit); in __set_power_limit_uw() 251 child->zone.name, power); in __set_power_limit_uw() 282 dtpm->zone.name, dtpm->power_limit, dtpm->power_max); in set_power_limit_uw() 340 pr_debug("Unregistered dtpm node '%s'\n", dtpm->zone.name); in dtpm_unregister() 345 * @name: a string specifying the name of the node 365 int dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent) in dtpm_register() argument 390 pcz = powercap_register_zone(&dtpm->zone, pct, name, in dtpm_register() [all...] |
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | videocc-sm8550.c | 60 .name = "video_cc_pll0", 92 .name = "video_cc_pll1", 138 .name = "video_cc_mvs0_clk_src", 161 .name = "video_cc_mvs1_clk_src", 174 .name = "video_cc_mvs0_div_clk_src", 189 .name = "video_cc_mvs0c_div2_div_clk_src", 204 .name = "video_cc_mvs1_div_clk_src", 219 .name = "video_cc_mvs1c_div2_div_clk_src", 238 .name = "video_cc_mvs0_clk", 256 .name [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_catalog.c | 259 .scaler_blk = {.name = "scaler", \ 262 .csc_blk = {.name = "csc", \ 277 .scaler_blk = {.name = "scaler", \ 280 .csc_blk = {.name = "csc", \ 426 .pcc = {.name = "pcc", .id = DPU_DSPP_PCC, .base = 0x1700, 431 .pcc = {.name = "pcc", .id = DPU_DSPP_PCC, .base = 0x1700, 439 .te2 = {.name = "te2", .id = DPU_PINGPONG_TE2, .base = 0x2000, .len = 0x0, 441 .dither = {.name = "dither", .id = DPU_PINGPONG_DITHER, .base = 0x30e0, 446 .dither = {.name = "dither", .id = DPU_PINGPONG_DITHER, .base = 0x30e0, 451 .dither = {.name [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_rect_test.c | 349 const char *name; member 357 .name = "normal use", 364 .name = "out of max range", 371 .name = "out of min range", 378 .name = "zero dst", 385 .name = "negative src", 392 .name = "negative dst", 402 strscpy(desc, t->name, KUNIT_PARAM_DESC_SIZE); in drm_rect_scale_case_desc() 430 const char *name; member 439 .name [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_fcu_controls.c | 316 fan->ctrl.name, pump_min, pump_max); in wf_fcu_get_pump_minmax() 330 if (mpu0 && !strcmp(fan->ctrl.name, "cpu-front-fan-0")) { in wf_fcu_get_rpmfan_minmax() 335 if (mpu1 && !strcmp(fan->ctrl.name, "cpu-front-fan-1")) { in wf_fcu_get_rpmfan_minmax() 340 if (mpu0 && !strcmp(fan->ctrl.name, "cpu-rear-fan-0")) { in wf_fcu_get_rpmfan_minmax() 345 if (mpu1 && !strcmp(fan->ctrl.name, "cpu-rear-fan-1")) { in wf_fcu_get_rpmfan_minmax() 351 if (!strncmp(fan->ctrl.name, "cpu-fan", 7)) { in wf_fcu_get_rpmfan_minmax() 358 fan->ctrl.name, fan->min, fan->max); in wf_fcu_get_rpmfan_minmax() 361 static void wf_fcu_add_fan(struct wf_fcu_priv *pv, const char *name, in wf_fcu_add_fan() argument 371 fan->ctrl.name = name; in wf_fcu_add_fan() 435 const char *name; wf_fcu_lookup_fans() local [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-ss4200.c | 126 char *name; member 135 { .name = "hdd1:blue:sata", .gpio_bit = 0 }, 136 { .name = "hdd1:amber:sata", .gpio_bit = 1 }, 137 { .name = "hdd2:blue:sata", .gpio_bit = 2 }, 138 { .name = "hdd2:amber:sata", .gpio_bit = 3 }, 139 { .name = "hdd3:blue:sata", .gpio_bit = 4 }, 140 { .name = "hdd3:amber:sata", .gpio_bit = 5 }, 141 { .name = "hdd4:blue:sata", .gpio_bit = 6 }, 142 { .name = "hdd4:amber:sata", .gpio_bit = 7 }, 143 { .name 155 get_led_named(char *name) get_led_named() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sharedbuffer_configuration.py | 235 self["dlportname"] = port.name 254 if port.name not in d["tc_bind"] or len(d["tc_bind"][port.name]) == 0: 257 for tcbinddict in d["tc_bind"][port.name]: 260 log_test("tc bind existence for port {} verification".format(port.name), err_msg) 309 self["dlportname"] = port.name 326 if port.name not in d["port_pool"] or len(d["port_pool"][port.name]) == 0: 329 for portpooldict in d["port_pool"][port.name]: 332 log_test("port pool existence for port {} verification".format(port.name), err_ms [all...] |
H A D | q_in_q_veto.sh | 56 ip link add name br0.100 link br0 type vlan \ 60 ip link add name br0.100 link br0 type vlan \ 74 ip link add name $swp1.100 link $swp1 type vlan \ 78 ip link add name $swp1.100 link $swp1 type vlan \ 97 ip link add name $swp1.100 link $swp1 type vlan \ 101 ip link add name $swp1.100 link $swp1 type vlan \ 115 ip link add name bond1 type bond mode 802.3ad 119 ip link add name bond1.100 link bond1 type vlan \ 123 ip link add name bond1.100 link bond1 type vlan \ 165 ip link add name [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | wm8766.c | 31 .name = "Channel 1 Playback Volume", 42 .name = "Channel 2 Playback Volume", 53 .name = "Channel 3 Playback Volume", 64 .name = "Channel 1 Playback Switch", 71 .name = "Channel 2 Playback Switch", 78 .name = "Channel 3 Playback Switch", 85 .name = "Channel 1 Phase Invert Playback Switch", 91 .name = "Channel 2 Phase Invert Playback Switch", 97 .name = "Channel 3 Phase Invert Playback Switch", 103 .name [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | skl_nau88l25_ssm4567.c | 509 .name = "Skl Audio Port", 521 .name = "Skl Audio Capture Port", 532 .name = "Skl Audio Reference cap", 542 .name = "Skl Audio DMIC cap", 552 .name = "Skl HDMI Port1", 563 .name = "Skl HDMI Port2", 574 .name = "Skl HDMI Port3", 588 .name = "SSP0-Codec", 603 .name = "SSP1-Codec", 617 .name [all...] |
H A D | skl_nau88l25_max98357a.c | 470 .name = "Skl Audio Port", 482 .name = "Skl Audio Capture Port", 493 .name = "Skl Audio Reference cap", 503 .name = "Skl Audio DMIC cap", 513 .name = "Skl HDMI Port1", 524 .name = "Skl HDMI Port2", 535 .name = "Skl HDMI Port3", 549 .name = "SSP0-Codec", 562 .name = "SSP1-Codec", 576 .name [all...] |
H A D | skl_rt286.c | 342 .name = "Skl Audio Port", 356 .name = "Skl Deepbuffer Port", 369 .name = "Skl Audio Capture Port", 382 .name = "Skl Audio Reference cap", 391 .name = "Skl Audio DMIC cap", 401 .name = "Skl HDMI Port1", 410 .name = "Skl HDMI Port2", 419 .name = "Skl HDMI Port3", 431 .name = "SSP0-Codec", 446 .name [all...] |
/third_party/libsnd/src/ |
H A D | mat5.c | 69 char name [32] ; member 261 { char buffer [256], name [32] ; in mat5_read_header() local 334 if (size > SIGNED_SIZEOF (name) - 1) in mat5_read_header() 335 { psf_log_printf (psf, "Error : Bad name length.\n") ; in mat5_read_header() 339 psf_binheader_readf (psf, "bj", name, size, (8 - (size % 8)) % 8) ; in mat5_read_header() 340 name [size] = 0 ; in mat5_read_header() 345 { psf_log_printf (psf, "Error : Bad name length.\n") ; in mat5_read_header() 350 psf_binheader_readf (psf, "4", &name) ; in mat5_read_header() 351 name [size] = 0 ; in mat5_read_header() 356 psf_log_printf (psf, " Name : %s\n", name) ; in mat5_read_header() [all...] |
/third_party/libuv/src/unix/ |
H A D | pipe.c | 56 int uv_pipe_bind(uv_pipe_t* handle, const char* name) { in uv_pipe_bind() argument 57 return uv_pipe_bind2(handle, name, strlen(name), 0); in uv_pipe_bind() 62 const char* name, in uv_pipe_bind2() 76 if (name == NULL) in uv_pipe_bind2() 82 if (includes_nul(name, namelen)) in uv_pipe_bind2() 104 if (*name == '\0') { in uv_pipe_bind2() 110 memcpy(pipe_fname, name, namelen); in uv_pipe_bind2() 121 memcpy(&saddr.sun_path, name, namelen); in uv_pipe_bind2() 136 handle->pipe_fname = pipe_fname; /* NULL or a copy of |name| */ in uv_pipe_bind2() 61 uv_pipe_bind2(uv_pipe_t* handle, const char* name, size_t namelen, unsigned int flags) uv_pipe_bind2() argument 225 uv_pipe_connect(uv_connect_t* req, uv_pipe_t* handle, const char* name, uv_connect_cb cb) uv_pipe_connect() argument 248 uv_pipe_connect2(uv_connect_t* req, uv_pipe_t* handle, const char* name, size_t namelen, unsigned int flags, uv_connect_cb cb) uv_pipe_connect2() argument [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | depends.py | 16 - domain name, can be used to run only specific tests via command-line; 99 cmd is a list of strings: a command name and its arguments.""" 156 def __init__(self, name, config_settings, commands): 164 command name and its arguments and is passed to subprocess.call with 166 self.name = name 176 log_line(self.name + ' PASSED', color=colors.green) 178 log_line(self.name + ' FAILED', color=colors.red) 180 log_line('starting ' + self.name, color=colors.cyan) 204 env['MBEDTLS_TEST_CONFIGURATION'] += '-' + self.name [all...] |
/third_party/lzma/CPP/Common/ |
H A D | Wildcard.cpp | 120 // this function compares name with mask
124 static bool EnhancedMaskTest(const wchar_t *mask, const wchar_t *name)
in EnhancedMaskTest() argument 129 const wchar_t c = *name;
in EnhancedMaskTest() 134 if (EnhancedMaskTest(mask + 1, name))
in EnhancedMaskTest() 151 name++;
in EnhancedMaskTest() 164 UString name;
in SplitPathToParts() 169 name.SetFrom(path.Ptr(prev), i - prev);
in SplitPathToParts() 170 pathParts.Add(name);
in SplitPathToParts() 173 name.SetFrom(path.Ptr(prev), len - prev);
in SplitPathToParts() 174 pathParts.Add(name);
in SplitPathToParts() 177 SplitPathToParts_2(const UString &path, UString &dirPrefix, UString &name) SplitPathToParts_2() argument 188 SplitPathToParts_Smart(const UString &path, UString &dirPrefix, UString &name) SplitPathToParts_Smart() argument 217 DoesWildcardMatchName(const UString &mask, const UString &name) DoesWildcardMatchName() argument [all...] |
/third_party/lame/ACM/tinyxml/ |
H A D | tinyxml.h | 120 /* Reads an XML name into the string provided. Returns 121 a pointer just past the last character of the name, 124 static const char* ReadName( const char*, std::string* name ); 268 Element: name of the element 281 Element: name of the element 422 /** An attribute is a name-value pair. Elements have an arbitrary 423 number of attributes, each with a unique name. 439 /// Construct an attribute with a name and value. 440 TiXmlAttribute( const std::string& _name, const std::string& _value ) : name( _name ), value( _value ), prev( 0 ), next( 0 ) {} in TiXmlAttribute() 442 const std::string& Name() const { return name; } ///< Retur 480 std::string name; global() member in TiXmlAttribute [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_opt_dead_builtin_varyings.c | 109 if (!glsl_type_is_array(var->type) || !is_gl_identifier(var->name)) in gather_info_on_varying_deref() 245 create_new_var(nir_shader *shader, char *name, nir_variable_mode mode, in create_new_var() argument 249 var->name = ralloc_strdup(var, name); in create_new_var() 315 char name[32]; in prepare_array() local 320 snprintf(name, 32, "gl_%s_%s%i_dummy", mode_str, var_name, i); in prepare_array() 321 new_var[i] = create_new_var(shader, name, nir_var_shader_temp, in prepare_array() 324 snprintf(name, 32, "gl_%s_%s%i", mode_str, var_name, i); in prepare_array() 325 new_var[i] = create_new_var(shader, name, rv_data->info->mode, in prepare_array() 381 char name[3 in replace_varyings() local 401 char name[32]; replace_varyings() local [all...] |
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | mbedtls-x509.c | 69 lws_tls_mbedtls_get_x509_name(mbedtls_x509_name *name, in lws_tls_mbedtls_get_x509_name() argument 76 while (name) { in lws_tls_mbedtls_get_x509_name() 78 if (MBEDTLS_OID_CMP(type, &name->oid)) { in lws_tls_mbedtls_get_x509_name() 79 name = name->next; in lws_tls_mbedtls_get_x509_name() 83 lws_strnncpy(&buf->ns.name[buf->ns.len], in lws_tls_mbedtls_get_x509_name() 84 (const char *)name->MBEDTLS_PRIVATE_V30_ONLY(val).MBEDTLS_PRIVATE_V30_ONLY(p), in lws_tls_mbedtls_get_x509_name() 85 name->MBEDTLS_PRIVATE_V30_ONLY(val).MBEDTLS_PRIVATE_V30_ONLY(len), in lws_tls_mbedtls_get_x509_name() 87 buf->ns.len = (int)strlen(buf->ns.name); in lws_tls_mbedtls_get_x509_name() 90 name in lws_tls_mbedtls_get_x509_name() [all...] |
/third_party/node/lib/internal/worker/ |
H A D | io.js | 122 function validateMessagePort(port, name) { 124 throw new ERR_INVALID_ARG_TYPE(name, 'MessagePort', port); 275 value: function inspect() { // eslint-disable-line func-name-matching 299 eventEmitter.on('newListener', function(name) { 300 if (name === eventName) newListener(eventEmitter.listenerCount(name)); 302 eventEmitter.on('removeListener', function(name) { 303 if (name === eventName) removeListener(eventEmitter.listenerCount(name)); 333 constructor(port, name) { [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsls.c | 66 char name[MAX_PATH]; member 73 * @name: string pointer 75 * NOTE: @name is not directly allocated memory. It simply points to the 76 * character array name in struct dir. 80 const char *name; member 127 static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name, 380 .name = {0}, in readdir_recursive() 386 .name = NULL in readdir_recursive() 402 base_comp.name = opts.path; in readdir_recursive() 433 subdir->name); in readdir_recursive() 490 list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name, const int name_len, const int name_type, const s64 pos __attribute__((unused)), const MFT_REF mref, const unsigned dt_type) list_dir_entry() argument 686 ntfschar *name = NULL; main() local [all...] |