/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_arena_common.h | 14 #define arena_container_of(ptr, type, member) \ 17 ((type *)(__mptr - offsetof(type, member))); \ 58 #define offsetof(type, member) ((unsigned long)&((type *)0)->member)
|
/linux-master/net/ipv4/ |
H A D | fou_bpf.c | 41 * @type Encapsulation type for the packet. Their definitions are 45 struct bpf_fou_encap *encap, int type) 56 switch (type) { 58 info->encap.type = TUNNEL_ENCAP_FOU; 61 info->encap.type = TUNNEL_ENCAP_GUE; 64 info->encap.type = TUNNEL_ENCAP_NONE; 44 bpf_skb_set_fou_encap(struct __sk_buff *skb_ctx, struct bpf_fou_encap *encap, int type) argument
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-defs.c | 761 * Returns NULL or an s64 type array containing the menu for given 1251 void v4l2_ctrl_fill(u32 id, const char **name, enum v4l2_ctrl_type *type, argument 1312 *type = V4L2_CTRL_TYPE_BOOLEAN; 1317 *type = V4L2_CTRL_TYPE_INTEGER; 1324 *type = V4L2_CTRL_TYPE_INTEGER; 1327 *type = V4L2_CTRL_TYPE_INTEGER; 1330 *type = V4L2_CTRL_TYPE_INTEGER; 1334 *type = V4L2_CTRL_TYPE_BITMASK; 1345 *type = V4L2_CTRL_TYPE_BUTTON; 1423 *type [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-phy-db.c | 80 * type and channel group id. 84 enum iwl_phy_db_section_type type, 87 if (!phy_db || type >= IWL_PHY_DB_MAX) 90 switch (type) { 110 enum iwl_phy_db_section_type type, 114 iwl_phy_db_get_section(phy_db, type, chg_id); 151 enum iwl_phy_db_section_type type; local 159 type = le16_to_cpu(phy_db_notif->type); 168 if (type 83 iwl_phy_db_get_section(struct iwl_phy_db *phy_db, enum iwl_phy_db_section_type type, u16 chg_id) argument 109 iwl_phy_db_free_section(struct iwl_phy_db *phy_db, enum iwl_phy_db_section_type type, u16 chg_id) argument 280 iwl_phy_db_get_section_data(struct iwl_phy_db *phy_db, u32 type, u8 **data, u16 *size, u16 ch_id) argument 309 iwl_send_phy_db_cmd(struct iwl_phy_db *phy_db, u16 type, u16 length, void *data) argument 335 iwl_phy_db_send_all_channel_groups( struct iwl_phy_db *phy_db, enum iwl_phy_db_section_type type, u8 max_ch_groups) argument [all...] |
/linux-master/drivers/mailbox/ |
H A D | imx-mailbox.c | 81 enum imx_mu_chan_type type; member in struct:imx_mu_con_priv 119 enum imx_mu_type type; member in struct:imx_mu_dcfg 126 #define IMX_MU_xSR_GIPn(type, x) (type & IMX_MU_V2 ? BIT(x) : BIT(28 + (3 - (x)))) 127 #define IMX_MU_xSR_RFn(type, x) (type & IMX_MU_V2 ? BIT(x) : BIT(24 + (3 - (x)))) 128 #define IMX_MU_xSR_TEn(type, x) (type & IMX_MU_V2 ? BIT(x) : BIT(20 + (3 - (x)))) 131 #define IMX_MU_xCR_GIEn(type, x) (type 207 imx_mu_xcr_rmw(struct imx_mu_priv *priv, enum imx_mu_xcr type, u32 set, u32 clr) argument 657 u32 type, idx, chan; local 694 u32 type, idx, chan; local 727 u32 type; local [all...] |
/linux-master/drivers/mmc/core/ |
H A D | bus.c | 36 switch (card->type) { 49 static DEVICE_ATTR_RO(type); 61 const char *type; local 65 switch (card->type) { 67 type = "MMC"; 70 type = "SD"; 73 type = "SDIO"; 76 type = "SDcombo"; 79 type = NULL; 82 if (type) { 275 mmc_alloc_card(struct mmc_host *host, const struct device_type *type) argument 301 const char *type; local [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | cgroup.c | 48 enum bpf_attach_type type; local 50 for (type = 0; ; type++) { 51 attach_type_str = libbpf_bpf_attach_type_str(type); 55 return type; 58 /* Also check traditionally used attach type strings. For these we keep 61 for (type = 0; ; type++) { 62 attach_type_str = bpf_attach_type_input_str(type); 66 return type; 171 count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) argument 186 enum bpf_attach_type type; local 204 show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, int level) argument 229 show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, int level) argument 279 show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, int level) argument 289 enum bpf_attach_type type; local 371 enum bpf_attach_type type; local [all...] |
/linux-master/drivers/hid/bpf/ |
H A D | hid_bpf_jmp_table.c | 36 enum hid_bpf_prog_type type; member in struct:hid_bpf_prog_entry 63 static int hid_bpf_max_programs(enum hid_bpf_prog_type type) argument 65 switch (type) { 77 enum hid_bpf_prog_type type) 81 if (type >= HID_BPF_PROG_TYPE_MAX) 87 if (type != HID_BPF_PROG_TYPE_UNDEF && entry->type != type) 107 int hid_bpf_prog_run(struct hid_device *hdev, enum hid_bpf_prog_type type, argument 114 prog_list = rcu_dereference(hdev->bpf.progs[type]); 75 hid_bpf_program_count(struct hid_device *hdev, struct bpf_prog *prog, enum hid_bpf_prog_type type) argument 142 __hid_bpf_set_hdev_progs(struct hid_device *hdev, struct hid_bpf_prog_list *new_list, enum hid_bpf_prog_type type) argument 162 hid_bpf_populate_hdev(struct hid_device *hdev, enum hid_bpf_prog_type type) argument 214 enum hid_bpf_prog_type type; local 478 int type, i; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
H A D | dcn30_dpp.h | 390 #define DPP_REG_FIELD_LIST_DCN3(type) \ 391 TF_REG_FIELD_LIST_DCN2_0(type); \ 392 type FORMAT_CROSSBAR_R; \ 393 type FORMAT_CROSSBAR_G; \ 394 type FORMAT_CROSSBAR_B; \ 395 type CM_DEALPHA_EN;\ 396 type CM_DEALPHA_ABLND;\ 397 type CM_BIAS_Y_G;\ 398 type CM_BIAS_CB_B;\ 399 type CM_BIAS_CR_ [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | dsmthdat.c | 19 acpi_ds_method_data_delete_value(u8 type, 23 acpi_ds_method_data_set_value(u8 type, 69 walk_state->arguments[i].type = ACPI_TYPE_ANY; 82 walk_state->local_variables[i].type = ACPI_TYPE_ANY; 200 * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or 202 * index - Which Local or Arg whose type to get 213 acpi_ds_method_data_get_node(u8 type, argument 223 switch (type) { 254 ACPI_ERROR((AE_INFO, "Type %u is invalid", type)); 265 * PARAMETERS: type 279 acpi_ds_method_data_set_value(u8 type, u32 index, union acpi_operand_object *object, struct acpi_walk_state *walk_state) argument 333 acpi_ds_method_data_get_value(u8 type, u32 index, struct acpi_walk_state *walk_state, union acpi_operand_object **dest_desc) argument 439 acpi_ds_method_data_delete_value(u8 type, u32 index, struct acpi_walk_state *walk_state) argument 498 acpi_ds_store_object_to_local(u8 type, u32 index, union acpi_operand_object *obj_desc, struct acpi_walk_state *walk_state) argument [all...] |
/linux-master/fs/f2fs/ |
H A D | iostat.c | 21 enum iostat_type type) 23 return sbi->iostat_count[type] ? div64_u64(sbi->iostat_bytes[type], 24 sbi->iostat_count[type]) : 0; 27 #define IOSTAT_INFO_SHOW(name, type) \ 29 name":", sbi->iostat_bytes[type], \ 30 sbi->iostat_count[type], \ 31 iostat_get_avg_bytes(sbi, type)) 162 enum iostat_type type, unsigned long long io_bytes) 164 sbi->iostat_bytes[type] 20 iostat_get_avg_bytes(struct f2fs_sb_info *sbi, enum iostat_type type) argument 161 __f2fs_update_iostat(struct f2fs_sb_info *sbi, enum iostat_type type, unsigned long long io_bytes) argument 168 f2fs_update_iostat(struct f2fs_sb_info *sbi, struct inode *inode, enum iostat_type type, unsigned long long io_bytes) argument [all...] |
/linux-master/include/linux/ |
H A D | quota.h | 74 enum quota_type type; /* USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) */ member in struct:kqid 84 * make_kqid - Map a user-namespace, type, qid tuple into a kqid. 86 * @type: The type of quota 89 * Maps a user-namespace, type qid tuple into a kernel internal 92 * When there is no mapping defined for the user-namespace, type, 98 enum quota_type type, qid_t qid) 102 kqid.type = type; 103 switch (type) { 97 make_kqid(struct user_namespace *from, enum quota_type type, qid_t qid) argument 125 make_kqid_invalid(enum quota_type type) argument 272 dqstats_inc(unsigned int type) argument 277 dqstats_dec(unsigned int type) argument 493 dquot_state_flag(unsigned int flags, int type) argument 498 dquot_generic_flag(unsigned int flags, int type) argument [all...] |
H A D | overflow.h | 11 * type. These macros may also be useful elsewhere. It would seem more obvious 23 * macros also produce sensible values for the exotic type _Bool. [The 33 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type))) 48 * both the type-agnostic benefits of the macros while also being able to 72 * @type: type for result of calculation 79 #define wrapping_add(type, [all...] |
/linux-master/fs/vboxsf/ |
H A D | vboxsf_wrappers.c | 26 loc.type = VMMDEV_HGCM_LOC_LOCALHOST_EXISTING; 80 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; 84 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; 87 parms.delimiter.type = VMMDEV_HGCM_PARM_TYPE_32BIT; 90 parms.case_sensitive.type = VMMDEV_HGCM_PARM_TYPE_32BIT; 106 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; 135 parms.root.type = VMMDEV_HGCM_PARM_TYPE_32BIT; 138 parms.path.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; 142 parms.parms.type = VMMDEV_HGCM_PARM_TYPE_LINADDR_KERNEL; 153 parms.root.type [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | outp.c | 62 nvkm_outp_xlat(struct nvkm_outp *outp, enum nvkm_ior_type *type) argument 66 switch (outp->info.type) { 67 case DCB_OUTPUT_ANALOG: *type = DAC; return CRT; 68 case DCB_OUTPUT_TV : *type = DAC; return TV; 69 case DCB_OUTPUT_TMDS : *type = SOR; return TMDS; 70 case DCB_OUTPUT_LVDS : *type = SOR; return LVDS; 71 case DCB_OUTPUT_DP : *type = SOR; return DP; 77 switch (outp->info.type) { 78 case DCB_OUTPUT_TMDS: *type = PIOR; return TMDS; 79 case DCB_OUTPUT_DP : *type 116 nvkm_outp_acquire_hda(struct nvkm_outp *outp, enum nvkm_ior_type type, u8 user, bool hda) argument 147 enum nvkm_ior_type type; local 296 enum nvkm_ior_type type; local 332 enum nvkm_ior_type type; local 380 enum nvkm_ior_type type; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | umem.c | 87 enum nvkm_object_map *type, u64 *handle, u64 *length) 97 if ((umem->type & NVKM_MEM_HOST) && !argc) { 104 *type = NVKM_OBJECT_MAP_VA; 107 if ((umem->type & NVKM_MEM_VRAM) || 108 (umem->type & NVKM_MEM_KIND)) { 114 *type = NVKM_OBJECT_MAP_IO; 119 umem->io = (*type == NVKM_OBJECT_MAP_IO); 150 int type, ret = -ENOSYS; local 155 type = args->v0.type; 86 nvkm_umem_map(struct nvkm_object *object, void *argv, u32 argc, enum nvkm_object_map *type, u64 *handle, u64 *length) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
H A D | queue.c | 34 qhandle->type = IA_CSS_QUEUE_TYPE_LOCAL; 52 qhandle->type = IA_CSS_QUEUE_TYPE_REMOTE; 74 if (qhandle->type == IA_CSS_QUEUE_TYPE_LOCAL) { 90 if (qhandle->type == IA_CSS_QUEUE_TYPE_LOCAL) { 101 } else if (qhandle->type == IA_CSS_QUEUE_TYPE_REMOTE) { 147 if (qhandle->type == IA_CSS_QUEUE_TYPE_LOCAL) { 157 } else if (qhandle->type == IA_CSS_QUEUE_TYPE_REMOTE) { 202 if (qhandle->type == IA_CSS_QUEUE_TYPE_LOCAL) { 208 } else if (qhandle->type == IA_CSS_QUEUE_TYPE_REMOTE) { 234 if (qhandle->type [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | gct.c | 27 wanted && (wanted->type | wanted->subtype); 29 if (node->type != wanted->type)
|
/linux-master/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_802_3.h | 14 * If frame has DSAP/SSAP value 0xaa you must check the SNAP type 35 __be16 type; member in struct:hdr_ui 43 __be16 type; member in struct:hdr_ni 59 __be16 type; member in struct:ebt_802_3_info
|
/linux-master/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_rf.c | 35 const char *zd_rf_name(u8 type) argument 37 if (type & 0xf0) 38 type = 0; 39 return rfs[type]; 58 int zd_rf_init_hw(struct zd_rf *rf, u8 type) argument 65 switch (type) { 82 "RF %s %#x is not supported\n", zd_rf_name(type), type); local 83 rf->type = 0; 90 rf->type [all...] |
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_dmi.c | 40 int type) 50 switch (type) { 54 p.type = SI_TYPE_INVALID; 57 p.type = SI_BT; 60 p.type = SI_KCS; 63 p.type = SI_SMIC; 66 pr_err("Invalid IPMI type: %d\n", type); 81 info->si_type = p.type; 134 int type; local 35 dmi_add_platform_ipmi(unsigned long base_addr, unsigned int space, u8 slave_addr, int irq, int offset, int type) argument [all...] |
/linux-master/include/drm/bridge/ |
H A D | analogix_dp.h | 20 static inline bool is_rockchip(enum analogix_dp_devtype type) argument 22 return type == RK3288_DP || type == RK3399_EDP;
|
/linux-master/include/asm-generic/ |
H A D | qspinlock_types.h | 67 #define _Q_SET_MASK(type) (((1U << _Q_ ## type ## _BITS) - 1)\ 68 << _Q_ ## type ## _OFFSET)
|
/linux-master/scripts/gdb/linux/ |
H A D | rbtree.py | 14 if root.type == rb_root_type.get_type(): 16 elif root.type != rb_root_type.get_type().pointer(): 17 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 30 if root.type == rb_root_type.get_type(): 32 elif root.type != rb_root_type.get_type().pointer(): 33 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 55 if node.type == rb_node_type.get_type(): 57 elif node.type != rb_node_type.get_type().pointer(): 58 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type)) 78 if node.type [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_struct.h | 22 <type>.h but sh_css.h is the predecesssor of ia_css.h 74 unsigned int type; /* 2400 or 2401 for now */ member in struct:sh_css 80 #define IS_2400() (my_css.type == IPU_2400) 81 #define IS_2401() (my_css.type == IPU_2401)
|