Home
last modified time | relevance | path

Searched refs:GFP_KERNEL (Results 1 – 25 of 4662) sorted by relevance

12345678910>>...187

/linux-3.4.99/mm/
Dkmemleak-test.c53 pr_info("kmemleak: kmalloc(32) = %p\n", kmalloc(32, GFP_KERNEL)); in kmemleak_test_init()
54 pr_info("kmemleak: kmalloc(32) = %p\n", kmalloc(32, GFP_KERNEL)); in kmemleak_test_init()
55 pr_info("kmemleak: kmalloc(1024) = %p\n", kmalloc(1024, GFP_KERNEL)); in kmemleak_test_init()
56 pr_info("kmemleak: kmalloc(1024) = %p\n", kmalloc(1024, GFP_KERNEL)); in kmemleak_test_init()
57 pr_info("kmemleak: kmalloc(2048) = %p\n", kmalloc(2048, GFP_KERNEL)); in kmemleak_test_init()
58 pr_info("kmemleak: kmalloc(2048) = %p\n", kmalloc(2048, GFP_KERNEL)); in kmemleak_test_init()
59 pr_info("kmemleak: kmalloc(4096) = %p\n", kmalloc(4096, GFP_KERNEL)); in kmemleak_test_init()
60 pr_info("kmemleak: kmalloc(4096) = %p\n", kmalloc(4096, GFP_KERNEL)); in kmemleak_test_init()
63 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init()
65 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init()
[all …]
/linux-3.4.99/drivers/net/wireless/wl1251/
Dacx.c20 rates = kzalloc(sizeof(*rates), GFP_KERNEL); in wl1251_acx_frame_rates()
51 mac = kzalloc(sizeof(*mac), GFP_KERNEL); in wl1251_acx_station_id()
76 default_key = kzalloc(sizeof(*default_key), GFP_KERNEL); in wl1251_acx_default_key()
106 wake_up = kzalloc(sizeof(*wake_up), GFP_KERNEL); in wl1251_acx_wake_up_conditions()
134 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1251_acx_sleep_auth()
156 rev = kzalloc(sizeof(*rev), GFP_KERNEL); in wl1251_acx_fw_version()
193 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1251_acx_tx_power()
219 feature = kzalloc(sizeof(*feature), GFP_KERNEL); in wl1251_acx_feature_cfg()
263 params = kzalloc(sizeof(*params), GFP_KERNEL); in wl1251_acx_data_path_params()
311 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1251_acx_rx_msdu_life_time()
[all …]
/linux-3.4.99/drivers/net/wireless/wl12xx/
Dacx.c46 wake_up = kzalloc(sizeof(*wake_up), GFP_KERNEL); in wl1271_acx_wake_up_conditions()
75 auth = kzalloc(sizeof(*auth), GFP_KERNEL); in wl1271_acx_sleep_auth()
101 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_tx_power()
128 feature = kzalloc(sizeof(*feature), GFP_KERNEL); in wl1271_acx_feature_cfg()
172 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_rx_msdu_life_time()
199 slot = kzalloc(sizeof(*slot), GFP_KERNEL); in wl1271_acx_slot()
228 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl1271_acx_group_address_tbl()
258 rx_timeout = kzalloc(sizeof(*rx_timeout), GFP_KERNEL); in wl1271_acx_service_period_timeout()
298 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1271_acx_rts_threshold()
326 dco = kzalloc(sizeof(*dco), GFP_KERNEL); in wl1271_acx_dco_itrim_params()
[all …]
/linux-3.4.99/arch/arm/mach-ux500/
Dcpu.c72 return kasprintf(GFP_KERNEL, "DB%4x", dbx500_partnumber()); in ux500_get_machine()
77 return kasprintf(GFP_KERNEL, "ux500"); in ux500_get_family()
85 return kasprintf(GFP_KERNEL, "%s", "ED"); in ux500_get_revision()
87 return kasprintf(GFP_KERNEL, "%d.%d", in ux500_get_revision()
90 return kasprintf(GFP_KERNEL, "%s", "Unknown"); in ux500_get_revision()
121 soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); in ux500_soc_device_init()
/linux-3.4.99/fs/jffs2/
Dmalloc.c125 ret = kmalloc(sizeof(struct jffs2_full_dirent) + namesize, GFP_KERNEL); in jffs2_alloc_full_dirent()
139 ret = kmem_cache_alloc(full_dnode_slab, GFP_KERNEL); in jffs2_alloc_full_dnode()
153 ret = kmem_cache_alloc(raw_dirent_slab, GFP_KERNEL); in jffs2_alloc_raw_dirent()
167 ret = kmem_cache_alloc(raw_inode_slab, GFP_KERNEL); in jffs2_alloc_raw_inode()
181 ret = kmem_cache_alloc(tmp_dnode_info_slab, GFP_KERNEL); in jffs2_alloc_tmp_dnode_info()
197 ret = kmem_cache_alloc(raw_node_ref_slab, GFP_KERNEL); in jffs2_alloc_refblock()
260 ret = kmem_cache_alloc(node_frag_slab, GFP_KERNEL); in jffs2_alloc_node_frag()
274 ret = kmem_cache_alloc(inode_cache_slab, GFP_KERNEL); in jffs2_alloc_inode_cache()
289 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum()
307 ref = kmem_cache_zalloc(xattr_ref_cache, GFP_KERNEL); in jffs2_alloc_xattr_ref()
/linux-3.4.99/drivers/usb/misc/
Duss720.c274 if (get_1284_register(pp, 6, &reg, GFP_KERNEL)) in change_mode()
294 if (get_1284_register(pp, 6, &reg, GFP_KERNEL)) in change_mode()
308 if (set_1284_register(pp, 6, m << 5, GFP_KERNEL)) in change_mode()
310 if (get_1284_register(pp, 6, &reg, GFP_KERNEL)) in change_mode()
322 if (get_1284_register(pp, 1, &stat, GFP_KERNEL)) in clear_epp_timeout()
348 set_1284_register(pp, 0, d, GFP_KERNEL); in parport_uss720_write_data()
355 if (get_1284_register(pp, 0, &ret, GFP_KERNEL)) in parport_uss720_read_data()
365 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_write_control()
384 if (set_1284_register(pp, 2, d, GFP_KERNEL)) in parport_uss720_frob_control()
394 if (get_1284_register(pp, 1, &ret, GFP_KERNEL)) in parport_uss720_read_status()
[all …]
/linux-3.4.99/scripts/coccinelle/locks/
Dcall_kern.cocci1 /// Find functions that refer to GFP_KERNEL but are called with locks held.
2 //# The proposed change of converting the GFP_KERNEL is not necessarily the
34 GFP_KERNEL@p
77 - GFP_KERNEL@p
84 * GFP_KERNEL@p
95 cocci.print_secs("GFP_KERNEL",p)
104 msg = "ERROR: function %s called on line %s inside lock on line %s but uses GFP_KERNEL" % (fn,p2[0]…
/linux-3.4.99/include/drm/
Ddrm_mem_util.h38 return kcalloc(nmemb, size, GFP_KERNEL); in drm_calloc_large()
41 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in drm_calloc_large()
51 return kmalloc(nmemb * size, GFP_KERNEL); in drm_malloc_ab()
54 GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); in drm_malloc_ab()
/linux-3.4.99/arch/sh/kernel/
Dprocess.c15 GFP_KERNEL); in arch_dup_task_struct()
39 gfp_t mask = GFP_KERNEL | __GFP_ZERO; in alloc_thread_info_node()
41 gfp_t mask = GFP_KERNEL; in alloc_thread_info_node()
63 gfp_t mask = GFP_KERNEL | __GFP_ZERO; in alloc_thread_info_node()
65 gfp_t mask = GFP_KERNEL; in alloc_thread_info_node()
/linux-3.4.99/arch/ia64/include/asm/
Dpgalloc.h27 return quicklist_alloc(0, GFP_KERNEL, NULL); in pgd_alloc()
44 return quicklist_alloc(0, GFP_KERNEL, NULL); in pud_alloc_one()
62 return quicklist_alloc(0, GFP_KERNEL, NULL); in pmd_alloc_one()
90 pg = quicklist_alloc(0, GFP_KERNEL, NULL); in pte_alloc_one()
101 return quicklist_alloc(0, GFP_KERNEL, NULL); in pte_alloc_one_kernel()
/linux-3.4.99/drivers/w1/
Dw1_netlink.c48 cn_netlink_send(m, 0, GFP_KERNEL); in w1_netlink_send()
66 cn_netlink_send(msg, 0, GFP_KERNEL); in w1_send_slave()
95 cn_netlink_send(msg, 0, GFP_KERNEL); in w1_process_search_command()
115 cmd->len, GFP_KERNEL); in w1_send_read_reply()
135 err = cn_netlink_send(cm, 0, GFP_KERNEL); in w1_send_read_reply()
175 msg = kzalloc(PAGE_SIZE, GFP_KERNEL); in w1_process_command_master()
240 cn = kmalloc(PAGE_SIZE, GFP_KERNEL); in w1_process_command_root()
260 cn_netlink_send(cn, 0, GFP_KERNEL); in w1_process_command_root()
273 cn_netlink_send(cn, 0, GFP_KERNEL); in w1_process_command_root()
287 cmsg = kzalloc(sizeof(*msg) + sizeof(*cmd) + sizeof(*cmsg), GFP_KERNEL); in w1_netlink_send_error()
[all …]
/linux-3.4.99/drivers/staging/iio/
Diio_hwmon.c103 st = kzalloc(sizeof(*st), GFP_KERNEL); in iio_hwmon_probe()
120 GFP_KERNEL); in iio_hwmon_probe()
126 a = kzalloc(sizeof(*a), GFP_KERNEL); in iio_hwmon_probe()
140 a->dev_attr.attr.name = kasprintf(GFP_KERNEL, in iio_hwmon_probe()
145 a->dev_attr.attr.name = kasprintf(GFP_KERNEL, in iio_hwmon_probe()
150 a->dev_attr.attr.name = kasprintf(GFP_KERNEL, in iio_hwmon_probe()
/linux-3.4.99/drivers/clk/
Dclk-fixed-rate.c50 fixed = kzalloc(sizeof(struct clk_fixed_rate), GFP_KERNEL); in clk_register_fixed_rate()
61 parent_names = kmalloc(sizeof(char *), GFP_KERNEL); in clk_register_fixed_rate()
68 parent_names[0] = kmalloc(len, GFP_KERNEL); in clk_register_fixed_rate()
/linux-3.4.99/arch/mips/include/asm/
Dpgalloc.h51 ret = (pgd_t *) __get_free_pages(GFP_KERNEL, PGD_ORDER); in pgd_alloc()
72 pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, PTE_ORDER); in pte_alloc_one_kernel()
82 pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT, PTE_ORDER); in pte_alloc_one()
113 pmd = (pmd_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT, PMD_ORDER); in pmd_alloc_one()
/linux-3.4.99/arch/mn10300/mm/
Dpgtable.c66 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT); in pte_alloc_one_kernel()
77 pte = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT, 0); in pte_alloc_one()
79 pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT, 0); in pte_alloc_one()
154 return quicklist_alloc(0, GFP_KERNEL, pgd_ctor); in pgd_alloc()
/linux-3.4.99/arch/frv/mm/
Dpgalloc.c25 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT); in pte_alloc_one_kernel()
36 page = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT, 0); in pte_alloc_one()
38 page = alloc_pages(GFP_KERNEL|__GFP_REPEAT, 0); in pte_alloc_one()
136 return quicklist_alloc(0, GFP_KERNEL, pgd_ctor); in pgd_alloc()
/linux-3.4.99/drivers/gpu/drm/exynos/
Dexynos_drm_buf.c65 buf->sgt = kzalloc(sizeof(struct sg_table), GFP_KERNEL); in lowlevel_buffer_allocate()
71 ret = sg_alloc_table(buf->sgt, npages, GFP_KERNEL); in lowlevel_buffer_allocate()
80 &buf->dma_addr, GFP_KERNEL); in lowlevel_buffer_allocate()
87 buf->pages = kzalloc(sizeof(struct page) * npages, GFP_KERNEL); in lowlevel_buffer_allocate()
170 buffer = kzalloc(sizeof(*buffer), GFP_KERNEL); in exynos_drm_init_buf()
/linux-3.4.99/drivers/power/
Dpower_supply_leds.c62 psy->charging_full_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers()
67 psy->charging_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers()
72 psy->full_trig_name = kasprintf(GFP_KERNEL, "%s-full", psy->name); in power_supply_create_bat_triggers()
76 psy->charging_blink_full_solid_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers()
137 psy->online_trig_name = kasprintf(GFP_KERNEL, "%s-online", psy->name); in power_supply_create_gen_triggers()
/linux-3.4.99/drivers/net/wireless/libertas/
Ddebugfs.c37 unsigned long addr = get_zeroed_page(GFP_KERNEL); in lbs_dev_info()
62 unsigned long addr = get_zeroed_page(GFP_KERNEL); in lbs_sleepparams_write()
102 unsigned long addr = get_zeroed_page(GFP_KERNEL); in lbs_sleepparams_read()
130 unsigned long addr = get_zeroed_page(GFP_KERNEL); in lbs_host_sleep_write()
175 unsigned long addr = get_zeroed_page(GFP_KERNEL); in lbs_host_sleep_read()
238 buf = (char *)get_zeroed_page(GFP_KERNEL); in lbs_threshold_read()
242 subscribed = kzalloc(sizeof(*subscribed), GFP_KERNEL); in lbs_threshold_read()
290 buf = (char *)get_zeroed_page(GFP_KERNEL); in lbs_threshold_write()
304 events = kzalloc(sizeof(*events), GFP_KERNEL); in lbs_threshold_write()
452 unsigned long addr = get_zeroed_page(GFP_KERNEL); in lbs_rdmac_read()
[all …]
/linux-3.4.99/include/acpi/platform/
Daclinux.h130 return kmalloc(size, irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL); in acpi_os_allocate()
135 return kzalloc(size, irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL); in acpi_os_allocate_zeroed()
141 irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL); in acpi_os_acquire_object()
/linux-3.4.99/arch/cris/include/asm/
Dpgalloc.h17 return (pgd_t *)get_zeroed_page(GFP_KERNEL); in pgd_alloc()
27 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
34 pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0); in pte_alloc_one()
/linux-3.4.99/arch/powerpc/include/asm/
Dpgalloc-64.h42 return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), GFP_KERNEL); in pgd_alloc()
57 GFP_KERNEL|__GFP_REPEAT); in pud_alloc_one()
95 GFP_KERNEL|__GFP_REPEAT); in pmd_alloc_one()
106 return (pte_t *)__get_free_page(GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one_kernel()
/linux-3.4.99/arch/parisc/include/asm/
Dpgalloc.h23 pgd_t *pgd = (pgd_t *)__get_free_pages(GFP_KERNEL, in pgd_alloc()
66 pmd_t *pmd = (pmd_t *)__get_free_pages(GFP_KERNEL|__GFP_REPEAT, in pmd_alloc_one()
123 struct page *page = alloc_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one()
132 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
/linux-3.4.99/drivers/s390/cio/
Dchsc_sch.c84 private = kzalloc(sizeof(*private), GFP_KERNEL); in chsc_subchannel_probe()
332 chsc_area = (void *)get_zeroed_page(GFP_DMA | GFP_KERNEL); in chsc_ioctl_start()
335 request = kzalloc(sizeof(*request), GFP_KERNEL); in chsc_ioctl_start()
385 scpcd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_channel_path()
388 cd = kzalloc(sizeof(*cd), GFP_KERNEL); in chsc_ioctl_info_channel_path()
447 scucd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_cu()
450 cd = kzalloc(sizeof(*cd), GFP_KERNEL); in chsc_ioctl_info_cu()
510 sscud_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_sch_cu()
513 cud = kzalloc(sizeof(*cud), GFP_KERNEL); in chsc_ioctl_info_sch_cu()
572 sci_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_conf_info()
[all …]
/linux-3.4.99/drivers/infiniband/hw/cxgb4/
Dresource.c56 if (kfifo_alloc(fifo, nr * sizeof(u32), GFP_KERNEL)) in __c4iw_init_resource_fifo()
115 sizeof(u32), GFP_KERNEL)) in c4iw_init_qid_fifo()
189 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
200 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
206 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_cqid()
224 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_put_cqid()
253 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
264 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
270 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_get_qpid()
288 entry = kmalloc(sizeof *entry, GFP_KERNEL); in c4iw_put_qpid()

12345678910>>...187