/linux-4.4.14/drivers/irqchip/ |
D | irq-s3c24xx.c | 50 unsigned int type; member 144 static int s3c_irq_type(struct irq_data *data, unsigned int type) in s3c_irq_type() argument 146 switch (type) { in s3c_irq_type() 159 pr_err("No such irq type %d", type); in s3c_irq_type() 170 unsigned int type) in s3c_irqext_type_set() argument 180 switch (type) in s3c_irqext_type_set() 207 pr_err("No such irq type %d", type); in s3c_irqext_type_set() 218 static int s3c_irqext_type(struct irq_data *data, unsigned int type) in s3c_irqext_type() argument 244 extint_offset, type); in s3c_irqext_type() 247 static int s3c_irqext0_type(struct irq_data *data, unsigned int type) in s3c_irqext0_type() argument [all …]
|
/linux-4.4.14/net/ieee802154/ |
D | nl_policy.c | 24 [IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, }, 25 [IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, }, 26 [IEEE802154_ATTR_PHY_NAME] = { .type = NLA_STRING, }, 28 [IEEE802154_ATTR_STATUS] = { .type = NLA_U8, }, 29 [IEEE802154_ATTR_SHORT_ADDR] = { .type = NLA_U16, }, 30 [IEEE802154_ATTR_HW_ADDR] = { .type = NLA_HW_ADDR, }, 31 [IEEE802154_ATTR_PAN_ID] = { .type = NLA_U16, }, 32 [IEEE802154_ATTR_CHANNEL] = { .type = NLA_U8, }, 33 [IEEE802154_ATTR_PAGE] = { .type = NLA_U8, }, 34 [IEEE802154_ATTR_COORD_SHORT_ADDR] = { .type = NLA_U16, }, [all …]
|
/linux-4.4.14/include/uapi/linux/ |
D | v4l2-dv-timings.h | 39 .type = V4L2_DV_BT_656_1120, \ 48 .type = V4L2_DV_BT_656_1120, \ 56 .type = V4L2_DV_BT_656_1120, \ 65 .type = V4L2_DV_BT_656_1120, \ 73 .type = V4L2_DV_BT_656_1120, \ 80 .type = V4L2_DV_BT_656_1120, \ 89 .type = V4L2_DV_BT_656_1120, \ 97 .type = V4L2_DV_BT_656_1120, \ 106 .type = V4L2_DV_BT_656_1120, \ 114 .type = V4L2_DV_BT_656_1120, \ [all …]
|
D | auto_fs4.h | 38 static inline void set_autofs_type_indirect(unsigned int *type) in set_autofs_type_indirect() argument 40 *type = AUTOFS_TYPE_INDIRECT; in set_autofs_type_indirect() 44 static inline unsigned int autofs_type_indirect(unsigned int type) in autofs_type_indirect() argument 46 return (type == AUTOFS_TYPE_INDIRECT); in autofs_type_indirect() 49 static inline void set_autofs_type_direct(unsigned int *type) in set_autofs_type_direct() argument 51 *type = AUTOFS_TYPE_DIRECT; in set_autofs_type_direct() 55 static inline unsigned int autofs_type_direct(unsigned int type) in autofs_type_direct() argument 57 return (type == AUTOFS_TYPE_DIRECT); in autofs_type_direct() 60 static inline void set_autofs_type_offset(unsigned int *type) in set_autofs_type_offset() argument 62 *type = AUTOFS_TYPE_OFFSET; in set_autofs_type_offset() [all …]
|
D | cryptouser.h | 64 char type[CRYPTO_MAX_NAME]; member 68 char type[CRYPTO_MAX_NAME]; member 74 char type[CRYPTO_MAX_ALG_NAME]; member 81 char type[CRYPTO_MAX_NAME]; member 90 char type[CRYPTO_MAX_NAME]; member 98 char type[CRYPTO_MAX_NAME]; member 102 char type[CRYPTO_MAX_NAME]; member 107 char type[CRYPTO_MAX_NAME]; member
|
D | dccp.h | 117 static inline unsigned int dccp_packet_hdr_len(const __u8 type) in dccp_packet_hdr_len() argument 119 if (type == DCCP_PKT_DATA) in dccp_packet_hdr_len() 121 if (type == DCCP_PKT_DATAACK || in dccp_packet_hdr_len() 122 type == DCCP_PKT_ACK || in dccp_packet_hdr_len() 123 type == DCCP_PKT_SYNC || in dccp_packet_hdr_len() 124 type == DCCP_PKT_SYNCACK || in dccp_packet_hdr_len() 125 type == DCCP_PKT_CLOSE || in dccp_packet_hdr_len() 126 type == DCCP_PKT_CLOSEREQ) in dccp_packet_hdr_len() 128 if (type == DCCP_PKT_REQUEST) in dccp_packet_hdr_len() 130 if (type == DCCP_PKT_RESPONSE) in dccp_packet_hdr_len()
|
/linux-4.4.14/sound/usb/ |
D | quirks-table.h | 49 .type = QUIRK_MIDI_FTDI 58 .type = QUIRK_AUDIO_FIXED_ENDPOINT, 133 .type = QUIRK_COMPOSITE, 138 .type = QUIRK_IGNORE_INTERFACE, 143 .type = QUIRK_IGNORE_INTERFACE, 148 .type = QUIRK_IGNORE_INTERFACE, 241 .type = QUIRK_MIDI_YAMAHA \ 250 .type = QUIRK_MIDI_YAMAHA \ 341 .type = QUIRK_COMPOSITE, 345 .type = QUIRK_AUDIO_STANDARD_INTERFACE [all …]
|
D | mixer_scarlett.c | 174 unsigned char type; member 237 uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; in scarlett_ctl_switch_info() 306 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in scarlett_ctl_info() 385 uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED; in scarlett_ctl_enum_dynamic_info() 660 { .num = 0, .type = SCARLETT_OUTPUTS, .name = "Monitor" }, 661 { .num = 1, .type = SCARLETT_OUTPUTS, .name = "Headphone" }, 662 { .num = 2, .type = SCARLETT_OUTPUTS, .name = "SPDIF" }, 663 { .num = 1, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL}, 664 { .num = 1, .type = SCARLETT_SWITCH_PAD, .name = NULL}, 665 { .num = 2, .type = SCARLETT_SWITCH_IMPEDANCE, .name = NULL}, [all …]
|
/linux-4.4.14/drivers/staging/fsl-mc/bus/ |
D | dprc.c | 248 int *type, in dprc_get_irq() argument 269 *type = mc_dec(cmd.params[2], 32, 32); in dprc_get_irq() 579 char *type, in dprc_set_res_quota() argument 589 cmd.params[1] |= mc_enc(0, 8, type[0]); in dprc_set_res_quota() 590 cmd.params[1] |= mc_enc(8, 8, type[1]); in dprc_set_res_quota() 591 cmd.params[1] |= mc_enc(16, 8, type[2]); in dprc_set_res_quota() 592 cmd.params[1] |= mc_enc(24, 8, type[3]); in dprc_set_res_quota() 593 cmd.params[1] |= mc_enc(32, 8, type[4]); in dprc_set_res_quota() 594 cmd.params[1] |= mc_enc(40, 8, type[5]); in dprc_set_res_quota() 595 cmd.params[1] |= mc_enc(48, 8, type[6]); in dprc_set_res_quota() [all …]
|
/linux-4.4.14/drivers/md/ |
D | dm-exception-store.c | 24 struct dm_exception_store_type *type; in __find_exception_store_type() local 26 list_for_each_entry(type, &_exception_store_types, list) in __find_exception_store_type() 27 if (!strcmp(name, type->name)) in __find_exception_store_type() 28 return type; in __find_exception_store_type() 35 struct dm_exception_store_type *type; in _get_exception_store_type() local 39 type = __find_exception_store_type(name); in _get_exception_store_type() 41 if (type && !try_module_get(type->module)) in _get_exception_store_type() 42 type = NULL; in _get_exception_store_type() 46 return type; in _get_exception_store_type() 75 struct dm_exception_store_type *type; in get_type() local [all …]
|
D | dm-cache-policy.c | 79 int dm_cache_policy_register(struct dm_cache_policy_type *type) in dm_cache_policy_register() argument 84 if (type->hint_size != 0 && type->hint_size != 4) { in dm_cache_policy_register() 85 DMWARN("hint size must be 0 or 4 but %llu supplied.", (unsigned long long) type->hint_size); in dm_cache_policy_register() 90 if (__find_policy(type->name)) { in dm_cache_policy_register() 91 DMWARN("attempt to register policy under duplicate name %s", type->name); in dm_cache_policy_register() 94 list_add(&type->list, ®ister_list); in dm_cache_policy_register() 103 void dm_cache_policy_unregister(struct dm_cache_policy_type *type) in dm_cache_policy_unregister() argument 106 list_del_init(&type->list); in dm_cache_policy_unregister() 117 struct dm_cache_policy_type *type; in dm_cache_policy_create() local 119 type = get_policy(name); in dm_cache_policy_create() [all …]
|
D | dm-table.c | 33 unsigned type; member 244 if (tgt->type->dtr) in dm_table_destroy() 245 tgt->type->dtr(tgt); in dm_table_destroy() 247 dm_put_target_type(tgt->type); in dm_table_destroy() 637 if (ti->type->iterate_devices) in validate_hardware_logical_block_alignment() 638 ti->type->iterate_devices(ti, dm_set_device_limits, in validate_hardware_logical_block_alignment() 670 int dm_table_add_target(struct dm_table *t, const char *type, in dm_table_add_target() argument 679 dm_device_name(t->md), t->targets->type->name); in dm_table_add_target() 693 tgt->type = dm_get_target_type(type); in dm_table_add_target() 694 if (!tgt->type) { in dm_table_add_target() [all …]
|
/linux-4.4.14/scripts/kconfig/ |
D | expr.c | 20 e->type = E_SYMBOL; in expr_alloc_symbol() 25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument 28 e->type = type; in expr_alloc_one() 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument 36 e->type = type; in expr_alloc_two() 42 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() argument 45 e->type = type; in expr_alloc_comp() 74 switch (org->type) { in expr_copy() 97 printf("can't copy type %d\n", e->type); in expr_copy() 111 switch (e->type) { in expr_free() [all …]
|
D | menu.c | 87 switch (e->type) { in menu_check_dep() 112 void menu_set_type(int type) in menu_set_type() argument 116 if (sym->type == type) in menu_set_type() 118 if (sym->type == S_UNKNOWN) { in menu_set_type() 119 sym->type = type; in menu_set_type() 125 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 128 static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct … in menu_add_prop() argument 130 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() 146 if(type == P_PROMPT) { in menu_add_prop() 178 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.h | 168 enum iwl_table_type type; member 178 #define is_type_legacy(type) (((type) == LQ_LEGACY_G) || \ argument 179 ((type) == LQ_LEGACY_A)) 180 #define is_type_ht_siso(type) ((type) == LQ_HT_SISO) argument 181 #define is_type_ht_mimo2(type) ((type) == LQ_HT_MIMO2) argument 182 #define is_type_vht_siso(type) ((type) == LQ_VHT_SISO) argument 183 #define is_type_vht_mimo2(type) ((type) == LQ_VHT_MIMO2) argument 184 #define is_type_siso(type) (is_type_ht_siso(type) || is_type_vht_siso(type)) argument 185 #define is_type_mimo2(type) (is_type_ht_mimo2(type) || is_type_vht_mimo2(type)) argument 186 #define is_type_mimo(type) (is_type_mimo2(type)) argument [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | osc_quota.c | 47 int type; in osc_quota_chkdq() local 49 for (type = 0; type < MAXQUOTAS; type++) { in osc_quota_chkdq() 52 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_chkdq() 60 type == USRQUOTA ? "user" : "grout", qid[type]); in osc_quota_chkdq() 68 #define MD_QUOTA_FLAG(type) ((type == USRQUOTA) ? OBD_MD_FLUSRQUOTA \ argument 70 #define FL_QUOTA_FLAG(type) ((type == USRQUOTA) ? OBD_FL_NO_USRQUOTA \ argument 76 int type; in osc_quota_setdq() local 82 for (type = 0; type < MAXQUOTAS; type++) { in osc_quota_setdq() 85 if ((valid & MD_QUOTA_FLAG(type)) == 0) in osc_quota_setdq() 89 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_setdq() [all …]
|
/linux-4.4.14/drivers/hwmon/ |
D | ibmpowernv.c | 75 enum sensors type; member 99 if (sdata->type == TEMP) in show_sensor() 102 else if (sdata->type == POWER_INPUT) in show_sensor() 196 static const char *convert_opal_attr_name(enum sensors type, in convert_opal_attr_name() argument 206 if (type == TEMP) in convert_opal_attr_name() 208 else if (type == FAN) in convert_opal_attr_name() 222 enum sensors type, u32 *index) in parse_opal_node_name() argument 232 attr_name = convert_opal_attr_name(type, attr_suffix); in parse_opal_node_name() 241 enum sensors type; in get_sensor_type() local 244 for (type = 0; type < MAX_SENSOR_TYPE; type++) { in get_sensor_type() [all …]
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-cards.c | 82 .type = CX88_VMUX_COMPOSITE1, 85 .type = CX88_VMUX_COMPOSITE2, 88 .type = CX88_VMUX_COMPOSITE3, 91 .type = CX88_VMUX_COMPOSITE4, 103 .type = CX88_VMUX_TELEVISION, 107 .type = CX88_VMUX_DEBUG, 111 .type = CX88_VMUX_COMPOSITE1, 115 .type = CX88_VMUX_SVIDEO, 120 .type = CX88_RADIO, 131 .type = CX88_VMUX_TELEVISION, [all …]
|
/linux-4.4.14/arch/powerpc/math-emu/ |
D | math.c | 233 int type = 0; in do_mathemu() local 240 case LFS: func = lfs; type = D; break; in do_mathemu() 241 case LFSU: func = lfs; type = DU; break; in do_mathemu() 242 case LFD: func = lfd; type = D; break; in do_mathemu() 243 case LFDU: func = lfd; type = DU; break; in do_mathemu() 244 case STFS: func = stfs; type = D; break; in do_mathemu() 245 case STFSU: func = stfs; type = DU; break; in do_mathemu() 246 case STFD: func = stfd; type = D; break; in do_mathemu() 247 case STFDU: func = stfd; type = DU; break; in do_mathemu() 251 case LFSX: func = lfs; type = XE; break; in do_mathemu() [all …]
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/ |
D | unistd.h | 9 #define _syscall0(type,name) \ argument 10 type name(void) \ 22 return (type) __a; \ 24 return (type) -1; \ 27 #define _syscall1(type,name,type1,arg1) \ argument 28 type name(type1 arg1) \ 40 return (type) __a; \ 42 return (type) -1; \ 45 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument 46 type name(type1 arg1,type2 arg2) \ [all …]
|
/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
D | unistd.h | 9 #define _syscall0(type,name) \ argument 10 type name(void) \ 21 return (type) __a; \ 23 return (type) -1; \ 26 #define _syscall1(type,name,type1,arg1) \ argument 27 type name(type1 arg1) \ 38 return (type) __a; \ 40 return (type) -1; \ 43 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument 44 type name(type1 arg1,type2 arg2) \ [all …]
|
/linux-4.4.14/include/sound/ |
D | asequencer.h | 36 #define snd_seq_ev_is_result_type(ev) ((ev)->type < 5) 38 #define snd_seq_ev_is_channel_type(ev) ((ev)->type >= 5 && (ev)->type < 20) 40 #define snd_seq_ev_is_note_type(ev) ((ev)->type >= 5 && (ev)->type < 10) 42 #define snd_seq_ev_is_control_type(ev) ((ev)->type >= 10 && (ev)->type < 20) 44 #define snd_seq_ev_is_queue_type(ev) ((ev)->type >= 30 && (ev)->type < 40) 46 #define snd_seq_ev_is_message_type(ev) ((ev)->type >= 60 && (ev)->type < 69) 48 #define snd_seq_ev_is_sample_type(ev) ((ev)->type >= 70 && (ev)->type < 79) 50 #define snd_seq_ev_is_user_type(ev) ((ev)->type >= 90 && (ev)->type < 99) 52 #define snd_seq_ev_is_fixed_type(ev) ((ev)->type < 100) 54 #define snd_seq_ev_is_variable_type(ev) ((ev)->type >= 130 && (ev)->type < 140) [all …]
|
/linux-4.4.14/crypto/ |
D | af_alg.c | 27 const struct af_alg_type *type; member 45 const struct af_alg_type *type = ERR_PTR(-ENOENT); in alg_get_type() local 50 if (strcmp(node->type->name, name)) in alg_get_type() 53 if (try_module_get(node->type->owner)) in alg_get_type() 54 type = node->type; in alg_get_type() 59 return type; in alg_get_type() 62 int af_alg_register_type(const struct af_alg_type *type) in af_alg_register_type() argument 69 if (!strcmp(node->type->name, type->name)) in af_alg_register_type() 78 type->ops->owner = THIS_MODULE; in af_alg_register_type() 79 if (type->ops_nokey) in af_alg_register_type() [all …]
|
D | api.c | 59 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, in __crypto_alg_lookup() argument 71 if ((q->cra_flags ^ type) & mask) in __crypto_alg_lookup() 109 struct crypto_larval *crypto_larval_alloc(const char *name, u32 type, u32 mask) in crypto_larval_alloc() argument 118 larval->alg.cra_flags = CRYPTO_ALG_LARVAL | type; in crypto_larval_alloc() 129 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, in crypto_larval_add() argument 135 larval = crypto_larval_alloc(name, type, mask); in crypto_larval_add() 142 alg = __crypto_alg_lookup(name, type, mask); in crypto_larval_add() 195 struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask) in crypto_alg_lookup() argument 200 alg = __crypto_alg_lookup(name, type, mask); in crypto_alg_lookup() 207 struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask) in crypto_larval_lookup() argument [all …]
|
D | algboss.c | 34 } type; member 59 u32 type; member 181 param->type.attr.rta_len = sizeof(param->type); in cryptomgr_schedule_probe() 182 param->type.attr.rta_type = CRYPTOA_TYPE; in cryptomgr_schedule_probe() 183 param->type.data.type = larval->alg.cra_flags & ~CRYPTO_ALG_TESTED; in cryptomgr_schedule_probe() 184 param->type.data.mask = larval->mask & ~CRYPTO_ALG_TESTED; in cryptomgr_schedule_probe() 185 param->tb[0] = ¶m->type.attr; in cryptomgr_schedule_probe() 214 u32 type = param->type; in cryptomgr_test() local 221 if (type & CRYPTO_ALG_TESTED) in cryptomgr_test() 224 err = alg_test(param->driver, param->alg, type, CRYPTO_ALG_TESTED); in cryptomgr_test() [all …]
|
/linux-4.4.14/sound/synth/emux/ |
D | emux_effect.c | 33 #define xoffsetof(type,tag) ((long)(&((type)NULL)->tag) - (long)(NULL)) argument 52 int type; /* byte or word */ member 100 effect_set_byte(unsigned char *valp, struct snd_midi_channel *chan, int type) in effect_set_byte() argument 105 effect = fx->val[type]; in effect_set_byte() 106 if (fx->flag[type] == EMUX_FX_FLAG_ADD) { in effect_set_byte() 107 if (parm_defs[type].type & PARM_IS_SIGNED) in effect_set_byte() 112 if (effect < parm_defs[type].low) in effect_set_byte() 113 effect = parm_defs[type].low; in effect_set_byte() 114 else if (effect > parm_defs[type].high) in effect_set_byte() 115 effect = parm_defs[type].high; in effect_set_byte() [all …]
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-cards.c | 66 .type = SAA7164_UNIT_EEPROM, 73 .type = SAA7164_UNIT_TUNER, 80 .type = SAA7164_UNIT_TUNER, 87 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR, 94 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR, 112 .type = SAA7164_UNIT_EEPROM, 119 .type = SAA7164_UNIT_TUNER, 126 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR, 133 .type = SAA7164_UNIT_TUNER, 140 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR, [all …]
|
/linux-4.4.14/drivers/media/tuners/ |
D | tuner-xc2028.c | 80 unsigned int type; member 88 unsigned int type; member 179 static void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) in dump_firm_type_and_int_freq() argument 181 if (type & BASE) in dump_firm_type_and_int_freq() 183 if (type & INIT1) in dump_firm_type_and_int_freq() 185 if (type & F8MHZ) in dump_firm_type_and_int_freq() 187 if (type & MTS) in dump_firm_type_and_int_freq() 189 if (type & D2620) in dump_firm_type_and_int_freq() 191 if (type & D2633) in dump_firm_type_and_int_freq() 193 if (type & DTV6) in dump_firm_type_and_int_freq() [all …]
|
D | tuner-types.c | 71 .type = TUNER_PARAM_TYPE_PAL, 87 .type = TUNER_PARAM_TYPE_PAL, 103 .type = TUNER_PARAM_TYPE_NTSC, 120 .type = TUNER_PARAM_TYPE_SECAM, 137 .type = TUNER_PARAM_TYPE_PAL, 154 .type = TUNER_PARAM_TYPE_NTSC, 170 .type = TUNER_PARAM_TYPE_PAL, 186 .type = TUNER_PARAM_TYPE_NTSC, 202 .type = TUNER_PARAM_TYPE_NTSC, 213 .type = TUNER_PARAM_TYPE_PAL, [all …]
|
D | xc4000.c | 74 unsigned int type; member 82 unsigned int type; member 532 if ((priv->cur_fw.type & (FM | DTV6 | DTV7 | DTV78 | DTV8)) == 0) { in xc_tune_channel() 570 static void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) in dump_firm_type_and_int_freq() argument 572 if (type & BASE) in dump_firm_type_and_int_freq() 574 if (type & INIT1) in dump_firm_type_and_int_freq() 576 if (type & F8MHZ) in dump_firm_type_and_int_freq() 578 if (type & MTS) in dump_firm_type_and_int_freq() 580 if (type & D2620) in dump_firm_type_and_int_freq() 582 if (type & D2633) in dump_firm_type_and_int_freq() [all …]
|
/linux-4.4.14/kernel/trace/ |
D | trace_export.c | 31 #define __field_struct(type, item) argument 34 #define __field(type, item) type item; argument 37 #define __field_desc(type, container, item) type item; argument 40 #define __array(type, item, size) type item[size]; argument 43 #define __array_desc(type, container, item, size) type item[size]; argument 46 #define __dynamic_array(type, item) type item[]; argument 75 #define __field(type, item) \ argument 76 ret = trace_define_field(event_call, #type, #item, \ 79 is_signed_type(type), filter_type); \ 84 #define __field_desc(type, container, item) \ argument [all …]
|
D | trace_probe.c | 39 #define DEFINE_BASIC_PRINT_TYPE_FUNC(type, fmt) \ argument 40 int PRINT_TYPE_FUNC_NAME(type)(struct trace_seq *s, const char *name, \ 43 trace_seq_printf(s, " %s=" fmt, name, *(type *)data); \ 46 const char PRINT_TYPE_FMT_NAME(type)[] = fmt; \ 47 NOKPROBE_SYMBOL(PRINT_TYPE_FUNC_NAME(type)); 85 #define DEFINE_FETCH_reg(type) \ argument 86 void FETCH_FUNC_NAME(reg, type)(struct pt_regs *regs, void *offset, void *dest) \ 88 *(type *)dest = (type)regs_get_register(regs, \ 91 NOKPROBE_SYMBOL(FETCH_FUNC_NAME(reg, type)); 97 #define DEFINE_FETCH_retval(type) \ argument [all …]
|
/linux-4.4.14/tools/perf/tests/attr/ |
D | test-stat-detailed-3 | 10 type=1 16 type=1 22 type=1 28 type=1 34 type=0 40 type=0 46 type=0 52 type=0 58 type=0 64 type=0 [all …]
|
D | test-stat-detailed-2 | 10 type=1 16 type=1 22 type=1 28 type=1 34 type=0 40 type=0 46 type=0 52 type=0 58 type=0 64 type=0 [all …]
|
D | test-stat-detailed-1 | 10 type=1 16 type=1 22 type=1 28 type=1 34 type=0 40 type=0 46 type=0 52 type=0 58 type=0 64 type=0 [all …]
|
D | test-stat-default | 9 type=1 15 type=1 21 type=1 27 type=1 33 type=0 39 type=0 45 type=0 51 type=0 57 type=0 63 type=0
|
/linux-4.4.14/fs/ocfs2/ |
D | sysfile.c | 43 int type, 50 static inline int is_global_system_inode(int type) in is_global_system_inode() argument 52 return type >= OCFS2_FIRST_ONLINE_SYSTEM_INODE && in is_global_system_inode() 53 type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE; in is_global_system_inode() 57 int type, in get_local_system_inode() argument 64 BUG_ON(type < OCFS2_FIRST_LOCAL_SYSTEM_INODE || in get_local_system_inode() 65 type > OCFS2_LAST_LOCAL_SYSTEM_INODE); in get_local_system_inode() 98 (type - OCFS2_FIRST_LOCAL_SYSTEM_INODE); in get_local_system_inode() 104 int type, in ocfs2_get_system_file_inode() argument 111 if (is_global_system_inode(type)) { in ocfs2_get_system_file_inode() [all …]
|
D | quota_local.c | 160 static int ocfs2_local_check_quota_file(struct super_block *sb, int type) in ocfs2_local_check_quota_file() argument 169 struct inode *linode = sb_dqopt(sb)->files[type]; in ocfs2_local_check_quota_file() 179 type); in ocfs2_local_check_quota_file() 183 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file() 186 lmagics[type], type); in ocfs2_local_check_quota_file() 189 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file() 192 lversions[type], type); in ocfs2_local_check_quota_file() 199 ginode = ocfs2_get_system_file_inode(OCFS2_SB(sb), ino[type], in ocfs2_local_check_quota_file() 203 "(type=%d)\n", type); in ocfs2_local_check_quota_file() 211 "(type=%d)\n", type); in ocfs2_local_check_quota_file() [all …]
|
D | quota_global.c | 116 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in ocfs2_global_is_id() 121 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, in ocfs2_global_is_id() 165 ssize_t ocfs2_quota_read(struct super_block *sb, int type, char *data, in ocfs2_quota_read() argument 168 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; in ocfs2_quota_read() 214 ssize_t ocfs2_quota_write(struct super_block *sb, int type, in ocfs2_quota_write() argument 217 struct mem_dqinfo *info = sb_dqinfo(sb, type); in ocfs2_quota_write() 336 int ocfs2_global_read_info(struct super_block *sb, int type) in ocfs2_global_read_info() argument 342 struct mem_dqinfo *info = sb_dqinfo(sb, type); in ocfs2_global_read_info() 348 gqinode = ocfs2_get_system_file_inode(OCFS2_SB(sb), ino[type], in ocfs2_global_read_info() 352 type); in ocfs2_global_read_info() [all …]
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | id.c | 37 u32 type; /* Cpu id bits [31:08], cpu class bits [07:00] */ member 44 { .jtag_id = 0xb574, .die_rev = 0x2, .omap_id = 0x03310315, .type = 0x03100000}, 45 { .jtag_id = 0x355f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300100}, 46 { .jtag_id = 0xb55f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300300}, 47 { .jtag_id = 0xb62c, .die_rev = 0x1, .omap_id = 0x03320500, .type = 0x08500000}, 48 { .jtag_id = 0xb470, .die_rev = 0x0, .omap_id = 0x03310100, .type = 0x15100000}, 49 { .jtag_id = 0xb576, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x16100000}, 50 { .jtag_id = 0xb576, .die_rev = 0x2, .omap_id = 0x03320100, .type = 0x16110000}, 51 { .jtag_id = 0xb576, .die_rev = 0x3, .omap_id = 0x03320100, .type = 0x16100c00}, 52 { .jtag_id = 0xb576, .die_rev = 0x0, .omap_id = 0x03320200, .type = 0x16100d00}, [all …]
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | io.h | 79 #define __BUILD_MEMORY_SINGLE(pfx, bwl, type) \ argument 81 pfx##write##bwl(type val, volatile void __iomem *addr) \ 83 volatile type *__addr; \ 84 type __val; \ 89 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \ 94 static inline type pfx##read##bwl(const volatile void __iomem *addr) \ 96 volatile type *__addr; \ 97 type __val; \ 101 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \ 107 #define __BUILD_IOPORT_SINGLE(pfx, bwl, type, p, slow) \ argument [all …]
|
/linux-4.4.14/drivers/clk/ti/ |
D | clk-3xxx-legacy.c | 30 .type = TI_CLK_FIXED, 40 .type = TI_CLK_FIXED, 50 .type = TI_CLK_FIXED, 60 .type = TI_CLK_FIXED, 70 .type = TI_CLK_FIXED, 80 .type = TI_CLK_FIXED, 102 .type = TI_CLK_MUX, 117 .type = TI_CLK_DIVIDER, 152 .type = TI_CLK_DPLL, 167 .type = TI_CLK_DIVIDER, [all …]
|
/linux-4.4.14/arch/mips/include/asm/ |
D | io.h | 312 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) \ argument 314 static inline void pfx##write##bwlq(type val, \ 317 volatile type *__mem; \ 318 type __val; \ 326 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \ 330 type __tmp; \ 350 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \ 352 volatile type *__mem; \ 353 type __val; \ 357 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \ [all …]
|
/linux-4.4.14/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 91 boot_cpu_data.type = CPU_SH7750; in cpu_probe() 96 boot_cpu_data.type = CPU_SH7750S; in cpu_probe() 101 boot_cpu_data.type = CPU_SH7751; in cpu_probe() 105 boot_cpu_data.type = CPU_SH7770; in cpu_probe() 110 boot_cpu_data.type = CPU_SH7781; in cpu_probe() 112 boot_cpu_data.type = CPU_SH7763; in cpu_probe() 114 boot_cpu_data.type = CPU_SH7780; in cpu_probe() 120 boot_cpu_data.type = CPU_SH7343; in cpu_probe() 124 boot_cpu_data.type = CPU_SH7785; in cpu_probe() 128 boot_cpu_data.type = CPU_SH7786; in cpu_probe() [all …]
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | exresolv.c | 151 switch (stack_desc->common.type) { in acpi_ex_resolve_object_to_value() 251 if ((stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value() 253 || (stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value() 297 stack_desc, stack_desc->common.type)); in acpi_ex_resolve_object_to_value() 342 acpi_object_type type; in acpi_ex_resolve_multiple() local 352 type = obj_desc->common.type; in acpi_ex_resolve_multiple() 357 type = ((struct acpi_namespace_node *)obj_desc)->type; in acpi_ex_resolve_multiple() 362 if (type == ACPI_TYPE_LOCAL_ALIAS) { in acpi_ex_resolve_multiple() 363 type = ((struct acpi_namespace_node *)obj_desc)->type; in acpi_ex_resolve_multiple() 384 if (type != ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_resolve_multiple() [all …]
|
D | utprint.c | 66 u8 base, s32 width, s32 precision, u8 type); 243 u8 base, s32 width, s32 precision, u8 type) in acpi_ut_format_number() argument 259 if (type & ACPI_FORMAT_LEFT) { in acpi_ut_format_number() 260 type &= ~ACPI_FORMAT_ZERO; in acpi_ut_format_number() 263 need_prefix = ((type & ACPI_FORMAT_PREFIX) in acpi_ut_format_number() 265 upper = (type & ACPI_FORMAT_UPPER) ? TRUE : FALSE; in acpi_ut_format_number() 266 zero = (type & ACPI_FORMAT_ZERO) ? '0' : ' '; in acpi_ut_format_number() 271 if (type & ACPI_FORMAT_SIGN) { in acpi_ut_format_number() 276 } else if (type & ACPI_FORMAT_SIGN_PLUS) { in acpi_ut_format_number() 279 } else if (type & ACPI_FORMAT_SIGN_PLUS_SPACE) { in acpi_ut_format_number() [all …]
|
D | dsmthdat.c | 55 acpi_ds_method_data_delete_value(u8 type, 59 acpi_ds_method_data_set_value(u8 type, 104 walk_state->arguments[i].type = ACPI_TYPE_ANY; in acpi_ds_method_data_init() 117 walk_state->local_variables[i].type = ACPI_TYPE_ANY; in acpi_ds_method_data_init() 248 acpi_ds_method_data_get_node(u8 type, in acpi_ds_method_data_get_node() argument 258 switch (type) { in acpi_ds_method_data_get_node() 289 ACPI_ERROR((AE_INFO, "Type %u is invalid", type)); in acpi_ds_method_data_get_node() 314 acpi_ds_method_data_set_value(u8 type, in acpi_ds_method_data_set_value() argument 326 type, object->common.reference_count, in acpi_ds_method_data_set_value() 327 acpi_ut_get_type_name(object->common.type))); in acpi_ds_method_data_set_value() [all …]
|
D | nsaccess.c | 110 status = acpi_ns_lookup(NULL, init_val->name, init_val->type, in acpi_ns_root_initialize() 141 acpi_ut_create_internal_object(init_val->type); in acpi_ns_root_initialize() 152 switch (init_val->type) { in acpi_ns_root_initialize() 226 init_val->type)); in acpi_ns_root_initialize() 235 obj_desc->common.type); in acpi_ns_root_initialize() 282 acpi_object_type type, in acpi_ns_lookup() argument 341 while (!acpi_ns_opens_scope(prefix_node->type) && in acpi_ns_lookup() 342 prefix_node->type != ACPI_TYPE_ANY) { in acpi_ns_lookup() 350 type_to_check_for = type; in acpi_ns_lookup() 464 type = this_node->type; in acpi_ns_lookup() [all …]
|
D | nssearch.c | 59 acpi_object_type type, 97 acpi_object_type type, in acpi_ns_search_one_scope() argument 114 acpi_ut_get_type_name(type))); in acpi_ns_search_one_scope() 146 acpi_ut_get_type_name(node->type), in acpi_ns_search_one_scope() 166 acpi_ut_get_type_name(type), in acpi_ns_search_one_scope() 201 acpi_object_type type, in acpi_ns_search_parent_tree() argument 221 if (acpi_ns_local(type)) { in acpi_ns_search_parent_tree() 225 acpi_ut_get_type_name(type))); in acpi_ns_search_parent_tree() 291 acpi_object_type type, in acpi_ns_search_and_enter() argument 322 status = acpi_ns_search_one_scope(target_name, node, type, return_node); in acpi_ns_search_and_enter() [all …]
|
D | rslist.c | 93 if (aml_resource->common_serial_bus.type > in acpi_rs_convert_aml_to_resources() 101 [aml_resource->common_serial_bus.type]; in acpi_rs_convert_aml_to_resources() 174 if (resource->type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_convert_resources_to_aml() 177 resource->type)); in acpi_rs_convert_resources_to_aml() 191 if (resource->type == ACPI_RESOURCE_TYPE_SERIAL_BUS) { in acpi_rs_convert_resources_to_aml() 192 if (resource->data.common_serial_bus.type > in acpi_rs_convert_resources_to_aml() 200 [resource->data.common_serial_bus.type]; in acpi_rs_convert_resources_to_aml() 204 acpi_gbl_set_resource_dispatch[resource->type]; in acpi_rs_convert_resources_to_aml() 210 resource->type)); in acpi_rs_convert_resources_to_aml() 222 resource->type)); in acpi_rs_convert_resources_to_aml() [all …]
|
D | nsobject.c | 74 union acpi_operand_object *object, acpi_object_type type) in acpi_ns_attach_object() argument 93 if (!object && (ACPI_TYPE_ANY != type)) { in acpi_ns_attach_object() 139 object_type = ((struct acpi_namespace_node *)object)->type; in acpi_ns_attach_object() 151 object_type = type; in acpi_ns_attach_object() 184 node->type = (u8) object_type; in acpi_ns_attach_object() 212 if (!obj_desc || (obj_desc->common.type == ACPI_TYPE_LOCAL_DATA)) { in acpi_ns_detach_object() 220 if (obj_desc->common.type == ACPI_TYPE_METHOD) { in acpi_ns_detach_object() 237 (node->object->common.type != ACPI_TYPE_LOCAL_DATA)) { in acpi_ns_detach_object() 246 ((obj_desc->common.next_object)->common.type == in acpi_ns_detach_object() 254 node->type = ACPI_TYPE_ANY; in acpi_ns_detach_object() [all …]
|
D | evhandler.c | 229 if ((node->type != ACPI_TYPE_DEVICE) && in acpi_ev_install_handler() 230 (node->type != ACPI_TYPE_REGION) && (node != acpi_gbl_root_node)) { in acpi_ev_install_handler() 246 if (obj_desc->common.type == ACPI_TYPE_DEVICE) { in acpi_ev_install_handler() 336 acpi_object_type type; in acpi_ev_install_space_handler() local 345 if ((node->type != ACPI_TYPE_DEVICE) && in acpi_ev_install_space_handler() 346 (node->type != ACPI_TYPE_PROCESSOR) && in acpi_ev_install_space_handler() 347 (node->type != ACPI_TYPE_THERMAL) && (node != acpi_gbl_root_node)) { in acpi_ev_install_space_handler() 450 if (node->type == ACPI_TYPE_ANY) { in acpi_ev_install_space_handler() 451 type = ACPI_TYPE_DEVICE; in acpi_ev_install_space_handler() 453 type = node->type; in acpi_ev_install_space_handler() [all …]
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | ioctl.h | 65 #define _IOC(dir,type,nr,size) \ argument 67 ((type) << _IOC_TYPESHIFT) | \ 76 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 77 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 78 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 79 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 80 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 81 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 82 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/linux-4.4.14/mm/ |
D | memblock.c | 69 memblock_type_name(struct memblock_type *type) in memblock_type_name() argument 71 if (type == &memblock.memory) in memblock_type_name() 73 else if (type == &memblock.reserved) in memblock_type_name() 94 bool __init_memblock memblock_overlaps_region(struct memblock_type *type, in memblock_overlaps_region() argument 99 for (i = 0; i < type->cnt; i++) { in memblock_overlaps_region() 100 phys_addr_t rgnbase = type->regions[i].base; in memblock_overlaps_region() 101 phys_addr_t rgnsize = type->regions[i].size; in memblock_overlaps_region() 106 return i < type->cnt; in memblock_overlaps_region() 285 static void __init_memblock memblock_remove_region(struct memblock_type *type, unsigned long r) in memblock_remove_region() argument 287 type->total_size -= type->regions[r].size; in memblock_remove_region() [all …]
|
D | zpool.c | 75 static struct zpool_driver *zpool_get_driver(const char *type) in zpool_get_driver() argument 81 if (!strcmp(driver->type, type)) { in zpool_get_driver() 119 bool zpool_has_pool(char *type) in zpool_has_pool() argument 121 struct zpool_driver *driver = zpool_get_driver(type); in zpool_has_pool() 124 request_module("zpool-%s", type); in zpool_has_pool() 125 driver = zpool_get_driver(type); in zpool_has_pool() 153 struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp, in zpool_create_pool() argument 159 pr_debug("creating pool type %s\n", type); in zpool_create_pool() 161 driver = zpool_get_driver(type); in zpool_create_pool() 164 request_module("zpool-%s", type); in zpool_create_pool() [all …]
|
D | frontswap.c | 125 set_bit(si->type, a); in frontswap_register_ops() 145 set_bit(si->type, b); in frontswap_register_ops() 187 void __frontswap_init(unsigned type, unsigned long *map) in __frontswap_init() argument 189 struct swap_info_struct *sis = swap_info[type]; in __frontswap_init() 208 ops->init(type); in __frontswap_init() 246 int type = swp_type(entry); in __frontswap_store() local 247 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store() 270 ops->invalidate_page(type, offset); in __frontswap_store() 275 ret = ops->store(type, offset, page); in __frontswap_store() 301 int type = swp_type(entry); in __frontswap_load() local [all …]
|
/linux-4.4.14/include/linux/ |
D | quotaops.h | 61 struct dquot *dquot_alloc(struct super_block *sb, int type); 73 int dquot_disable(struct super_block *sb, int type, unsigned int flags); 75 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend() argument 77 return dquot_disable(sb, type, DQUOT_SUSPENDED); in dquot_suspend() 79 int dquot_resume(struct super_block *sb, int type); 84 int dquot_commit_info(struct super_block *sb, int type); 89 int dquot_enable(struct inode *inode, int type, int format_id, 91 int dquot_quota_on(struct super_block *sb, int type, int format_id, 94 int format_id, int type); 95 int dquot_quota_off(struct super_block *sb, int type); [all …]
|
D | elfnote.h | 41 #define ELFNOTE_START(name, type, flags) \ argument 46 .long type ; \ 55 #define ELFNOTE(name, type, desc) \ argument 56 ELFNOTE_START(name, type, "") \ 71 #define _ELFNOTE(size, name, unique, type, desc) \ argument 86 type, \ 91 #define ELFNOTE(size, name, type, desc) \ argument 92 _ELFNOTE(size, name, __LINE__, type, desc) 94 #define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc) argument 95 #define ELFNOTE64(name, type, desc) ELFNOTE(64, name, type, desc) argument
|
D | percpu-defs.h | 85 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ argument 87 extern __PCPU_ATTRS(sec) __typeof__(type) name 89 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ argument 93 extern __PCPU_ATTRS(sec) __typeof__(type) name; \ 95 __typeof__(type) name 100 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ argument 101 extern __PCPU_ATTRS(sec) __typeof__(type) name 103 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ argument 105 __typeof__(type) name 112 #define DECLARE_PER_CPU(type, name) \ argument [all …]
|
D | quota.h | 74 enum quota_type type; /* USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) */ member 98 enum quota_type type, qid_t qid) in make_kqid() argument 102 kqid.type = type; in make_kqid() 103 switch (type) { in make_kqid() 125 static inline struct kqid make_kqid_invalid(enum quota_type type) in make_kqid_invalid() argument 129 kqid.type = type; in make_kqid_invalid() 130 switch (type) { in make_kqid_invalid() 153 kqid.type = USRQUOTA; in make_kqid_uid() 165 kqid.type = GRPQUOTA; in make_kqid_gid() 177 kqid.type = PRJQUOTA; in make_kqid_projid() [all …]
|
D | moduleparam.h | 30 __MODULE_INFO(parmtype, name##type, #name ":" _type) 125 #define module_param(name, type, perm) \ argument 126 module_param_named(name, name, type, perm) 131 #define module_param_unsafe(name, type, perm) \ argument 132 module_param_named_unsafe(name, name, type, perm) 145 #define module_param_named(name, value, type, perm) \ argument 146 param_check_##type(name, &(value)); \ 147 module_param_cb(name, ¶m_ops_##type, &value, perm); \ 148 __MODULE_PARM_TYPE(name, #type) 153 #define module_param_named_unsafe(name, value, type, perm) \ argument [all …]
|
D | kobject_ns.h | 41 enum kobj_ns_type type; member 50 int kobj_ns_type_registered(enum kobj_ns_type type); 54 bool kobj_ns_current_may_mount(enum kobj_ns_type type); 55 void *kobj_ns_grab_current(enum kobj_ns_type type); 56 const void *kobj_ns_netlink(enum kobj_ns_type type, struct sock *sk); 57 const void *kobj_ns_initial(enum kobj_ns_type type); 58 void kobj_ns_drop(enum kobj_ns_type type, void *ns);
|
D | profile.h | 46 void profile_tick(int type); 52 void profile_hits(int type, void *ip, unsigned int nr_hits); 57 static inline void profile_hit(int type, void *ip) in profile_hit() argument 62 if (unlikely(prof_on == type)) in profile_hit() 63 profile_hits(type, ip, 1); in profile_hit() 97 static inline void profile_tick(int type) in profile_tick() argument 102 static inline void profile_hits(int type, void *ip, unsigned int nr_hits) in profile_hits() argument 107 static inline void profile_hit(int type, void *ip) in profile_hit() argument
|
D | crypto.h | 483 int crypto_has_alg(const char *name, u32 type, u32 mask); 606 u32 type; member 618 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask); 626 int alg_test(const char *driver, const char *alg, u32 type, u32 mask); 696 static inline u32 crypto_skcipher_type(u32 type) in crypto_skcipher_type() argument 698 type &= ~(CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_GENIV); in crypto_skcipher_type() 699 type |= CRYPTO_ALG_TYPE_BLKCIPHER; in crypto_skcipher_type() 700 return type; in crypto_skcipher_type() 755 u32 type, u32 mask); 782 static inline int crypto_has_ablkcipher(const char *alg_name, u32 type, in crypto_has_ablkcipher() argument [all …]
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | bootstd.h | 37 #define __bsc_return(type, res) \ argument 45 return (type)(res); \ 48 #define _bsc0(type,name) \ argument 49 type name(void) \ 56 __bsc_return(type,__res); \ 59 #define _bsc1(type,name,atype,a) \ argument 60 type name(atype a) \ 68 __bsc_return(type,__res); \ 71 #define _bsc2(type,name,atype,a,btype,b) \ argument 72 type name(atype a, btype b) \ [all …]
|
/linux-4.4.14/security/tomoyo/ |
D | mount.c | 33 r->param.mount.type->name, in tomoyo_audit_mount_log() 52 tomoyo_compare_name_union(r->param.mount.type, in tomoyo_check_mount_acl() 76 struct path *dir, const char *type, in tomoyo_mount_acl() argument 93 requested_type = tomoyo_encode(type); in tomoyo_mount_acl() 110 if (type == tomoyo_mounts[TOMOYO_MOUNT_REMOUNT]) { in tomoyo_mount_acl() 112 } else if (type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_UNBINDABLE] || in tomoyo_mount_acl() 113 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_PRIVATE] || in tomoyo_mount_acl() 114 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_SLAVE] || in tomoyo_mount_acl() 115 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_SHARED]) { in tomoyo_mount_acl() 117 } else if (type == tomoyo_mounts[TOMOYO_MOUNT_BIND] || in tomoyo_mount_acl() [all …]
|
D | network.c | 283 struct tomoyo_inet_acl e = { .head.type = TOMOYO_TYPE_INET_ACL }; in tomoyo_write_inet_network() 285 u8 type; in tomoyo_write_inet_network() local 292 for (type = 0; type < TOMOYO_MAX_NETWORK_OPERATION; type++) in tomoyo_write_inet_network() 293 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_inet_network() 294 e.perm |= 1 << type; in tomoyo_write_inet_network() 328 struct tomoyo_unix_acl e = { .head.type = TOMOYO_TYPE_UNIX_ACL }; in tomoyo_write_unix_network() 330 u8 type; in tomoyo_write_unix_network() local 337 for (type = 0; type < TOMOYO_MAX_NETWORK_OPERATION; type++) in tomoyo_write_unix_network() 338 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_unix_network() 339 e.perm |= 1 << type; in tomoyo_write_unix_network() [all …]
|
/linux-4.4.14/fs/quota/ |
D | quota_v1.c | 57 int type = dquot->dq_id.type; in v1_read_dqblk() local 60 if (!sb_dqopt(dquot->dq_sb)->files[type]) in v1_read_dqblk() 65 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, in v1_read_dqblk() 82 short type = dquot->dq_id.type; in v1_commit_dqblk() local 87 if (((type == USRQUOTA) && uid_eq(dquot->dq_id.uid, GLOBAL_ROOT_UID)) || in v1_commit_dqblk() 88 ((type == GRPQUOTA) && gid_eq(dquot->dq_id.gid, GLOBAL_ROOT_GID))) { in v1_commit_dqblk() 90 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk() 92 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk() 95 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk() 96 ret = dquot->dq_sb->s_op->quota_write(dquot->dq_sb, type, in v1_commit_dqblk() [all …]
|
D | quota.c | 21 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, in check_quotactl_permission() argument 36 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission() 37 (type == GRPQUOTA && in_egroup_p(make_kgid(current_user_ns(), id)))) in check_quotactl_permission() 45 return security_quotactl(cmd, type, id, sb); in check_quotactl_permission() 50 int type = *(int *)arg; in quota_sync_one() local 53 (sb->s_quota_types & (1 << type))) in quota_sync_one() 54 sb->s_qcop->quota_sync(sb, type); in quota_sync_one() 57 static int quota_sync_all(int type) in quota_sync_all() argument 61 if (type >= MAXQUOTAS) in quota_sync_all() 63 ret = security_quotactl(Q_SYNC, type, 0, NULL); in quota_sync_all() [all …]
|
D | dquot.c | 250 static int __dquot_initialize(struct inode *inode, int type); 256 int type = qid.type; in hashfn() local 259 tmp = (((unsigned long)sb>>L1_CACHE_SHIFT) ^ id) * (MAXQUOTAS - type); in hashfn() 352 info[dquot->dq_id.type].dqi_dirty_list); in dquot_mark_dquot_dirty() 393 void mark_info_dirty(struct super_block *sb, int type) in mark_info_dirty() argument 395 set_bit(DQF_INFO_DIRTY_B, &sb_dqopt(sb)->info[type].dqi_flags); in mark_info_dirty() 411 ret = dqopt->ops[dquot->dq_id.type]->read_dqblk(dquot); in dquot_acquire() 417 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_acquire() 419 if (info_dirty(&dqopt->info[dquot->dq_id.type])) { in dquot_acquire() 420 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire() [all …]
|
D | kqid.c | 14 if (left.type != right.type) in qid_eq() 16 switch(left.type) { in qid_eq() 38 if (left.type < right.type) in qid_lt() 40 if (left.type > right.type) in qid_lt() 42 switch (left.type) { in qid_lt() 69 switch (kqid.type) { in from_kqid() 102 switch (kqid.type) { in from_kqid_munged() 121 switch (qid.type) { in qid_valid()
|
D | quota_v2.c | 58 static int v2_read_header(struct super_block *sb, int type, in v2_read_header() argument 63 size = sb->s_op->quota_read(sb, type, (char *)dqhead, in v2_read_header() 74 static int v2_check_quota_file(struct super_block *sb, int type) in v2_check_quota_file() argument 80 if (!v2_read_header(sb, type, &dqhead)) in v2_check_quota_file() 82 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file() 83 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) in v2_check_quota_file() 89 static int v2_read_file_info(struct super_block *sb, int type) in v2_read_file_info() argument 93 struct mem_dqinfo *info = sb_dqinfo(sb, type); in v2_read_file_info() 98 if (!v2_read_header(sb, type, &dqhead)) in v2_read_file_info() 105 size = sb->s_op->quota_read(sb, type, (char *)&dinfo, in v2_read_file_info() [all …]
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore.h | 16 #define UNCORE_PCI_DEV_DATA(type, idx) ((type << 8) | idx) argument 80 struct intel_uncore_type *type; member 151 return box->pmu->type->box_ctl; in uncore_pci_box_ctl() 156 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_ctl() 161 return box->pmu->type->fixed_ctr; in uncore_pci_fixed_ctr() 167 return idx * 4 + box->pmu->type->event_ctl; in uncore_pci_event_ctl() 173 return idx * 8 + box->pmu->type->perf_ctr; in uncore_pci_perf_ctr() 179 return pmu->type->msr_offsets ? in uncore_msr_box_offset() 180 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset() 181 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset() [all …]
|
D | perf_event_intel_uncore.c | 305 static struct intel_uncore_box *uncore_alloc_box(struct intel_uncore_type *type, int node) in uncore_alloc_box() argument 310 size = sizeof(*box) + type->num_shared_regs * sizeof(struct intel_uncore_extra_reg); in uncore_alloc_box() 316 for (i = 0; i < type->num_shared_regs; i++) in uncore_alloc_box() 349 max_count = box->pmu->type->num_counters; in uncore_collect_events() 350 if (box->pmu->type->fixed_ctl) in uncore_collect_events() 383 struct intel_uncore_type *type = box->pmu->type; in uncore_get_event_constraint() local 386 if (type->ops->get_constraint) { in uncore_get_event_constraint() 387 c = type->ops->get_constraint(box, event); in uncore_get_event_constraint() 395 if (type->constraints) { in uncore_get_event_constraint() 396 for_each_event_constraint(c, type->constraints) { in uncore_get_event_constraint() [all …]
|
/linux-4.4.14/kernel/bpf/ |
D | inode.c | 30 static void *bpf_any_get(void *raw, enum bpf_type type) in bpf_any_get() argument 32 switch (type) { in bpf_any_get() 47 static void bpf_any_put(void *raw, enum bpf_type type) in bpf_any_put() argument 49 switch (type) { in bpf_any_put() 62 static void *bpf_fd_probe_obj(u32 ufd, enum bpf_type *type) in bpf_fd_probe_obj() argument 66 *type = BPF_TYPE_MAP; in bpf_fd_probe_obj() 69 *type = BPF_TYPE_PROG; in bpf_fd_probe_obj() 109 static int bpf_inode_type(const struct inode *inode, enum bpf_type *type) in bpf_inode_type() argument 111 *type = BPF_TYPE_UNSPEC; in bpf_inode_type() 113 *type = BPF_TYPE_PROG; in bpf_inode_type() [all …]
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-streams.c | 255 static void cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() argument 257 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init() 264 s->type = type; in cx18_stream_init() 265 s->name = cx18_stream_info[type].name; in cx18_stream_init() 268 s->dma = cx18_stream_info[type].dma; in cx18_stream_init() 269 s->v4l2_dev_caps = cx18_stream_info[type].caps; in cx18_stream_init() 270 s->buffers = cx->stream_buffers[type]; in cx18_stream_init() 271 s->buf_size = cx->stream_buf_size[type]; in cx18_stream_init() 294 if (type == CX18_ENC_STREAM_TYPE_YUV) { in cx18_stream_init() 312 static int cx18_prep_dev(struct cx18 *cx, int type) in cx18_prep_dev() argument [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 38 node->offset, node->length, node->type); in nvkm_mm_dump() 43 node->offset, node->length, node->type); in nvkm_mm_dump() 56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 62 if (next && next->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 65 if (this->type == NVKM_MM_TYPE_NONE) in nvkm_mm_free() 71 if (this && this->type != NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 78 this->type = NVKM_MM_TYPE_NONE; in nvkm_mm_free() 100 b->type = a->type; in region_head() 104 if (b->type == NVKM_MM_TYPE_NONE) in region_head() 111 nvkm_mm_head(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_head() argument [all …]
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
D | em28xx-cards.c | 573 .type = EM28XX_VMUX_COMPOSITE1, 586 .type = EM28XX_VMUX_COMPOSITE1, 590 .type = EM28XX_VMUX_SVIDEO, 608 .type = EM28XX_VMUX_COMPOSITE1, 619 .type = EM28XX_VMUX_COMPOSITE1, 623 .type = EM28XX_VMUX_SVIDEO, 634 .type = EM28XX_VMUX_TELEVISION, 638 .type = EM28XX_VMUX_COMPOSITE1, 642 .type = EM28XX_VMUX_SVIDEO, 654 .type = EM28XX_VMUX_TELEVISION, [all …]
|
/linux-4.4.14/security/apparmor/ |
D | audit.c | 117 audit_log_string(ab, aa_audit_type[sa->aad->type]); in audit_pre() 153 void aa_audit_msg(int type, struct common_audit_data *sa, in aa_audit_msg() argument 156 sa->aad->type = type; in aa_audit_msg() 172 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp, in aa_audit() argument 178 if (type == AUDIT_APPARMOR_AUTO) { in aa_audit() 182 type = AUDIT_APPARMOR_AUDIT; in aa_audit() 184 type = AUDIT_APPARMOR_ALLOWED; in aa_audit() 186 type = AUDIT_APPARMOR_DENIED; in aa_audit() 189 (type == AUDIT_APPARMOR_DENIED && in aa_audit() 193 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED) in aa_audit() [all …]
|
/linux-4.4.14/tools/lib/traceevent/ |
D | event-parse.c | 94 enum pevent_func_arg_type type; member 783 static int event_item_type(enum event_type type) in event_item_type() argument 785 switch (type) { in event_item_type() 814 switch (arg->type) { in free_arg() 840 free(arg->typecast.type); in free_arg() 948 enum event_type type; in __read_token() local 957 type = get_type(ch); in __read_token() 958 if (type == EVENT_NONE) in __read_token() 959 return type; in __read_token() 963 switch (type) { in __read_token() [all …]
|
D | parse-filter.c | 75 enum event_type type; in read_token() local 80 type = pevent_read_token(&token); in read_token() 81 } while (type == EVENT_NEWLINE || type == EVENT_SPACE); in read_token() 101 return type; in read_token() 202 switch (arg->type) { in free_arg() 224 if (arg->value.type == FILTER_STRING || in free_arg() 225 arg->value.type == FILTER_CHAR) in free_arg() 349 enum event_type type, struct filter_arg **parg, char *error_str) in create_arg_item() argument 360 switch (type) { in create_arg_item() 364 arg->type = FILTER_ARG_VALUE; in create_arg_item() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | genops.c | 94 struct obd_type *type; in class_search_type() local 98 type = list_entry(tmp, struct obd_type, typ_chain); in class_search_type() 99 if (strcmp(type->typ_name, name) == 0) { in class_search_type() 101 return type; in class_search_type() 110 struct obd_type *type = class_search_type(name); in class_get_type() local 112 if (!type) { in class_get_type() 126 type = class_search_type(name); in class_get_type() 132 if (type) { in class_get_type() 133 spin_lock(&type->obd_type_lock); in class_get_type() 134 type->typ_refcnt++; in class_get_type() [all …]
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-streams.c | 161 static void ivtv_stream_init(struct ivtv *itv, int type) in ivtv_stream_init() argument 163 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init() 170 s->type = type; in ivtv_stream_init() 171 s->name = ivtv_stream_info[type].name; in ivtv_stream_init() 172 s->caps = ivtv_stream_info[type].v4l2_caps; in ivtv_stream_init() 174 if (ivtv_stream_info[type].pio) in ivtv_stream_init() 177 s->dma = ivtv_stream_info[type].dma; in ivtv_stream_init() 178 s->buf_size = itv->stream_buf_size[type]; in ivtv_stream_init() 180 s->buffers = (itv->options.kilobytes[type] * 1024 + s->buf_size - 1) / s->buf_size; in ivtv_stream_init() 191 static int ivtv_prep_dev(struct ivtv *itv, int type) in ivtv_prep_dev() argument [all …]
|
D | ivtv-fileops.c | 44 int ivtv_claim_stream(struct ivtv_open_id *id, int type) in ivtv_claim_stream() argument 47 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream() 57 if (s->fh == NULL && (type == IVTV_DEC_STREAM_TYPE_VBI || in ivtv_claim_stream() 58 type == IVTV_ENC_STREAM_TYPE_VBI)) { in ivtv_claim_stream() 67 IVTV_DEBUG_INFO("Stream %d is busy\n", type); in ivtv_claim_stream() 71 if (type == IVTV_DEC_STREAM_TYPE_VBI) { in ivtv_claim_stream() 80 if (type == IVTV_DEC_STREAM_TYPE_MPG) { in ivtv_claim_stream() 82 } else if (type == IVTV_ENC_STREAM_TYPE_MPG && in ivtv_claim_stream() 109 if ((s->type == IVTV_DEC_STREAM_TYPE_VBI || s->type == IVTV_ENC_STREAM_TYPE_VBI) && in ivtv_release_stream() 122 if (s->type == IVTV_DEC_STREAM_TYPE_VBI) in ivtv_release_stream() [all …]
|
D | ivtv-routing.c | 66 u32 type; in ivtv_video_set_io() local 71 type = itv->card->video_inputs[inp].video_type; in ivtv_video_set_io() 73 if (type == IVTV_CARD_INPUT_VID_TUNER) { in ivtv_video_set_io() 75 } else if (type < IVTV_CARD_INPUT_COMPOSITE1) { in ivtv_video_set_io() 86 if (type == IVTV_CARD_INPUT_VID_TUNER || in ivtv_video_set_io() 87 type >= IVTV_CARD_INPUT_COMPOSITE1) { in ivtv_video_set_io() 102 if (type > IVTV_CARD_INPUT_VID_TUNER && in ivtv_video_set_io() 103 type < IVTV_CARD_INPUT_COMPOSITE1) { in ivtv_video_set_io() 111 if (type == IVTV_CARD_INPUT_VID_TUNER || in ivtv_video_set_io() 112 itv->card->type == IVTV_CARD_CX23416GYC) { in ivtv_video_set_io()
|
/linux-4.4.14/scripts/dtc/ |
D | dtc-parser.y | 72 %type <data> propdata 73 %type <data> propdataprefix 74 %type <re> memreserve 75 %type <re> memreserves 76 %type <array> arrayprefix 77 %type <data> bytestring 78 %type <prop> propdef 79 %type <proplist> proplist 81 %type <node> devicetree 82 %type <node> nodedef [all …]
|
/linux-4.4.14/drivers/mmc/core/ |
D | bus.c | 36 switch (card->type) { in type_show() 49 static DEVICE_ATTR_RO(type); 71 const char *type; in mmc_bus_uevent() local 74 switch (card->type) { in mmc_bus_uevent() 76 type = "MMC"; in mmc_bus_uevent() 79 type = "SD"; in mmc_bus_uevent() 82 type = "SDIO"; in mmc_bus_uevent() 85 type = "SDcombo"; in mmc_bus_uevent() 88 type = NULL; in mmc_bus_uevent() 91 if (type) { in mmc_bus_uevent() [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-phy-db.c | 116 __le16 type; member 131 __le16 type; member 157 enum iwl_phy_db_section_type type, in iwl_phy_db_get_section() argument 160 if (!phy_db || type >= IWL_PHY_DB_MAX) in iwl_phy_db_get_section() 163 switch (type) { in iwl_phy_db_get_section() 183 enum iwl_phy_db_section_type type, in iwl_phy_db_free_section() argument 187 iwl_phy_db_get_section(phy_db, type, chg_id); in iwl_phy_db_free_section() 219 enum iwl_phy_db_section_type type = le16_to_cpu(phy_db_notif->type); in iwl_phy_db_set_section() local 227 if (type == IWL_PHY_DB_CALIB_CHG_PAPD || in iwl_phy_db_set_section() 228 type == IWL_PHY_DB_CALIB_CHG_TXP) in iwl_phy_db_set_section() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | parse-events.y | 51 %type <num> PE_VALUE 52 %type <num> PE_VALUE_SYM_HW 53 %type <num> PE_VALUE_SYM_SW 54 %type <num> PE_RAW 55 %type <num> PE_TERM 56 %type <str> PE_NAME 57 %type <str> PE_BPF_OBJECT 58 %type <str> PE_BPF_SOURCE 59 %type <str> PE_NAME_CACHE_TYPE 60 %type <str> PE_NAME_CACHE_OP_RESULT [all …]
|
D | parse-options.h | 93 enum parse_opt_type type; member 107 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + … argument 109 #define OPT_END() { .type = OPTION_END } 110 #define OPT_ARGUMENT(l, h) { .type = OPTION_ARGUMENT, .long_name = (l), .help = (h) } 111 #define OPT_GROUP(h) { .type = OPTION_GROUP, .help = (h) } 112 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… 113 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … 114 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name… 116 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \ 119 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… [all …]
|
D | data-convert-bt.c | 83 static int value_set(struct bt_ctf_field_type *type, in value_set() argument 88 bool sign = bt_ctf_field_type_integer_get_signed(type); in value_set() 91 field = bt_ctf_field_create(type); in value_set() 130 struct bt_ctf_field_type *type = cw->data._name; \ 131 return value_set(type, event, name, (u64) val); \ 212 struct bt_ctf_field_type *type; in add_tracepoint_field_value() local 242 type = bt_ctf_event_class_get_field_by_name( in add_tracepoint_field_value() 244 array_field = bt_ctf_field_create(type); in add_tracepoint_field_value() 245 bt_ctf_field_type_put(type); in add_tracepoint_field_value() 258 type = get_tracepoint_field_type(cw, fmtf); in add_tracepoint_field_value() [all …]
|
/linux-4.4.14/arch/mips/fw/arc/ |
D | memory.c | 66 static inline int memtype_classify_arcs(union linux_memtypes type) in memtype_classify_arcs() argument 68 switch (type.arcs) { in memtype_classify_arcs() 86 static inline int memtype_classify_arc(union linux_memtypes type) in memtype_classify_arc() argument 88 switch (type.arc) { in memtype_classify_arc() 106 static int __init prom_memtype_classify(union linux_memtypes type) in prom_memtype_classify() argument 109 return memtype_classify_arcs(type); in prom_memtype_classify() 111 return memtype_classify_arc(type); in prom_memtype_classify() 125 i, p, p->base, p->pages, mtypes(p->type)); in prom_meminit() 134 long type; in prom_meminit() local 138 type = prom_memtype_classify(p->type); in prom_meminit() [all …]
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | sriov.c | 18 if (efx->type->sriov_set_vf_mac) in efx_sriov_set_vf_mac() 19 return efx->type->sriov_set_vf_mac(efx, vf_i, mac); in efx_sriov_set_vf_mac() 29 if (efx->type->sriov_set_vf_vlan) { in efx_sriov_set_vf_vlan() 34 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); in efx_sriov_set_vf_vlan() 45 if (efx->type->sriov_set_vf_spoofchk) in efx_sriov_set_vf_spoofchk() 46 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); in efx_sriov_set_vf_spoofchk() 56 if (efx->type->sriov_get_vf_config) in efx_sriov_get_vf_config() 57 return efx->type->sriov_get_vf_config(efx, vf_i, ivi); in efx_sriov_get_vf_config() 67 if (efx->type->sriov_set_vf_link_state) in efx_sriov_set_vf_link_state() 68 return efx->type->sriov_set_vf_link_state(efx, vf_i, in efx_sriov_set_vf_link_state() [all …]
|
D | mcdi_mon.c | 108 unsigned int type, state, value; in efx_mcdi_sensor_event() local 112 type = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_MONITOR); in efx_mcdi_sensor_event() 118 if (type < ARRAY_SIZE(efx_mcdi_sensor_type)) { in efx_mcdi_sensor_event() 119 name = efx_mcdi_sensor_type[type].label; in efx_mcdi_sensor_event() 120 hwmon_type = efx_mcdi_sensor_type[type].hwmon_type; in efx_mcdi_sensor_event() 133 type, name, state_txt, value, unit); in efx_mcdi_sensor_event() 141 unsigned int type; member 278 efx_mcdi_sensor_type[mon_attr->type].label); in efx_mcdi_mon_show_label() 285 unsigned int index, unsigned int type, in efx_mcdi_mon_add_attr() argument 293 attr->type = type; in efx_mcdi_mon_add_attr() [all …]
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_conntrack_proto_icmpv6.c | 48 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple() 77 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple() local 78 if (type < 0 || type >= sizeof(invmap) || !invmap[type]) in icmpv6_invert_tuple() 82 tuple->dst.u.icmp.type = invmap[type] - 1; in icmpv6_invert_tuple() 92 tuple->dst.u.icmp.type, in icmpv6_print_tuple() 127 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; in icmpv6_new() local 129 if (type < 0 || type >= sizeof(valid_new) || !valid_new[type]) { in icmpv6_new() 132 type + 128); in icmpv6_new() 138 type + 128); in icmpv6_new() 204 int type; in icmpv6_error() local [all …]
|
/linux-4.4.14/drivers/acpi/ |
D | processor_core.c | 111 static phys_cpuid_t map_madt_entry(int type, u32 acpi_id) in map_madt_entry() argument 130 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { in map_madt_entry() 133 } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) { in map_madt_entry() 134 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) in map_madt_entry() 136 } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) { in map_madt_entry() 137 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) in map_madt_entry() 139 } else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) { in map_madt_entry() 140 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) in map_madt_entry() 148 static phys_cpuid_t map_mat_entry(acpi_handle handle, int type, u32 acpi_id) in map_mat_entry() argument 162 if (obj->type != ACPI_TYPE_BUFFER || in map_mat_entry() [all …]
|
D | glue.c | 37 int register_acpi_bus_type(struct acpi_bus_type *type) in register_acpi_bus_type() argument 41 if (type && type->match && type->find_companion) { in register_acpi_bus_type() 43 list_add_tail(&type->list, &bus_type_list); in register_acpi_bus_type() 45 printk(KERN_INFO PREFIX "bus type %s registered\n", type->name); in register_acpi_bus_type() 52 int unregister_acpi_bus_type(struct acpi_bus_type *type) in unregister_acpi_bus_type() argument 56 if (type) { in unregister_acpi_bus_type() 58 list_del_init(&type->list); in unregister_acpi_bus_type() 61 type->name); in unregister_acpi_bus_type() 296 struct acpi_bus_type *type = acpi_get_bus_type(dev); in acpi_platform_notify() local 301 if (ret && type) { in acpi_platform_notify() [all …]
|
D | property.c | 24 acpi_object_type type, 58 dn->fwnode.type = FWNODE_ACPI_DATA; in acpi_nondev_subnode_ok() 111 && link->package.elements[0].type == ACPI_TYPE_STRING in acpi_add_nondev_subnodes() 112 && link->package.elements[1].type == ACPI_TYPE_STRING in acpi_add_nondev_subnodes() 137 if (uuid->type != ACPI_TYPE_BUFFER || uuid->buffer.length != 16 in acpi_enumerate_nondev_subnodes() 138 || links->type != ACPI_TYPE_PACKAGE) in acpi_enumerate_nondev_subnodes() 158 switch (value->type) { in acpi_property_value_ok() 166 switch (value->package.elements[j].type) { in acpi_property_value_ok() 194 || property->package.elements[0].type != ACPI_TYPE_STRING in acpi_properties_format_valid() 244 if (uuid->type != ACPI_TYPE_BUFFER || uuid->buffer.length != 16 in acpi_extract_properties() [all …]
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | declance.c | 228 #define shift_off(off, type) \ argument 229 (type == ASIC_LANCE || type == PMAX_LANCE ? off << 1 : off) 231 #define lib_off(rt, type) \ argument 232 shift_off(offsetof(struct lance_init_block, rt), type) 234 #define lib_ptr(ib, rt, type) \ argument 235 ((volatile u16 *)((u8 *)(ib) + lib_off(rt, type))) 237 #define rds_off(rt, type) \ argument 238 shift_off(offsetof(struct lance_rx_desc, rt), type) 240 #define rds_ptr(rd, rt, type) \ argument 241 ((volatile u16 *)((u8 *)(rd) + rds_off(rt, type))) [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_enc.c | 42 .type = MFC_FMT_RAW, 50 .type = MFC_FMT_RAW, 58 .type = MFC_FMT_RAW, 67 .type = MFC_FMT_RAW, 75 .type = MFC_FMT_ENC, 84 .type = MFC_FMT_ENC, 93 .type = MFC_FMT_ENC, 102 .type = MFC_FMT_ENC, 115 formats[i].type == t) in find_format() 124 .type = V4L2_CTRL_TYPE_INTEGER, [all …]
|
D | s5p_mfc_dec.c | 39 .type = MFC_FMT_RAW, 47 .type = MFC_FMT_RAW, 55 .type = MFC_FMT_RAW, 63 .type = MFC_FMT_RAW, 71 .type = MFC_FMT_DEC, 80 .type = MFC_FMT_DEC, 88 .type = MFC_FMT_DEC, 97 .type = MFC_FMT_DEC, 106 .type = MFC_FMT_DEC, 115 .type = MFC_FMT_DEC, [all …]
|
/linux-4.4.14/drivers/media/common/siano/ |
D | sms-cards.c | 27 .type = SMS_UNKNOWN_TYPE, 32 .type = SMS_STELLAR, 37 .type = SMS_NOVA_A0, 42 .type = SMS_NOVA_B0, 47 .type = SMS_VEGA, 52 .type = SMS_STELLAR, 58 .type = SMS_NOVA_A0, 64 .type = SMS_NOVA_B0, 70 .type = SMS_NOVA_B0, 85 .type = SMS_NOVA_B0, [all …]
|
/linux-4.4.14/drivers/firmware/ |
D | memmap.c | 42 const char *type; /* type of the memory range */ member 57 firmware_map_find_entry(u64 start, u64 end, const char *type); 70 static struct memmap_attribute memmap_type_attr = __ATTR_RO(type); 151 const char *type, in firmware_map_add_entry() argument 158 entry->type = type; in firmware_map_add_entry() 227 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, in firmware_map_find_entry_in_list() argument 234 (!strcmp(entry->type, type))) { in firmware_map_find_entry_in_list() 254 firmware_map_find_entry(u64 start, u64 end, const char *type) in firmware_map_find_entry() argument 256 return firmware_map_find_entry_in_list(start, end, type, &map_entries); in firmware_map_find_entry() 271 firmware_map_find_entry_bootmem(u64 start, u64 end, const char *type) in firmware_map_find_entry_bootmem() argument [all …]
|
/linux-4.4.14/fs/ocfs2/dlm/ |
D | dlmconvert.c | 61 int type, int *call_ast, 65 struct dlm_lock *lock, int flags, int type); 78 struct dlm_lock *lock, int flags, int type) in dlmconvert_master() argument 89 status = __dlmconvert_master(dlm, res, lock, flags, type, in dlmconvert_master() 122 int type, int *call_ast, in __dlmconvert_master() argument 131 lock->ml.type, lock->ml.convert_type, type); in __dlmconvert_master() 152 switch (lock->ml.type) { in __dlmconvert_master() 156 dlm_lock_mode_name(lock->ml.type), in __dlmconvert_master() 157 dlm_lock_mode_name(type)); in __dlmconvert_master() 163 if (type > LKM_NLMODE) { in __dlmconvert_master() [all …]
|
/linux-4.4.14/sound/core/seq/ |
D | seq_midi_event.c | 132 dev->type = ST_INVALID; in snd_midi_event_new() 153 dev->type = ST_INVALID; in reset_encode() 222 ev->type = SNDRV_SEQ_EVENT_NONE; in snd_midi_event_encode() 252 ev->type = status_event[ST_SPECIAL + c - 0xf0].event; in snd_midi_event_encode_byte() 255 return ev->type != SNDRV_SEQ_EVENT_NONE; in snd_midi_event_encode_byte() 260 (c != MIDI_CMD_COMMON_SYSEX_END || dev->type != ST_SYSEX)) { in snd_midi_event_encode_byte() 264 dev->type = (c & 0x0f) + ST_SPECIAL; in snd_midi_event_encode_byte() 266 dev->type = (c >> 4) & 0x07; in snd_midi_event_encode_byte() 268 dev->qlen = status_event[dev->type].qlen; in snd_midi_event_encode_byte() 273 if (dev->type != ST_SYSEX) in snd_midi_event_encode_byte() [all …]
|
/linux-4.4.14/net/sctp/ |
D | sm_statefuns.c | 83 const sctp_subtype_t type, 89 const sctp_subtype_t type, 95 const sctp_subtype_t type, 119 const sctp_subtype_t type, 127 const sctp_subtype_t type, 135 const sctp_subtype_t type, 143 const sctp_subtype_t type, 150 const sctp_subtype_t type, 156 const sctp_subtype_t type, 220 const sctp_subtype_t type, in sctp_sf_do_4_C() argument [all …]
|
/linux-4.4.14/arch/arm/mach-gemini/ |
D | mm.c | 25 .type = MT_DEVICE, 30 .type = MT_DEVICE, 35 .type = MT_DEVICE, 40 .type = MT_DEVICE, 45 .type = MT_DEVICE, 50 .type = MT_DEVICE, 55 .type = MT_DEVICE, 60 .type = MT_DEVICE, 65 .type = MT_DEVICE, 70 .type = MT_DEVICE, [all …]
|
/linux-4.4.14/net/core/ |
D | lwtunnel.c | 105 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || in lwtunnel_fill_encap() 106 lwtstate->type > LWTUNNEL_ENCAP_MAX) in lwtunnel_fill_encap() 112 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_fill_encap() 120 ret = nla_put_u16(skb, RTA_ENCAP_TYPE, lwtstate->type); in lwtunnel_fill_encap() 141 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || in lwtunnel_get_encap_size() 142 lwtstate->type > LWTUNNEL_ENCAP_MAX) in lwtunnel_get_encap_size() 146 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_get_encap_size() 166 if (a->type != b->type) in lwtunnel_cmp_encap() 169 if (a->type == LWTUNNEL_ENCAP_NONE || in lwtunnel_cmp_encap() 170 a->type > LWTUNNEL_ENCAP_MAX) in lwtunnel_cmp_encap() [all …]
|
D | timestamping.c | 39 unsigned int type; in skb_clone_tx_timestamp() local 44 type = classify(skb); in skb_clone_tx_timestamp() 45 if (type == PTP_CLASS_NONE) in skb_clone_tx_timestamp() 53 phydev->drv->txtstamp(phydev, clone, type); in skb_clone_tx_timestamp() 61 unsigned int type; in skb_defer_rx_timestamp() local 71 type = ptp_classify_raw(skb); in skb_defer_rx_timestamp() 75 if (type == PTP_CLASS_NONE) in skb_defer_rx_timestamp() 80 return phydev->drv->rxtstamp(phydev, skb, type); in skb_defer_rx_timestamp()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | mach-pcm037_eet.c | 69 .type = EV_KEY, 75 .type = EV_KEY, 81 .type = EV_KEY, 87 .type = EV_KEY, 93 .type = EV_KEY, 99 .type = EV_KEY, 105 .type = EV_KEY, 111 .type = EV_KEY, 117 .type = EV_KEY, 123 .type = EV_KEY, [all …]
|
/linux-4.4.14/include/trace/events/ |
D | thermal.h | 18 __string(thermal_zone, tz->type) 25 __assign_str(thermal_zone, tz->type); 43 __string(type, cdev->type) 48 __assign_str(type, cdev->type); 52 TP_printk("type=%s target=%lu", __get_str(type), __entry->target) 63 __string(thermal_zone, tz->type) 70 __assign_str(thermal_zone, tz->type); 147 __string(type, cdev->type ) 155 __assign_str(type, cdev->type); 163 __get_str(type), __entry->freq, [all …]
|
D | 9p.h | 96 #define show_9p_op(type) \ argument 97 __print_symbolic(type, P9_MSG_T) 100 TP_PROTO(struct p9_client *clnt, int8_t type, int tag), 102 TP_ARGS(clnt, type, tag), 106 __field( __u8, type ) 112 __entry->type = type; 117 (long)__entry->clnt, show_9p_op(__entry->type), 122 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err), 124 TP_ARGS(clnt, type, tag, err), 128 __field( __u8, type ) [all …]
|
D | f2fs.h | 47 #define show_block_type(type) \ argument 48 __print_symbolic(type, \ 61 #define show_bio_type(type) show_bio_base(type), show_bio_extra(type) argument 63 #define show_bio_base(type) \ argument 64 __print_symbolic(F2FS_BIO_MASK(type), \ 74 #define show_bio_extra(type) \ argument 75 __print_symbolic(F2FS_BIO_EXTRA_MASK(type), \ 81 #define show_data_type(type) \ argument 82 __print_symbolic(type, \ 91 #define show_file_type(type) \ argument [all …]
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
D | xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) argument 40 #define SCTP_CHUNKMAP_SET(chunkmap, type) \ argument 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 46 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \ argument 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 52 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \ argument 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.c | 136 u32 type, pf_cids = 0; in qed_cxt_cdu_iids() local 138 for (type = 0; type < MAX_CONN_TYPES; type++) in qed_cxt_cdu_iids() 139 pf_cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_cdu_iids() 148 int type; in qed_cxt_qm_iids() local 150 for (type = 0; type < MAX_CONN_TYPES; type++) in qed_cxt_qm_iids() 151 iids->cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_qm_iids() 158 enum protocol_type type, in qed_cxt_set_proto_cid_count() argument 162 struct qed_conn_type_cfg *p_conn = &p_mgr->conn_cfg[type]; in qed_cxt_set_proto_cid_count() 398 u32 type; in qed_cid_map_free() local 400 for (type = 0; type < MAX_CONN_TYPES; type++) { in qed_cid_map_free() [all …]
|
/linux-4.4.14/net/irda/ |
D | parameters.c | 39 PV_TYPE type, PI_HANDLER func); 41 PV_TYPE type, PI_HANDLER func); 43 PV_TYPE type, PI_HANDLER func); 45 PV_TYPE type, PI_HANDLER func); 48 PV_TYPE type, PI_HANDLER func); 50 PV_TYPE type, PI_HANDLER func); 79 PV_TYPE type, PI_HANDLER func) in irda_insert_no_value() argument 106 PV_TYPE type, PI_HANDLER func) in irda_extract_no_value() argument 127 PV_TYPE type, PI_HANDLER func) in irda_insert_integer() argument 134 p.pl = type & PV_MASK; /* The integer type codes the length as well */ in irda_insert_integer() [all …]
|
/linux-4.4.14/net/netfilter/ |
D | xt_repldata.h | 16 #define xt_alloc_initial_table(type, typ2) ({ \ argument 21 struct type##_replace repl; \ 22 struct type##_standard entries[]; \ 24 struct type##_error *term; \ 30 term = (struct type##_error *)&(((char *)tbl)[term_offset]); \ 32 *term = (struct type##_error)typ2##_ERROR_INIT; \ 35 tbl->repl.size = nhooks * sizeof(struct type##_standard) + \ 36 sizeof(struct type##_error); \ 42 tbl->entries[i++] = (struct type##_standard) \ 44 bytes += sizeof(struct type##_standard); \
|
D | nft_log.c | 40 [NFTA_LOG_GROUP] = { .type = NLA_U16 }, 41 [NFTA_LOG_PREFIX] = { .type = NLA_STRING }, 42 [NFTA_LOG_SNAPLEN] = { .type = NLA_U32 }, 43 [NFTA_LOG_QTHRESHOLD] = { .type = NLA_U16 }, 44 [NFTA_LOG_LEVEL] = { .type = NLA_U32 }, 45 [NFTA_LOG_FLAGS] = { .type = NLA_U32 }, 67 li->type = NF_LOG_TYPE_LOG; in nft_log_init() 72 li->type = NF_LOG_TYPE_ULOG; in nft_log_init() 74 switch (li->type) { in nft_log_init() 101 ret = nf_logger_find_get(NFPROTO_IPV4, li->type); in nft_log_init() [all …]
|
D | nf_conntrack_extend.c | 124 static void update_alloc_size(struct nf_ct_ext_type *type) in update_alloc_size() argument 131 if ((type->flags & NF_CT_EXT_F_PREALLOC) == 0) { in update_alloc_size() 132 min = type->id; in update_alloc_size() 133 max = type->id; in update_alloc_size() 160 int nf_ct_extend_register(struct nf_ct_ext_type *type) in nf_ct_extend_register() argument 165 if (nf_ct_ext_types[type->id]) { in nf_ct_extend_register() 172 type->alloc_size = ALIGN(sizeof(struct nf_ct_ext), type->align) in nf_ct_extend_register() 173 + type->len; in nf_ct_extend_register() 174 rcu_assign_pointer(nf_ct_ext_types[type->id], type); in nf_ct_extend_register() 175 update_alloc_size(type); in nf_ct_extend_register() [all …]
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_hash_mac.c | 136 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 }, 137 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 }, 138 [IPSET_ATTR_PROBES] = { .type = NLA_U8 }, 139 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 }, 140 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, 141 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 }, 144 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY, 146 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, 147 [IPSET_ATTR_LINENO] = { .type = NLA_U32 }, 148 [IPSET_ATTR_BYTES] = { .type = NLA_U64 }, [all …]
|
D | ip_set_core.c | 86 struct ip_set_type *type; in find_set_type() local 88 list_for_each_entry_rcu(type, &ip_set_type_list, list) in find_set_type() 89 if (STRNCMP(type->name, name) && in find_set_type() 90 (type->family == family || in find_set_type() 91 type->family == NFPROTO_UNSPEC) && in find_set_type() 92 revision >= type->revision_min && in find_set_type() 93 revision <= type->revision_max) in find_set_type() 94 return type; in find_set_type() 121 struct ip_set_type *type; in __find_set_type_get() local 136 list_for_each_entry_rcu(type, &ip_set_type_list, list) in __find_set_type_get() [all …]
|
D | ip_set_hash_ipmark.c | 284 [IPSET_ATTR_MARKMASK] = { .type = NLA_U32 }, 285 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 }, 286 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 }, 287 [IPSET_ATTR_PROBES] = { .type = NLA_U8 }, 288 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 }, 289 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 }, 290 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 }, 293 [IPSET_ATTR_IP] = { .type = NLA_NESTED }, 294 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED }, 295 [IPSET_ATTR_MARK] = { .type = NLA_U32 }, [all …]
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | io.c | 76 .type = MT_DEVICE 82 .type = MT_DEVICE 92 .type = MT_DEVICE 98 .type = MT_DEVICE 104 .type = MT_DEVICE 116 .type = MT_DEVICE 122 .type = MT_DEVICE 128 .type = MT_DEVICE 134 .type = MT_DEVICE 146 .type = MT_DEVICE [all …]
|
/linux-4.4.14/arch/arm/mach-iop32x/ |
D | n2100.c | 64 .type = MT_DEVICE 209 .type = PCA9532_TYPE_LED, 213 .type = PCA9532_TYPE_LED, 217 .type = PCA9532_TYPE_LED, 219 { .type = PCA9532_TYPE_NONE }, 221 { .type = PCA9532_TYPE_NONE }, 222 { .type = PCA9532_TYPE_NONE }, 223 { .type = PCA9532_TYPE_NONE }, 226 .type = PCA9532_TYPE_LED, 229 { .type = PCA9532_TYPE_NONE }, /* power OFF gpio */ [all …]
|
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 40 mtrr_type type; member 71 mtrr_type type; in x86_get_mtrr_mem_range() local 75 type = range_state[i].type; in x86_get_mtrr_mem_range() 76 if (type != MTRR_TYPE_WRBACK) in x86_get_mtrr_mem_range() 92 type = range_state[i].type; in x86_get_mtrr_mem_range() 93 if (type != MTRR_TYPE_UNCACHABLE && in x86_get_mtrr_mem_range() 94 type != MTRR_TYPE_WRPROT) in x86_get_mtrr_mem_range() 177 unsigned char type, unsigned int address_bits) in set_var_mtrr() argument 192 base |= type; in set_var_mtrr() 206 unsigned char type) in save_var_mtrr() argument [all …]
|
D | cyrix.c | 14 unsigned long *size, mtrr_type * type) in cyrix_get_arr() argument 49 *type = MTRR_TYPE_UNCACHABLE; in cyrix_get_arr() 52 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr() 55 *type = MTRR_TYPE_WRCOMB; in cyrix_get_arr() 59 *type = MTRR_TYPE_WRTHROUGH; in cyrix_get_arr() 65 *type = MTRR_TYPE_UNCACHABLE; in cyrix_get_arr() 68 *type = MTRR_TYPE_WRCOMB; in cyrix_get_arr() 71 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr() 75 *type = MTRR_TYPE_WRTHROUGH; in cyrix_get_arr() 178 unsigned long size, mtrr_type type) in cyrix_set_arr() argument [all …]
|
D | centaur.c | 58 unsigned long *size, mtrr_type * type) in centaur_get_mcr() argument 62 *type = MTRR_TYPE_WRCOMB; /* write-combining */ in centaur_get_mcr() 65 *type = MTRR_TYPE_UNCACHABLE; in centaur_get_mcr() 67 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr() 69 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr() 74 unsigned long size, mtrr_type type) in centaur_set_mcr() argument 87 if (type == MTRR_TYPE_UNCACHABLE) in centaur_set_mcr() 99 centaur_validate_add_page(unsigned long base, unsigned long size, unsigned int type) in centaur_validate_add_page() argument 104 if (type != MTRR_TYPE_WRCOMB && in centaur_validate_add_page() 105 (centaur_mcr_type == 0 || type != MTRR_TYPE_UNCACHABLE)) { in centaur_validate_add_page()
|
D | amd.c | 10 unsigned long *size, mtrr_type *type) in amd_get_mtrr() argument 20 *type = 0; in amd_get_mtrr() 22 *type = MTRR_TYPE_UNCACHABLE; in amd_get_mtrr() 24 *type = MTRR_TYPE_WRCOMB; in amd_get_mtrr() 59 amd_set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) in amd_set_mtrr() argument 83 | (base << PAGE_SHIFT) | (type + 1); in amd_set_mtrr() 95 amd_validate_add_page(unsigned long base, unsigned long size, unsigned int type) in amd_validate_add_page() argument 105 if (type > MTRR_TYPE_WRCOMB || size < (1 << (17 - PAGE_SHIFT)) in amd_validate_add_page()
|
D | if.c | 39 unsigned int type, bool increment, struct file *file, int page) in mtrr_file_add() argument 57 reg = mtrr_add_page(base, size, type, true); in mtrr_file_add() 169 mtrr_type type; in mtrr_ioctl() local 207 err |= get_user(sentry.type, &s32->type); in mtrr_ioctl() 220 err |= get_user(gentry.type, &g32->type); in mtrr_ioctl() 238 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl() 247 err = mtrr_add(sentry.base, sentry.size, sentry.type, false); in mtrr_ioctl() 271 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 276 gentry.base = gentry.size = gentry.type = 0; in mtrr_ioctl() 280 gentry.type = type; in mtrr_ioctl() [all …]
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-cards.c | 77 enum tm6000_devtype type; /* variant of the chipset */ member 101 .type = TM6000_INPUT_TV, 105 .type = TM6000_INPUT_COMPOSITE1, 109 .type = TM6000_INPUT_SVIDEO, 117 .type = TM5600, 128 .type = TM6000_INPUT_TV, 132 .type = TM6000_INPUT_COMPOSITE1, 136 .type = TM6000_INPUT_SVIDEO, 154 .type = TM6000_INPUT_TV, 158 .type = TM6000_INPUT_COMPOSITE1, [all …]
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
D | ioctl.h | 39 #define _IOC(dir,type,nr,size) \ argument 42 ((type) << _IOC_TYPESHIFT) | \ 47 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 48 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 49 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 50 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/linux-4.4.14/include/trace/ |
D | trace_events.h | 70 #define __field(type, item) type item; argument 73 #define __field_ext(type, item, filter_type) type item; argument 76 #define __field_struct(type, item) type item; argument 79 #define __field_struct_ext(type, item, filter_type) type item; argument 82 #define __array(type, item, len) type item[len]; argument 85 #define __dynamic_array(type, item, len) u32 __data_loc_##item; argument 156 #define __field(type, item) argument 159 #define __field_ext(type, item, filter_type) argument 162 #define __field_struct(type, item) argument 165 #define __field_struct_ext(type, item, filter_type) argument [all …]
|
/linux-4.4.14/net/802/ |
D | fddi.c | 53 unsigned short type, in fddi_header() argument 59 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP) in fddi_header() 63 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP) in fddi_header() 71 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header() 100 __be16 type; in fddi_type_trans() local 113 type = htons(ETH_P_802_2); in fddi_type_trans() 118 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans() 139 return type; in fddi_type_trans() 161 dev->type = ARPHRD_FDDI; in fddi_setup()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_transport.c | 48 const char *usnic_transport_to_str(enum usnic_transport_type type) in usnic_transport_to_str() argument 50 switch (type) { in usnic_transport_to_str() 86 u16 usnic_transport_rsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_rsrv_port() argument 88 if (type == USNIC_TRANSPORT_ROCE_CUSTOM) { in usnic_transport_rsrv_port() 99 usnic_transport_to_str(type)); in usnic_transport_rsrv_port() 107 usnic_transport_to_str(type)); in usnic_transport_rsrv_port() 112 usnic_transport_to_str(type)); in usnic_transport_rsrv_port() 119 void usnic_transport_unrsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_unrsrv_port() argument 121 if (type == USNIC_TRANSPORT_ROCE_CUSTOM) { in usnic_transport_unrsrv_port() 125 usnic_transport_to_str(type)); in usnic_transport_unrsrv_port() [all …]
|
D | usnic_ib_qp_grp.h | 91 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,}, 96 {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,}, 97 {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,}, 98 {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,}, 99 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,}, 104 {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,}, 105 {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,}, 106 {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,}, 107 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,}, 126 enum usnic_vnic_res_type type);
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_connector.c | 60 find_encoder(struct drm_connector *connector, int type) in find_encoder() argument 77 if (type == DCB_OUTPUT_ANY || in find_encoder() 78 (nv_encoder->dcb && nv_encoder->dcb->type == type)) in find_encoder() 127 if (nv_connector->type == DCB_CONNECTOR_eDP) { in nouveau_connector_ddc_detect() 145 if (nv_encoder->dcb->type == DCB_OUTPUT_DP) { in nouveau_connector_ddc_detect() 211 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS || in nouveau_connector_set_encoder() 212 nv_encoder->dcb->type == DCB_OUTPUT_TMDS) { in nouveau_connector_set_encoder() 227 if (nv_connector->type == DCB_CONNECTOR_DVI_I) { in nouveau_connector_set_encoder() 230 nv_encoder->dcb->type == DCB_OUTPUT_TMDS ? in nouveau_connector_set_encoder() 245 int type; in nouveau_connector_detect() local [all …]
|
/linux-4.4.14/security/ |
D | device_cgroup.c | 42 short type; member 105 if (walk->type != ex->type) in dev_exception_add() 133 if (walk->type != ex->type) in dev_exception_rm() 256 static char type_to_char(short type) in type_to_char() argument 258 if (type == DEV_ALL) in type_to_char() 260 if (type == DEV_CHAR) in type_to_char() 262 if (type == DEV_BLOCK) in type_to_char() 299 seq_printf(m, "%c %s:%s %s\n", type_to_char(ex->type), in devcgroup_seq_show() 321 static bool match_exception(struct list_head *exceptions, short type, in match_exception() argument 327 if ((type & DEV_BLOCK) && !(ex->type & DEV_BLOCK)) in match_exception() [all …]
|
/linux-4.4.14/arch/s390/hypfs/ |
D | hypfs_diag.c | 85 static inline int info_blk_hdr__size(enum diag204_format type) in info_blk_hdr__size() argument 87 if (type == INFO_SIMPLE) in info_blk_hdr__size() 93 static inline __u8 info_blk_hdr__npar(enum diag204_format type, void *hdr) in info_blk_hdr__npar() argument 95 if (type == INFO_SIMPLE) in info_blk_hdr__npar() 101 static inline __u8 info_blk_hdr__flags(enum diag204_format type, void *hdr) in info_blk_hdr__flags() argument 103 if (type == INFO_SIMPLE) in info_blk_hdr__flags() 109 static inline __u16 info_blk_hdr__pcpus(enum diag204_format type, void *hdr) in info_blk_hdr__pcpus() argument 111 if (type == INFO_SIMPLE) in info_blk_hdr__pcpus() 144 static inline int part_hdr__size(enum diag204_format type) in part_hdr__size() argument 146 if (type == INFO_SIMPLE) in part_hdr__size() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | emulated_ops.h | 63 extern void ppc_warn_emulated_print(const char *type); 65 #define __PPC_WARN_EMULATED(type) \ argument 67 atomic_inc(&ppc_emulated.type.val); \ 69 ppc_warn_emulated_print(ppc_emulated.type.name); \ 74 #define __PPC_WARN_EMULATED(type) do { } while (0) argument 78 #define PPC_WARN_EMULATED(type, regs) \ argument 82 __PPC_WARN_EMULATED(type); \ 85 #define PPC_WARN_ALIGNMENT(type, regs) \ argument 89 __PPC_WARN_EMULATED(type); \
|
/linux-4.4.14/drivers/usb/serial/ |
D | usb-serial.c | 139 if (serial->attached && serial->type->release) in destroy_serial() 140 serial->type->release(serial); in destroy_serial() 191 if (!try_module_get(serial->type->driver.owner)) in serial_install() 205 if (serial->type->init_termios) in serial_install() 206 serial->type->init_termios(tty); in serial_install() 215 module_put(serial->type->driver.owner); in serial_install() 233 retval = port->serial->type->open(tty, port); in serial_port_activate() 265 struct usb_serial_driver *drv = port->serial->type; in serial_port_shutdown() 315 owner = serial->type->driver.owner; in serial_cleanup() 337 retval = port->serial->type->write(tty, port, buf, count); in serial_write() [all …]
|
/linux-4.4.14/arch/sparc/include/uapi/asm/ |
D | ioctl.h | 38 #define _IOC(dir,type,nr,size) \ argument 40 ((type) << _IOC_TYPESHIFT) | \ 44 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 46 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
|
/linux-4.4.14/tools/perf/tests/ |
D | evsel-roundtrip-name.c | 10 int type, op, err = 0, ret = 0, i, idx; in perf_evsel__roundtrip_cache_name_test() local 17 for (type = 0; type < PERF_COUNT_HW_CACHE_MAX; type++) { in perf_evsel__roundtrip_cache_name_test() 20 if (!perf_evsel__is_cache_op_valid(type, op)) in perf_evsel__roundtrip_cache_name_test() 24 __perf_evsel__hw_cache_type_op_res_name(type, op, i, in perf_evsel__roundtrip_cache_name_test() 36 for (type = 0; type < PERF_COUNT_HW_CACHE_MAX; type++) { in perf_evsel__roundtrip_cache_name_test() 39 if (!perf_evsel__is_cache_op_valid(type, op)) in perf_evsel__roundtrip_cache_name_test() 43 __perf_evsel__hw_cache_type_op_res_name(type, op, i, in perf_evsel__roundtrip_cache_name_test()
|
D | sample-parsing.c | 27 u64 type, u64 read_format) in samples_same() argument 31 if (type & PERF_SAMPLE_IDENTIFIER) in samples_same() 34 if (type & PERF_SAMPLE_IP) in samples_same() 37 if (type & PERF_SAMPLE_TID) { in samples_same() 42 if (type & PERF_SAMPLE_TIME) in samples_same() 45 if (type & PERF_SAMPLE_ADDR) in samples_same() 48 if (type & PERF_SAMPLE_ID) in samples_same() 51 if (type & PERF_SAMPLE_STREAM_ID) in samples_same() 54 if (type & PERF_SAMPLE_CPU) in samples_same() 57 if (type & PERF_SAMPLE_PERIOD) in samples_same() [all …]
|
D | perf-record.c | 161 const u32 type = event->header.type; in test__PERF_RECORD() local 162 const char *name = perf_event__name(type); in test__PERF_RECORD() 165 if (type < PERF_RECORD_MAX) in test__PERF_RECORD() 166 nr_events[type]++; in test__PERF_RECORD() 207 if ((type == PERF_RECORD_COMM || in test__PERF_RECORD() 208 type == PERF_RECORD_MMAP || in test__PERF_RECORD() 209 type == PERF_RECORD_MMAP2 || in test__PERF_RECORD() 210 type == PERF_RECORD_FORK || in test__PERF_RECORD() 211 type == PERF_RECORD_EXIT) && in test__PERF_RECORD() 217 if ((type == PERF_RECORD_COMM || in test__PERF_RECORD() [all …]
|
/linux-4.4.14/arch/mips/lantiq/xway/ |
D | prom.c | 52 i->type = SOC_TYPE_DANUBE; in ltq_soc_detect() 58 i->type = SOC_TYPE_DANUBE; in ltq_soc_detect() 67 i->type = SOC_TYPE_AR9; in ltq_soc_detect() 74 i->type = SOC_TYPE_AR9; in ltq_soc_detect() 84 i->type = SOC_TYPE_AMAZON_SE; in ltq_soc_detect() 92 i->type = SOC_TYPE_VR9; in ltq_soc_detect() 99 i->type = SOC_TYPE_VR9; in ltq_soc_detect() 106 i->type = SOC_TYPE_VR9_2; in ltq_soc_detect() 112 i->type = SOC_TYPE_VRX220; in ltq_soc_detect() 119 i->type = SOC_TYPE_VR9_2; in ltq_soc_detect() [all …]
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_acorn.c | 31 unsigned int type; member 45 struct serial_card_type *type = id->data; in serial_card_probe() local 54 info->num_ports = type->num_ports; in serial_card_probe() 56 bus_addr = ecard_resource_start(ec, type->type); in serial_card_probe() 57 info->vaddr = ecardm_iomap(ec, type->type, 0, 0); in serial_card_probe() 68 uart.port.uartclk = type->uartclk; in serial_card_probe() 74 uart.port.membase = info->vaddr + type->offset[i]; in serial_card_probe() 75 uart.port.mapbase = bus_addr + type->offset[i]; in serial_card_probe() 100 .type = ECARD_RES_IOCSLOW, 107 .type = ECARD_RES_IOCSLOW,
|
/linux-4.4.14/arch/avr32/kernel/ |
D | syscall-stubs.S | 18 .type __sys_rt_sigsuspend,@function 24 .type __sys_rt_sigreturn,@function 30 .type __sys_mmap2,@function 39 .type __sys_sendto,@function 48 .type __sys_recvfrom,@function 57 .type __sys_pselect6,@function 66 .type __sys_splice,@function 75 .type __sys_epoll_pwait,@function 84 .type __sys_sync_file_range,@function 93 .type __sys_fallocate,@function [all …]
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | timing.c | 55 static void add_exit_timing(struct kvm_vcpu *vcpu, u64 duration, int type) in add_exit_timing() argument 61 vcpu->arch.timing_count_type[type]++; in add_exit_timing() 64 old = vcpu->arch.timing_sum_duration[type]; in add_exit_timing() 65 vcpu->arch.timing_sum_duration[type] += duration; in add_exit_timing() 66 if (unlikely(old > vcpu->arch.timing_sum_duration[type])) { in add_exit_timing() 69 __func__, old, vcpu->arch.timing_sum_duration[type], in add_exit_timing() 70 type, vcpu->arch.timing_count_type[type]); in add_exit_timing() 74 old = vcpu->arch.timing_sum_quad_duration[type]; in add_exit_timing() 75 vcpu->arch.timing_sum_quad_duration[type] += (duration*duration); in add_exit_timing() 76 if (unlikely(old > vcpu->arch.timing_sum_quad_duration[type])) { in add_exit_timing() [all …]
|
D | timing.h | 32 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) in kvmppc_set_exit_type() argument 34 vcpu->arch.last_exit_type = type; in kvmppc_set_exit_type() 44 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {} in kvmppc_set_exit_type() argument 48 static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit_stat() argument 56 switch (type) { in kvmppc_account_exit_stat() 103 static inline void kvmppc_account_exit(struct kvm_vcpu *vcpu, int type) in kvmppc_account_exit() argument 105 kvmppc_set_exit_type(vcpu, type); in kvmppc_account_exit() 106 kvmppc_account_exit_stat(vcpu, type); in kvmppc_account_exit()
|
/linux-4.4.14/fs/cachefiles/ |
D | xattr.c | 32 char type[3], xtype[3]; in cachefiles_check_object_type() local 39 strcpy(type, "C3"); in cachefiles_check_object_type() 41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type() 43 _enter("%p{%s}", object, type); in cachefiles_check_object_type() 46 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, type, 2, in cachefiles_check_object_type() 76 if (xtype[0] != type[0] || xtype[1] != type[1]) in cachefiles_check_object_type() 95 xtype, type); in cachefiles_check_object_type() 117 &auxdata->type, auxdata->len, in cachefiles_set_object_xattr() 145 &auxdata->type, auxdata->len, in cachefiles_update_object_xattr() 176 &auxbuf->type, 512 + 1); in cachefiles_check_auxdata() [all …]
|
D | key.c | 37 char *cachefiles_cook_key(const u8 *raw, int keylen, uint8_t type) in cachefiles_cook_key() argument 114 switch (type) { in cachefiles_cook_key() 115 case FSCACHE_COOKIE_TYPE_INDEX: type = 'I'; break; in cachefiles_cook_key() 116 case FSCACHE_COOKIE_TYPE_DATAFILE: type = 'D'; break; in cachefiles_cook_key() 117 default: type = 'S'; break; in cachefiles_cook_key() 146 switch (type) { in cachefiles_cook_key() 147 case FSCACHE_COOKIE_TYPE_INDEX: type = 'J'; break; in cachefiles_cook_key() 148 case FSCACHE_COOKIE_TYPE_DATAFILE: type = 'E'; break; in cachefiles_cook_key() 149 default: type = 'T'; break; in cachefiles_cook_key() 153 key[mark] = type; in cachefiles_cook_key()
|
/linux-4.4.14/sound/core/ |
D | sound.c | 109 void *snd_lookup_minor_data(unsigned int minor, int type) in snd_lookup_minor_data() argument 118 if (mreg && mreg->type == type) { in snd_lookup_minor_data() 189 static int snd_find_free_minor(int type, struct snd_card *card, int dev) in snd_find_free_minor() argument 194 if (type == SNDRV_DEVICE_TYPE_SEQUENCER) in snd_find_free_minor() 196 if (type == SNDRV_DEVICE_TYPE_TIMER) in snd_find_free_minor() 212 static int snd_find_free_minor(int type, struct snd_card *card, int dev) in snd_find_free_minor() argument 216 switch (type) { in snd_find_free_minor() 219 minor = type; in snd_find_free_minor() 224 minor = SNDRV_MINOR(card->number, type); in snd_find_free_minor() 233 minor = SNDRV_MINOR(card->number, type + dev); in snd_find_free_minor() [all …]
|
D | control_compat.c | 67 s32 type; member 126 copy_to_user(&data32->type, &data->type, 3 * sizeof(u32))) in snd_ctl_elem_info_compat() 130 switch (data->type) { in snd_ctl_elem_info_compat() 210 err = info->type; in get_ctl_type() 217 static int get_elem_size(int type, int count) in get_elem_size() argument 219 switch (type) { in get_elem_size() 240 int i, type, size; in copy_ctl_value_from_user() local 250 type = get_ctl_type(card, &data->id, &count); in copy_ctl_value_from_user() 251 if (type < 0) in copy_ctl_value_from_user() 252 return type; in copy_ctl_value_from_user() [all …]
|
D | sound_oss.c | 40 void *snd_lookup_oss_minor_data(unsigned int minor, int type) in snd_lookup_oss_minor_data() argument 49 if (mreg && mreg->type == type) { in snd_lookup_oss_minor_data() 61 static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev) in snd_oss_kernel_minor() argument 65 switch (type) { in snd_oss_kernel_minor() 101 int snd_register_oss_device(int type, struct snd_card *card, int dev, in snd_register_oss_device() argument 104 int minor = snd_oss_kernel_minor(type, card, dev); in snd_register_oss_device() 119 preg->type = type; in snd_register_oss_device() 165 int snd_unregister_oss_device(int type, struct snd_card *card, int dev) in snd_unregister_oss_device() argument 167 int minor = snd_oss_kernel_minor(type, card, dev); in snd_unregister_oss_device() 211 static const char *snd_oss_device_type_name(int type) in snd_oss_device_type_name() argument [all …]
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_seq_pdu_list.c | 71 u8 type) in iscsit_ordered_seq_lists() argument 76 if (cmd->seq_list[i].type != SEQTYPE_NORMAL) in iscsit_ordered_seq_lists() 84 u8 type) in iscsit_ordered_pdu_lists() argument 131 u8 type) in iscsit_randomize_pdu_lists() argument 181 u8 type) in iscsit_randomize_seq_lists() argument 186 if ((type == PDULIST_IMMEDIATE) || (type == PDULIST_UNSOLICITED)) in iscsit_randomize_seq_lists() 188 else if (type == PDULIST_IMMEDIATE_AND_UNSOLICITED) in iscsit_randomize_seq_lists() 202 if (cmd->seq_list[i].type != SEQTYPE_NORMAL) in iscsit_randomize_seq_lists() 228 if ((bl->type == PDULIST_IMMEDIATE) || in iscsit_determine_counts_for_list() 229 (bl->type == PDULIST_IMMEDIATE_AND_UNSOLICITED)) in iscsit_determine_counts_for_list() [all …]
|
/linux-4.4.14/kernel/events/ |
D | hw_breakpoint.c | 64 static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type) in get_bp_info() argument 66 return per_cpu_ptr(bp_cpuinfo + type, cpu); in get_bp_info() 100 static unsigned int max_task_bp_pinned(int cpu, enum bp_type_idx type) in max_task_bp_pinned() argument 102 unsigned int *tsk_pinned = get_bp_info(cpu, type)->tsk_pinned; in max_task_bp_pinned() 105 for (i = nr_slots[type] - 1; i >= 0; i--) { in max_task_bp_pinned() 117 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned() argument 125 find_slot_idx(iter) == type && in task_bp_pinned() 146 enum bp_type_idx type) in fetch_bp_busy_slots() argument 152 struct bp_cpuinfo *info = get_bp_info(cpu, type); in fetch_bp_busy_slots() 157 nr += max_task_bp_pinned(cpu, type); in fetch_bp_busy_slots() [all …]
|
/linux-4.4.14/sound/pci/ctxfi/ |
D | ctmixer.c | 223 ct_mixer_recording_select(struct ct_mixer *mixer, enum CT_AMIXER_CTL type); 226 ct_mixer_recording_unselect(struct ct_mixer *mixer, enum CT_AMIXER_CTL type); 271 get_switch_state(struct ct_mixer *mixer, enum CTALSA_MIXER_CTL type) in get_switch_state() argument 273 return (mixer->switch_state & (0x1 << (type - SWH_MIXER_START))) in get_switch_state() 279 enum CTALSA_MIXER_CTL type, unsigned char state) in set_switch_state() argument 282 mixer->switch_state |= (0x1 << (type - SWH_MIXER_START)); in set_switch_state() 284 mixer->switch_state &= ~(0x1 << (type - SWH_MIXER_START)); in set_switch_state() 337 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in ct_alsa_mix_volume_info() 349 enum CT_AMIXER_CTL type = get_amixer_index(kcontrol->private_value); in ct_alsa_mix_volume_get() local 355 amixers[type*CHN_NUM+i]; in ct_alsa_mix_volume_get() [all …]
|
D | ctresource.c | 113 return (rsc->conj << 4) + offset_in_audio_slot_block[rsc->type]; in audio_ring_slot() 138 rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, struct hw *hw) in rsc_init() argument 144 rsc->type = type; in rsc_init() 153 switch (type) { in rsc_init() 166 "Invalid resource type value %d!\n", type); in rsc_init() 182 switch (rsc->type) { in rsc_uninit() 195 rsc->type); in rsc_uninit() 203 rsc->type = NUM_RSCTYP; in rsc_uninit() 209 int rsc_mgr_init(struct rsc_mgr *mgr, enum RSCTYP type, in rsc_mgr_init() argument 214 mgr->type = NUM_RSCTYP; in rsc_mgr_init() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | hw_breakpoint.c | 47 int hw_breakpoint_slots(int type) in hw_breakpoint_slots() argument 49 if (type == TYPE_DATA) in hw_breakpoint_slots() 127 int arch_bp_generic_fields(int type, int *gen_bp_type) in arch_bp_generic_fields() argument 130 if (type & HW_BRK_TYPE_READ) in arch_bp_generic_fields() 132 if (type & HW_BRK_TYPE_WRITE) in arch_bp_generic_fields() 150 info->type = HW_BRK_TYPE_TRANSLATE; in arch_validate_hwbkpt_settings() 152 info->type |= HW_BRK_TYPE_READ; in arch_validate_hwbkpt_settings() 154 info->type |= HW_BRK_TYPE_WRITE; in arch_validate_hwbkpt_settings() 155 if (info->type == HW_BRK_TYPE_TRANSLATE) in arch_validate_hwbkpt_settings() 159 info->type |= HW_BRK_TYPE_USER; in arch_validate_hwbkpt_settings() [all …]
|
/linux-4.4.14/kernel/ |
D | pid.c | 300 enum pid_type type; in alloc_pid() local 331 for (type = 0; type < PIDTYPE_MAX; ++type) in alloc_pid() 332 INIT_HLIST_HEAD(&pid->tasks[type]); in alloc_pid() 389 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() argument 391 struct pid_link *link = &task->pids[type]; in attach_pid() 392 hlist_add_head_rcu(&link->node, &link->pid->tasks[type]); in attach_pid() 395 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid() argument 402 link = &task->pids[type]; in __change_pid() 415 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid() argument 417 __change_pid(task, type, NULL); in detach_pid() [all …]
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
D | prominfo_proc.c | 58 unsigned char type; member 78 static const char *fit_type_name(unsigned char type) in fit_type_name() argument 82 for (mapp = fit_entry_types; mapp->type != 0xff; mapp++) in fit_type_name() 83 if (type == mapp->type) in fit_type_name() 86 if ((type > FIT_ENTRY_PAL_A) && (type < FIT_ENTRY_UNUSED)) in fit_type_name() 88 if ((type > FIT_ENTRY_PAL_B) && (type < FIT_ENTRY_PAL_A)) in fit_type_name() 107 unsigned type; in dump_fit_entry() local 109 type = FIT_TYPE(fentry[1]); in dump_fit_entry() 111 type, in dump_fit_entry() 112 fit_type_name(type), in dump_fit_entry()
|
/linux-4.4.14/lib/ |
D | kobject.c | 34 if (!ns_ops || ns_ops->type == KOBJ_NS_TYPE_NONE) in kobject_namespace() 93 BUG_ON(ops->type <= KOBJ_NS_TYPE_NONE); in create_dir() 94 BUG_ON(ops->type >= KOBJ_NS_TYPES); in create_dir() 95 BUG_ON(!kobj_ns_type_registered(ops->type)); in create_dir() 961 enum kobj_ns_type type = ops->type; in kobj_ns_type_register() local 967 if (type >= KOBJ_NS_TYPES) in kobj_ns_type_register() 971 if (type <= KOBJ_NS_TYPE_NONE) in kobj_ns_type_register() 975 if (kobj_ns_ops_tbl[type]) in kobj_ns_type_register() 979 kobj_ns_ops_tbl[type] = ops; in kobj_ns_type_register() 986 int kobj_ns_type_registered(enum kobj_ns_type type) in kobj_ns_type_registered() argument [all …]
|
/linux-4.4.14/arch/m68k/coldfire/ |
D | intc-525x.c | 24 u32 type = irqd_get_trigger_type(d); in intc2_irq_gpio_mask() local 27 if (type & IRQ_TYPE_EDGE_RISING) in intc2_irq_gpio_mask() 29 if (type & IRQ_TYPE_EDGE_FALLING) in intc2_irq_gpio_mask() 37 u32 type = irqd_get_trigger_type(d); in intc2_irq_gpio_unmask() local 40 if (type & IRQ_TYPE_EDGE_RISING) in intc2_irq_gpio_unmask() 42 if (type & IRQ_TYPE_EDGE_FALLING) in intc2_irq_gpio_unmask() 50 u32 type = irqd_get_trigger_type(d); in intc2_irq_gpio_ack() local 53 if (type & IRQ_TYPE_EDGE_RISING) in intc2_irq_gpio_ack() 55 if (type & IRQ_TYPE_EDGE_FALLING) in intc2_irq_gpio_ack()
|
/linux-4.4.14/drivers/net/wireless/zd1211rw/ |
D | zd_rf.c | 47 const char *zd_rf_name(u8 type) in zd_rf_name() argument 49 if (type & 0xf0) in zd_rf_name() 50 type = 0; in zd_rf_name() 51 return rfs[type]; in zd_rf_name() 70 int zd_rf_init_hw(struct zd_rf *rf, u8 type) in zd_rf_init_hw() argument 77 switch (type) { in zd_rf_init_hw() 94 "RF %s %#x is not supported\n", zd_rf_name(type), type); in zd_rf_init_hw() 95 rf->type = 0; in zd_rf_init_hw() 102 rf->type = type; in zd_rf_init_hw() 116 return scnprintf(buffer, size, "%s", zd_rf_name(rf->type)); in zd_rf_scnprint_id()
|
/linux-4.4.14/drivers/platform/chrome/ |
D | chromeos_laptop.c | 70 int (*add)(enum i2c_adapter_type type); 71 enum i2c_adapter_type type; member 229 static int find_i2c_adapter_num(enum i2c_adapter_type type) in find_i2c_adapter_num() argument 236 lookup.name = i2c_adapter_names[type]; in find_i2c_adapter_num() 237 lookup.instance = (type == I2C_ADAPTER_DESIGNWARE_1) ? 1 : 0; in find_i2c_adapter_num() 261 enum i2c_adapter_type type, in add_probed_i2c_device() argument 266 find_i2c_adapter_num(type), in add_probed_i2c_device() 277 enum i2c_adapter_type type, in add_i2c_device() argument 281 find_i2c_adapter_num(type), in add_i2c_device() 286 static int setup_cyapa_tp(enum i2c_adapter_type type) in setup_cyapa_tp() argument [all …]
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | queue.h | 107 #define SLIST_HEAD(name, type) \ argument 109 struct type *slh_first; /* first element */ \ 115 #define SLIST_ENTRY(type) \ argument 117 struct type *sle_next; /* next element */ \ 148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 153 struct type *curelm = SLIST_FIRST((head)); \ 168 #define STAILQ_HEAD(name, type) \ argument 170 struct type *stqh_first;/* first element */ \ 171 struct type **stqh_last;/* addr of last next element */ \ 177 #define STAILQ_ENTRY(type) \ argument [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | vio.c | 25 const char *type, *compat; in vio_match_device() local 28 type = dev->type; in vio_match_device() 32 while (matches->type[0] || matches->compat[0]) { in vio_match_device() 34 if (matches->type[0]) in vio_match_device() 35 match &= !strcmp(matches->type, type); in vio_match_device() 93 if (!strcmp(vdev->type, "vnet-port")) in devspec_show() 95 else if (!strcmp(vdev->type, "vdc-port")) in devspec_show() 105 return sprintf(buf, "%s\n", vdev->type); in type_show() 110 __ATTR_RO(type), 206 const char *type, *compat, *bus_id_name; in vio_create_one() local [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | insn.c | 275 static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type, in aarch64_get_imm_shift_mask() argument 281 switch (type) { in aarch64_get_imm_shift_mask() 336 u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn) in aarch64_insn_decode_immediate() argument 341 switch (type) { in aarch64_insn_decode_immediate() 350 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_decode_immediate() 352 type); in aarch64_insn_decode_immediate() 360 u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type, in aarch64_insn_encode_immediate() argument 366 switch (type) { in aarch64_insn_encode_immediate() 377 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_encode_immediate() 379 type); in aarch64_insn_encode_immediate() [all …]
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_conntrack_proto_icmp.c | 42 tuple->dst.u.icmp.type = hp->type; in icmp_pkt_to_tuple() 64 if (orig->dst.u.icmp.type >= sizeof(invmap) || in icmp_invert_tuple() 65 !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple() 69 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple() 79 tuple->dst.u.icmp.type, in icmp_print_tuple() 117 if (ct->tuplehash[0].tuple.dst.u.icmp.type >= sizeof(valid_new) || in icmp_new() 118 !valid_new[ct->tuplehash[0].tuple.dst.u.icmp.type]) { in icmp_new() 121 ct->tuplehash[0].tuple.dst.u.icmp.type); in icmp_new() 213 if (icmph->type > NR_ICMP_TYPES) { in icmp_error() 221 if (icmph->type != ICMP_DEST_UNREACH && in icmp_error() [all …]
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 68 const char *intel_pt_pkt_name(enum intel_pt_pkt_type type) in intel_pt_pkt_name() argument 70 return packet_name[type]; in intel_pt_pkt_name() 90 packet->type = INTEL_PT_TNT; in intel_pt_get_long_tnt() 104 packet->type = INTEL_PT_PIP; in intel_pt_get_pip() 115 packet->type = INTEL_PT_TRACESTOP; in intel_pt_get_tracestop() 124 packet->type = INTEL_PT_CBR; in intel_pt_get_cbr() 140 packet->type = INTEL_PT_VMCS; in intel_pt_get_vmcs() 149 packet->type = INTEL_PT_OVF; in intel_pt_get_ovf() 166 packet->type = INTEL_PT_PSB; in intel_pt_get_psb() 172 packet->type = INTEL_PT_PSBEND; in intel_pt_get_psbend() [all …]
|
/linux-4.4.14/security/keys/ |
D | key.c | 224 struct key *key_alloc(struct key_type *type, const char *desc, in key_alloc() argument 237 if (type->vet_description) { in key_alloc() 238 ret = type->vet_description(desc); in key_alloc() 246 quotalen = desclen + 1 + type->def_datalen; in key_alloc() 286 lockdep_set_class(&key->sem, &type->lock_class); in key_alloc() 287 key->index_key.type = type; in key_alloc() 290 key->datalen = type->def_datalen; in key_alloc() 421 ret = key->type->instantiate(key, prep); in __key_instantiate_and_link() 484 prep.quotalen = key->type->def_datalen; in key_instantiate_and_link() 486 if (key->type->preparse) { in key_instantiate_and_link() [all …]
|
/linux-4.4.14/arch/arm64/net/ |
D | bpf_jit.h | 34 #define A64_COMP_BRANCH(sf, Rt, offset, type) \ argument 36 AARCH64_INSN_BRANCH_COMP_##type) 52 #define A64_BRANCH(offset, type) aarch64_insn_gen_branch_imm(0, offset, \ argument 53 AARCH64_INSN_BRANCH_##type) 62 #define A64_LS_REG(Rt, Rn, Rm, size, type) \ argument 65 AARCH64_INSN_LDST_##type##_REG_OFFSET) 76 #define A64_LS_PAIR(Rt, Rt2, Rn, offset, ls, type) \ argument 79 AARCH64_INSN_LDST_##ls##_PAIR_##type) 86 #define A64_ADDSUB_IMM(sf, Rd, Rn, imm12, type) \ argument 88 A64_VARIANT(sf), AARCH64_INSN_ADSB_##type) [all …]
|
/linux-4.4.14/scripts/ |
D | kernel-doc | 314 my ($type, $declaration_name, $return_type); 647 $type = $args{'parametertypes'}{$parameter}; 648 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) { 651 } elsif ($type =~ m/^(.*?)\s*(:.*)/) { 655 print " <i>$type</i> <b>$parameter</b>;<br>\n"; 690 $type = $args{'parametertypes'}{$parameter}; 691 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) { 695 print "<i>" . $type . "</i> <b>" . $parameter . "</b>"; 845 $type = $args{'parametertypes'}{$parameter}; 846 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) { [all …]
|
D | namespace.pl | 221 my ($source, $type, $name); 265 ($type, $name) = (split(/ +/, $_, 3))[1..2]; 288 if ($type !~ /^[ABCDGRSTUWVabdgrstwv?]$/) { 295 $type = 'R' if ($type eq '?'); # binutils replaced ? with R at one point 297 $type = 'R' if ($name =~ /^__ksymtab/ || $name =~ /^__kstrtab/); 299 if ($type =~ /[ABCDGRSTWV]/ && 322 push(@nmdata, "$type $name"); 392 my ($type, $name) = split(' ', $nmdata->[$i], 2); 393 if ($type eq "U" || $type eq "w") { 396 $nmdata->[$i] = "$type $name $object"; [all …]
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
D | cx23885-cards.c | 59 .type = CX23885_VMUX_COMPOSITE1, 62 .type = CX23885_VMUX_COMPOSITE2, 65 .type = CX23885_VMUX_COMPOSITE3, 68 .type = CX23885_VMUX_COMPOSITE4, 76 .type = CX23885_VMUX_TELEVISION, 80 .type = CX23885_VMUX_DEBUG, 84 .type = CX23885_VMUX_COMPOSITE1, 88 .type = CX23885_VMUX_SVIDEO, 102 .type = CX23885_VMUX_TELEVISION, 109 .type = CX23885_VMUX_COMPOSITE1, [all …]
|
/linux-4.4.14/sound/pci/ice1712/ |
D | wm8776.c | 149 .type = SNDRV_CTL_ELEM_TYPE_INTEGER, 160 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 169 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 175 .type = SNDRV_CTL_ELEM_TYPE_INTEGER, 187 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 194 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 203 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 209 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 215 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, 221 .type = SNDRV_CTL_ELEM_TYPE_BOOLEAN, [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/ |
D | mpic.txt | 9 additional cells in the interrupt specifier defining interrupt type 16 Value type: <string> 24 Value type: <prop-encoded-array> 31 Value type: <empty> 37 Value type: <u32> 39 specifiers do not contain the interrupt-type or type-specific 44 Value type: <u32> 49 Value type: <empty> 62 Value type: <empty> 69 Value type: <empty> [all …]
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-parport-light.c | 85 line_set(state, &adapter_parm[type].setscl); in parport_setscl() 90 line_set(state, &adapter_parm[type].setsda); in parport_setsda() 95 return line_get(&adapter_parm[type].getscl); in parport_getscl() 100 return line_get(&adapter_parm[type].getsda); in parport_getsda() 142 if (adapter_parm[type].init.val) { in i2c_parport_probe() 143 line_set(1, &adapter_parm[type].init); in i2c_parport_probe() 156 if (adapter_parm[type].smbus_alert && irq) { in i2c_parport_probe() 178 if (adapter_parm[type].init.val) in i2c_parport_remove() 179 line_set(0, &adapter_parm[type].init); in i2c_parport_remove() 222 if (type < 0) { in i2c_parport_init() [all …]
|
/linux-4.4.14/arch/mips/mm/ |
D | highmem.c | 48 int idx, type; in kmap_atomic() local 55 type = kmap_atomic_idx_push(); in kmap_atomic() 56 idx = type + KM_TYPE_NR*smp_processor_id(); in kmap_atomic() 71 int type __maybe_unused; in __kunmap_atomic() 79 type = kmap_atomic_idx(); in __kunmap_atomic() 82 int idx = type + KM_TYPE_NR * smp_processor_id(); in __kunmap_atomic() 107 int idx, type; in kmap_atomic_pfn() local 112 type = kmap_atomic_idx_push(); in kmap_atomic_pfn() 113 idx = type + KM_TYPE_NR*smp_processor_id(); in kmap_atomic_pfn()
|
/linux-4.4.14/arch/metag/mm/ |
D | highmem.c | 44 int type; in kmap_atomic() local 51 type = kmap_atomic_idx_push(); in kmap_atomic() 52 idx = type + KM_TYPE_NR * smp_processor_id(); in kmap_atomic() 66 int idx, type; in __kunmap_atomic() local 69 type = kmap_atomic_idx(); in __kunmap_atomic() 70 idx = type + KM_TYPE_NR * smp_processor_id(); in __kunmap_atomic() 97 int type; in kmap_atomic_pfn() local 102 type = kmap_atomic_idx_push(); in kmap_atomic_pfn() 103 idx = type + KM_TYPE_NR * smp_processor_id(); in kmap_atomic_pfn()
|
/linux-4.4.14/net/llc/ |
D | llc_input.c | 42 void llc_add_pack(int type, void (*handler)(struct llc_sap *sap, in llc_add_pack() argument 46 if (type == LLC_DEST_SAP || type == LLC_DEST_CONN) in llc_add_pack() 47 llc_type_handlers[type - 1] = handler; in llc_add_pack() 50 void llc_remove_pack(int type) in llc_remove_pack() argument 52 if (type == LLC_DEST_SAP || type == LLC_DEST_CONN) in llc_remove_pack() 53 llc_type_handlers[type - 1] = NULL; in llc_remove_pack() 77 int type = LLC_DEST_CONN; /* I-PDU or S-PDU type */ in llc_pdu_type() local 86 type = LLC_DEST_SAP; in llc_pdu_type() 95 type = LLC_DEST_INVALID; in llc_pdu_type() 99 return type; in llc_pdu_type()
|
D | llc_s_ev.c | 27 return ev->type == LLC_SAP_EV_TYPE_SIMPLE && in llc_sap_ev_activation_req() 36 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && in llc_sap_ev_rx_ui() 45 return ev->type == LLC_SAP_EV_TYPE_PRIM && in llc_sap_ev_unitdata_req() 55 return ev->type == LLC_SAP_EV_TYPE_PRIM && in llc_sap_ev_xid_req() 65 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && in llc_sap_ev_rx_xid_c() 75 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && in llc_sap_ev_rx_xid_r() 84 return ev->type == LLC_SAP_EV_TYPE_PRIM && in llc_sap_ev_test_req() 94 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && in llc_sap_ev_rx_test_c() 104 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && in llc_sap_ev_rx_test_r() 113 return ev->type == LLC_SAP_EV_TYPE_SIMPLE && in llc_sap_ev_deactivation_req()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | io.h | 66 #define __BUILD_UNCACHED_IO(bwlq, type) \ argument 67 static inline type read##bwlq##_uncached(unsigned long addr) \ 69 type ret; \ 76 static inline void write##bwlq##_uncached(type v, unsigned long addr) \ 88 #define __BUILD_MEMORY_STRING(pfx, bwlq, type) \ argument 94 const volatile type *__addr = addr; \ 105 volatile type *__addr = addr; \ 157 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ argument 159 static inline void pfx##out##bwlq##p(type val, unsigned long port) \ 161 volatile type *__addr; \ [all …]
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 94 struct qlcnic_dcb_param type[3]; member 165 struct qlcnic_dcb_cee type[QLC_DCB_NUM_PARAM]; member 425 char *buf, u8 type) in qlcnic_82xx_dcb_query_cee_param() argument 438 switch (type) { in qlcnic_82xx_dcb_query_cee_param() 444 dev_err(dev, "Invalid parameter type %d\n", type); in qlcnic_82xx_dcb_query_cee_param() 459 cmd.req.arg[1] = size | (type << 16); in qlcnic_82xx_dcb_query_cee_param() 502 err = qlcnic_dcb_query_cee_param(dcb, (char *)&mbx->type[0], in qlcnic_82xx_dcb_get_cee_cfg() 507 err = qlcnic_dcb_query_cee_param(dcb, (char *)&mbx->type[1], in qlcnic_82xx_dcb_get_cee_cfg() 512 err = qlcnic_dcb_query_cee_param(dcb, (char *)&mbx->type[2], in qlcnic_82xx_dcb_get_cee_cfg() 598 each = &mbx_out.type[j]; in qlcnic_83xx_dcb_query_cee_param() [all …]
|
/linux-4.4.14/net/dcb/ |
D | dcbnl.c | 56 [DCB_ATTR_IFNAME] = {.type = NLA_NUL_STRING, .len = IFNAMSIZ - 1}, 57 [DCB_ATTR_STATE] = {.type = NLA_U8}, 58 [DCB_ATTR_PFC_CFG] = {.type = NLA_NESTED}, 59 [DCB_ATTR_PG_CFG] = {.type = NLA_NESTED}, 60 [DCB_ATTR_SET_ALL] = {.type = NLA_U8}, 61 [DCB_ATTR_PERM_HWADDR] = {.type = NLA_FLAG}, 62 [DCB_ATTR_CAP] = {.type = NLA_NESTED}, 63 [DCB_ATTR_PFC_STATE] = {.type = NLA_U8}, 64 [DCB_ATTR_BCN] = {.type = NLA_NESTED}, 65 [DCB_ATTR_APP] = {.type = NLA_NESTED}, [all …]
|
/linux-4.4.14/drivers/staging/iio/ |
D | iio_simple_dummy.c | 66 .type = IIO_EV_TYPE_THRESH, 75 .type = IIO_EV_TYPE_CHANGE, 85 .type = IIO_EV_TYPE_THRESH, 95 .type = IIO_EV_TYPE_THRESH, 110 .type = IIO_VOLTAGE, 154 .type = IIO_VOLTAGE, 189 .type = IIO_VOLTAGE, 210 .type = IIO_ACCEL, 239 .type = IIO_VOLTAGE, 247 .type = IIO_STEPS, [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | jump_label.c | 22 enum jump_label_type type; member 59 enum jump_label_type type, in __jump_label_transform() argument 64 if (type == JUMP_LABEL_JMP) { in __jump_label_transform() 85 __jump_label_transform(args->entry, args->type, 0); in __sm_arch_jump_label_transform() 90 enum jump_label_type type) in arch_jump_label_transform() argument 95 args.type = type; in arch_jump_label_transform() 101 enum jump_label_type type) in arch_jump_label_transform_static() argument 103 __jump_label_transform(entry, type, 1); in arch_jump_label_transform_static()
|
/linux-4.4.14/drivers/gpu/drm/amd/include/ |
D | cgs_linux.h | 39 unsigned src_id, unsigned type, 86 typedef int (*cgs_irq_get_t)(void *cgs_device, unsigned src_id, unsigned type); 101 typedef int (*cgs_irq_put_t)(void *cgs_device, unsigned src_id, unsigned type); 113 #define cgs_irq_get(dev,src_id,type) \ argument 114 CGS_OS_CALL(irq_get,dev,src_id,type) 115 #define cgs_irq_put(dev,src_id,type) \ argument 116 CGS_OS_CALL(irq_put,dev,src_id,type)
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | vpdma.c | 33 .type = VPDMA_DATA_FMT_TYPE_YUV, 38 .type = VPDMA_DATA_FMT_TYPE_YUV, 43 .type = VPDMA_DATA_FMT_TYPE_YUV, 48 .type = VPDMA_DATA_FMT_TYPE_YUV, 53 .type = VPDMA_DATA_FMT_TYPE_YUV, 58 .type = VPDMA_DATA_FMT_TYPE_YUV, 63 .type = VPDMA_DATA_FMT_TYPE_YUV, 68 .type = VPDMA_DATA_FMT_TYPE_YUV, 73 .type = VPDMA_DATA_FMT_TYPE_YUV, 81 .type = VPDMA_DATA_FMT_TYPE_RGB, [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | unaligned.c | 111 #define _LoadHW(addr, value, res, type) \ argument 114 "1:\t"type##_lb("%0", "0(%2)")"\n" \ 115 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\ 134 #define _LoadW(addr, value, res, type) \ argument 137 "1:\t"type##_lwl("%0", "(%2)")"\n" \ 138 "2:\t"type##_lwr("%0", "3(%2)")"\n\t"\ 156 #define _LoadW(addr, value, res, type) \ argument 161 "1:"type##_lb("%0", "0(%2)")"\n\t" \ 162 "2:"type##_lbu("$1", "1(%2)")"\n\t" \ 165 "3:"type##_lbu("$1", "2(%2)")"\n\t" \ [all …]
|
/linux-4.4.14/arch/s390/kvm/ |
D | trace-s390.h | 23 TP_PROTO(unsigned long type), 24 TP_ARGS(type), 27 __field(unsigned long, type) 31 __entry->type = type; 35 __entry->type & KVM_VM_S390_UCONTROL ? " (UCONTROL)" : "") 125 TP_PROTO(__u64 type, __u32 parm, __u64 parm64, int who), 126 TP_ARGS(type, parm, parm64, who), 136 __entry->inttype = type & 0x00000000ffffffff; 150 TP_PROTO(unsigned int id, __u64 type, __u32 parm, __u64 parm64), 151 TP_ARGS(id, type, parm, parm64), [all …]
|
/linux-4.4.14/drivers/staging/iio/cdc/ |
D | ad7150.c | 127 const struct iio_chan_spec *chan, enum iio_event_type type, in ad7150_read_event_config() argument 142 switch (type) { in ad7150_read_event_config() 163 unsigned int chan, enum iio_event_type type, in ad7150_write_event_params() argument 173 event_code = IIO_UNMOD_EVENT_CODE(IIO_CAPACITANCE, chan, type, dir); in ad7150_write_event_params() 178 switch (type) { in ad7150_write_event_params() 212 const struct iio_chan_spec *chan, enum iio_event_type type, in ad7150_write_event_config() argument 225 event_code = IIO_UNMOD_EVENT_CODE(chan->type, chan->channel, type, dir); in ad7150_write_event_config() 235 switch (type) { in ad7150_write_event_config() 271 ret = ad7150_write_event_params(indio_dev, chan->channel, type, dir); in ad7150_write_event_config() 280 enum iio_event_type type, in ad7150_read_event_value() argument [all …]
|
/linux-4.4.14/arch/tile/kernel/ |
D | hvglue_trace.c | 148 #define HV_WRAP0(type, name) \ argument 149 type name(void); \ 150 type name(void) \ 172 #define HV_WRAPx(x, type, name, ...) \ argument 173 type name(__HV_DECL##x(__VA_ARGS__)); \ 174 type name(__HV_DECL##x(__VA_ARGS__)) \ 178 #define HV_WRAP1(type, name, ...) HV_WRAPx(1, type, name, __VA_ARGS__) argument 179 #define HV_WRAP2(type, name, ...) HV_WRAPx(2, type, name, __VA_ARGS__) argument 180 #define HV_WRAP3(type, name, ...) HV_WRAPx(3, type, name, __VA_ARGS__) argument 181 #define HV_WRAP4(type, name, ...) HV_WRAPx(4, type, name, __VA_ARGS__) argument [all …]
|
/linux-4.4.14/arch/frv/mm/ |
D | highmem.c | 38 int type; in kmap_atomic() local 42 type = kmap_atomic_idx_push(); in kmap_atomic() 45 switch (type) { in kmap_atomic() 56 return __kmap_atomic_secondary(type - 5, paddr); in kmap_atomic() 67 int type = kmap_atomic_idx(); in __kunmap_atomic() local 68 switch (type) { in __kunmap_atomic() 76 __kunmap_atomic_secondary(type - 5, kvaddr); in __kunmap_atomic()
|
/linux-4.4.14/net/mac802154/ |
D | mib.c | 37 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_set_page_channel() 54 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_get_params() 70 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_set_params() 86 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_key() 101 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_del_key() 116 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_dev() 130 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_del_dev() 146 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_devkey() 162 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_del_devkey() 177 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_seclevel() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-crypto.c | 40 const struct cfs_crypto_hash_type **type, in cfs_crypto_hash_alloc() argument 46 *type = cfs_crypto_hash_type(alg_id); in cfs_crypto_hash_alloc() 48 if (*type == NULL) { in cfs_crypto_hash_alloc() 53 desc->tfm = crypto_alloc_hash((*type)->cht_name, 0, 0); in cfs_crypto_hash_alloc() 60 (*type)->cht_name); in cfs_crypto_hash_alloc() 74 else if ((*type)->cht_key != 0) in cfs_crypto_hash_alloc() 76 (unsigned char *)&((*type)->cht_key), in cfs_crypto_hash_alloc() 77 (*type)->cht_size); in cfs_crypto_hash_alloc() 100 const struct cfs_crypto_hash_type *type; in cfs_crypto_hash_digest() local 105 err = cfs_crypto_hash_alloc(alg_id, &type, &hdesc, key, key_len); in cfs_crypto_hash_digest() [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | e820.c | 56 e820_any_mapped(u64 start, u64 end, unsigned type) in e820_any_mapped() argument 63 if (type && ei->type != type) in e820_any_mapped() 79 int __init e820_all_mapped(u64 start, u64 end, unsigned type) in e820_all_mapped() argument 86 if (type && ei->type != type) in e820_all_mapped() 111 int type) in __e820_add_region() argument 124 e820x->map[x].type = type; in __e820_add_region() 128 void __init e820_add_region(u64 start, u64 size, int type) in e820_add_region() argument 130 __e820_add_region(&e820, start, size, type); in e820_add_region() 133 static void __init e820_print_type(u32 type) in e820_print_type() argument 135 switch (type) { in e820_print_type() [all …]
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_realtek.c | 436 static void alc_auto_init_amp(struct hda_codec *codec, int type) in alc_auto_init_amp() argument 440 switch (type) { in alc_auto_init_amp() 1092 .type = HDA_FIXUP_VERBS, 1096 .type = HDA_FIXUP_VERBS, 1100 .type = HDA_FIXUP_VERBS, 1110 .type = HDA_FIXUP_PINS, 1120 .type = HDA_FIXUP_PINS, 1128 .type = HDA_FIXUP_PINS, 1138 .type = HDA_FIXUP_VERBS, 1147 .type = HDA_FIXUP_VERBS, [all …]
|
/linux-4.4.14/arch/x86/include/asm/ |
D | desc.h | 18 desc->type = (info->read_exec_only ^ 1) << 1; in fill_ldt() 19 desc->type |= info->contents << 2; in fill_ldt() 55 static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, in pack_gate() argument 65 gate->type = type; in pack_gate() 71 static inline void pack_gate(gate_desc *gate, unsigned char type, in pack_gate() argument 76 gate->b = (base & 0xffff0000) | (((0x80 | type | (dpl << 5)) & 0xff) << 8); in pack_gate() 105 #define write_gdt_entry(dt, entry, desc, type) native_write_gdt_entry(dt, entry, desc, type) argument 130 native_write_gdt_entry(struct desc_struct *gdt, int entry, const void *desc, int type) in native_write_gdt_entry() argument 134 switch (type) { in native_write_gdt_entry() 144 unsigned long limit, unsigned char type, in pack_descriptor() argument [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_hmc.h | 122 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ argument 128 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 143 #define I40E_CLEAR_PF_SD_ENTRY(hw, sd_index, type) \ argument 148 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \ 179 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ argument 182 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \ 183 (hmc_info)->hmc_obj[(type)].size * (index); \ 184 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\ 203 #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ argument 206 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \ [all …]
|