Home
last modified time | relevance | path

Searched refs:GFP_NOIO (Results 1 – 25 of 192) sorted by relevance

12345678

/linux-6.6.21/net/ceph/
Dcls_lock_client.c52 lock_op_page = alloc_page(GFP_NOIO); in ceph_cls_lock()
111 unlock_op_page = alloc_page(GFP_NOIO); in ceph_cls_unlock()
164 break_op_page = alloc_page(GFP_NOIO); in ceph_cls_break_lock()
213 cookie_op_page = alloc_page(GFP_NOIO); in ceph_cls_set_cookie()
263 s = ceph_extract_encoded_string(p, end, NULL, GFP_NOIO); in decode_locker()
303 *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); in decode_lockers()
314 s = ceph_extract_encoded_string(p, end, NULL, GFP_NOIO); in decode_lockers()
352 get_info_op_page = alloc_page(GFP_NOIO); in ceph_cls_lock_info()
356 reply_page = alloc_page(GFP_NOIO); in ceph_cls_lock_info()
411 pages = ceph_alloc_page_vector(1, GFP_NOIO); in ceph_cls_assert_locked()
Dosd_client.c1288 osd = kzalloc(sizeof(*osd), GFP_NOIO | __GFP_NOFAIL); in create_osd()
1737 spg = kmalloc(sizeof(*spg), GFP_NOIO); in alloc_spg_mapping()
1864 GFP_NOIO); in decode_hoid()
1872 GFP_NOIO); in decode_hoid()
1884 GFP_NOIO); in decode_hoid()
1932 backoff = kzalloc(sizeof(*backoff), GFP_NOIO); in alloc_backoff()
2825 lreq = kzalloc(sizeof(*lreq), GFP_NOIO); in linger_alloc()
2967 lwork = kzalloc(sizeof(*lwork), GFP_NOIO); in lwork_alloc()
3159 req = ceph_osdc_alloc_request(osdc, NULL, 1, true, GFP_NOIO); in send_linger()
3189 ret = ceph_osdc_alloc_messages(req, GFP_NOIO); in send_linger()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dgfp_mask-from-fs-io.rst30 (注意后者意味着也要清除第一个)。GFP_NOFS和GFP_NOIO可以作为快捷方式使用。但事
32 这导致了问题,因为过度使用GFP_NOFS/GFP_NOIO会导致内存过度回收或其他内存回收的问
61 复这些分配是相当不容易的。这意味着用GFP_NOFS/GFP_NOIO调用 ``vmalloc`` 几乎
Dmemory-allocation.rst67 你可能会注意到,在现有的代码中,有相当多的分配指定了 ``GFP_NOIO`` 或 ``GFP_NOFS`` 。
/linux-6.6.21/block/
Dbounce.c168 bio_src->bi_opf, GFP_NOIO, &bounce_bio_set); in bounce_clone_bio()
186 if (bio_crypt_clone(bio, bio_src, GFP_NOIO) < 0) in bounce_clone_bio()
190 bio_integrity_clone(bio, bio_src, GFP_NOIO) < 0) in bounce_clone_bio()
229 bio = bio_split(bio_orig, sectors, GFP_NOIO, &bounce_bio_split); in __blk_queue_bounce()
247 bounce_page = mempool_alloc(&page_pool, GFP_NOIO); in __blk_queue_bounce()
Dblk-crypto-fallback.c167 bio = bio_kmalloc(nr_segs, GFP_NOIO); in blk_crypto_fallback_clone_bio()
197 GFP_NOIO); in blk_crypto_fallback_alloc_cipher_req()
226 split_bio = bio_split(bio, num_sectors, GFP_NOIO, in blk_crypto_fallback_split_bio_if_needed()
320 mempool_alloc(blk_crypto_bounce_page_pool, GFP_NOIO); in blk_crypto_fallback_encrypt_bio()
515 f_ctx = mempool_alloc(bio_fallback_crypt_ctx_pool, GFP_NOIO); in blk_crypto_fallback_bio_prep()
/linux-6.6.21/fs/squashfs/
Dblock.c116 GFP_NOIO, &fs_bio_set); in squashfs_bio_read_cached()
146 GFP_NOIO); in squashfs_bio_read_cached()
158 GFP_NOIO); in squashfs_bio_read_cached()
204 bio = bio_kmalloc(page_count, GFP_NOIO); in squashfs_bio_read()
218 page = alloc_page(GFP_NOIO); in squashfs_bio_read()
/linux-6.6.21/drivers/usb/core/
Dmessage.c59 retval = usb_submit_urb(urb, GFP_NOIO); in usb_start_wait_urb()
96 urb = usb_alloc_urb(0, GFP_NOIO); in usb_internal_control_msg()
144 dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_NOIO); in usb_control_msg()
665 retval = usb_submit_urb(io->urbs[i], GFP_NOIO); in usb_sg_wait()
980 tbuf = kmalloc(256, GFP_NOIO); in usb_string()
1028 buf = kmalloc(MAX_USB_STRING_SIZE, GFP_NOIO); in usb_cache_string()
1032 smallbuf = kmalloc(++len, GFP_NOIO); in usb_cache_string()
1061 desc = kmalloc(sizeof(*desc), GFP_NOIO); in usb_get_device_descriptor()
1097 GFP_NOIO); in usb_set_isoch_delay()
1220 USB_CTRL_SET_TIMEOUT, GFP_NOIO); in usb_clear_halt()
[all …]
/linux-6.6.21/Documentation/core-api/
Dgfp_mask-from-fs-io.rst21 the gfp mask when calling an allocator. GFP_NOFS respectively GFP_NOIO can be
25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory
60 to fix up. That means that calling ``vmalloc`` with GFP_NOFS/GFP_NOIO is
/linux-6.6.21/drivers/usb/storage/
Ddatafab.c169 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_read_data()
253 buffer = kmalloc(alloclen, GFP_NOIO); in datafab_write_data()
331 buf = kmalloc(512, GFP_NOIO); in datafab_determine_lun()
402 reply = kmalloc(512, GFP_NOIO); in datafab_id_device()
558 us->extra = kzalloc(sizeof(struct datafab_info), GFP_NOIO); in datafab_transport()
Dsddr55.c211 buffer = kmalloc(len, GFP_NOIO); in sddr55_read_data()
338 buffer = kmalloc(len, GFP_NOIO); in sddr55_write_data()
655 buffer = kmalloc_array(numblocks, 2, GFP_NOIO ); in sddr55_read_map()
688 info->lba_to_pba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr55_read_map()
689 info->pba_to_lba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr55_read_map()
797 sizeof(struct sddr55_card_info), GFP_NOIO); in sddr55_transport()
Dkarma.c177 struct karma_data *data = kzalloc(sizeof(struct karma_data), GFP_NOIO); in rio_karma_init()
182 data->recv = kmalloc(RIO_RECV_LEN, GFP_NOIO); in rio_karma_init()
Dalauda.c440 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
441 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
575 u16 *lba_to_pba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map()
576 u16 *pba_to_lba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map()
936 buffer = kmalloc(len, GFP_NOIO); in alauda_read_data()
1028 buffer = kmalloc(len, GFP_NOIO); in alauda_write_data()
1036 blockbuffer = kmalloc_array(pagesize + 64, blocksize, GFP_NOIO); in alauda_write_data()
1113 us->extra = kzalloc(sizeof(struct alauda_info), GFP_NOIO); in init_alauda()
Djumpshot.c181 buffer = kmalloc(alloclen, GFP_NOIO); in jumpshot_read_data()
258 buffer = kmalloc(alloclen, GFP_NOIO); in jumpshot_write_data()
333 reply = kmalloc(512, GFP_NOIO); in jumpshot_id_device()
485 us->extra = kzalloc(sizeof(struct jumpshot_info), GFP_NOIO); in jumpshot_transport()
Dsddr09.c680 buf = kmalloc(bulklen, GFP_NOIO);
756 buffer = kmalloc(len, GFP_NOIO); in sddr09_read_data()
990 blockbuffer = kmalloc(blocklen, GFP_NOIO); in sddr09_write_data()
1001 buffer = kmalloc(len, GFP_NOIO); in sddr09_write_data()
1224 buffer = kmalloc(alloc_len, GFP_NOIO); in sddr09_read_map()
1235 info->lba_to_pba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr09_read_map()
1236 info->pba_to_lba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr09_read_map()
1431 us->extra = kzalloc(sizeof(struct sddr09_card_info), GFP_NOIO); in sddr09_common_init()
/linux-6.6.21/drivers/md/bcache/
Drequest.c227 n = bio_next_split(bio, KEY_SIZE(k), GFP_NOIO, split); in bch_data_insert_start()
552 GFP_NOIO, &s->d->bio_split); in cache_lookup_fn()
688 bio_init_clone(orig_bio->bi_bdev, bio, orig_bio, GFP_NOIO); in do_bio_hook()
721 s = mempool_alloc(&d->c->search, GFP_NOIO); in search_alloc()
889 miss = bio_next_split(bio, sectors, GFP_NOIO, &s->d->bio_split); in cached_dev_cache_miss()
909 miss = bio_next_split(bio, s->insert_bio_sectors, GFP_NOIO, in cached_dev_cache_miss()
928 if (bch_bio_alloc_pages(cache_bio, __GFP_NOWARN|GFP_NOIO)) in cached_dev_cache_miss()
1028 GFP_NOIO, &dc->disk.bio_split); in cached_dev_write()
1039 s->iop.bio = bio_alloc_clone(bio->bi_bdev, bio, GFP_NOIO, in cached_dev_write()
1107 ddip = kzalloc(sizeof(struct detached_dev_io_private), GFP_NOIO); in detached_dev_do_request()
Ddebug.c115 check = bio_kmalloc(nr_segs, GFP_NOIO); in bch_data_verify()
124 if (bch_bio_alloc_pages(check, GFP_NOIO)) in bch_data_verify()
/linux-6.6.21/drivers/usb/misc/
Dusbsevseg.c100 NULL, 0, 2000, GFP_NOIO); in update_display_mode()
363 update_display_visual(mydev, GFP_NOIO); in sevseg_resume()
375 update_display_visual(mydev, GFP_NOIO); in sevseg_reset_resume()
/linux-6.6.21/drivers/xen/xenbus/
Dxenbus_xs.c314 req = kmalloc(sizeof(*req), GFP_NOIO | __GFP_HIGH); in xs_talkv()
393 buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s", dir); in join()
395 buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s/%s", dir, name); in join()
407 ret = kmalloc(*num * sizeof(char *) + len, GFP_NOIO | __GFP_HIGH); in split()
614 buf = kvasprintf(GFP_NOIO | __GFP_HIGH, fmt, ap); in xenbus_printf()
/linux-6.6.21/net/sunrpc/xprtrdma/
Dsvc_rdma_backchannel.c116 page = alloc_page(GFP_NOIO | __GFP_NOWARN); in xprt_rdma_bc_allocate()
121 rqst->rq_rbuffer = kmalloc(rqst->rq_rcvsize, GFP_NOIO | __GFP_NOWARN); in xprt_rdma_bc_allocate()
/linux-6.6.21/kernel/power/
Dswap.c279 bio = bio_alloc(hib_resume_bdev, 1, opf, GFP_NOIO | __GFP_HIGH); in hib_submit_io()
387 src = (void *)__get_free_page(GFP_NOIO | __GFP_NOWARN | in write_page()
395 src = (void *)__get_free_page(GFP_NOIO | in write_page()
703 page = (void *)__get_free_page(GFP_NOIO | __GFP_HIGH); in save_image_lzo()
998 __get_free_page(GFP_NOIO | __GFP_HIGH); in get_swap_reader()
1268 GFP_NOIO | __GFP_HIGH : in load_image_lzo()
1269 GFP_NOIO | __GFP_NOWARN | in load_image_lzo()
/linux-6.6.21/drivers/md/
Ddm-io.c353 bio = bio_alloc_bioset(where->bdev, num_bvecs, opf, GFP_NOIO, in do_region()
440 io = mempool_alloc(&client->pool, GFP_NOIO); in sync_io()
472 io = mempool_alloc(&client->pool, GFP_NOIO); in async_io()
/linux-6.6.21/drivers/input/touchscreen/
Dusbtouchscreen.c480 buf = kzalloc(MTOUCHUSB_REQ_CTRLLR_ID_LEN, GFP_NOIO); in mtouch_get_fw_revision()
692 buf = kmalloc(2, GFP_NOIO); in dmc_tsc10_init()
978 buf = kmalloc(NEXIO_BUFSIZE, GFP_NOIO); in nexio_init()
1010 firmware_ver = kstrdup(&buf[2], GFP_NOIO); in nexio_init()
1014 device_name = kstrdup(&buf[2], GFP_NOIO); in nexio_init()
1592 result = usb_submit_urb(usbtouch->irq, GFP_NOIO); in usbtouch_resume()
1617 err = usb_submit_urb(usbtouch->irq, GFP_NOIO); in usbtouch_reset_resume()
/linux-6.6.21/arch/s390/mm/
Dcmm.c69 addr = __get_free_page(GFP_NOIO); in cmm_alloc_pages()
78 __get_free_page(GFP_NOIO); in cmm_alloc_pages()
/linux-6.6.21/drivers/scsi/qedf/
Dqedf_els.c300 cb_arg = kzalloc(sizeof(struct qedf_els_cb_arg), GFP_NOIO); in qedf_send_rrq()
513 cb_arg = kzalloc(sizeof(struct qedf_els_cb_arg), GFP_NOIO); in qedf_send_adisc()
662 cb_arg = kzalloc(sizeof(struct qedf_els_cb_arg), GFP_NOIO); in qedf_send_srr()
711 cb_arg = kzalloc(sizeof(struct qedf_els_cb_arg), GFP_NOIO); in qedf_initiate_seq_cleanup()
1036 cb_arg = kzalloc(sizeof(struct qedf_els_cb_arg), GFP_NOIO); in qedf_send_rec()

12345678