Home
last modified time | relevance | path

Searched refs:type (Results 1 – 200 of 9207) sorted by relevance

12345678910>>...47

/linux-4.1.27/drivers/irqchip/
Dirq-s3c24xx.c51 unsigned int type; member
145 static int s3c_irq_type(struct irq_data *data, unsigned int type) in s3c_irq_type() argument
147 switch (type) { in s3c_irq_type()
160 pr_err("No such irq type %d", type); in s3c_irq_type()
171 unsigned int type) in s3c_irqext_type_set() argument
181 switch (type) in s3c_irqext_type_set()
208 pr_err("No such irq type %d", type); in s3c_irqext_type_set()
219 static int s3c_irqext_type(struct irq_data *data, unsigned int type) in s3c_irqext_type() argument
245 extint_offset, type); in s3c_irqext_type()
248 static int s3c_irqext0_type(struct irq_data *data, unsigned int type) in s3c_irqext0_type() argument
[all …]
/linux-4.1.27/net/ieee802154/
Dnl_policy.c24 [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.1.27/include/uapi/linux/
Dv4l2-dv-timings.h39 .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 …]
Dauto_fs4.h38 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 …]
Ddccp.h117 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.1.27/sound/usb/
Dquirks-table.h49 .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 …]
Dmixer_scarlett.c174 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.1.27/drivers/staging/fsl-mc/bus/
Ddprc.c134 int *type, in dprc_get_irq() argument
157 *type = mc_dec(cmd.params[2], 32, 32); in dprc_get_irq()
338 char *type, in dprc_set_res_quota() argument
348 cmd.params[1] |= mc_enc(0, 8, type[0]); in dprc_set_res_quota()
349 cmd.params[1] |= mc_enc(8, 8, type[1]); in dprc_set_res_quota()
350 cmd.params[1] |= mc_enc(16, 8, type[2]); in dprc_set_res_quota()
351 cmd.params[1] |= mc_enc(24, 8, type[3]); in dprc_set_res_quota()
352 cmd.params[1] |= mc_enc(32, 8, type[4]); in dprc_set_res_quota()
353 cmd.params[1] |= mc_enc(40, 8, type[5]); in dprc_set_res_quota()
354 cmd.params[1] |= mc_enc(48, 8, type[6]); in dprc_set_res_quota()
[all …]
/linux-4.1.27/scripts/kconfig/
Dexpr.c18 static void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr *…
23 e->type = E_SYMBOL; in expr_alloc_symbol()
28 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument
31 e->type = type; in expr_alloc_one()
36 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument
39 e->type = type; in expr_alloc_two()
45 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() argument
48 e->type = type; in expr_alloc_comp()
77 switch (org->type) { in expr_copy()
96 printf("can't copy type %d\n", e->type); in expr_copy()
[all …]
Dmenu.c87 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.1.27/drivers/md/
Ddm-exception-store.c24 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 …]
Ddm-cache-policy.c79 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, &register_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 …]
Ddm-table.c33 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()
448 if (dm_queue_merge_is_compulsory(q) && !ti->type->merge) in dm_set_device_limits()
633 if (ti->type->iterate_devices) in validate_hardware_logical_block_alignment()
634 ti->type->iterate_devices(ti, dm_set_device_limits, in validate_hardware_logical_block_alignment()
666 int dm_table_add_target(struct dm_table *t, const char *type, in dm_table_add_target() argument
675 dm_device_name(t->md), t->targets->type->name); in dm_table_add_target()
689 tgt->type = dm_get_target_type(type); in dm_table_add_target()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Drs.h167 enum iwl_table_type type; member
177 #define is_type_legacy(type) (((type) == LQ_LEGACY_G) || \ argument
178 ((type) == LQ_LEGACY_A))
179 #define is_type_ht_siso(type) ((type) == LQ_HT_SISO) argument
180 #define is_type_ht_mimo2(type) ((type) == LQ_HT_MIMO2) argument
181 #define is_type_vht_siso(type) ((type) == LQ_VHT_SISO) argument
182 #define is_type_vht_mimo2(type) ((type) == LQ_VHT_MIMO2) argument
183 #define is_type_siso(type) (is_type_ht_siso(type) || is_type_vht_siso(type)) argument
184 #define is_type_mimo2(type) (is_type_ht_mimo2(type) || is_type_vht_mimo2(type)) argument
185 #define is_type_mimo(type) (is_type_mimo2(type)) argument
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_quota.c47 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.1.27/drivers/hwmon/
Dibmpowernv.c75 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.1.27/drivers/media/pci/cx88/
Dcx88-cards.c82 .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.1.27/arch/cris/include/arch-v10/arch/
Dunistd.h9 #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.1.27/arch/cris/include/arch-v32/arch/
Dunistd.h9 #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.1.27/arch/powerpc/math-emu/
Dmath.c233 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.1.27/include/sound/
Dasequencer.h36 #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.1.27/crypto/
Daf_alg.c27 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 …]
Dapi.c59 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 …]
Dalgboss.c34 } 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] = &param->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 …]
Daead.c82 static unsigned int crypto_aead_ctxsize(struct crypto_alg *alg, u32 type, in crypto_aead_ctxsize() argument
93 static int crypto_init_aead_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_aead_ops() argument
120 strncpy(raead.type, "aead", sizeof(raead.type)); in crypto_aead_report()
177 static int crypto_init_nivaead_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_nivaead_ops() argument
205 strncpy(raead.type, "nivaead", sizeof(raead.type)); in crypto_nivaead_report()
254 const char *name, u32 type, u32 mask) in crypto_grab_nivaead() argument
259 type &= ~(CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_GENIV); in crypto_grab_nivaead()
260 type |= CRYPTO_ALG_TYPE_AEAD; in crypto_grab_nivaead()
263 alg = crypto_alg_mod_lookup(name, type, mask); in crypto_grab_nivaead()
273 struct rtattr **tb, u32 type, in aead_geniv_alloc() argument
[all …]
/linux-4.1.27/sound/synth/emux/
Demux_effect.c33 #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.1.27/drivers/media/tuners/
Dtuner-xc2028.c80 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 …]
Dtuner-types.c71 .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 …]
Dxc4000.c74 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.1.27/kernel/trace/
Dtrace_export.c31 #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 …]
Dtrace_probe.c39 #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.1.27/tools/perf/tests/attr/
Dtest-stat-detailed-310 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 …]
Dtest-stat-detailed-210 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 …]
Dtest-stat-detailed-110 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 …]
Dtest-stat-default9 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.1.27/fs/ocfs2/
Dsysfile.c43 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 …]
Dquota_local.c161 static int ocfs2_local_check_quota_file(struct super_block *sb, int type) in ocfs2_local_check_quota_file() argument
170 struct inode *linode = sb_dqopt(sb)->files[type]; in ocfs2_local_check_quota_file()
180 type); in ocfs2_local_check_quota_file()
184 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file()
187 lmagics[type], type); in ocfs2_local_check_quota_file()
190 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file()
193 lversions[type], type); in ocfs2_local_check_quota_file()
200 ginode = ocfs2_get_system_file_inode(OCFS2_SB(sb), ino[type], in ocfs2_local_check_quota_file()
204 "(type=%d)\n", type); in ocfs2_local_check_quota_file()
212 "(type=%d)\n", type); in ocfs2_local_check_quota_file()
[all …]
Dquota_global.c116 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.1.27/drivers/media/pci/saa7164/
Dsaa7164-cards.c65 .type = SAA7164_UNIT_EEPROM,
72 .type = SAA7164_UNIT_TUNER,
79 .type = SAA7164_UNIT_TUNER,
86 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
93 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
111 .type = SAA7164_UNIT_EEPROM,
118 .type = SAA7164_UNIT_TUNER,
125 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
132 .type = SAA7164_UNIT_TUNER,
139 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
[all …]
/linux-4.1.27/arch/arm/mach-omap1/
Did.c37 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.1.27/arch/avr32/include/asm/
Dio.h79 #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.1.27/mm/
Dmemblock.c63 memblock_type_name(struct memblock_type *type) in memblock_type_name() argument
65 if (type == &memblock.memory) in memblock_type_name()
67 else if (type == &memblock.reserved) in memblock_type_name()
88 static long __init_memblock memblock_overlaps_region(struct memblock_type *type, in memblock_overlaps_region() argument
93 for (i = 0; i < type->cnt; i++) { in memblock_overlaps_region()
94 phys_addr_t rgnbase = type->regions[i].base; in memblock_overlaps_region()
95 phys_addr_t rgnsize = type->regions[i].size; in memblock_overlaps_region()
100 return (i < type->cnt) ? i : -1; in memblock_overlaps_region()
259 static void __init_memblock memblock_remove_region(struct memblock_type *type, unsigned long r) in memblock_remove_region() argument
261 type->total_size -= type->regions[r].size; in memblock_remove_region()
[all …]
Dfrontswap.c164 void __frontswap_init(unsigned type, unsigned long *map) in __frontswap_init() argument
166 struct swap_info_struct *sis = swap_info[type]; in __frontswap_init()
183 frontswap_ops->init(type); in __frontswap_init()
185 BUG_ON(type >= MAX_SWAPFILES); in __frontswap_init()
186 set_bit(type, need_init); in __frontswap_init()
220 int type = swp_type(entry); in __frontswap_store() local
221 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store()
235 ret = frontswap_ops->store(type, offset, page); in __frontswap_store()
249 frontswap_ops->invalidate_page(type, offset); in __frontswap_store()
268 int type = swp_type(entry); in __frontswap_load() local
[all …]
Dzpool.c21 char *type; member
103 static struct zpool_driver *zpool_get_driver(char *type) in zpool_get_driver() argument
109 if (!strcmp(driver->type, type)) { in zpool_get_driver()
144 struct zpool *zpool_create_pool(char *type, char *name, gfp_t gfp, in zpool_create_pool() argument
150 pr_info("creating pool type %s\n", type); in zpool_create_pool()
152 driver = zpool_get_driver(type); in zpool_create_pool()
155 request_module("zpool-%s", type); in zpool_create_pool()
156 driver = zpool_get_driver(type); in zpool_create_pool()
160 pr_err("no driver for type %s\n", type); in zpool_create_pool()
171 zpool->type = driver->type; in zpool_create_pool()
[all …]
/linux-4.1.27/drivers/clk/ti/
Dclk-3xxx-legacy.c29 .type = TI_CLK_FIXED,
39 .type = TI_CLK_FIXED,
49 .type = TI_CLK_FIXED,
59 .type = TI_CLK_FIXED,
69 .type = TI_CLK_FIXED,
79 .type = TI_CLK_FIXED,
101 .type = TI_CLK_MUX,
116 .type = TI_CLK_DIVIDER,
151 .type = TI_CLK_DPLL,
166 .type = TI_CLK_DIVIDER,
[all …]
/linux-4.1.27/arch/mips/include/asm/
Dio.h311 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) \ argument
313 static inline void pfx##write##bwlq(type val, \
316 volatile type *__mem; \
317 type __val; \
325 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \
329 type __tmp; \
349 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \
351 volatile type *__mem; \
352 type __val; \
356 if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) \
[all …]
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dprobe.c91 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.1.27/drivers/acpi/acpica/
Dexresolv.c151 switch (stack_desc->common.type) { in acpi_ex_resolve_object_to_value()
252 if ((stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value()
254 || (stack_desc->reference.node->type == in acpi_ex_resolve_object_to_value()
298 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()
364 if (type == ACPI_TYPE_LOCAL_ALIAS) { in acpi_ex_resolve_multiple()
365 type = ((struct acpi_namespace_node *)obj_desc)->type; in acpi_ex_resolve_multiple()
379 if (type != ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_resolve_multiple()
[all …]
Dutprint.c66 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 …]
Ddsmthdat.c55 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 …]
Dnsaccess.c110 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
339 while (!acpi_ns_opens_scope(prefix_node->type) && in acpi_ns_lookup()
340 prefix_node->type != ACPI_TYPE_ANY) { in acpi_ns_lookup()
348 type_to_check_for = type; in acpi_ns_lookup()
462 type = this_node->type; in acpi_ns_lookup()
[all …]
Drslist.c93 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 …]
Dnssearch.c59 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 …]
Dnsobject.c74 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 …]
Devhandler.c229 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.1.27/include/uapi/asm-generic/
Dioctl.h65 #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.1.27/include/linux/
Dquotaops.h61 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 …]
Delfnote.h41 #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
Dpercpu-defs.h85 #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 …]
Dquota.h74 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 …]
Dkobject_ns.h41 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);
Dmoduleparam.h30 __MODULE_INFO(parmtype, name##type, #name ":" _type)
124 #define module_param(name, type, perm) \ argument
125 module_param_named(name, name, type, perm)
130 #define module_param_unsafe(name, type, perm) \ argument
131 module_param_named_unsafe(name, name, type, perm)
144 #define module_param_named(name, value, type, perm) \ argument
145 param_check_##type(name, &(value)); \
146 module_param_cb(name, &param_ops_##type, &value, perm); \
147 __MODULE_PARM_TYPE(name, #type)
152 #define module_param_named_unsafe(name, value, type, perm) \ argument
[all …]
Dprofile.h46 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
/linux-4.1.27/arch/m68k/include/asm/
Dbootstd.h37 #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.1.27/security/tomoyo/
Dmount.c33 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 …]
Dnetwork.c283 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.1.27/fs/quota/
Dquota_v1.c57 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 …]
Dquota.c21 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 …]
Ddquot.c250 static void __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 …]
Dkqid.c14 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()
Dquota_v2.c58 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.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_uncore.h16 #define UNCORE_PCI_DEV_DATA(type, idx) ((type << 8) | idx) argument
80 struct intel_uncore_type *type; member
142 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
147 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_ctl()
152 return box->pmu->type->fixed_ctr; in uncore_pci_fixed_ctr()
158 return idx * 4 + box->pmu->type->event_ctl; in uncore_pci_event_ctl()
164 return idx * 8 + box->pmu->type->perf_ctr; in uncore_pci_perf_ctr()
170 return pmu->type->msr_offsets ? in uncore_msr_box_offset()
171 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset()
172 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset()
[all …]
Dperf_event_intel_uncore.c252 static struct intel_uncore_box *uncore_alloc_box(struct intel_uncore_type *type, int node) in uncore_alloc_box() argument
257 size = sizeof(*box) + type->num_shared_regs * sizeof(struct intel_uncore_extra_reg); in uncore_alloc_box()
263 for (i = 0; i < type->num_shared_regs; i++) in uncore_alloc_box()
296 max_count = box->pmu->type->num_counters; in uncore_collect_events()
297 if (box->pmu->type->fixed_ctl) in uncore_collect_events()
330 struct intel_uncore_type *type = box->pmu->type; in uncore_get_event_constraint() local
333 if (type->ops->get_constraint) { in uncore_get_event_constraint()
334 c = type->ops->get_constraint(box, event); in uncore_get_event_constraint()
342 if (type->constraints) { in uncore_get_event_constraint()
343 for_each_event_constraint(c, type->constraints) { in uncore_get_event_constraint()
[all …]
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-streams.c255 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.1.27/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c38 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.1.27/drivers/media/usb/em28xx/
Dem28xx-cards.c573 .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.1.27/security/apparmor/
Daudit.c117 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.1.27/arch/ia64/include/asm/
Dparavirt_privop.h243 #define PARAVIRT_TYPE(type) \ argument
244 PARAVIRT_PATCH_TYPE_ ## type
299 #define PARAVIRT_BR0(op, type) \ argument
302 PARAVIRT_TYPE(type)) \
307 #define PARAVIRT_BR0_RET(op, type) \ argument
310 PARAVIRT_TYPE(type)) \
315 #define PARAVIRT_BR1(op, type, arg1) \ argument
319 PARAVIRT_TYPE(type)) \
324 #define PARAVIRT_BR1_RET(op, type, arg1) \ argument
328 PARAVIRT_TYPE(type)) \
[all …]
Dparavirt_patch.h28 #define PARAVIRT_PATCH_SITE_BR(type) \ argument
36 .xdata8 ".paravirt_branches", 1b, type
47 unsigned long type;
64 unsigned long type;
71 unsigned long type;
85 unsigned long type;
90 unsigned long type;
95 unsigned long tag, unsigned long type,
108 ia64_native_patch_bundle(void *sbundle, void *ebundle, unsigned long type);
111 __paravirt_patch_apply_bundle(void *sbundle, void *ebundle, unsigned long type,
/linux-4.1.27/tools/lib/traceevent/
Devent-parse.c94 enum pevent_func_arg_type type; member
718 static int event_item_type(enum event_type type) in event_item_type() argument
720 switch (type) { in event_item_type()
749 switch (arg->type) { in free_arg()
775 free(arg->typecast.type); in free_arg()
882 enum event_type type; in __read_token() local
891 type = get_type(ch); in __read_token()
892 if (type == EVENT_NONE) in __read_token()
893 return type; in __read_token()
897 switch (type) { in __read_token()
[all …]
Dparse-filter.c75 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.1.27/drivers/media/pci/ivtv/
Divtv-streams.c161 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 …]
Divtv-fileops.c44 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 …]
Divtv-routing.c66 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.1.27/drivers/mmc/core/
Dbus.c36 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.1.27/tools/perf/util/
Ddata-convert-bt.c70 static int value_set(struct bt_ctf_field_type *type, in value_set() argument
75 bool sign = bt_ctf_field_type_integer_get_signed(type); in value_set()
78 field = bt_ctf_field_create(type); in value_set()
117 struct bt_ctf_field_type *type = cw->data._name; \
118 return value_set(type, event, name, (u64) val); \
162 struct bt_ctf_field_type *type; in add_tracepoint_field_value() local
192 type = bt_ctf_event_class_get_field_by_name( in add_tracepoint_field_value()
194 array_field = bt_ctf_field_create(type); in add_tracepoint_field_value()
195 bt_ctf_field_type_put(type); in add_tracepoint_field_value()
208 type = get_tracepoint_field_type(cw, fmtf); in add_tracepoint_field_value()
[all …]
Dparse-events.y51 %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_NAME_CACHE_TYPE
58 %type <str> PE_NAME_CACHE_OP_RESULT
59 %type <str> PE_MODIFIER_EVENT
60 %type <str> PE_MODIFIER_BP
[all …]
Dparse-options.h93 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), …
115 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \
118 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va…
119 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)…
[all …]
Dmap.c125 void map__init(struct map *map, enum map_type type, in map__init() argument
128 map->type = type; in map__init()
145 enum map_type type, struct thread *thread) in map__new() argument
166 if ((anon || no_dso) && type == MAP__FUNCTION) { in map__new()
185 map__init(map, type, start, start + len, pgoff, dso); in map__new()
195 if (type != MAP__FUNCTION) in map__new()
196 dso__set_loaded(dso, map->type); in map__new()
210 struct map *map__new2(u64 start, struct dso *dso, enum map_type type) in map__new2() argument
218 map__init(map, type, start, 0, 0, dso); in map__new2()
231 struct rb_root *symbols = &map->dso->symbols[map->type]; in map__fixup_start()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-phy-db.c116 __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.1.27/arch/mips/fw/arc/
Dmemory.c66 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.1.27/net/ipv6/netfilter/
Dnf_conntrack_proto_icmpv6.c47 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple()
76 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple() local
77 if (type < 0 || type >= sizeof(invmap) || !invmap[type]) in icmpv6_invert_tuple()
81 tuple->dst.u.icmp.type = invmap[type] - 1; in icmpv6_invert_tuple()
91 tuple->dst.u.icmp.type, in icmpv6_print_tuple()
126 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; in icmpv6_new() local
128 if (type < 0 || type >= sizeof(valid_new) || !valid_new[type]) { in icmpv6_new()
131 type + 128); in icmpv6_new()
137 type + 128); in icmpv6_new()
202 int type; in icmpv6_error() local
[all …]
/linux-4.1.27/drivers/acpi/
Dprocessor_core.c111 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 …]
Dglue.c36 int register_acpi_bus_type(struct acpi_bus_type *type) in register_acpi_bus_type() argument
40 if (type && type->match && type->find_companion) { in register_acpi_bus_type()
42 list_add_tail(&type->list, &bus_type_list); in register_acpi_bus_type()
44 printk(KERN_INFO PREFIX "bus type %s registered\n", type->name); in register_acpi_bus_type()
51 int unregister_acpi_bus_type(struct acpi_bus_type *type) in unregister_acpi_bus_type() argument
55 if (type) { in unregister_acpi_bus_type()
57 list_del_init(&type->list); in unregister_acpi_bus_type()
60 type->name); in unregister_acpi_bus_type()
289 struct acpi_bus_type *type = acpi_get_bus_type(dev); in acpi_platform_notify() local
294 if (ret && type) { in acpi_platform_notify()
[all …]
Dproperty.c36 switch (value->type) { in acpi_property_value_ok()
44 switch (value->package.elements[j].type) { in acpi_property_value_ok()
72 || property->package.elements[0].type != ACPI_TYPE_STRING in acpi_properties_format_valid()
142 if (uuid->type != ACPI_TYPE_BUFFER || uuid->buffer.length != 16 in acpi_init_properties()
143 || properties->type != ACPI_TYPE_PACKAGE) in acpi_init_properties()
195 acpi_object_type type, const union acpi_object **obj) in acpi_dev_get_property() argument
217 if (type != ACPI_TYPE_ANY && propvalue->type != type) in acpi_dev_get_property()
249 acpi_object_type type, in acpi_dev_get_property_array() argument
259 if (type != ACPI_TYPE_ANY) { in acpi_dev_get_property_array()
262 if (prop->package.elements[i].type != type) in acpi_dev_get_property_array()
[all …]
/linux-4.1.27/scripts/dtc/
Ddtc-parser.y77 %type <data> propdata
78 %type <data> propdataprefix
79 %type <re> memreserve
80 %type <re> memreserves
81 %type <array> arrayprefix
82 %type <data> bytestring
83 %type <prop> propdef
84 %type <proplist> proplist
86 %type <node> devicetree
87 %type <node> nodedef
[all …]
/linux-4.1.27/drivers/net/ethernet/amd/
Ddeclance.c228 #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.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c42 .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 …]
Ds5p_mfc_dec.c39 .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.1.27/drivers/media/common/siano/
Dsms-cards.c27 .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.1.27/drivers/firmware/
Dmemmap.c42 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);
149 const char *type, in firmware_map_add_entry() argument
156 entry->type = type; in firmware_map_add_entry()
225 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, in firmware_map_find_entry_in_list() argument
232 (!strcmp(entry->type, type))) { in firmware_map_find_entry_in_list()
252 firmware_map_find_entry(u64 start, u64 end, const char *type) in firmware_map_find_entry() argument
254 return firmware_map_find_entry_in_list(start, end, type, &map_entries); in firmware_map_find_entry()
269 firmware_map_find_entry_bootmem(u64 start, u64 end, const char *type) in firmware_map_find_entry_bootmem() argument
[all …]
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmconvert.c61 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.1.27/sound/core/seq/
Dseq_midi_event.c132 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.1.27/arch/arm/mach-gemini/
Dmm.c25 .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.1.27/net/sctp/
Dsm_statefuns.c83 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.1.27/arch/arm/mach-imx/
Dmach-pcm037_eet.c69 .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.1.27/include/uapi/linux/netfilter/
Dxt_sctp.h38 #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.1.27/net/irda/
Dparameters.c39 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.1.27/net/netfilter/
Dxt_repldata.h16 #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); \
Dnft_log.c41 [NFTA_LOG_GROUP] = { .type = NLA_U16 },
42 [NFTA_LOG_PREFIX] = { .type = NLA_STRING },
43 [NFTA_LOG_SNAPLEN] = { .type = NLA_U32 },
44 [NFTA_LOG_QTHRESHOLD] = { .type = NLA_U16 },
45 [NFTA_LOG_LEVEL] = { .type = NLA_U32 },
46 [NFTA_LOG_FLAGS] = { .type = NLA_U32 },
68 li->type = NF_LOG_TYPE_LOG; in nft_log_init()
73 li->type = NF_LOG_TYPE_ULOG; in nft_log_init()
75 switch (li->type) { in nft_log_init()
102 ret = nf_logger_find_get(NFPROTO_IPV4, li->type); in nft_log_init()
[all …]
Dnf_conntrack_extend.c124 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.1.27/drivers/tty/serial/
Dsh-sci.h5 #define SCxSR_TEND(port) (((port)->type == PORT_SCI) ? SCI_TEND : SCIF_TEND)
6 #define SCxSR_RDxF(port) (((port)->type == PORT_SCI) ? SCI_RDRF : SCIF_RDF)
7 #define SCxSR_TDxE(port) (((port)->type == PORT_SCI) ? SCI_TDRE : SCIF_TDFE)
8 #define SCxSR_FER(port) (((port)->type == PORT_SCI) ? SCI_FER : SCIF_FER)
9 #define SCxSR_PER(port) (((port)->type == PORT_SCI) ? SCI_PER : SCIF_PER)
10 #define SCxSR_BRK(port) (((port)->type == PORT_SCI) ? 0x00 : SCIF_BRK)
26 # define SCxSR_RDxF_CLEAR(port) (((port)->type == PORT_SCI) ? 0xbc : 0x00fc)
27 # define SCxSR_ERROR_CLEAR(port) (((port)->type == PORT_SCI) ? 0xc4 : 0x0073)
28 # define SCxSR_TDxE_CLEAR(port) (((port)->type == PORT_SCI) ? 0x78 : 0x00df)
29 # define SCxSR_BREAK_CLEAR(port) (((port)->type == PORT_SCI) ? 0xc4 : 0x00e3)
/linux-4.1.27/arch/arm/mach-iop32x/
Dn2100.c64 .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.1.27/include/trace/events/
D9p.h96 #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 …]
Dthermal.h17 __string(thermal_zone, tz->type)
24 __assign_str(thermal_zone, tz->type);
42 __string(type, cdev->type)
47 __assign_str(type, cdev->type);
51 TP_printk("type=%s target=%lu", __get_str(type), __entry->target)
62 __string(thermal_zone, tz->type)
69 __assign_str(thermal_zone, tz->type);
Df2fs.h42 #define show_block_type(type) \ argument
43 __print_symbolic(type, \
56 #define show_bio_type(type) show_bio_base(type), show_bio_extra(type) argument
58 #define show_bio_base(type) \ argument
59 __print_symbolic(F2FS_BIO_MASK(type), \
69 #define show_bio_extra(type) \ argument
70 __print_symbolic(F2FS_BIO_EXTRA_MASK(type), \
76 #define show_data_type(type) \ argument
77 __print_symbolic(type, \
86 #define show_file_type(type) \ argument
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
Dcleanup.c40 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()
176 unsigned char type, unsigned int address_bits) in set_var_mtrr() argument
191 base |= type; in set_var_mtrr()
205 unsigned char type) in save_var_mtrr() argument
[all …]
Dcyrix.c14 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 …]
Dcentaur.c58 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()
Damd.c10 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()
Dif.c39 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.1.27/drivers/media/usb/tm6000/
Dtm6000-cards.c77 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.1.27/arch/alpha/include/uapi/asm/
Dioctl.h39 #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.1.27/drivers/infiniband/hw/usnic/
Dusnic_transport.c33 const char *usnic_transport_to_str(enum usnic_transport_type type) in usnic_transport_to_str() argument
35 switch (type) { in usnic_transport_to_str()
71 u16 usnic_transport_rsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_rsrv_port() argument
73 if (type == USNIC_TRANSPORT_ROCE_CUSTOM) { in usnic_transport_rsrv_port()
84 usnic_transport_to_str(type)); in usnic_transport_rsrv_port()
92 usnic_transport_to_str(type)); in usnic_transport_rsrv_port()
97 usnic_transport_to_str(type)); in usnic_transport_rsrv_port()
104 void usnic_transport_unrsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_unrsrv_port() argument
106 if (type == USNIC_TRANSPORT_ROCE_CUSTOM) { in usnic_transport_unrsrv_port()
110 usnic_transport_to_str(type)); in usnic_transport_unrsrv_port()
[all …]
Dusnic_ib_qp_grp.h76 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
81 {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,},
82 {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,},
83 {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,},
84 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
89 {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,},
90 {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,},
91 {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,},
92 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
111 enum usnic_vnic_res_type type);
/linux-4.1.27/net/802/
Dfddi.c53 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.1.27/net/netfilter/ipset/
Dip_set_hash_mac.c138 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
139 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
140 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
141 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
142 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
143 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
146 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY,
148 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
149 [IPSET_ATTR_LINENO] = { .type = NLA_U32 },
150 [IPSET_ATTR_BYTES] = { .type = NLA_U64 },
[all …]
Dip_set_core.c85 struct ip_set_type *type; in find_set_type() local
87 list_for_each_entry_rcu(type, &ip_set_type_list, list) in find_set_type()
88 if (STREQ(type->name, name) && in find_set_type()
89 (type->family == family || in find_set_type()
90 type->family == NFPROTO_UNSPEC) && in find_set_type()
91 revision >= type->revision_min && in find_set_type()
92 revision <= type->revision_max) in find_set_type()
93 return type; in find_set_type()
120 struct ip_set_type *type; in __find_set_type_get() local
134 list_for_each_entry_rcu(type, &ip_set_type_list, list) in __find_set_type_get()
[all …]
Dip_set_hash_ipmark.c293 [IPSET_ATTR_MARKMASK] = { .type = NLA_U32 },
294 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
295 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
296 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
297 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
298 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
299 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
302 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
303 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
304 [IPSET_ATTR_MARK] = { .type = NLA_U32 },
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_connector.c60 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.1.27/security/
Ddevice_cgroup.c42 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.1.27/arch/s390/hypfs/
Dhypfs_diag.c84 static inline int info_blk_hdr__size(enum diag204_format type) in info_blk_hdr__size() argument
86 if (type == INFO_SIMPLE) in info_blk_hdr__size()
92 static inline __u8 info_blk_hdr__npar(enum diag204_format type, void *hdr) in info_blk_hdr__npar() argument
94 if (type == INFO_SIMPLE) in info_blk_hdr__npar()
100 static inline __u8 info_blk_hdr__flags(enum diag204_format type, void *hdr) in info_blk_hdr__flags() argument
102 if (type == INFO_SIMPLE) in info_blk_hdr__flags()
108 static inline __u16 info_blk_hdr__pcpus(enum diag204_format type, void *hdr) in info_blk_hdr__pcpus() argument
110 if (type == INFO_SIMPLE) in info_blk_hdr__pcpus()
143 static inline int part_hdr__size(enum diag204_format type) in part_hdr__size() argument
145 if (type == INFO_SIMPLE) in part_hdr__size()
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Demulated_ops.h63 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.1.27/drivers/usb/serial/
Dusb-serial.c139 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.1.27/arch/sparc/include/uapi/asm/
Dioctl.h38 #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.1.27/tools/perf/tests/
Devsel-roundtrip-name.c10 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()
Dsample-parsing.c27 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 …]
Dperf-record.c161 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.1.27/drivers/tty/serial/8250/
D8250_acorn.c31 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.1.27/arch/avr32/kernel/
Dsyscall-stubs.S18 .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.1.27/arch/powerpc/kvm/
Dtiming.c55 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 …]
Dtiming.h32 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.1.27/fs/cachefiles/
Dxattr.c32 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 …]
Dkey.c37 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.1.27/sound/core/
Dcontrol_compat.c67 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 …]
Dsound.c109 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 …]
Dsound_oss.c46 void *snd_lookup_oss_minor_data(unsigned int minor, int type) in snd_lookup_oss_minor_data() argument
55 if (mreg && mreg->type == type) { in snd_lookup_oss_minor_data()
67 static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev) in snd_oss_kernel_minor() argument
71 switch (type) { in snd_oss_kernel_minor()
107 int snd_register_oss_device(int type, struct snd_card *card, int dev, in snd_register_oss_device() argument
110 int minor = snd_oss_kernel_minor(type, card, dev); in snd_register_oss_device()
125 preg->type = type; in snd_register_oss_device()
171 int snd_unregister_oss_device(int type, struct snd_card *card, int dev) in snd_unregister_oss_device() argument
173 int minor = snd_oss_kernel_minor(type, card, dev); in snd_unregister_oss_device()
220 static const char *snd_oss_device_type_name(int type) in snd_oss_device_type_name() argument
[all …]
/linux-4.1.27/include/trace/
Dftrace.h70 #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.1.27/arch/arm64/kernel/
Dinsn.c268 static int __kprobes aarch64_get_imm_shift_mask(enum aarch64_insn_imm_type type, in aarch64_get_imm_shift_mask() argument
274 switch (type) { in aarch64_get_imm_shift_mask()
329 u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn) in aarch64_insn_decode_immediate() argument
334 switch (type) { in aarch64_insn_decode_immediate()
343 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_decode_immediate()
345 type); in aarch64_insn_decode_immediate()
353 u32 __kprobes aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type, in aarch64_insn_encode_immediate() argument
359 switch (type) { in aarch64_insn_encode_immediate()
370 if (aarch64_get_imm_shift_mask(type, &mask, &shift) < 0) { in aarch64_insn_encode_immediate()
372 type); in aarch64_insn_encode_immediate()
[all …]
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_seq_pdu_list.c71 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.1.27/kernel/events/
Dhw_breakpoint.c64 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.1.27/sound/pci/ctxfi/
Dctmixer.c223 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 …]
Dctresource.c113 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.1.27/net/mac802154/
Dmib.c33 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_set_short_addr()
45 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_get_short_addr()
59 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_get_pan_id()
72 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_set_pan_id()
83 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_get_dsn()
94 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_dev_set_page_channel()
113 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_get_params()
129 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_set_params()
145 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_add_key()
160 BUG_ON(dev->type != ARPHRD_IEEE802154); in mac802154_del_key()
[all …]
/linux-4.1.27/drivers/staging/ozwpan/
Dozprotocol.h26 u8 type; member
153 u8 type; member
187 u8 type; member
218 u8 type; member
229 u8 type; member
239 u8 type; member
247 u8 type; member
255 u8 type; member
263 u8 type; member
272 u8 type; member
[all …]
/linux-4.1.27/arch/powerpc/kernel/
Dhw_breakpoint.c47 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.1.27/drivers/net/ethernet/sfc/
Dmcdi_mon.c108 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.1.27/kernel/
Dpid.c300 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.1.27/scripts/
Dkernel-doc267 my ($type, $declaration_name, $return_type);
587 $type = $args{'parametertypes'}{$parameter};
588 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
591 } elsif ($type =~ m/^(.*?)\s*(:.*)/) {
595 print "&nbsp; &nbsp; <i>$type</i> <b>$parameter</b>;<br>\n";
630 $type = $args{'parametertypes'}{$parameter};
631 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
635 print "<i>" . $type . "</i> <b>" . $parameter . "</b>";
785 $type = $args{'parametertypes'}{$parameter};
786 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) {
[all …]
Dnamespace.pl221 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.1.27/arch/ia64/sn/kernel/sn2/
Dprominfo_proc.c58 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.1.27/lib/
Dkobject.c34 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()
943 enum kobj_ns_type type = ops->type; in kobj_ns_type_register() local
949 if (type >= KOBJ_NS_TYPES) in kobj_ns_type_register()
953 if (type <= KOBJ_NS_TYPE_NONE) in kobj_ns_type_register()
957 if (kobj_ns_ops_tbl[type]) in kobj_ns_type_register()
961 kobj_ns_ops_tbl[type] = ops; in kobj_ns_type_register()
968 int kobj_ns_type_registered(enum kobj_ns_type type) in kobj_ns_type_registered() argument
[all …]
/linux-4.1.27/arch/m68k/coldfire/
Dintc-525x.c24 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.1.27/drivers/net/wireless/zd1211rw/
Dzd_rf.c47 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.1.27/drivers/platform/chrome/
Dchromeos_laptop.c70 int (*add)(enum i2c_adapter_type type);
71 enum i2c_adapter_type type; member
227 static int find_i2c_adapter_num(enum i2c_adapter_type type) in find_i2c_adapter_num() argument
234 lookup.name = i2c_adapter_names[type]; in find_i2c_adapter_num()
235 lookup.instance = (type == I2C_ADAPTER_DESIGNWARE_1) ? 1 : 0; in find_i2c_adapter_num()
259 enum i2c_adapter_type type, in add_probed_i2c_device() argument
264 find_i2c_adapter_num(type), in add_probed_i2c_device()
275 enum i2c_adapter_type type, in add_i2c_device() argument
279 find_i2c_adapter_num(type), in add_i2c_device()
284 static int setup_cyapa_tp(enum i2c_adapter_type type) in setup_cyapa_tp() argument
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dgenops.c97 struct obd_type *type; in class_search_type() local
101 type = list_entry(tmp, struct obd_type, typ_chain); in class_search_type()
102 if (strcmp(type->typ_name, name) == 0) { in class_search_type()
104 return type; in class_search_type()
114 struct obd_type *type = class_search_type(name); in class_get_type() local
116 if (!type) { in class_get_type()
130 type = class_search_type(name); in class_get_type()
136 if (type) { in class_get_type()
137 spin_lock(&type->obd_type_lock); in class_get_type()
138 type->typ_refcnt++; in class_get_type()
[all …]
/linux-4.1.27/drivers/scsi/aic7xxx/
Dqueue.h107 #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.1.27/net/core/
Dtimestamping.c39 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
67 type = classify(skb); in skb_defer_rx_timestamp()
71 if (type == PTP_CLASS_NONE) in skb_defer_rx_timestamp()
76 return phydev->drv->rxtstamp(phydev, skb, type); in skb_defer_rx_timestamp()
/linux-4.1.27/arch/sparc/kernel/
Dvio.c25 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.1.27/arch/arm/mach-omap2/
Dio.c77 .type = MT_DEVICE
83 .type = MT_DEVICE
93 .type = MT_DEVICE
99 .type = MT_DEVICE
105 .type = MT_DEVICE
117 .type = MT_DEVICE
123 .type = MT_DEVICE
129 .type = MT_DEVICE
135 .type = MT_DEVICE
147 .type = MT_DEVICE
[all …]
/linux-4.1.27/net/ipv4/netfilter/
Dnf_conntrack_proto_icmp.c42 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()
211 if (icmph->type > NR_ICMP_TYPES) { in icmp_error()
219 if (icmph->type != ICMP_DEST_UNREACH && in icmp_error()
[all …]
/linux-4.1.27/security/keys/
Dkey.c224 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.1.27/arch/arm64/net/
Dbpf_jit.h34 #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.1.27/drivers/usb/gadget/
Depautoconf.c49 u8 type; in ep_matches() local
60 type = usb_endpoint_type(desc); in ep_matches()
61 if (USB_ENDPOINT_XFER_CONTROL == type) in ep_matches()
74 switch (type) { in ep_matches()
138 switch (type) { in ep_matches()
179 if ((USB_ENDPOINT_XFER_BULK == type) && !ep_comp) { in ep_matches()
254 u8 type; in usb_ep_autoconfig_ss() local
256 type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_ep_autoconfig_ss()
261 if (gadget_is_net2280 (gadget) && type == USB_ENDPOINT_XFER_INT) { in usb_ep_autoconfig_ss()
271 if (USB_ENDPOINT_XFER_INT == type) { in usb_ep_autoconfig_ss()
[all …]
/linux-4.1.27/drivers/media/pci/cx23885/
Dcx23885-cards.c59 .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.1.27/sound/pci/ice1712/
Dwm8776.c149 .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.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dmpic.txt9 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.1.27/drivers/net/ethernet/intel/i40e/
Di40e_hmc.h121 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ argument
127 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \
142 #define I40E_CLEAR_PF_SD_ENTRY(hw, sd_index, type) \ argument
147 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \
178 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ argument
181 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \
182 (hmc_info)->hmc_obj[(type)].size * (index); \
183 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\
202 #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ argument
205 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_hmc.h121 #define I40E_SET_PF_SD_ENTRY(hw, pa, sd_index, type) \ argument
127 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \
142 #define I40E_CLEAR_PF_SD_ENTRY(hw, sd_index, type) \ argument
147 ((((type) == I40E_SD_TYPE_PAGED) ? 0 : 1) << \
178 #define I40E_FIND_SD_INDEX_LIMIT(hmc_info, type, index, cnt, sd_idx, sd_limit)\ argument
181 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \
182 (hmc_info)->hmc_obj[(type)].size * (index); \
183 fpm_limit = fpm_addr + (hmc_info)->hmc_obj[(type)].size * (cnt);\
202 #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ argument
205 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \
[all …]
/linux-4.1.27/drivers/i2c/busses/
Di2c-parport-light.c85 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.1.27/arch/mips/lantiq/xway/
Dprom.c46 i->type = SOC_TYPE_DANUBE; in ltq_soc_detect()
52 i->type = SOC_TYPE_DANUBE; in ltq_soc_detect()
61 i->type = SOC_TYPE_AR9; in ltq_soc_detect()
68 i->type = SOC_TYPE_AR9; in ltq_soc_detect()
78 i->type = SOC_TYPE_AMAZON_SE; in ltq_soc_detect()
86 i->type = SOC_TYPE_VR9; in ltq_soc_detect()
93 i->type = SOC_TYPE_VR9; in ltq_soc_detect()
100 i->type = SOC_TYPE_VR9_2; in ltq_soc_detect()
107 i->type = SOC_TYPE_VR9_2; in ltq_soc_detect()
/linux-4.1.27/arch/mips/mti-malta/
Dmalta-memory.c97 mdesc[0].type = fw_dontuse; in fw_getmdesc()
101 mdesc[1].type = fw_code; in fw_getmdesc()
112 mdesc[2].type = fw_dontuse; in fw_getmdesc()
116 mdesc[3].type = fw_dontuse; in fw_getmdesc()
121 mdesc[4].type = fw_free; in fw_getmdesc()
134 static int __init fw_memtype_classify(unsigned int type) in fw_memtype_classify() argument
136 switch (type) { in fw_memtype_classify()
155 long type; in fw_meminit() local
158 type = fw_memtype_classify(p->type); in fw_meminit()
162 add_memory_region(base, size, type); in fw_meminit()
[all …]
/linux-4.1.27/net/llc/
Dllc_input.c42 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()
Dllc_s_ev.c27 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.1.27/arch/sh/include/asm/
Dio.h66 #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.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c94 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.1.27/net/dcb/
Ddcbnl.c59 [DCB_ATTR_IFNAME] = {.type = NLA_NUL_STRING, .len = IFNAMSIZ - 1},
60 [DCB_ATTR_STATE] = {.type = NLA_U8},
61 [DCB_ATTR_PFC_CFG] = {.type = NLA_NESTED},
62 [DCB_ATTR_PG_CFG] = {.type = NLA_NESTED},
63 [DCB_ATTR_SET_ALL] = {.type = NLA_U8},
64 [DCB_ATTR_PERM_HWADDR] = {.type = NLA_FLAG},
65 [DCB_ATTR_CAP] = {.type = NLA_NESTED},
66 [DCB_ATTR_PFC_STATE] = {.type = NLA_U8},
67 [DCB_ATTR_BCN] = {.type = NLA_NESTED},
68 [DCB_ATTR_APP] = {.type = NLA_NESTED},
[all …]
/linux-4.1.27/drivers/staging/iio/
Diio_simple_dummy.c66 .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.1.27/drivers/media/platform/ti-vpe/
Dvpdma.c33 .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.1.27/arch/s390/kvm/
Dtrace-s390.h23 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)" : "")
114 TP_PROTO(__u64 type, __u32 parm, __u64 parm64, int who),
115 TP_ARGS(type, parm, parm64, who),
125 __entry->inttype = type & 0x00000000ffffffff;
140 TP_PROTO(unsigned int id, __u64 type, __u32 parm, __u64 parm64, \
142 TP_ARGS(id, type, parm, parm64, who),
[all …]
/linux-4.1.27/arch/mips/kernel/
Dunaligned.c110 #define _LoadHW(addr, value, res, type) \ argument
113 "1:\t"type##_lb("%0", "0(%2)")"\n" \
114 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\
133 #define _LoadW(addr, value, res, type) \ argument
136 "1:\t"type##_lwl("%0", "(%2)")"\n" \
137 "2:\t"type##_lwr("%0", "3(%2)")"\n\t"\
155 #define _LoadW(addr, value, res, type) \ argument
160 "1:"type##_lb("%0", "0(%2)")"\n\t" \
161 "2:"type##_lbu("$1", "1(%2)")"\n\t" \
164 "3:"type##_lbu("$1", "2(%2)")"\n\t" \
[all …]
/linux-4.1.27/drivers/staging/iio/cdc/
Dad7150.c127 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()
215 const struct iio_chan_spec *chan, enum iio_event_type type, in ad7150_write_event_config() argument
228 event_code = IIO_UNMOD_EVENT_CODE(chan->type, chan->channel, type, dir); in ad7150_write_event_config()
238 switch (type) { in ad7150_write_event_config()
274 ret = ad7150_write_event_params(indio_dev, chan->channel, type, dir); in ad7150_write_event_config()
283 enum iio_event_type type, in ad7150_read_event_value() argument
[all …]
/linux-4.1.27/arch/tile/kernel/
Dhvglue_trace.c146 #define HV_WRAP0(type, name) \ argument
147 type name(void); \
148 type name(void) \
170 #define HV_WRAPx(x, type, name, ...) \ argument
171 type name(__HV_DECL##x(__VA_ARGS__)); \
172 type name(__HV_DECL##x(__VA_ARGS__)) \
176 #define HV_WRAP1(type, name, ...) HV_WRAPx(1, type, name, __VA_ARGS__) argument
177 #define HV_WRAP2(type, name, ...) HV_WRAPx(2, type, name, __VA_ARGS__) argument
178 #define HV_WRAP3(type, name, ...) HV_WRAPx(3, type, name, __VA_ARGS__) argument
179 #define HV_WRAP4(type, name, ...) HV_WRAPx(4, type, name, __VA_ARGS__) argument
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c42 const struct cfs_crypto_hash_type **type, in cfs_crypto_hash_alloc() argument
48 *type = cfs_crypto_hash_type(alg_id); in cfs_crypto_hash_alloc()
50 if (*type == NULL) { in cfs_crypto_hash_alloc()
55 desc->tfm = crypto_alloc_hash((*type)->cht_name, 0, 0); in cfs_crypto_hash_alloc()
62 (*type)->cht_name); in cfs_crypto_hash_alloc()
76 } else if ((*type)->cht_key != 0) { in cfs_crypto_hash_alloc()
78 (unsigned char *)&((*type)->cht_key), in cfs_crypto_hash_alloc()
79 (*type)->cht_size); in cfs_crypto_hash_alloc()
103 const struct cfs_crypto_hash_type *type; in cfs_crypto_hash_digest() local
108 err = cfs_crypto_hash_alloc(alg_id, &type, &hdesc, key, key_len); in cfs_crypto_hash_digest()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Dio.h44 #define build_mmio_read(name, size, type, reg, barrier) \ argument
45 static inline type name(const volatile void __iomem *addr) \
46 { type ret; asm volatile("mov" size " %1,%0":reg (ret) \
47 :"m" (*(volatile type __force *)addr) barrier); return ret; }
49 #define build_mmio_write(name, size, type, reg, barrier) \ argument
50 static inline void name(type val, volatile void __iomem *addr) \
52 "m" (*(volatile type __force *)addr) barrier); }
273 #define BUILDIO(bwl, bw, type) \ argument
274 static inline void out##bwl(unsigned type value, int port) \
280 static inline unsigned type in##bwl(int port) \
[all …]
/linux-4.1.27/arch/s390/kernel/
Djump_label.c22 enum jump_label_type type; member
62 enum jump_label_type type, in __jump_label_transform() argument
67 if (type == JUMP_LABEL_ENABLE) { in __jump_label_transform()
88 __jump_label_transform(args->entry, args->type, 0); in __sm_arch_jump_label_transform()
93 enum jump_label_type type) in arch_jump_label_transform() argument
98 args.type = type; in arch_jump_label_transform()
104 enum jump_label_type type) in arch_jump_label_transform_static() argument
106 __jump_label_transform(entry, type, 1); in arch_jump_label_transform_static()
/linux-4.1.27/arch/mips/mm/
Dhighmem.c48 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()
78 type = kmap_atomic_idx(); in __kunmap_atomic()
81 int idx = type + KM_TYPE_NR * smp_processor_id(); in __kunmap_atomic()
105 int idx, type; in kmap_atomic_pfn() local
109 type = kmap_atomic_idx_push(); in kmap_atomic_pfn()
110 idx = type + KM_TYPE_NR*smp_processor_id(); in kmap_atomic_pfn()
/linux-4.1.27/arch/metag/mm/
Dhighmem.c44 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()
96 int type; in kmap_atomic_pfn() local
100 type = kmap_atomic_idx_push(); in kmap_atomic_pfn()
101 idx = type + KM_TYPE_NR * smp_processor_id(); in kmap_atomic_pfn()
/linux-4.1.27/drivers/rtc/
Drtc-omap.c139 const struct omap_rtc_device_type *type; member
212 rtc->type->unlock(rtc); in rtc_irq()
214 rtc->type->lock(rtc); in rtc_irq()
235 if (rtc->type->has_irqwakeen) in omap_rtc_alarm_irq_enable()
246 rtc->type->unlock(rtc); in omap_rtc_alarm_irq_enable()
248 if (rtc->type->has_irqwakeen) in omap_rtc_alarm_irq_enable()
250 rtc->type->lock(rtc); in omap_rtc_alarm_irq_enable()
323 rtc->type->unlock(rtc); in omap_rtc_set_time()
330 rtc->type->lock(rtc); in omap_rtc_set_time()
373 rtc->type->unlock(rtc); in omap_rtc_set_alarm()
[all …]
/linux-4.1.27/arch/frv/mm/
Dhighmem.c43 int type; in kmap_atomic() local
46 type = kmap_atomic_idx_push(); in kmap_atomic()
49 switch (type) { in kmap_atomic()
60 return __kmap_atomic_secondary(type - 5, paddr); in kmap_atomic()
71 int type = kmap_atomic_idx(); in __kunmap_atomic() local
72 switch (type) { in __kunmap_atomic()
80 __kunmap_atomic_secondary(type - 5, kvaddr); in __kunmap_atomic()

12345678910>>...47