| /linux/drivers/iommu/generic_pt/ |
| H A D | pt_log2.h | 14 #define log2_to_int_t(type, a_lg2) ((type)(((type)1) << (a_lg2))) argument 18 #define log2_to_max_int_t(type, a_lg2) ((type)(log2_to_int_t(type, a_lg2) - 1)) argument 21 #define log2_div_t(type, a, b_lg2) ((type)(((type)a) >> (b_lg2))) argument 29 #define log2_div_eq_t(type, a, b, c_lg2) \ argument 34 #define log2_mod_t(type, a, b_lg2) \ argument 43 #define log2_mod_eq_max_t(type, a, b_lg2) \ argument 53 #define log2_set_mod_t(type, a, val, b_lg2) \ argument 62 #define log2_set_mod_max_t(type, a, b_lg2) \ argument 67 #define log2_mul_t(type, a, b_lg2) ((type)(((type)a) << (b_lg2))) argument 70 #define _dispatch_sz(type, fn, a) \ argument [all …]
|
| /linux/arch/s390/hypfs/ |
| H A D | hypfs_diag_fs.c | 39 static inline int info_blk_hdr__size(enum diag204_format type) in info_blk_hdr__size() 47 static inline __u8 info_blk_hdr__npar(enum diag204_format type, void *hdr) in info_blk_hdr__npar() 55 static inline __u8 info_blk_hdr__flags(enum diag204_format type, void *hdr) in info_blk_hdr__flags() 65 static inline int part_hdr__size(enum diag204_format type) in part_hdr__size() 73 static inline __u8 part_hdr__rcpus(enum diag204_format type, void *hdr) in part_hdr__rcpus() 81 static inline void part_hdr__part_name(enum diag204_format type, void *hdr, in part_hdr__part_name() 97 static inline int cpu_info__size(enum diag204_format type) in cpu_info__size() 105 static inline __u8 cpu_info__ctidx(enum diag204_format type, void *hdr) in cpu_info__ctidx() 113 static inline __u16 cpu_info__cpu_addr(enum diag204_format type, void *hdr) in cpu_info__cpu_addr() 121 static inline __u64 cpu_info__acc_time(enum diag204_format type, void *hdr) in cpu_info__acc_time() [all …]
|
| /linux/kernel/bpf/ |
| H A D | net_namespace.c | 28 static void netns_bpf_attach_type_unneed(enum netns_bpf_attach_type type) in netns_bpf_attach_type_unneed() 41 static void netns_bpf_attach_type_need(enum netns_bpf_attach_type type) in netns_bpf_attach_type_need() 56 enum netns_bpf_attach_type type) in netns_bpf_run_array_detach() 65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() 79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() 89 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array() 105 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_release() local 169 enum netns_bpf_attach_type type = net_link->netns_type; in bpf_netns_link_update_prog() local 248 enum netns_bpf_attach_type type) in __netns_bpf_prog_query() 273 enum netns_bpf_attach_type type; in netns_bpf_prog_query() local [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_export.c | 19 enum trace_reg type, void *data) in ftrace_event_register() 37 #define __field_struct(type, item) argument 40 #define __field(type, item) type item; argument 43 #define __field_fn(type, item) type item; argument 46 #define __field_packed(type, item) type item; argument 49 #define __field_desc(type, container, item) type item; argument 52 #define __field_desc_packed(type, container, item) type item; argument 55 #define __array(type, item, size) type item[size]; argument 58 #define __stack_array(type, item, size, field) __array(type, item, size) argument 61 #define __array_desc(type, container, item, size) type item[size]; argument [all …]
|
| /linux/kernel/sched/ |
| H A D | isolation.c | 31 bool housekeeping_enabled(enum hk_type type) in housekeeping_enabled() 37 static bool housekeeping_dereference_check(enum hk_type type) in housekeeping_dereference_check() 58 static inline struct cpumask *housekeeping_cpumask_dereference(enum hk_type type) in housekeeping_cpumask_dereference() 64 const struct cpumask *housekeeping_cpumask(enum hk_type type) in housekeeping_cpumask() 78 int housekeeping_any_cpu(enum hk_type type) in housekeeping_any_cpu() 104 void housekeeping_affine(struct task_struct *t, enum hk_type type) in housekeeping_affine() 112 bool housekeeping_test_cpu(int cpu, enum hk_type type) in housekeeping_test_cpu() 167 enum hk_type type; in housekeeping_init() local 196 static void __init housekeeping_setup_type(enum hk_type type, in housekeeping_setup_type() 244 enum hk_type type; in housekeeping_setup() local [all …]
|
| /linux/net/sctp/ |
| H A D | sm_statefuns.c | 236 const union sctp_subtype type, in sctp_sf_do_4_C() 321 const union sctp_subtype type, in sctp_sf_do_5_1B_init() 521 const union sctp_subtype type, in sctp_sf_do_5_1C_ack() 703 const union sctp_subtype type, in sctp_sf_do_5_1D_ce() 925 const union sctp_subtype type, in sctp_sf_do_5_1E_ca() 1018 const union sctp_subtype type, in sctp_sf_heartbeat() 1044 const union sctp_subtype type, in sctp_sf_sendbeat_8_3() 1092 const union sctp_subtype type, in sctp_sf_send_reconf() 1121 const union sctp_subtype type, in sctp_sf_send_probe() 1169 const union sctp_subtype type, in sctp_sf_beat_8_3() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_btf.h | 24 #define BTF_ARRAY_ENC(type, index_type, nr_elems) \ argument 26 #define BTF_TYPE_ARRAY_ENC(type, index_type, nr_elems) \ argument 36 #define BTF_VAR_ENC(name, type, linkage) \ argument 38 #define BTF_VAR_SECINFO_ENC(type, offset, size) \ argument 41 #define BTF_MEMBER_ENC(name, type, bits_offset) \ argument 48 BTF_TYPEDEF_ENC(name,type) global() argument 51 BTF_PTR_ENC(type) global() argument 54 BTF_CONST_ENC(type) global() argument 57 BTF_VOLATILE_ENC(type) global() argument 60 BTF_RESTRICT_ENC(type) global() argument 66 BTF_FUNC_PROTO_ARG_ENC(name,type) global() argument 75 BTF_DECL_TAG_ENC(value,type,component_idx) global() argument 78 BTF_TYPE_TAG_ENC(value,type) global() argument [all...] |
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_queue.h | 70 enum queue_type type; member 101 enum queue_type type) in queue_get_producer() 128 enum queue_type type) in queue_get_consumer() 154 static inline int queue_empty(struct rxe_queue *q, enum queue_type type) in queue_empty() 162 static inline int queue_full(struct rxe_queue *q, enum queue_type type) in queue_full() 171 enum queue_type type) in queue_count() 180 enum queue_type type) in queue_advance_producer() 216 enum queue_type type) in queue_advance_consumer() 251 enum queue_type type) in queue_producer_addr() 259 enum queue_type type) in queue_consumer_addr() [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | unaligned-emul.h | 8 #define _LoadHW(addr, value, res, type) \ argument 31 #define _LoadW(addr, value, res, type) \ argument 53 #define _LoadW(addr, value, res, type) \ argument 88 #define _LoadHWU(addr, value, res, type) \ argument 113 #define _LoadWU(addr, value, res, type) \ argument 157 #define _LoadWU(addr, value, res, type) \ argument 242 #define _StoreHW(addr, value, res, type) \ argument 266 #define _StoreW(addr, value, res, type) \ argument 307 #define _StoreW(addr, value, res, type) \ argument 386 #define _LoadHW(addr, value, res, type) \ argument [all …]
|
| H A D | atomic.h | 26 #define ATOMIC_OPS(pfx, type) \ argument 44 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 71 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument 105 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 139 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument 162 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument 196 #define ATOMIC_SIP_OP(pfx, type, op, ll, sc) \ argument
|
| /linux/arch/loongarch/kernel/ |
| H A D | module.c | 61 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_none() 67 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_error() 74 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_32() 84 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_64() 92 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_pcrel() 98 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_absolute() 104 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_dup() 124 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_plt_pcrel() 138 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop() 184 long *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_imm_field() [all …]
|
| /linux/crypto/ |
| H A D | api.c | 58 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup() 104 struct crypto_larval *crypto_larval_alloc(const char *name, u32 type, u32 mask) in crypto_larval_alloc() 126 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add() 202 u32 type, u32 mask) in crypto_larval_wait() 253 static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, in crypto_alg_lookup() 290 static struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, in crypto_larval_lookup() 338 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask) in crypto_alg_mod_lookup() 373 const struct crypto_type *type = tfm->__crt_alg->cra_type; in crypto_exit_ops() local 379 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) in crypto_ctxsize() 408 struct crypto_tfm *__crypto_alloc_tfmgfp(struct crypto_alg *alg, u32 type, in __crypto_alloc_tfmgfp() [all …]
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_mdb.c | 91 enum macaccess_entry_type type) in lan966x_mdb_encode_mac() 107 enum macaccess_entry_type type) in lan966x_mdb_ip_add() 142 enum macaccess_entry_type type) in lan966x_mdb_ip_del() 250 enum macaccess_entry_type type) in lan966x_mdb_l2_add() 299 enum macaccess_entry_type type) in lan966x_mdb_l2_del() 368 enum macaccess_entry_type type; in lan966x_handle_port_mdb_add() local 385 enum macaccess_entry_type type; in lan966x_handle_port_mdb_del() local 400 enum macaccess_entry_type type) in lan966x_mdb_ip_cpu_copy() 411 enum macaccess_entry_type type) in lan966x_mdb_l2_cpu_copy() 439 enum macaccess_entry_type type; in lan966x_mdb_write_entries() local [all …]
|
| /linux/scripts/gendwarfksyms/ |
| H A D | types.c | 76 static void type_expansion_init(struct type_expansion *type) in type_expansion_init() 83 static inline void type_expansion_free(struct type_expansion *type) in type_expansion_free() 91 static void type_expansion_append(struct type_expansion *type, const char *s, in type_expansion_append() 119 static struct type_expansion *type_map_add(const char *name, in type_map_add() 163 struct type_expansion type; in type_map_get() local 239 struct type_expansion type; member 323 struct type_expansion *type) in __calculate_version() 352 struct type_expansion *type) in calculate_version() 359 static void __type_expand(struct die *cache, struct type_expansion *type) in __type_expand() 403 struct type_expansion *type) in type_expand() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dccg/dcn20/ |
| H A D | dcn20_dccg.h | 122 #define DCCG_REG_FIELD_LIST(type) \ argument 142 #define DCCG3_REG_FIELD_LIST(type) \ argument 152 #define DCCG31_REG_FIELD_LIST(type) \ argument 215 #define DCCG314_REG_FIELD_LIST(type) \ argument 222 #define DCCG32_REG_FIELD_LIST(type) \ argument 250 #define DCCG35_REG_FIELD_LIST(type) \ argument 350 #define DCCG401_REG_FIELD_LIST(type) \ argument 369 #define DCCG42_REG_FIELD_LIST(type) \ argument
|
| /linux/include/net/ |
| H A D | net_debug.h | 84 #define netif_printk(priv, type, level, dev, fmt, args...) \ argument 90 #define netif_level(level, priv, type, dev, fmt, args...) \ argument 96 #define netif_emerg(priv, type, dev, fmt, args...) \ argument 98 #define netif_alert(priv, type, dev, fmt, args...) \ argument 100 #define netif_crit(priv, type, dev, fmt, args...) \ argument 102 #define netif_err(priv, type, dev, fmt, args...) \ argument 104 #define netif_warn(priv, type, dev, fmt, args...) \ argument 106 #define netif_notice(priv, type, dev, fmt, args...) \ argument 108 #define netif_info(priv, type, dev, fmt, args...) \ argument 113 #define netif_dbg(priv, type, netdev, format, args...) \ argument [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_aca.c | 29 #define ACA_BANK_HWID(type, hwid, mcatype) [ACA_HWIP_TYPE_##type] = {hwid, mcatype} argument 83 static int aca_smu_get_valid_aca_count(struct amdgpu_device *adev, enum aca_smu_type type, u32 *cou… in aca_smu_get_valid_aca_count() 134 static bool aca_bank_hwip_is_matched(struct aca_bank *bank, enum aca_hwip_type type) in aca_bank_hwip_is_matched() 155 static int aca_smu_get_valid_aca_banks(struct amdgpu_device *adev, enum aca_smu_type type, in aca_smu_get_valid_aca_banks() 212 …ic bool aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type) in aca_bank_is_valid() 296 enum aca_error_type type, u64 count) in aca_error_cache_log_bank_error() 318 static int aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type) in aca_bank_parser() 333 enum aca_smu_type type, void *data) in handler_aca_log_bank_error() 345 enum aca_smu_type type, bank_handler_t handler, void *data) in aca_dispatch_bank() 366 enum aca_smu_type type, bank_handler_t handler, void *data) in aca_dispatch_banks() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-exception-store.c | 25 struct dm_exception_store_type *type; in __find_exception_store_type() local 36 struct dm_exception_store_type *type; in _get_exception_store_type() local 76 struct dm_exception_store_type *type; in get_type() local 104 static void put_type(struct dm_exception_store_type *type) in put_type() 111 int dm_exception_store_type_register(struct dm_exception_store_type *type) in dm_exception_store_type_register() 126 int dm_exception_store_type_unregister(struct dm_exception_store_type *type) in dm_exception_store_type_unregister() 198 struct dm_exception_store_type *type = NULL; in dm_exception_store_create() local
|
| /linux/drivers/platform/x86/intel/ |
| H A D | punit_ipc.c | 46 IPC_TYPE type; member 51 static inline u32 ipc_read_status(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_status() 56 static inline void ipc_write_cmd(IPC_DEV *ipcdev, IPC_TYPE type, u32 cmd) in ipc_write_cmd() 61 static inline u32 ipc_read_data_low(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_low() 66 static inline u32 ipc_read_data_high(IPC_DEV *ipcdev, IPC_TYPE type) in ipc_read_data_high() 71 static inline void ipc_write_data_low(IPC_DEV *ipcdev, IPC_TYPE type, u32 data) in ipc_write_data_low() 76 static inline void ipc_write_data_high(IPC_DEV *ipcdev, IPC_TYPE type, u32 data) in ipc_write_data_high() 101 static int intel_punit_ipc_check_status(IPC_DEV *ipcdev, IPC_TYPE type) in intel_punit_ipc_check_status() 148 IPC_TYPE type; in intel_punit_ipc_command() local
|
| /linux/drivers/scsi/ |
| H A D | iscsi_boot_sysfs.c | 25 int type; member 341 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_kobj() 342 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_kobj() 404 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_target() 405 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_target() 429 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_initiator() 430 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_initiator() 455 ssize_t (*show) (void *data, int type, char *buf), in iscsi_boot_create_ethernet() 456 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_ethernet() 481 ssize_t (*show)(void *data, int type, char *buf), in iscsi_boot_create_acpitbl() [all …]
|
| /linux/include/net/libeth/ |
| H A D | cache.h | 16 #define libeth_cacheline_group_assert(type, grp, sz) \ argument 20 #define __libeth_cacheline_struct_assert(type, sz) \ argument 23 #define libeth_cacheline_group_assert(type, grp, sz) \ argument 27 #define __libeth_cacheline_struct_assert(type, sz) \ argument 47 #define libeth_cacheline_struct_assert(type, ...) \ argument 60 #define libeth_cacheline_set_assert(type, ro, rw, c) \ argument
|
| /linux/include/linux/sched/ |
| H A D | isolation.h | 51 static inline int housekeeping_any_cpu(enum hk_type type) in housekeeping_any_cpu() 56 static inline const struct cpumask *housekeeping_cpumask(enum hk_type type) in housekeeping_cpumask() 61 static inline bool housekeeping_enabled(enum hk_type type) in housekeeping_enabled() 67 enum hk_type type) { } in housekeeping_affine() 69 static inline bool housekeeping_test_cpu(int cpu, enum hk_type type) in housekeeping_test_cpu() 78 static inline bool housekeeping_cpu(int cpu, enum hk_type type) in housekeeping_cpu()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
| H A D | base.c | 38 nvkm_mc_intr_mask(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, bool en) in nvkm_mc_intr_mask() 51 nvkm_mc_reset_mask(struct nvkm_device *device, bool isauto, enum nvkm_subdev_type type, int inst) in nvkm_mc_reset_mask() 72 nvkm_mc_reset(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_reset() 82 nvkm_mc_disable(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_disable() 90 nvkm_mc_enable(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_enable() 98 nvkm_mc_enabled(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_mc_enabled() 128 enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) in nvkm_mc_new_()
|
| /linux/include/trace/stages/ |
| H A D | stage1_struct_define.h | 6 #define __field(type, item) type item; argument 9 #define __field_ext(type, item, filter_type) type item; argument 12 #define __field_struct(type, item) type item; argument 15 #define __field_struct_ext(type, item, filter_type) type item; argument 18 #define __array(type, item, len) type item[len]; argument 21 #define __dynamic_array(type, item, len) u32 __data_loc_##item; argument 42 #define __rel_dynamic_array(type, item, len) u32 __rel_loc_##item; argument
|
| H A D | stage2_data_offsets.h | 12 #define __field(type, item) argument 15 #define __field_ext(type, item, filter_type) argument 18 #define __field_struct(type, item) argument 21 #define __field_struct_ext(type, item, filter_type) argument 24 #define __array(type, item, len) argument 27 #define __dynamic_array(type, item, len) u32 item; const void *item##_ptr_; argument 48 #define __rel_dynamic_array(type, item, len) u32 item; const void *item##_ptr_; argument
|