/kernel/linux/linux-6.6/include/rdma/ |
H A D | uverbs_std_types.h | 50 struct uverbs_attr_bundle *attrs); 56 u32 id, struct uverbs_attr_bundle *attrs); 81 struct uverbs_attr_bundle *attrs) in uobj_alloc_abort() 83 rdma_alloc_abort_uobject(uobj, attrs, false); in uobj_alloc_abort() 87 struct uverbs_attr_bundle *attrs) in uobj_finalize_uobj_create() 96 WARN_ON(attrs->uobject); in uobj_finalize_uobj_create() 97 attrs->uobject = uobj; in uobj_finalize_uobj_create() 102 struct uverbs_attr_bundle *attrs, struct ib_device **ib_dev) in __uobj_alloc() 104 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, attrs); in __uobj_alloc() 107 *ib_dev = attrs in __uobj_alloc() 80 uobj_alloc_abort(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) uobj_alloc_abort() argument 86 uobj_finalize_uobj_create(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) uobj_finalize_uobj_create() argument 101 __uobj_alloc(const struct uverbs_api_object *obj, struct uverbs_attr_bundle *attrs, struct ib_device **ib_dev) __uobj_alloc() argument [all...] |
H A D | uverbs_types.h | 59 struct uverbs_attr_bundle *attrs); 72 struct uverbs_attr_bundle *attrs); 105 struct uverbs_attr_bundle *attrs); 111 struct uverbs_attr_bundle *attrs); 115 struct uverbs_attr_bundle *attrs); 117 struct uverbs_attr_bundle *attrs, 120 struct uverbs_attr_bundle *attrs); 123 struct uverbs_attr_bundle *attrs);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | dm.c | 174 struct uverbs_attr_bundle *attrs) in copy_op_to_user() 182 err = uverbs_copy_to(attrs, MLX5_IB_ATTR_DM_MAP_OP_ADDR_RESP_PAGE_INDEX, in copy_op_to_user() 187 return uverbs_copy_to(attrs, in copy_op_to_user() 193 struct uverbs_attr_bundle *attrs) in map_existing_op() 201 return copy_op_to_user(op_entry, attrs); in map_existing_op() 205 struct uverbs_attr_bundle *attrs) in MLX5_IB_METHOD_DM_MAP_OP_ADDR() 208 attrs, MLX5_IB_ATTR_DM_MAP_OP_ADDR_REQ_HANDLE); in MLX5_IB_METHOD_DM_MAP_OP_ADDR() 216 err = uverbs_copy_from(&op, attrs, MLX5_IB_ATTR_DM_MAP_OP_ADDR_REQ_OP); in MLX5_IB_METHOD_DM_MAP_OP_ADDR() 227 err = map_existing_op(dm, op, attrs); in MLX5_IB_METHOD_DM_MAP_OP_ADDR() 255 err = copy_op_to_user(op_entry, attrs); in MLX5_IB_METHOD_DM_MAP_OP_ADDR() 173 copy_op_to_user(struct mlx5_ib_dm_op_entry *op_entry, struct uverbs_attr_bundle *attrs) copy_op_to_user() argument 192 map_existing_op(struct mlx5_ib_dm_memic *dm, u8 op, struct uverbs_attr_bundle *attrs) map_existing_op() argument 204 MLX5_IB_METHOD_DM_MAP_OP_ADDR( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DM_MAP_OP_ADDR() argument 274 handle_alloc_dm_memic(struct ib_ucontext *ctx, struct ib_dm_alloc_attr *attr, struct uverbs_attr_bundle *attrs) handle_alloc_dm_memic() argument 350 handle_alloc_dm_sw_icm(struct ib_ucontext *ctx, struct ib_dm_alloc_attr *attr, struct uverbs_attr_bundle *attrs, int type) handle_alloc_dm_sw_icm() argument 418 mlx5_ib_alloc_dm(struct ib_device *ibdev, struct ib_ucontext *context, struct ib_dm_alloc_attr *attr, struct uverbs_attr_bundle *attrs) mlx5_ib_alloc_dm() argument 480 mlx5_ib_dealloc_dm(struct ib_dm *ibdm, struct uverbs_attr_bundle *attrs) mlx5_ib_dealloc_dm() argument 500 MLX5_IB_METHOD_DM_QUERY( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DM_QUERY() argument [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | seg6_local.c | 49 unsigned long attrs; member 205 /* unlike the required attrs, we have to track the optional attributes 1465 .attrs = 0, 1472 .attrs = SEG6_F_ATTR(SEG6_LOCAL_NH6), 1479 .attrs = SEG6_F_ATTR(SEG6_LOCAL_TABLE), 1485 .attrs = SEG6_F_ATTR(SEG6_LOCAL_OIF), 1491 .attrs = SEG6_F_ATTR(SEG6_LOCAL_NH6), 1497 .attrs = SEG6_F_ATTR(SEG6_LOCAL_NH4), 1503 .attrs = SEG6_F_ATTR(SEG6_LOCAL_VRFTABLE), 1515 .attrs 1652 parse_nla_srh(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_srh() argument 1710 parse_nla_table(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_table() argument 1744 parse_nla_vrftable(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_vrftable() argument 1782 parse_nla_nh4(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_nh4() argument 1809 parse_nla_nh6(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_nh6() argument 1836 parse_nla_iif(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_iif() argument 1860 parse_nla_oif(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_oif() argument 1891 parse_nla_bpf(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_bpf() argument 1969 parse_nla_counters(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_counters() argument 2129 parse_nla_flavors(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_flavors() argument 2350 unsigned long attrs = slwt->desc->attrs | slwt->parsed_optattrs; destroy_attrs() local 2355 parse_nla_optional_attrs(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_optional_attrs() argument 2426 parse_nla_action(struct nlattr **attrs, struct seg6_local_lwt *slwt, struct netlink_ext_ack *extack) parse_nla_action() argument 2561 unsigned long attrs; seg6_local_fill_encap() local 2584 unsigned long attrs; seg6_local_get_encap_size() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | devx.c | 110 devx_ufile2uctx(const struct uverbs_attr_bundle *attrs) in devx_ufile2uctx() argument 112 return to_mucontext(ib_uverbs_get_ucontext(attrs)); in devx_ufile2uctx() 520 static bool devx_is_valid_obj_id(struct uverbs_attr_bundle *attrs, in devx_is_valid_obj_id() argument 523 struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata); in devx_is_valid_obj_id() 915 struct uverbs_attr_bundle *attrs) in MLX5_IB_METHOD_DEVX_QUERY_EQN() 923 if (uverbs_copy_from(&user_vector, attrs, in MLX5_IB_METHOD_DEVX_QUERY_EQN() 927 c = devx_ufile2uctx(attrs); in MLX5_IB_METHOD_DEVX_QUERY_EQN() 936 if (uverbs_copy_to(attrs, MLX5_IB_ATTR_DEVX_QUERY_EQN_DEV_EQN, in MLX5_IB_METHOD_DEVX_QUERY_EQN() 964 struct uverbs_attr_bundle *attrs) in MLX5_IB_METHOD_DEVX_QUERY_UAR() 971 c = devx_ufile2uctx(attrs); in MLX5_IB_METHOD_DEVX_QUERY_UAR() 914 MLX5_IB_METHOD_DEVX_QUERY_EQN( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_QUERY_EQN() argument 963 MLX5_IB_METHOD_DEVX_QUERY_UAR( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_QUERY_UAR() argument 991 MLX5_IB_METHOD_DEVX_OTHER( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_OTHER() argument 1297 devx_obj_cleanup(struct ib_uobject *uobject, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) devx_obj_cleanup() argument 1364 MLX5_IB_METHOD_DEVX_OBJ_CREATE( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_OBJ_CREATE() argument 1481 MLX5_IB_METHOD_DEVX_OBJ_MODIFY( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_OBJ_MODIFY() argument 1526 MLX5_IB_METHOD_DEVX_OBJ_QUERY( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_OBJ_QUERY() argument 1592 MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC() argument 1608 MLX5_IB_METHOD_DEVX_ASYNC_EVENT_FD_ALLOC( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_ASYNC_EVENT_FD_ALLOC() argument 1662 MLX5_IB_METHOD_DEVX_OBJ_ASYNC_QUERY( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_OBJ_ASYNC_QUERY() argument 1893 MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() argument 2077 devx_umem_get(struct mlx5_ib_dev *dev, struct ib_ucontext *ucontext, struct uverbs_attr_bundle *attrs, struct devx_umem *obj) devx_umem_get() argument 2123 devx_umem_reg_cmd_alloc(struct uverbs_attr_bundle *attrs, struct devx_umem *obj, struct devx_umem_reg_cmd *cmd) devx_umem_reg_cmd_alloc() argument 2153 MLX5_IB_METHOD_DEVX_UMEM_REG( struct uverbs_attr_bundle *attrs) MLX5_IB_METHOD_DEVX_UMEM_REG() argument 2205 devx_umem_cleanup(struct ib_uobject *uobject, enum rdma_remove_reason why, struct uverbs_attr_bundle *attrs) devx_umem_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 46 struct devlink_port_attrs attrs = {}; in mlx5e_devlink_port_register() local 51 attrs.flavour = DEVLINK_PORT_FLAVOUR_PHYSICAL; in mlx5e_devlink_port_register() 52 attrs.phys.port_number = mlx5_get_dev_index(mdev); in mlx5e_devlink_port_register() 55 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register() 56 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register() 61 attrs.flavour = DEVLINK_PORT_FLAVOUR_VIRTUAL; in mlx5e_devlink_port_register() 65 devlink_port_attrs_set(&mlx5e_dev->dl_port, &attrs); in mlx5e_devlink_port_register()
|
/third_party/rust/crates/syn/src/ |
H A D | stmt.rs | 39 pub attrs: Vec<Attribute>, 69 pub attrs: Vec<Attribute>, 102 /// attrs: Vec<Attribute>, 121 /// attrs: { 122 /// let mut attrs = outer_attrs; 123 /// attrs.extend(inner_attrs); 124 /// attrs 184 let attrs = input.call(Attribute::parse_outer)?; in parse_stmt() 198 return stmt_mac(input, attrs, path).map(Stmt::Macro); in parse_stmt() 204 stmt_local(input, attrs) in parse_stmt() [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | maar.h | 34 * @attrs: The accessibility attributes to program, eg. MIPS_MAAR_S. The 38 * specified by attrs to the range of addresses from lower to higher. 41 phys_addr_t upper, unsigned attrs) in write_maar_pair() 49 attrs |= MIPS_MAAR_VL; in write_maar_pair() 57 write_c0_maar(((upper >> 4) & MIPS_MAAR_ADDR) | attrs); in write_maar_pair() 68 write_c0_maar((lower >> 4) | attrs); in write_maar_pair() 92 * @attrs: The accessibility attributes to program, eg. MIPS_MAAR_S. The 96 * Registers - applying attributes from attrs to the range of physical 102 unsigned attrs; member 122 write_maar_pair(i, cfg[i].lower, cfg[i].upper, cfg[i].attrs); in maar_config() 40 write_maar_pair(unsigned idx, phys_addr_t lower, phys_addr_t upper, unsigned attrs) write_maar_pair() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | dma-mapping.h | 28 * @attrs: optinal attributes that specific mapping properties 35 gfp_t gfp, unsigned long attrs); 43 * @attrs: optinal attributes that specific mapping properties 52 dma_addr_t handle, unsigned long attrs); 61 * @attrs: optinal attributes that specific mapping properties 69 unsigned long attrs); 116 enum dma_data_direction, unsigned long attrs); 118 enum dma_data_direction, unsigned long attrs); 125 unsigned long attrs);
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | maar.h | 34 * @attrs: The accessibility attributes to program, eg. MIPS_MAAR_S. The 38 * specified by attrs to the range of addresses from lower to higher. 41 phys_addr_t upper, unsigned attrs) in write_maar_pair() 49 attrs |= MIPS_MAAR_VL; in write_maar_pair() 57 write_c0_maar(((upper >> 4) & MIPS_MAAR_ADDR) | attrs); in write_maar_pair() 68 write_c0_maar((lower >> 4) | attrs); in write_maar_pair() 92 * @attrs: The accessibility attributes to program, eg. MIPS_MAAR_S. The 96 * Registers - applying attributes from attrs to the range of physical 102 unsigned attrs; member 122 write_maar_pair(i, cfg[i].lower, cfg[i].upper, cfg[i].attrs); in maar_config() 40 write_maar_pair(unsigned idx, phys_addr_t lower, phys_addr_t upper, unsigned attrs) write_maar_pair() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_overlay.c | 1220 static int check_gamma(struct drm_intel_overlay_attrs *attrs) in check_gamma() argument 1222 if (!check_gamma_bounds(0, attrs->gamma0) || in check_gamma() 1223 !check_gamma_bounds(attrs->gamma0, attrs->gamma1) || in check_gamma() 1224 !check_gamma_bounds(attrs->gamma1, attrs->gamma2) || in check_gamma() 1225 !check_gamma_bounds(attrs->gamma2, attrs->gamma3) || in check_gamma() 1226 !check_gamma_bounds(attrs->gamma3, attrs in check_gamma() 1240 struct drm_intel_overlay_attrs *attrs = data; intel_overlay_attrs_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_overlay.c | 1255 static int check_gamma(struct drm_intel_overlay_attrs *attrs) in check_gamma() argument 1257 if (!check_gamma_bounds(0, attrs->gamma0) || in check_gamma() 1258 !check_gamma_bounds(attrs->gamma0, attrs->gamma1) || in check_gamma() 1259 !check_gamma_bounds(attrs->gamma1, attrs->gamma2) || in check_gamma() 1260 !check_gamma_bounds(attrs->gamma2, attrs->gamma3) || in check_gamma() 1261 !check_gamma_bounds(attrs->gamma3, attrs in check_gamma() 1275 struct drm_intel_overlay_attrs *attrs = data; intel_overlay_attrs_ioctl() local [all...] |
/third_party/rust/crates/syn/codegen/src/ |
H A D | parse.rs | 76 exhaustive: !(is_non_exhaustive(&item.ast.attrs) in introspect_item() 77 || data.variants.iter().any(|v| is_doc_hidden(&v.attrs))), in introspect_item() 99 if is_doc_hidden(&variant.attrs) { in introspect_enum() 196 fn introspect_features(attrs: &[Attribute]) -> types::Features { in introspect_features() 199 for attr in attrs { in introspect_features() 226 fn is_non_exhaustive(attrs: &[Attribute]) -> bool { in is_non_exhaustive() 227 for attr in attrs { in is_non_exhaustive() 235 fn is_doc_hidden(attrs: &[Attribute]) -> bool { in is_doc_hidden() 236 for attr in attrs { in is_doc_hidden() 331 let attrs in ast_enum() [all...] |
/kernel/linux/linux-6.6/kernel/dma/ |
H A D | debug.h | 15 unsigned long attrs); 22 unsigned long attrs); 29 unsigned long attrs); 37 unsigned long attrs); 61 unsigned long attrs) in debug_dma_map_page() 72 unsigned long attrs) in debug_dma_map_sg() 84 unsigned long attrs) in debug_dma_alloc_coherent() 96 unsigned long attrs) in debug_dma_map_resource() 58 debug_dma_map_page(struct device *dev, struct page *page, size_t offset, size_t size, int direction, dma_addr_t dma_addr, unsigned long attrs) debug_dma_map_page() argument 70 debug_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, int mapped_ents, int direction, unsigned long attrs) debug_dma_map_sg() argument 82 debug_dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t dma_addr, void *virt, unsigned long attrs) debug_dma_alloc_coherent() argument 93 debug_dma_map_resource(struct device *dev, phys_addr_t addr, size_t size, int direction, dma_addr_t dma_addr, unsigned long attrs) debug_dma_map_resource() argument
|
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/ |
H A D | lib.rs | 50 let (attrs, signature, body) = parse_input(input)?; in impl_proc_macro_error() 53 let is_proc_macro = is_proc_macro(&attrs); in impl_proc_macro_error() 58 if detect_proc_macro_hack(&attrs) { in impl_proc_macro_error() 79 #(#attrs)* in impl_proc_macro_error() 109 fn detect_proc_macro_hack(attrs: &[Attribute]) -> bool { in detect_proc_macro_hack() 110 attrs in detect_proc_macro_hack() 115 fn is_proc_macro(attrs: &[Attribute]) -> bool { in is_proc_macro() 116 attrs.iter().any(|attr| { in is_proc_macro()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | inode.c | 1403 cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid, argument 1411 if (attrs == NULL) 1420 if (attrs->ia_valid & ATTR_ATIME) { 1423 cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_atime)); 1427 if (attrs->ia_valid & ATTR_MTIME) { 1430 cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_mtime)); 1440 if (set_time && (attrs->ia_valid & ATTR_CTIME)) { 1443 cpu_to_le64(cifs_UnixTimeToNT(attrs->ia_ctime)); 1613 struct iattr *attrs = NULL; local 1671 attrs 2503 cifs_set_file_size(struct inode *inode, struct iattr *attrs, unsigned int xid, char *full_path) global() argument 2591 cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs) global() argument 2736 cifs_setattr_nounix(struct dentry *direntry, struct iattr *attrs) global() argument 2917 cifs_setattr(struct dentry *direntry, struct iattr *attrs) global() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_fs.c | 403 static void setup_fte_common(struct mlx5_accel_esp_xfrm_attrs *attrs, in setup_fte_common() argument 408 u8 ip_version = attrs->is_ipv6 ? 6 : 4; in setup_fte_common() 427 be32_to_cpu(attrs->spi)); in setup_fte_common() 432 &attrs->saddr.a4, 4); in setup_fte_common() 435 &attrs->daddr.a4, 4); in setup_fte_common() 443 &attrs->saddr.a6, 16); in setup_fte_common() 446 &attrs->daddr.a6, 16); in setup_fte_common() 460 struct mlx5_accel_esp_xfrm_attrs *attrs, in rx_add_rule() 476 type = attrs->is_ipv6 ? ACCEL_FS_ESP6 : ACCEL_FS_ESP4; in rx_add_rule() 489 setup_fte_common(attrs, ipsec_obj_i in rx_add_rule() 459 rx_add_rule(struct mlx5e_priv *priv, struct mlx5_accel_esp_xfrm_attrs *attrs, u32 ipsec_obj_id, struct mlx5e_ipsec_rule *ipsec_rule) rx_add_rule() argument 537 tx_add_rule(struct mlx5e_priv *priv, struct mlx5_accel_esp_xfrm_attrs *attrs, u32 ipsec_obj_id, struct mlx5e_ipsec_rule *ipsec_rule) tx_add_rule() argument 585 rx_del_rule(struct mlx5e_priv *priv, struct mlx5_accel_esp_xfrm_attrs *attrs, struct mlx5e_ipsec_rule *ipsec_rule) rx_del_rule() argument 607 mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_priv *priv, struct mlx5_accel_esp_xfrm_attrs *attrs, u32 ipsec_obj_id, struct mlx5e_ipsec_rule *ipsec_rule) mlx5e_accel_ipsec_fs_add_rule() argument 621 mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_priv *priv, struct mlx5_accel_esp_xfrm_attrs *attrs, struct mlx5e_ipsec_rule *ipsec_rule) mlx5e_accel_ipsec_fs_del_rule() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 9 struct devlink_port_attrs attrs = {}; in mlx5e_devlink_port_register() local 12 attrs.flavour = DEVLINK_PORT_FLAVOUR_PHYSICAL; in mlx5e_devlink_port_register() 13 attrs.phys.port_number = PCI_FUNC(priv->mdev->pdev->devfn); in mlx5e_devlink_port_register() 15 attrs.flavour = DEVLINK_PORT_FLAVOUR_VIRTUAL; in mlx5e_devlink_port_register() 18 devlink_port_attrs_set(&priv->dl_port, &attrs); in mlx5e_devlink_port_register()
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | ser.rs | 25 let serde = cont.attrs.serde_path(); in expand_derive_serialize() 27 let impl_block = if let Some(remote) = cont.attrs.remote() { in expand_derive_serialize() 56 cont.attrs.custom_serde_path(), in expand_derive_serialize() 62 match cont.attrs.identifier() { in precondition() 99 let is_remote = cont.attrs.remote().is_some(); in new() 108 let is_packed = cont.attrs.is_packed(); in new() 139 match cont.attrs.ser_bound() { in build_generics() 167 if cont.attrs.transparent() { in serialize_body() 169 } else if let Some(type_into) = cont.attrs.type_into() { in serialize_body() 173 Data::Enum(variants) => serialize_enum(params, variants, &cont.attrs), in serialize_body() [all...] |
/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | scm.c | 93 ret = sprintf(buf, "%u\n", scmdev->attrs.name); \ 118 .attrs = scmdev_attrs, 140 scmdev->attrs.rank = sale->rank; in scmdev_setup() 141 scmdev->attrs.persistence = sale->p; in scmdev_setup() 142 scmdev->attrs.oper_state = sale->op_state; in scmdev_setup() 143 scmdev->attrs.data_state = sale->data_state; in scmdev_setup() 144 scmdev->attrs.rank = sale->rank; in scmdev_setup() 145 scmdev->attrs.release = sale->r; in scmdev_setup() 146 scmdev->attrs.res_id = sale->rid; in scmdev_setup() 162 changed = scmdev->attrs in scmdev_update() [all...] |
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | scm.c | 94 ret = sprintf(buf, "%u\n", scmdev->attrs.name); \ 119 .attrs = scmdev_attrs, 141 scmdev->attrs.rank = sale->rank; in scmdev_setup() 142 scmdev->attrs.persistence = sale->p; in scmdev_setup() 143 scmdev->attrs.oper_state = sale->op_state; in scmdev_setup() 144 scmdev->attrs.data_state = sale->data_state; in scmdev_setup() 145 scmdev->attrs.rank = sale->rank; in scmdev_setup() 146 scmdev->attrs.release = sale->r; in scmdev_setup() 147 scmdev->attrs.res_id = sale->rid; in scmdev_setup() 163 changed = scmdev->attrs in scmdev_update() [all...] |
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | parse.py | 60 def __init__(self, type, name_or_data, attrs = None, line = None, column = None): 64 self.attrs = attrs 186 attrs = self.token.attrs 188 return attrs 227 attrs = self.element_start('call') 229 no = int(attrs['no']) 235 klass = attrs['class'] 236 method = attrs['metho [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | algboss.c | 41 } attrs[CRYPTO_MAX_ATTRS]; member 135 param->attrs[i].alg.attr.rta_len = in cryptomgr_schedule_probe() 136 sizeof(param->attrs[i].alg); in cryptomgr_schedule_probe() 137 param->attrs[i].alg.attr.rta_type = CRYPTOA_ALG; in cryptomgr_schedule_probe() 138 memcpy(param->attrs[i].alg.data.name, name, len); in cryptomgr_schedule_probe() 140 param->attrs[i].nu32.attr.rta_len = in cryptomgr_schedule_probe() 141 sizeof(param->attrs[i].nu32); in cryptomgr_schedule_probe() 142 param->attrs[i].nu32.attr.rta_type = CRYPTOA_U32; in cryptomgr_schedule_probe() 143 param->attrs[i].nu32.data.num = in cryptomgr_schedule_probe() 147 param->tb[i + 1] = ¶m->attrs[ in cryptomgr_schedule_probe() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | dma-iommu.c | 80 unsigned long attrs) in dma_iommu_alloc_coherent() 89 unsigned long attrs) in dma_iommu_free_coherent() 102 unsigned long attrs) in dma_iommu_map_page() 105 size, dma_get_mask(dev), direction, attrs); in dma_iommu_map_page() 111 unsigned long attrs) in dma_iommu_unmap_page() 114 attrs); in dma_iommu_unmap_page() local 120 unsigned long attrs) in dma_iommu_map_sg() 123 dma_get_mask(dev), direction, attrs); in dma_iommu_map_sg() 128 unsigned long attrs) in dma_iommu_unmap_sg() 131 direction, attrs); in dma_iommu_unmap_sg() local 78 dma_iommu_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, unsigned long attrs) dma_iommu_alloc_coherent() argument 87 dma_iommu_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, unsigned long attrs) dma_iommu_free_coherent() argument 99 dma_iommu_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs) dma_iommu_map_page() argument 109 dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction, unsigned long attrs) dma_iommu_unmap_page() argument 118 dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) dma_iommu_map_sg() argument 126 dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) dma_iommu_unmap_sg() argument [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | GraphicsPipelineDesc.h | 64 Iter(const Attribute* attrs, int count) : fCurr(attrs), fRemaining(count) { in Iter() argument 103 void init(const Attribute* attrs, int count) { in init() argument 104 fAttributes = attrs; in init() 109 if (attrs[i].isInitialized()) { in init() 111 fStride += attrs[i].sizeAlign4(); in init() 154 void setVertexAttributes(const Attribute* attrs, int attrCount) { in setVertexAttributes() argument 155 fVertexAttributes.init(attrs, attrCount); in setVertexAttributes() 157 void setInstanceAttributes(const Attribute* attrs, int attrCount) { in setInstanceAttributes() argument 159 fInstanceAttributes.init(attrs, attrCoun in setInstanceAttributes() [all...] |