/openbmc/linux/net/ceph/ |
H 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()
|
H A D | osd_client.c | 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() 2825 lreq = kzalloc(sizeof(*lreq), GFP_NOIO); in linger_alloc() 2967 lwork = kzalloc(sizeof(*lwork), GFP_NOIO); in lwork_alloc() 4355 m->end = kzalloc(sizeof(*m->end), GFP_NOIO); in decode_MOSDBackoff() 4868 pl = ceph_pagelist_alloc(GFP_NOIO); in osd_req_op_notify_ack_init() 5120 pages = ceph_alloc_page_vector(1, GFP_NOIO); in ceph_osdc_list_watchers() 5539 GFP_NOIO); in alloc_msg_with_page_vector() [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | gfp_mask-from-fs-io.rst | 30 (注意后者意味着也要清除第一个)。GFP_NOFS和GFP_NOIO可以作为快捷方式使用。但事 32 这导致了问题,因为过度使用GFP_NOFS/GFP_NOIO会导致内存过度回收或其他内存回收的问 61 复这些分配是相当不容易的。这意味着用GFP_NOFS/GFP_NOIO调用 ``vmalloc`` 几乎
|
H A D | memory-allocation.rst | 67 你可能会注意到,在现有的代码中,有相当多的分配指定了 ``GFP_NOIO`` 或 ``GFP_NOFS`` 。
|
/openbmc/linux/block/ |
H 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()
|
H 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()
|
/openbmc/linux/fs/squashfs/ |
H A D | block.c | 116 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()
|
/openbmc/linux/drivers/usb/core/ |
H A D | message.c | 59 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() 980 tbuf = kmalloc(256, GFP_NOIO); in usb_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() 1590 GFP_NOIO); in usb_set_interface() 1727 GFP_NOIO); in usb_reset_configuration() 2029 GFP_NOIO); in usb_set_configuration() 2036 GFP_NOIO); in usb_set_configuration() [all …]
|
/openbmc/linux/Documentation/core-api/ |
H 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
|
/openbmc/linux/drivers/usb/storage/ |
H 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()
|
H 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()
|
H 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()
|
H A D | alauda.c | 442 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 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()
|
H 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()
|
/openbmc/linux/drivers/md/bcache/ |
H 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()
|
H 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()
|
/openbmc/linux/drivers/usb/misc/ |
H 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()
|
/openbmc/linux/drivers/xen/xenbus/ |
H 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()
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_backchannel.c | 116 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()
|
/openbmc/linux/kernel/power/ |
H 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()
|
/openbmc/linux/drivers/md/ |
H A D | dm-io.c | 353 bio = bio_alloc_bioset(where->bdev, num_bvecs, opf, GFP_NOIO, in do_region() 441 io = mempool_alloc(&client->pool, GFP_NOIO); in sync_io() 474 io = mempool_alloc(&client->pool, GFP_NOIO); in async_io()
|
/openbmc/linux/drivers/input/touchscreen/ |
H 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()
|
/openbmc/linux/arch/s390/mm/ |
H 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()
|
/openbmc/linux/drivers/scsi/qedf/ |
H 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()
|