Home
last modified time | relevance | path

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

12345678

/linux/net/ceph/
A 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()
A Dosd_client.c1678 spg = kmalloc(sizeof(*spg), GFP_NOIO); in alloc_spg_mapping()
1805 GFP_NOIO); in decode_hoid()
1813 GFP_NOIO); in decode_hoid()
1825 GFP_NOIO); in decode_hoid()
2756 lreq = kzalloc(sizeof(*lreq), GFP_NOIO); in linger_alloc()
2898 lwork = kzalloc(sizeof(*lwork), GFP_NOIO); in lwork_alloc()
4239 m->end = kzalloc(sizeof(*m->end), GFP_NOIO); in decode_MOSDBackoff()
4799 pl = ceph_pagelist_alloc(GFP_NOIO); in osd_req_op_notify_ack_init()
4869 pl = ceph_pagelist_alloc(GFP_NOIO); in osd_req_op_notify_init()
4941 pages = ceph_alloc_page_vector(1, GFP_NOIO); in ceph_osdc_notify()
[all …]
A Dmon_client.c120 monmap = kmalloc(struct_size(monmap, mon_inst, num_mon), GFP_NOIO); in ceph_monmap_decode()
858 req = alloc_generic_request(monc, GFP_NOIO); in __ceph_monc_get_version()
864 GFP_NOIO, true); in __ceph_monc_get_version()
868 req->reply = ceph_msg_new(CEPH_MSG_MON_GET_VERSION_REPLY, 32, GFP_NOIO, in __ceph_monc_get_version()
981 req = alloc_generic_request(monc, GFP_NOIO); in do_mon_command_vargs()
985 req->request = ceph_msg_new(CEPH_MSG_MON_COMMAND, 256, GFP_NOIO, true); in do_mon_command_vargs()
989 req->reply = ceph_msg_new(CEPH_MSG_MON_COMMAND_ACK, 512, GFP_NOIO, in do_mon_command_vargs()
/linux/Documentation/translations/zh_CN/core-api/
A Dgfp_mask-from-fs-io.rst30 (注意后者意味着也要清除第一个)。GFP_NOFS和GFP_NOIO可以作为快捷方式使用。但事
32 这导致了问题,因为过度使用GFP_NOFS/GFP_NOIO会导致内存过度回收或其他内存回收的问
61 复这些分配是相当不容易的。这意味着用GFP_NOFS/GFP_NOIO调用 ``vmalloc`` 几乎
/linux/block/
A Dbounce.c168 bio = bio_alloc_bioset(GFP_NOIO, bio_segments(bio_src), in bounce_clone_bio()
193 if (bio_crypt_clone(bio, bio_src, GFP_NOIO) < 0) in bounce_clone_bio()
197 bio_integrity_clone(bio, bio_src, GFP_NOIO) < 0) in bounce_clone_bio()
230 bio = bio_split(*bio_orig, sectors, GFP_NOIO, &bounce_bio_split); in __blk_queue_bounce()
248 bounce_page = mempool_alloc(&page_pool, GFP_NOIO); in __blk_queue_bounce()
A Dblk-crypto-fallback.c165 bio = bio_kmalloc(GFP_NOIO, bio_segments(bio_src)); 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/drivers/usb/core/
A Dmessage.c58 retval = usb_submit_urb(urb, GFP_NOIO); in usb_start_wait_urb()
95 urb = usb_alloc_urb(0, GFP_NOIO); in usb_internal_control_msg()
979 tbuf = kmalloc(256, GFP_NOIO); in usb_string()
1031 smallbuf = kmalloc(++len, GFP_NOIO); in usb_cache_string()
1067 desc = kmalloc(sizeof(*desc), GFP_NOIO); in usb_get_device_descriptor()
1100 GFP_NOIO); in usb_set_isoch_delay()
1593 GFP_NOIO); in usb_set_interface()
1730 GFP_NOIO); in usb_reset_configuration()
1993 GFP_NOIO); in usb_set_configuration()
2000 GFP_NOIO); in usb_set_configuration()
[all …]
/linux/fs/squashfs/
A Dblock.c90 bio = bio_alloc(GFP_NOIO, page_count); in squashfs_bio_read()
92 bio = bio_kmalloc(GFP_NOIO, page_count); in squashfs_bio_read()
104 struct page *page = alloc_page(GFP_NOIO); in squashfs_bio_read()
/linux/drivers/usb/storage/
A 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()
A 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()
A Dalauda.c439 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
440 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
567 u16 *lba_to_pba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map()
568 u16 *pba_to_lba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map()
928 buffer = kmalloc(len, GFP_NOIO); in alauda_read_data()
1020 buffer = kmalloc(len, GFP_NOIO); in alauda_write_data()
1028 blockbuffer = kmalloc_array(pagesize + 64, blocksize, GFP_NOIO); in alauda_write_data()
1105 us->extra = kzalloc(sizeof(struct alauda_info), GFP_NOIO); in init_alauda()
A Dkarma.c178 struct karma_data *data = kzalloc(sizeof(struct karma_data), GFP_NOIO); in rio_karma_init()
183 data->recv = kmalloc(RIO_RECV_LEN, GFP_NOIO); in rio_karma_init()
A 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()
A 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/Documentation/core-api/
A 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/drivers/md/bcache/
A 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()
722 s = mempool_alloc(&d->c->search, GFP_NOIO); in search_alloc()
890 miss = bio_next_split(bio, sectors, GFP_NOIO, &s->d->bio_split); in cached_dev_cache_miss()
910 miss = bio_next_split(bio, s->insert_bio_sectors, GFP_NOIO, in cached_dev_cache_miss()
930 if (bch_bio_alloc_pages(cache_bio, __GFP_NOWARN|GFP_NOIO)) in cached_dev_cache_miss()
1028 flush = bio_alloc_bioset(GFP_NOIO, 0, in cached_dev_write()
1042 s->iop.bio = bio_clone_fast(bio, GFP_NOIO, &dc->disk.bio_split); in cached_dev_write()
1109 ddip = kzalloc(sizeof(struct detached_dev_io_private), GFP_NOIO); in detached_dev_do_request()
A Ddebug.c114 check = bio_kmalloc(GFP_NOIO, bio_segments(bio)); in bch_data_verify()
123 if (bch_bio_alloc_pages(check, GFP_NOIO)) in bch_data_verify()
/linux/drivers/xen/xenbus/
A 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/drivers/usb/misc/
A 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/kernel/power/
A Dswap.c277 bio = bio_alloc(GFP_NOIO | __GFP_HIGH, 1); in hib_submit_io()
385 src = (void *)__get_free_page(GFP_NOIO | __GFP_NOWARN | in write_page()
393 src = (void *)__get_free_page(GFP_NOIO | in write_page()
701 page = (void *)__get_free_page(GFP_NOIO | __GFP_HIGH); in save_image_lzo()
996 __get_free_page(GFP_NOIO | __GFP_HIGH); in get_swap_reader()
1266 GFP_NOIO | __GFP_HIGH : in load_image_lzo()
1267 GFP_NOIO | __GFP_NOWARN | in load_image_lzo()
/linux/drivers/input/touchscreen/
A 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/drivers/md/
A Ddm-io.c348 bio = bio_alloc_bioset(GFP_NOIO, num_bvecs, &io->client->bios); in do_region()
446 io = mempool_alloc(&client->pool, GFP_NOIO); in sync_io()
478 io = mempool_alloc(&client->pool, GFP_NOIO); in async_io()
/linux/drivers/scsi/qedf/
A 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()
/linux/arch/s390/mm/
A Dcmm.c69 addr = __get_free_page(GFP_NOIO); in cmm_alloc_pages()
78 __get_free_page(GFP_NOIO); in cmm_alloc_pages()
/linux/fs/gfs2/
A Dlops.c268 struct bio *bio = bio_alloc(GFP_NOIO, BIO_MAX_VECS); in gfs2_log_alloc_bio()
492 new = bio_alloc(GFP_NOIO, nr_iovecs); in gfs2_chain_bio()
613 struct page *page = mempool_alloc(gfs2_page_pool, GFP_NOIO); in gfs2_get_log_desc()
703 page = mempool_alloc(gfs2_page_pool, GFP_NOIO); in gfs2_before_commit()
885 page = mempool_alloc(gfs2_page_pool, GFP_NOIO); in revoke_lo_before_commit()

Completed in 908 milliseconds

12345678