Searched refs:GFP_KERNEL (Results 276 - 300 of 14532) sorted by relevance

<<11121314151617181920>>

/linux-master/sound/usb/6fire/
H A Dcomm.c113 buffer = kmalloc(13, GFP_KERNEL);
131 buffer = kmalloc(13, GFP_KERNEL);
145 GFP_KERNEL);
152 rt->receiver_buffer = kzalloc(COMM_RECEIVER_BUFSIZE, GFP_KERNEL);
174 ret = usb_submit_urb(urb, GFP_KERNEL);
/linux-master/drivers/gnss/
H A Dusb.c75 ret = usb_submit_urb(gusb->read_urb, GFP_KERNEL);
99 tbuf = kmemdup(buf, count, GFP_KERNEL);
134 gusb = kzalloc(sizeof(*gusb), GFP_KERNEL);
148 urb = usb_alloc_urb(0, GFP_KERNEL);
156 buf = kzalloc(buf_len, GFP_KERNEL);
/linux-master/drivers/pnp/pnpbios/
H A Dproc.c81 tmpbuf = kzalloc(escd.escd_size, GFP_KERNEL);
110 buf = kmalloc(65536, GFP_KERNEL);
128 node = kzalloc(node_info.max_node_size, GFP_KERNEL);
161 node = kzalloc(node_info.max_node_size, GFP_KERNEL);
188 node = kzalloc(node_info.max_node_size, GFP_KERNEL);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dib_virt.c58 rep = kzalloc(sizeof(*rep), GFP_KERNEL);
101 in = kzalloc(sizeof(*in), GFP_KERNEL);
132 out = kzalloc(out_sz, GFP_KERNEL);
160 in = kzalloc(sizeof(*in), GFP_KERNEL);
184 in = kzalloc(sizeof(*in), GFP_KERNEL);
/linux-master/drivers/bluetooth/
H A Dbcm203x.c148 if (usb_submit_urb(data->urb, GFP_KERNEL) < 0)
164 data = devm_kzalloc(&intf->dev, sizeof(*data), GFP_KERNEL);
171 data->urb = usb_alloc_urb(0, GFP_KERNEL);
185 data->buffer = kmalloc(size, GFP_KERNEL);
209 data->fw_data = kmemdup(firmware->data, firmware->size, GFP_KERNEL);
/linux-master/drivers/clk/visconti/
H A Dclkc.c90 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL);
96 gate = devm_kzalloc(dev, sizeof(*gate), GFP_KERNEL);
142 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL);
146 dev_name = devm_kasprintf(dev, GFP_KERNEL, "%s_div", clks[i].name);
194 ctx = devm_kzalloc(dev, struct_size(ctx, clk_data.hws, nr_clks), GFP_KERNEL);
/linux-master/drivers/net/wireless/purelifi/plfxlc/
H A Dfirmware.c65 fpga_dmabuff = kmalloc(PLF_FPGA_STATUS_LEN, GFP_KERNEL);
89 GFP_KERNEL);
115 fpga_dmabuff = kmalloc(PLF_FPGA_STATE_LEN, GFP_KERNEL);
175 buf = kzalloc(PLF_XL_BUF_LEN, GFP_KERNEL);
242 dma_buffer = kmalloc(PLF_SERIAL_LEN, GFP_KERNEL);
/linux-master/kernel/gcov/
H A Dgcc_4_7.c289 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL);
297 dup->filename = kstrdup(info->filename, GFP_KERNEL);
302 sizeof(struct gcov_fn_info *), GFP_KERNEL);
311 dup->functions[fi_idx] = kzalloc(fi_size, GFP_KERNEL);
324 dci_ptr->values = kvmalloc(cv_size, GFP_KERNEL);
/linux-master/sound/soc/intel/avs/
H A Dutils.c127 ida_ptrs = kcalloc(newinfo->count, sizeof(*ida_ptrs), GFP_KERNEL);
135 ida_ptrs[i] = kzalloc(sizeof(**ida_ptrs), GFP_KERNEL);
207 ret = ida_alloc_max(adev->mod_idas[idx], max_id, GFP_KERNEL);
249 entry = kzalloc(sizeof(*entry), GFP_KERNEL);
253 entry->name = kstrdup(name, GFP_KERNEL);
/linux-master/security/keys/
H A Ddh.c44 GFP_KERNEL);
103 outbuf = kmalloc(outbuf_len, GFP_KERNEL);
201 secret = kmalloc(secretlen, GFP_KERNEL);
237 GFP_KERNEL);
245 req = kpp_request_alloc(tfm, GFP_KERNEL);
/linux-master/drivers/md/
H A Ddm-ps-io-affinity.c56 pi = kzalloc(sizeof(*pi), GFP_KERNEL);
66 if (!zalloc_cpumask_var(&pi->cpumask, GFP_KERNEL)) {
115 s = kmalloc(sizeof(*s), GFP_KERNEL);
120 GFP_KERNEL);
124 if (!zalloc_cpumask_var(&s->path_mask, GFP_KERNEL))
/linux-master/drivers/gpu/drm/i915/
H A Di915_scatterlist.c24 if (sg_alloc_table(&new_st, orig_st->nents, GFP_KERNEL | __GFP_NOWARN))
93 rsgt = kmalloc(sizeof(*rsgt), GFP_KERNEL);
107 GFP_KERNEL)) {
181 rsgt = kmalloc(sizeof(*rsgt), GFP_KERNEL);
193 if (sg_alloc_table(st, PFN_UP(res->size), GFP_KERNEL)) {
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pci.c121 plat->axi = devm_kzalloc(&pdev->dev, sizeof(*plat->axi), GFP_KERNEL);
162 plat = devm_kzalloc(&pdev->dev, sizeof(*plat), GFP_KERNEL);
168 GFP_KERNEL);
173 GFP_KERNEL);
179 GFP_KERNEL);
/linux-master/drivers/gpu/drm/amd/display/dc/basics/
H A Dvector.c43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL);
69 vector->container = kcalloc(count, struct_size, GFP_KERNEL);
97 struct vector *vector = kzalloc(sizeof(struct vector), GFP_KERNEL);
116 struct vector *vector = kzalloc(sizeof(struct vector), GFP_KERNEL);
292 capacity * vector->struct_size, GFP_KERNEL);
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_param_dvs.c35 GFP_KERNEL);
62 GFP_KERNEL);
70 GFP_KERNEL);
81 GFP_KERNEL);
89 GFP_KERNEL);
/linux-master/drivers/i2c/busses/
H A Di2c-tiny-usb.c59 pstatus = kmalloc(sizeof(*pstatus), GFP_KERNEL);
127 pfunc = kmalloc(sizeof(*pfunc), GFP_KERNEL);
177 void *dmadata = kmalloc(len, GFP_KERNEL);
197 void *dmadata = kmemdup(data, len, GFP_KERNEL);
232 dev = kzalloc(sizeof(*dev), GFP_KERNEL);
/linux-master/crypto/asymmetric_keys/
H A Dx509_public_key.c35 sig->s = kmemdup(cert->raw_sig, cert->raw_sig_size, GFP_KERNEL);
57 sig->digest = kmalloc(sig->digest_size, GFP_KERNEL);
61 desc = kzalloc(desc_size, GFP_KERNEL);
206 desc = kmalloc(sulen + 2 + srlen * 2 + 1, GFP_KERNEL);
216 kids = kmalloc(sizeof(struct asymmetric_key_ids), GFP_KERNEL);
/linux-master/drivers/crypto/aspeed/
H A Daspeed-hace.c107 GFP_KERNEL);
187 GFP_KERNEL);
199 GFP_KERNEL);
211 GFP_KERNEL);
224 GFP_KERNEL);
/linux-master/mm/
H A Dshrinker_debug.c28 .gfp_mask = GFP_KERNEL,
56 count_per_node = kcalloc(nr_node_ids, sizeof(unsigned long), GFP_KERNEL);
111 .gfp_mask = GFP_KERNEL,
174 id = ida_alloc(&shrinker_debugfs_ida, GFP_KERNEL);
205 new = kvasprintf_const(GFP_KERNEL, fmt, ap);
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_telemetry.c54 telemetry = kzalloc_node(sizeof(*telemetry), GFP_KERNEL, node);
60 GFP_KERNEL);
66 GFP_KERNEL);
72 GFP_KERNEL);
77 tl_data_regs = kzalloc_node(regs_sz, GFP_KERNEL, node);
/linux-master/drivers/gpu/drm/ttm/tests/
H A Dttm_device_test.c25 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL);
54 ttm_devs = kunit_kcalloc(test, num_dev, sizeof(*ttm_devs), GFP_KERNEL);
81 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL);
105 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL);
162 ttm_dev = kunit_kzalloc(test, sizeof(*ttm_dev), GFP_KERNEL);
/linux-master/fs/smb/server/
H A Dmisc.c168 pathname = kmalloc(PATH_MAX, GFP_KERNEL);
183 nt_pathname = kzalloc(strlen(&ab_pathname[share_path_len]) + 2, GFP_KERNEL);
235 cf_name = kzalloc(KSMBD_REQ_MAX_SHARE_NAME, GFP_KERNEL);
297 new_name = kmalloc(path_len + name_len + 2, GFP_KERNEL);
323 conv = kmalloc(sz, GFP_KERNEL);
/linux-master/drivers/s390/cio/
H A Dchsc_sch.c85 private = kzalloc(sizeof(*private), GFP_KERNEL);
296 chsc_area = (void *)get_zeroed_page(GFP_KERNEL);
299 request = kzalloc(sizeof(*request), GFP_KERNEL);
339 on_close_request = kzalloc(sizeof(*on_close_request), GFP_KERNEL);
344 on_close_chsc_area = (void *)get_zeroed_page(GFP_KERNEL);
396 chsc_area = (void *)get_zeroed_page(GFP_KERNEL);
442 scpcd_area = (void *)get_zeroed_page(GFP_KERNEL);
445 cd = kzalloc(sizeof(*cd), GFP_KERNEL);
504 scucd_area = (void *)get_zeroed_page(GFP_KERNEL);
507 cd = kzalloc(sizeof(*cd), GFP_KERNEL);
[all...]
/linux-master/drivers/gpio/
H A Dgpiolib-devres.c119 GFP_KERNEL);
157 GFP_KERNEL);
219 sizeof(struct gpio_descs *), GFP_KERNEL);
346 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL);
376 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL);
/linux-master/drivers/clk/
H A Dclk-devres.c31 state = devres_alloc(devm_clk_release, sizeof(*state), GFP_KERNEL);
121 sizeof(*devres), GFP_KERNEL);
168 sizeof(*devres), GFP_KERNEL);
200 sizeof(*devres), GFP_KERNEL);
251 state = devres_alloc(devm_clk_release, sizeof(*state), GFP_KERNEL);

Completed in 201 milliseconds

<<11121314151617181920>>