/linux-6.3-rc2/net/ceph/ |
A D | cls_lock_client.c | 52 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 D | osd_client.c | 1657 spg = kmalloc(sizeof(*spg), GFP_NOIO); in alloc_spg_mapping() 1784 GFP_NOIO); in decode_hoid() 1792 GFP_NOIO); in decode_hoid() 1804 GFP_NOIO); in decode_hoid() 1852 backoff = kzalloc(sizeof(*backoff), GFP_NOIO); in alloc_backoff() 2742 lreq = kzalloc(sizeof(*lreq), GFP_NOIO); in linger_alloc() 2884 lwork = kzalloc(sizeof(*lwork), GFP_NOIO); in lwork_alloc() 4264 m->end = kzalloc(sizeof(*m->end), GFP_NOIO); in decode_MOSDBackoff() 4777 pl = ceph_pagelist_alloc(GFP_NOIO); in osd_req_op_notify_ack_init() 5028 pages = ceph_alloc_page_vector(1, GFP_NOIO); in ceph_osdc_list_watchers() [all …]
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | gfp_mask-from-fs-io.rst | 30 (注意后者意味着也要清除第一个)。GFP_NOFS和GFP_NOIO可以作为快捷方式使用。但事 32 这导致了问题,因为过度使用GFP_NOFS/GFP_NOIO会导致内存过度回收或其他内存回收的问 61 复这些分配是相当不容易的。这意味着用GFP_NOFS/GFP_NOIO调用 ``vmalloc`` 几乎
|
A D | memory-allocation.rst | 67 你可能会注意到,在现有的代码中,有相当多的分配指定了 ``GFP_NOIO`` 或 ``GFP_NOFS`` 。
|
/linux-6.3-rc2/block/ |
A D | bounce.c | 168 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()
|
A D | blk-crypto-fallback.c | 167 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.3-rc2/drivers/usb/core/ |
A D | message.c | 58 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() 1068 desc = kmalloc(sizeof(*desc), GFP_NOIO); in usb_get_device_descriptor() 1101 GFP_NOIO); in usb_set_isoch_delay() 1594 GFP_NOIO); in usb_set_interface() 1731 GFP_NOIO); in usb_reset_configuration() 1994 GFP_NOIO); in usb_set_configuration() 2001 GFP_NOIO); in usb_set_configuration() [all …]
|
/linux-6.3-rc2/Documentation/core-api/ |
A D | gfp_mask-from-fs-io.rst | 21 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.3-rc2/drivers/usb/storage/ |
A D | datafab.c | 169 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 D | sddr55.c | 211 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 D | karma.c | 177 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()
|
A D | alauda.c | 439 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() 569 u16 *lba_to_pba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map() 570 u16 *pba_to_lba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map() 930 buffer = kmalloc(len, GFP_NOIO); in alauda_read_data() 1022 buffer = kmalloc(len, GFP_NOIO); in alauda_write_data() 1030 blockbuffer = kmalloc_array(pagesize + 64, blocksize, GFP_NOIO); in alauda_write_data() 1107 us->extra = kzalloc(sizeof(struct alauda_info), GFP_NOIO); in init_alauda()
|
A D | jumpshot.c | 181 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 D | sddr09.c | 680 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.3-rc2/drivers/md/bcache/ |
A D | request.c | 227 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()
|
A D | debug.c | 115 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.3-rc2/drivers/usb/misc/ |
A D | usbsevseg.c | 100 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.3-rc2/drivers/xen/xenbus/ |
A D | xenbus_xs.c | 314 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.3-rc2/fs/squashfs/ |
A D | block.c | 93 bio = bio_kmalloc(page_count, GFP_NOIO); in squashfs_bio_read() 102 struct page *page = alloc_page(GFP_NOIO); in squashfs_bio_read()
|
/linux-6.3-rc2/kernel/power/ |
A D | swap.c | 279 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.3-rc2/net/sunrpc/xprtrdma/ |
A D | svc_rdma_backchannel.c | 122 page = alloc_page(GFP_NOIO | __GFP_NOWARN); in xprt_rdma_bc_allocate() 127 rqst->rq_rbuffer = kmalloc(rqst->rq_rcvsize, GFP_NOIO | __GFP_NOWARN); in xprt_rdma_bc_allocate()
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-io.c | 353 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.3-rc2/drivers/input/touchscreen/ |
A D | usbtouchscreen.c | 480 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.3-rc2/arch/s390/mm/ |
A D | cmm.c | 69 addr = __get_free_page(GFP_NOIO); in cmm_alloc_pages() 78 __get_free_page(GFP_NOIO); in cmm_alloc_pages()
|
/linux-6.3-rc2/drivers/scsi/qedf/ |
A D | qedf_els.c | 300 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()
|