Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 16 of 16) sorted by relevance

/drivers/staging/rtl8188eu/os_dep/
Dosdep_service.c139 u8 *dup = NULL; in rtw_buf_update() local
148 dup = rtw_malloc(src_len); in rtw_buf_update()
149 if (dup) { in rtw_buf_update()
151 memcpy(dup, src, dup_len); in rtw_buf_update()
159 *buf = dup; in rtw_buf_update()
/drivers/platform/x86/
Dtopstar-laptop.c63 bool *dup; in acpi_topstar_notify() local
68 dup = &dup_evnt[event - 0x83]; in acpi_topstar_notify()
69 if (*dup) { in acpi_topstar_notify()
70 *dup = false; in acpi_topstar_notify()
73 *dup = true; in acpi_topstar_notify()
/drivers/isdn/mISDN/
Ddsp_hwec.c72 char *dup, *tok, *name, *val; in dsp_hwec_enable() local
76 dup = _dup; in dsp_hwec_enable()
78 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable()
Ddsp_pipeline.c239 char *dup, *tok, *name, *args; in dsp_pipeline_build() local
250 dup = kstrdup(cfg, GFP_ATOMIC); in dsp_pipeline_build()
251 if (!dup) in dsp_pipeline_build()
253 while ((tok = strsep(&dup, "|"))) { in dsp_pipeline_build()
327 kfree(dup); in dsp_pipeline_build()
/drivers/pci/
Dslot.c144 int len, max, dup; in make_slot_name() local
157 dup = 1; in make_slot_name()
165 if (dup == max) { in make_slot_name()
173 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
/drivers/staging/xgifb/
DTODO8 - sort out dup ids with SiS driver
/drivers/staging/lustre/lnet/lnet/
Dconfig.c1005 int dup; in lnet_match_networks() local
1048 dup = 0; in lnet_match_networks()
1061 dup = 1; in lnet_match_networks()
1066 if (dup) in lnet_match_networks()
1070 if (dup) { in lnet_match_networks()
/drivers/of/
Dunittest.c845 struct device_node *dup) in update_node_properties() argument
851 of_add_property(dup, prop); in update_node_properties()
854 child->parent = dup; in update_node_properties()
865 struct device_node *next, *dup, *child; in attach_node_and_children() local
868 dup = of_find_node_by_path(np->full_name); in attach_node_and_children()
869 if (dup) { in attach_node_and_children()
870 update_node_properties(np, dup); in attach_node_and_children()
/drivers/pinctrl/
Dcore.h186 bool dup);
Dcore.c1125 bool dup) in pinctrl_register_map() argument
1181 if (dup) { in pinctrl_register_map()
/drivers/md/bcache/
Dutil.h482 __label__ dup; \
492 goto dup; \
501 dup: \
/drivers/s390/net/
Dctcm_mpc.c130 __u32 ct, sw, rm, dup; in ctcmpc_dumpit() local
142 dup = 0; in ctcmpc_dumpit()
172 if (dup != 0) { in ctcmpc_dumpit()
180 dup = 0; in ctcmpc_dumpit()
183 dup++; in ctcmpc_dumpit()
198 if (dup != 0) { in ctcmpc_dumpit()
205 if (dup >= 1) { in ctcmpc_dumpit()
209 if (dup != 0) { in ctcmpc_dumpit()
/drivers/acpi/
Dpower.c137 acpi_handle rhandle, dup; in acpi_power_resource_is_dup() local
143 dup = package->package.elements[j].reference.handle; in acpi_power_resource_is_dup()
144 if (dup == rhandle) in acpi_power_resource_is_dup()
/drivers/staging/android/
Dsync.h55 struct sync_pt * (*dup)(struct sync_pt *pt); member
Dsw_sync.c106 .dup = sw_sync_pt_dup,
/drivers/block/
Drbd.c4803 char *dup; in dup_token() local
4807 dup = kmemdup(*buf, len + 1, GFP_KERNEL); in dup_token()
4808 if (!dup) in dup_token()
4810 *(dup + len) = '\0'; in dup_token()
4816 return dup; in dup_token()