Home
last modified time | relevance | path

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

1234567

/linux/net/ceph/
H 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()
[all...]
H 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/
H A Dgfp_mask-from-fs-io.rst
H A Dmemory-allocation.rst67 你可能会注意到,在现有的代码中,有相当多的分配指定了 ``GFP_NOIO`` 或 ``GFP_NOFS`` 。
/linux/fs/squashfs/
H A Dblock.c124 GFP_NOIO, &fs_bio_set); in squashfs_bio_read_cached()
154 GFP_NOIO); in squashfs_bio_read_cached()
166 GFP_NOIO); in squashfs_bio_read_cached()
183 GFP_NOIO); in squashfs_bio_read_cached()
231 bio = bio_kmalloc(page_count, GFP_NOIO); in squashfs_bio_read()
245 page = alloc_page(GFP_NOIO); in squashfs_bio_read()
/linux/Documentation/core-api/
H 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
59 alloc GFP_NO{FS,IO} for vmalloc"), GFP_NOFS/GFP_NOIO are now supported in
64 that calling ``vmalloc`` with GFP_NOFS/GFP_NOIO was almost always a bug.
/linux/drivers/usb/core/
H A 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()
1222 USB_CTRL_SET_TIMEOUT, GFP_NOIO); in usb_clear_halt()
[all...]
/linux/drivers/usb/storage/
H 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()
H 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()
H A Dalauda.c442 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
443 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
578 u16 *lba_to_pba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map()
579 u16 *pba_to_lba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map()
939 buffer = kmalloc(len, GFP_NOIO); in alauda_read_data()
1031 buffer = kmalloc(len, GFP_NOIO); in alauda_write_data()
1039 blockbuffer = kmalloc_array(pagesize + 64, blocksize, GFP_NOIO); in alauda_write_data()
1116 us->extra = kzalloc(sizeof(struct alauda_info), GFP_NOIO); in init_alauda()
H 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/block/
H A Dblk-crypto-fallback.c167 bio = bio_kmalloc(nr_segs, GFP_NOIO); in blk_crypto_fallback_clone_bio()
199 GFP_NOIO); in blk_crypto_fallback_alloc_cipher_req()
228 split_bio = bio_split(bio, num_sectors, GFP_NOIO, in blk_crypto_fallback_split_bio_if_needed()
322 mempool_alloc(blk_crypto_bounce_page_pool, GFP_NOIO); in blk_crypto_fallback_encrypt_bio()
517 f_ctx = mempool_alloc(bio_fallback_crypt_ctx_pool, GFP_NOIO); in blk_crypto_fallback_bio_prep()
H A Dbio-integrity-auto.c112 gfp_t gfp = GFP_NOIO; in bio_integrity_prep()
160 bid = mempool_alloc(&bid_pool, GFP_NOIO); in bio_integrity_prep()
/linux/drivers/md/bcache/
H A Drequest.c227 n = bio_next_split(bio, KEY_SIZE(k), GFP_NOIO, split); in CLOSURE_CALLBACK()
566 GFP_NOIO, &s->d->bio_split); in cache_lookup_fn()
702 bio_init_clone(orig_bio->bi_bdev, bio, orig_bio, GFP_NOIO); in do_bio_hook()
735 s = mempool_alloc(&d->c->search, GFP_NOIO); in search_alloc()
903 miss = bio_next_split(bio, sectors, GFP_NOIO, &s->d->bio_split); in cached_dev_cache_miss()
923 miss = bio_next_split(bio, s->insert_bio_sectors, GFP_NOIO, in cached_dev_cache_miss()
942 if (bch_bio_alloc_pages(cache_bio, __GFP_NOWARN|GFP_NOIO)) in cached_dev_cache_miss()
1042 GFP_NOIO, &dc->disk.bio_split); in cached_dev_write()
1053 s->iop.bio = bio_alloc_clone(bio->bi_bdev, bio, GFP_NOIO, in cached_dev_write()
1121 ddip = kzalloc(sizeof(struct detached_dev_io_private), GFP_NOIO); in detached_dev_do_request()
[all...]
H A 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/drivers/usb/misc/
H 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/drivers/xen/xenbus/
H A Dxenbus_xs.c327 req = kmalloc(sizeof(*req), GFP_NOIO | __GFP_HIGH); in xs_talkv()
407 buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s", dir); in join()
409 buffer = kasprintf(GFP_NOIO | __GFP_HIGH, "%s/%s", dir, name); in join()
421 ret = kmalloc(*num * sizeof(char *) + len, GFP_NOIO | __GFP_HIGH); in split()
611 buf = kvasprintf(GFP_NOIO | __GFP_HIGH, fmt, ap); in xenbus_printf()
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_backchannel.c113 page = alloc_page(GFP_NOIO | __GFP_NOWARN); in xprt_rdma_bc_allocate()
118 rqst->rq_rbuffer = kmalloc(rqst->rq_rcvsize, GFP_NOIO | __GFP_NOWARN); in xprt_rdma_bc_allocate()
/linux/drivers/input/touchscreen/
H A Dusbtouchscreen.c356 u8 *buf __free(kfree) = kzalloc(MTOUCHUSB_REQ_CTRLLR_ID_LEN, GFP_NOIO); in mtouch_get_fw_revision()
628 u8 *buf __free(kfree) = kmalloc(2, GFP_NOIO); in dmc_tsc10_init()
990 u8 *buf __free(kfree) = kmalloc(NEXIO_BUFSIZE, GFP_NOIO); in nexio_init()
1022 firmware_ver = kstrdup(&buf[2], GFP_NOIO); in nexio_init()
1026 device_name = kstrdup(&buf[2], GFP_NOIO); in nexio_init()
1392 return usb_submit_urb(usbtouch->irq, GFP_NOIO); in usbtouch_resume()
1417 return usb_submit_urb(usbtouch->irq, GFP_NOIO); in usbtouch_reset_resume()
/linux/arch/s390/mm/
H A Dcmm.c69 addr = __get_free_page(GFP_NOIO); in cmm_alloc_pages()
78 __get_free_page(GFP_NOIO); in cmm_alloc_pages()
/linux/drivers/scsi/qedf/
H 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/fs/gfs2/
H A Dlops.c270 struct bio *bio = bio_alloc(sb->s_bdev, BIO_MAX_VECS, 0, GFP_NOIO); in gfs2_log_alloc_bio()
487 new = bio_alloc(prev->bi_bdev, nr_iovecs, prev->bi_opf, GFP_NOIO); in gfs2_chain_bio()
602 struct page *page = mempool_alloc(gfs2_page_pool, GFP_NOIO); in gfs2_get_log_desc()
691 page = mempool_alloc(gfs2_page_pool, GFP_NOIO); in gfs2_before_commit()
870 page = mempool_alloc(gfs2_page_pool, GFP_NOIO); in revoke_lo_before_commit()
/linux/drivers/net/usb/
H A Dkaweth.c449 kaweth_resubmit_rx_urb(kaweth, GFP_NOIO); in kaweth_resubmit_tl()
452 kaweth_resubmit_int_urb(kaweth, GFP_NOIO); in kaweth_resubmit_tl()
855 kaweth_resubmit_rx_urb(kaweth, GFP_NOIO); in kaweth_resume()
856 kaweth_resubmit_int_urb(kaweth, GFP_NOIO); in kaweth_resume()
/linux/drivers/md/
H A Ddm-io-rewind.c147 GFP_NOIO, bs); in dm_io_rewind()
/linux/kernel/power/
H A Dswap.c283 GFP_NOIO | __GFP_HIGH); in hib_submit_io_async()
374 gfp_t gfp = GFP_NOIO | __GFP_NOWARN | __GFP_NORETRY; in write_page()
708 page = (void *)__get_free_page(GFP_NOIO | __GFP_HIGH); in save_compressed_image()
1023 __get_free_page(GFP_NOIO | __GFP_HIGH); in get_swap_reader()
1317 GFP_NOIO | __GFP_HIGH : in load_compressed_image()
1318 GFP_NOIO | __GFP_NOWARN | in load_compressed_image()

1234567