| /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/fs/smb/server/ |
| H A D | stats.h | 33 static inline void ksmbd_counter_inc(int type) in ksmbd_counter_inc() 38 static inline void ksmbd_counter_dec(int type) in ksmbd_counter_dec() 43 static inline void ksmbd_counter_add(int type, s64 value) in ksmbd_counter_add() 48 static inline void ksmbd_counter_sub(int type, s64 value) in ksmbd_counter_sub() 59 static inline s64 ksmbd_counter_sum(int type) in ksmbd_counter_sum() 65 static inline void ksmbd_counter_inc(int type) {} in ksmbd_counter_inc() 66 static inline void ksmbd_counter_dec(int type) {} in ksmbd_counter_dec() 67 static inline void ksmbd_counter_add(int type, s64 value) {} in ksmbd_counter_add() 68 static inline void ksmbd_counter_sub(int type, s64 value) {} in ksmbd_counter_sub() 70 static inline s64 ksmbd_counter_sum(int type) { return 0; } in ksmbd_counter_sum()
|
| /linux/include/trace/events/ |
| H A D | f2fs.h | 57 #define show_block_type(type) \ argument 90 #define show_data_type(type) \ argument 100 #define show_file_type(type) \ argument 105 #define show_gc_type(type) \ argument 110 #define show_alloc_mode(type) \ argument 116 #define show_victim_policy(type) \ argument 122 #define show_cpreason(type) \ argument 133 #define show_fsync_cpreason(type) \ argument 148 #define show_shutdown_mode(type) \ argument 156 #define show_compress_algorithm(type) \ argument [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 #define BTF_TYPEDEF_ENC(name, type) \ argument 51 #define BTF_PTR_ENC(type) \ argument 54 #define BTF_CONST_ENC(type) \ argument 57 #define BTF_VOLATILE_ENC(type) \ argument 60 #define BTF_RESTRICT_ENC(type) \ argument [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/drivers/gpu/drm/amd/display/dc/optc/dcn10/ |
| H A D | dcn10_optc.h | 415 #define TG_REG_FIELD_LIST_DCN1_0(type) \ argument 586 #define V_TOTAL_REGS(type) argument 588 #define TG_REG_FIELD_LIST(type) \ argument 635 #define TG_REG_FIELD_LIST_DCN2_0(type) \ argument 642 #define TG_REG_FIELD_LIST_DCN3_2(type) \ argument 645 #define TG_REG_FIELD_LIST_DCN3_5(type) \ argument 666 #define TG_REG_FIELD_LIST_DCN3_6(type) \ argument 675 #define TG_REG_FIELD_LIST_DCN401(type) \ argument
|
| /linux/arch/arm64/lib/ |
| H A D | insn.c | 24 static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type, in aarch64_get_imm_shift_mask() 89 u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn) in aarch64_insn_decode_immediate() 113 u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type, in aarch64_insn_encode_immediate() 147 u32 aarch64_insn_decode_register(enum aarch64_insn_register_type type, in aarch64_insn_decode_register() 176 static u32 aarch64_insn_encode_register(enum aarch64_insn_register_type type, in aarch64_insn_encode_register() 225 static u32 aarch64_insn_encode_ldst_size(enum aarch64_insn_size_type type, in aarch64_insn_encode_ldst_size() 263 enum aarch64_insn_branch_type type) in aarch64_insn_gen_branch_imm() 296 enum aarch64_insn_branch_type type) in aarch64_insn_gen_comp_branch_imm() 355 enum aarch64_insn_branch_type type) in aarch64_insn_gen_branch_reg() 381 enum aarch64_insn_ldst_type type) in aarch64_insn_gen_load_store_reg() [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 …]
|
| /linux/fs/quota/ |
| H A D | quota.c | 27 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, in check_quotactl_permission() 56 int type = *(int *)arg; in quota_sync_one() local 63 static int quota_sync_all(int type) in quota_sync_all() 73 unsigned int qtype_enforce_flag(int type) in qtype_enforce_flag() 86 static int quota_quotaon(struct super_block *sb, int type, qid_t id, in quota_quotaon() 98 static int quota_quotaoff(struct super_block *sb, int type) in quota_quotaoff() 107 static int quota_getfmt(struct super_block *sb, int type, void __user *addr) in quota_getfmt() 119 static int quota_getinfo(struct super_block *sb, int type, void __user *addr) in quota_getinfo() 147 static int quota_setinfo(struct super_block *sb, int type, void __user *addr) in quota_setinfo() 201 static int quota_getquota(struct super_block *sb, int type, qid_t id, in quota_getquota() [all …]
|
| /linux/include/linux/ |
| H A D | quotaops.h | 83 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend() 122 static inline struct mem_dqinfo *sb_dqinfo(struct super_block *sb, int type) in sb_dqinfo() 131 static inline bool sb_has_quota_usage_enabled(struct super_block *sb, int type) in sb_has_quota_usage_enabled() 137 static inline bool sb_has_quota_limits_enabled(struct super_block *sb, int type) in sb_has_quota_limits_enabled() 143 static inline bool sb_has_quota_suspended(struct super_block *sb, int type) in sb_has_quota_suspended() 155 static inline bool sb_has_quota_loaded(struct super_block *sb, int type) in sb_has_quota_loaded() 166 static inline bool sb_has_quota_active(struct super_block *sb, int type) in sb_has_quota_active() 180 static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type) in sb_has_quota_usage_enabled() 185 static inline int sb_has_quota_limits_enabled(struct super_block *sb, int type) in sb_has_quota_limits_enabled() 190 static inline int sb_has_quota_suspended(struct super_block *sb, int type) in sb_has_quota_suspended() [all …]
|
| /linux/fs/smb/client/ |
| H A D | cifs_debug.h | 61 #define cifs_dbg_func(ratefunc, type, fmt, ...) \ argument 73 #define cifs_dbg(type, fmt, ...) \ argument 81 #define cifs_server_dbg_func(ratefunc, type, fmt, ...) \ argument 98 #define cifs_server_dbg(type, fmt, ...) \ argument 107 #define cifs_tcon_dbg_func(ratefunc, type, fmt, ...) \ argument 122 #define cifs_tcon_dbg(type, fmt, ...) \ argument 136 #define cifs_dbg(type, fmt, ...) \ argument 142 #define cifs_server_dbg(type, fmt, ...) \ argument 149 #define cifs_tcon_dbg(type, fmt, ...) \ 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/include/uapi/linux/ |
| H A D | cryptouser.h | 85 char type[CRYPTO_MAX_NAME]; member 95 char type[CRYPTO_MAX_NAME]; member 107 char type[CRYPTO_MAX_NAME]; member 117 char type[CRYPTO_MAX_NAME]; member 127 char type[CRYPTO_MAX_NAME]; member 135 char type[CRYPTO_MAX_NAME]; member 144 char type[CRYPTO_MAX_NAME]; member 153 char type[CRYPTO_MAX_NAME]; member 157 char type[CRYPTO_MAX_NAME]; member 161 char type[CRYPTO_MAX_NAME]; member [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/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/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/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/fs/xfs/libxfs/ |
| H A D | xfs_group.c | 35 enum xfs_group_type type) in xfs_group_get() 76 enum xfs_group_type type) in xfs_group_grab() 104 enum xfs_group_type type) in xfs_group_next_range() 125 enum xfs_group_type type) in xfs_group_grab_next_mark() 157 enum xfs_group_type type, in xfs_group_free() 185 enum xfs_group_type type) in xfs_group_insert() 227 enum xfs_group_type type) in xfs_group_get_by_fsb()
|
| /linux/include/uapi/asm-generic/ |
| H A D | ioctl.h | 69 #define _IOC(dir,type,nr,size) \ argument 85 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 86 #define _IOR(type,nr,argtype) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(argtype))) argument 87 #define _IOW(type,nr,argtype) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(argtype))) argument 88 #define _IOWR(type,nr,argtype) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(argtype))) argument 89 #define _IOR_BAD(type,nr,argtype) _IOC(_IOC_READ,(type),(nr),sizeof(argtype)) argument 90 #define _IOW_BAD(type,nr,argtype) _IOC(_IOC_WRITE,(type),(nr),sizeof(argtype)) argument 91 #define _IOWR_BAD(type,nr,argtype) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(argtype)) argument
|