Home
last modified time | relevance | path

Searched refs:attrs (Results 501 - 525 of 2918) sorted by relevance

1...<<21222324252627282930>>...117

/kernel/linux/linux-6.6/fs/coda/
H A Ddir.c144 struct coda_vattr attrs; in coda_create() local
150 0, mode, &newfid, &attrs); in coda_create()
154 inode = coda_iget(dir->i_sb, &newfid, &attrs); in coda_create()
173 struct coda_vattr attrs; in coda_mkdir() local
182 attrs.va_mode = mode; in coda_mkdir()
184 name, len, &newfid, &attrs); in coda_mkdir()
188 inode = coda_iget(dir->i_sb, &newfid, &attrs); in coda_mkdir()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/
H A Dprestera_devlink.c419 struct devlink_port_attrs attrs = {}; in prestera_devlink_port_register() local
422 attrs.flavour = DEVLINK_PORT_FLAVOUR_PHYSICAL; in prestera_devlink_port_register()
423 attrs.phys.port_number = port->fp_id; in prestera_devlink_port_register()
424 attrs.switch_id.id_len = sizeof(sw->id); in prestera_devlink_port_register()
425 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len); in prestera_devlink_port_register()
427 devlink_port_attrs_set(&port->dl_port, &attrs); in prestera_devlink_port_register()
/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dnlspec.py183 attrs ordered dict of all attributes (indexed by name)
192 self.attrs = collections.OrderedDict()
202 self.attrs[attr.name] = attr
209 self.attrs[attr.name] = attr
216 return self.attrs[key]
219 return key in self.attrs
222 yield from self.attrs
225 return self.attrs.items()
H A Dynl.py166 self.attrs = []
172 self.attrs.append(attr)
175 yield from self.attrs
179 for a in self.attrs:
515 def _decode(self, attrs, space):
518 for attr in attrs:
551 def _decode_extack_path(self, attrs, attr_set, offset, target):
552 for attr in attrs:
618 attrs = self._decode(decoded.raw_attrs, op.attr_set.name)
620 attrs
[all...]
/kernel/linux/linux-6.6/net/hsr/
H A Dhsr_netlink.c293 na = info->attrs[HSR_A_IFINDEX]; in hsr_get_node_status()
296 na = info->attrs[HSR_A_NODE_ADDR]; in hsr_get_node_status()
302 nla_get_u32(info->attrs[HSR_A_IFINDEX])); in hsr_get_node_status()
330 nla_data(info->attrs[HSR_A_NODE_ADDR]), in hsr_get_node_status()
341 nla_data(info->attrs[HSR_A_NODE_ADDR])); in hsr_get_node_status()
422 na = info->attrs[HSR_A_IFINDEX]; in hsr_get_node_list()
428 nla_get_u32(info->attrs[HSR_A_IFINDEX])); in hsr_get_node_list()
/third_party/python/Lib/html/
H A Dparser.py308 # Now parse the data between i+1 and j into a tag and attrs
309 attrs = []
326 attrs.append((attrname.lower(), attrvalue))
335 self.handle_startendtag(tag, attrs)
337 self.handle_starttag(tag, attrs)
418 def handle_startendtag(self, tag, attrs):
419 self.handle_starttag(tag, attrs)
423 def handle_starttag(self, tag, attrs):
/third_party/rust/crates/syn/tests/
H A Dtest_precedence.rs264 visit_attrs(&mut e.attrs, vis); in librustc_parenthesize()
283 attrs: ThinVec::new(), in librustc_parenthesize()
394 attrs: Vec::new(), in syn_parenthesize()
482 attrs: paren.attrs, in make_parens_invisible()
494 attrs: Vec::new(), in make_parens_invisible()
525 attrs: vec![], in collect_exprs()
/kernel/linux/linux-5.10/drivers/net/wireless/
H A Dmac80211_hwsim.c3331 info->attrs[HWSIM_ATTR_PERM_ADDR]); in mac80211_hwsim_new_radio()
3518 if (!info->attrs[HWSIM_ATTR_ADDR_TRANSMITTER] || in hwsim_tx_info_frame_received_nl()
3519 !info->attrs[HWSIM_ATTR_FLAGS] || in hwsim_tx_info_frame_received_nl()
3520 !info->attrs[HWSIM_ATTR_COOKIE] || in hwsim_tx_info_frame_received_nl()
3521 !info->attrs[HWSIM_ATTR_SIGNAL] || in hwsim_tx_info_frame_received_nl()
3522 !info->attrs[HWSIM_ATTR_TX_INFO]) in hwsim_tx_info_frame_received_nl()
3525 src = (void *)nla_data(info->attrs[HWSIM_ATTR_ADDR_TRANSMITTER]); in hwsim_tx_info_frame_received_nl()
3526 hwsim_flags = nla_get_u32(info->attrs[HWSIM_ATTR_FLAGS]); in hwsim_tx_info_frame_received_nl()
3527 ret_skb_cookie = nla_get_u64(info->attrs[HWSIM_ATTR_COOKIE]); in hwsim_tx_info_frame_received_nl()
3566 info->attrs[HWSIM_ATTR_TX_INF in hwsim_tx_info_frame_received_nl()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dhv-gpci.c70 .attrs = format_attrs,
75 /* .attrs is set in init */
130 .attrs = cpumask_attrs,
135 .attrs = interface_attrs,
381 event_group.attrs = hv_gpci_event_attrs; in hv_gpci_init()
383 event_group.attrs = hv_gpci_event_attrs_v6; in hv_gpci_init()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Diommu.h44 unsigned long attrs);
256 unsigned long attrs);
261 unsigned long attrs);
272 unsigned long attrs);
275 unsigned long attrs);
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Diommu.h47 unsigned long attrs);
255 unsigned long attrs);
260 unsigned long attrs);
271 unsigned long attrs);
274 unsigned long attrs);
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dpapr_platform_attributes.c226 pg->pg.attrs[i] = &pg->pgattrs[i].kobj_attr.attr; in add_attr_group()
316 papr_groups[idx].pg.attrs = kcalloc(KOBJ_MAX_ATTRS + 1, in papr_init()
317 sizeof(*papr_groups[idx].pg.attrs), in papr_init()
319 if (!papr_groups[idx].pg.attrs) in papr_init()
350 kfree(papr_groups[i].pg.attrs); in papr_init()
/kernel/linux/linux-6.6/include/linux/
H A Ddamon.h496 * @attrs: Monitoring attributes for accuracy/overhead control.
522 struct damon_attrs attrs; member
644 int damon_set_attrs(struct damon_ctx *ctx, struct damon_attrs *attrs);
657 static inline unsigned int damon_max_nr_accesses(const struct damon_attrs *attrs) in damon_max_nr_accesses() argument
660 return min(attrs->aggr_interval / attrs->sample_interval, in damon_max_nr_accesses()
/test/testfwk/developer_test/aw/cxx/hwext/
H A Dperf.cpp86 for (auto attrs = currNode.properties; attrs != nullptr; attrs = attrs->next) { in ParseProperties()
87 auto name = attrs->name; in ParseProperties()
/third_party/python/PC/
H A Dlauncher.c258 DWORD type, data_size, attrs; in _locate_pythons_for_key() local
339 attrs = GetFileAttributesW(ip->executable); in _locate_pythons_for_key()
340 if (attrs == INVALID_FILE_ATTRIBUTES) { in _locate_pythons_for_key()
345 else if (attrs & FILE_ATTRIBUTE_DIRECTORY) { in _locate_pythons_for_key()
358 ok = GetBinaryTypeW(ip->executable, &attrs); in _locate_pythons_for_key()
364 if (attrs == SCS_64BIT_BINARY) in _locate_pythons_for_key()
366 else if (attrs == SCS_32BIT_BINARY) in _locate_pythons_for_key()
375 ip->executable, attrs); in _locate_pythons_for_key()
474 DWORD attrs; in locate_venv_python() local
485 attrs in locate_venv_python()
701 DWORD attrs; locate_wrapped_script() local
1727 DWORD size, attrs; process() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dpower.c492 static struct attribute *attrs[] = { variable
499 .attrs = attrs,
503 .attrs = attrs,
507 .attrs = attrs,
511 .attrs = attrs,
517 .attrs
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Duverbs_ioctl.c82 sizeof(*pbundle->bundle.attrs) * method_elm->key_bitmap_len + in uapi_compute_bundle_size()
227 struct uverbs_attr_bundle *attrs) in uverbs_free_idrs_array()
235 attrs); in uverbs_free_idrs_array()
243 struct uverbs_attr *e = &pbundle->bundle.attrs[attr_bkey]; in uverbs_process_attr()
357 * construction in most kernel configs the method and attrs will all fit in a
416 int (*handler)(struct uverbs_attr_bundle *attrs); in ib_uverbs_run_method()
456 &pbundle->bundle.attrs[destroy_bkey].obj_attr; in ib_uverbs_run_method()
503 struct uverbs_attr *attr = &pbundle->bundle.attrs[i]; in bundle_destroy()
516 struct uverbs_attr *attr = &pbundle->bundle.attrs[i]; in bundle_destroy()
580 /* Space for the pbundle->bundle.attrs fle in ib_uverbs_cmd_verbs()
224 uverbs_free_idrs_array(const struct uverbs_api_attr *attr_uapi, struct uverbs_objs_arr_attr *attr, bool commit, struct uverbs_attr_bundle *attrs) uverbs_free_idrs_array() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufs-sysfs.c205 .attrs = ufs_sysfs_ufshcd_attrs,
328 .attrs = ufs_sysfs_device_descriptor,
345 .attrs = ufs_sysfs_interconnect_descriptor,
439 .attrs = ufs_sysfs_geometry_descriptor,
458 .attrs = ufs_sysfs_health_descriptor,
574 .attrs = ufs_sysfs_power_descriptor,
630 .attrs = ufs_sysfs_string_descriptors,
688 .attrs = ufs_sysfs_device_flags,
765 .attrs = ufs_sysfs_attributes,
835 .attrs
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpower.c508 static struct attribute *attrs[] = { variable
515 .attrs = attrs,
519 .attrs = attrs,
523 .attrs = attrs,
527 .attrs = attrs,
533 .attrs
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_ioctl.c82 sizeof(*pbundle->bundle.attrs) * method_elm->key_bitmap_len + in uapi_compute_bundle_size()
227 struct uverbs_attr_bundle *attrs) in uverbs_free_idrs_array()
235 attrs); in uverbs_free_idrs_array()
243 struct uverbs_attr *e = &pbundle->bundle.attrs[attr_bkey]; in uverbs_process_attr()
365 * construction in most kernel configs the method and attrs will all fit in a
424 int (*handler)(struct uverbs_attr_bundle *attrs); in ib_uverbs_run_method()
464 &pbundle->bundle.attrs[destroy_bkey].obj_attr; in ib_uverbs_run_method()
511 struct uverbs_attr *attr = &pbundle->bundle.attrs[i]; in bundle_destroy()
524 struct uverbs_attr *attr = &pbundle->bundle.attrs[i]; in bundle_destroy()
588 /* Space for the pbundle->bundle.attrs fle in ib_uverbs_cmd_verbs()
224 uverbs_free_idrs_array(const struct uverbs_api_attr *attr_uapi, struct uverbs_objs_arr_attr *attr, bool commit, struct uverbs_attr_bundle *attrs) uverbs_free_idrs_array() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_program.c54 prog->vp.attrs[(4 * i) / 32] |= info->in[i].mask << ((4 * i) % 32); in nv50_vertprog_assign_slots()
61 prog->vp.attrs[2] |= NV50_3D_VP_GP_BUILTIN_ATTR_EN_PRIMITIVE_ID; in nv50_vertprog_assign_slots()
68 prog->vp.attrs[2] |= NV50_3D_VP_GP_BUILTIN_ATTR_EN_INSTANCE_ID; in nv50_vertprog_assign_slots()
71 prog->vp.attrs[2] |= NV50_3D_VP_GP_BUILTIN_ATTR_EN_VERTEX_ID; in nv50_vertprog_assign_slots()
72 prog->vp.attrs[2] |= NV50_3D_VP_GP_BUILTIN_ATTR_EN_VERTEX_ID_DRAW_ARRAYS_ADD_START; in nv50_vertprog_assign_slots()
75 prog->vp.attrs[2] |= NV50_3D_VP_GP_BUILTIN_ATTR_EN_PRIMITIVE_ID; in nv50_vertprog_assign_slots()
87 if (prog->vp.attrs[0] == 0 && in nv50_vertprog_assign_slots()
88 prog->vp.attrs[1] == 0 && in nv50_vertprog_assign_slots()
89 prog->vp.attrs[2] == 0) in nv50_vertprog_assign_slots()
90 prog->vp.attrs[ in nv50_vertprog_assign_slots()
[all...]
/kernel/linux/linux-6.6/net/netfilter/ipvs/
H A Dip_vs_ctl.c3444 struct nlattr *attrs[IPVS_SVC_ATTR_MAX + 1]; in ip_vs_genl_parse_service() local
3450 nla_parse_nested_deprecated(attrs, IPVS_SVC_ATTR_MAX, nla, ip_vs_svc_policy, NULL)) in ip_vs_genl_parse_service()
3453 nla_af = attrs[IPVS_SVC_ATTR_AF]; in ip_vs_genl_parse_service()
3454 nla_protocol = attrs[IPVS_SVC_ATTR_PROTOCOL]; in ip_vs_genl_parse_service()
3455 nla_addr = attrs[IPVS_SVC_ATTR_ADDR]; in ip_vs_genl_parse_service()
3456 nla_port = attrs[IPVS_SVC_ATTR_PORT]; in ip_vs_genl_parse_service()
3457 nla_fwmark = attrs[IPVS_SVC_ATTR_FWMARK]; in ip_vs_genl_parse_service()
3493 nla_sched = attrs[IPVS_SVC_ATTR_SCHED_NAME]; in ip_vs_genl_parse_service()
3494 nla_pe = attrs[IPVS_SVC_ATTR_PE_NAME]; in ip_vs_genl_parse_service()
3495 nla_flags = attrs[IPVS_SVC_ATTR_FLAG in ip_vs_genl_parse_service()
3607 struct nlattr *attrs[IPVS_CMD_ATTR_MAX + 1]; ip_vs_genl_dump_dests() local
3644 struct nlattr *attrs[IPVS_DEST_ATTR_MAX + 1]; ip_vs_genl_parse_dest() local
3793 ip_vs_genl_new_daemon(struct netns_ipvs *ipvs, struct nlattr **attrs) ip_vs_genl_new_daemon() argument
3854 ip_vs_genl_del_daemon(struct netns_ipvs *ipvs, struct nlattr **attrs) ip_vs_genl_del_daemon() argument
3866 ip_vs_genl_set_config(struct netns_ipvs *ipvs, struct nlattr **attrs) ip_vs_genl_set_config() argument
[all...]
/kernel/linux/linux-5.10/drivers/iio/
H A Dindustrialio-buffer.c216 * @attrs: Pointer to a null terminated list of pointers to attributes
219 const struct attribute **attrs) in iio_buffer_set_attrs()
221 buffer->attrs = attrs; in iio_buffer_set_attrs()
1276 if (buffer->attrs) { in __iio_buffer_alloc_sysfs_and_mask()
1277 while (buffer->attrs[attrcount] != NULL) in __iio_buffer_alloc_sysfs_and_mask()
1293 if (buffer->attrs) in __iio_buffer_alloc_sysfs_and_mask()
1294 memcpy(&attr[ARRAY_SIZE(iio_buffer_attrs)], buffer->attrs, in __iio_buffer_alloc_sysfs_and_mask()
1300 buffer->buffer_group.attrs = attr; in __iio_buffer_alloc_sysfs_and_mask()
1334 buffer->scan_el_group.attrs in __iio_buffer_alloc_sysfs_and_mask()
218 iio_buffer_set_attrs(struct iio_buffer *buffer, const struct attribute **attrs) iio_buffer_set_attrs() argument
[all...]
/third_party/rust/crates/syn/tests/common/
H A Deq.rs454 spanless_eq_struct!(Arm; attrs pat guard body span id is_placeholder);
459 spanless_eq_struct!(AttributesData; attrs tokens);
465 spanless_eq_struct!(Crate; attrs items spans id is_placeholder);
469 spanless_eq_struct!(Expr; id kind span attrs !tokens);
470 spanless_eq_struct!(ExprField; attrs id span ident expr is_shorthand is_placeholder);
471 spanless_eq_struct!(FieldDef; attrs id span vis ident ty is_placeholder);
482 spanless_eq_struct!(GenericParam; id ident attrs bounds is_placeholder kind !colon_span);
487 spanless_eq_struct!(Item<K>; attrs id span vis ident kind !tokens);
491 spanless_eq_struct!(Local; pat ty kind id span attrs !tokens);
493 spanless_eq_struct!(MacCallStmt; mac style attrs token
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dsony-laptop.c1975 struct device_attribute attrs[2]; member
2089 sysfs_attr_init(&bcare_ctl->attrs[0].attr); in sony_nc_battery_care_setup()
2090 bcare_ctl->attrs[0].attr.name = "battery_care_limiter"; in sony_nc_battery_care_setup()
2091 bcare_ctl->attrs[0].attr.mode = S_IRUGO | S_IWUSR; in sony_nc_battery_care_setup()
2092 bcare_ctl->attrs[0].show = sony_nc_battery_care_limit_show; in sony_nc_battery_care_setup()
2093 bcare_ctl->attrs[0].store = sony_nc_battery_care_limit_store; in sony_nc_battery_care_setup()
2095 ret = device_create_file(&pd->dev, &bcare_ctl->attrs[0]); in sony_nc_battery_care_setup()
2103 sysfs_attr_init(&bcare_ctl->attrs[1].attr); in sony_nc_battery_care_setup()
2104 bcare_ctl->attrs[1].attr.name = "battery_care_health"; in sony_nc_battery_care_setup()
2105 bcare_ctl->attrs[ in sony_nc_battery_care_setup()
2316 struct device_attribute attrs[LID_RESUME_MAX]; global() member
[all...]

Completed in 36 milliseconds

1...<<21222324252627282930>>...117