/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | misc.c | 94 int need = ubi->beb_rsvd_level - ubi->beb_rsvd_pebs; in ubi_update_reserved() local 96 if (need <= 0 || ubi->avail_pebs == 0) in ubi_update_reserved() 99 need = min_t(int, need, ubi->avail_pebs); in ubi_update_reserved() 100 ubi->avail_pebs -= need; in ubi_update_reserved() 101 ubi->rsvd_pebs += need; in ubi_update_reserved() 102 ubi->beb_rsvd_pebs += need; in ubi_update_reserved() 103 ubi_msg(ubi, "reserved more %d PEBs for bad PEB handling", need); in ubi_update_reserved()
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | misc.c | 94 int need = ubi->beb_rsvd_level - ubi->beb_rsvd_pebs; in ubi_update_reserved() local 96 if (need <= 0 || ubi->avail_pebs == 0) in ubi_update_reserved() 99 need = min_t(int, need, ubi->avail_pebs); in ubi_update_reserved() 100 ubi->avail_pebs -= need; in ubi_update_reserved() 101 ubi->rsvd_pebs += need; in ubi_update_reserved() 102 ubi->beb_rsvd_pebs += need; in ubi_update_reserved() 103 ubi_msg(ubi, "reserved more %d PEBs for bad PEB handling", need); in ubi_update_reserved()
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | core_ctl.c | 318 * To find out how many tasks need higher capacity CPUs. 403 int need = 0; in prev_cluster_nr_need_assist() local 421 need += nr_stats[cpu].nr; in prev_cluster_nr_need_assist() 423 need += compute_prev_cluster_misfit_need(index); in prev_cluster_nr_need_assist() 425 if (need > prev_cluster->active_cpus) in prev_cluster_nr_need_assist() 426 need = need - prev_cluster->active_cpus; in prev_cluster_nr_need_assist() 428 need = 0; in prev_cluster_nr_need_assist() 430 return need; in prev_cluster_nr_need_assist() 518 unsigned int need) in adjustment_possible() 517 adjustment_possible(const struct cluster_data *cluster, unsigned int need) adjustment_possible() argument 703 try_to_isolate(struct cluster_data *cluster, unsigned int need) try_to_isolate() argument 797 __try_to_unisolate(struct cluster_data *cluster, unsigned int need, bool force) __try_to_unisolate() argument 839 try_to_unisolate(struct cluster_data *cluster, unsigned int need) try_to_unisolate() argument 854 unsigned int need; do_core_ctl() local 898 unsigned int need; isolation_cpuhp_state() local [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | core_ctl.c | 318 * To find out how many tasks need higher capacity CPUs. 403 int need = 0; in prev_cluster_nr_need_assist() local 421 need += nr_stats[cpu].nr; in prev_cluster_nr_need_assist() 423 need += compute_prev_cluster_misfit_need(index); in prev_cluster_nr_need_assist() 425 if (need > prev_cluster->active_cpus) in prev_cluster_nr_need_assist() 426 need = need - prev_cluster->active_cpus; in prev_cluster_nr_need_assist() 428 need = 0; in prev_cluster_nr_need_assist() 430 return need; in prev_cluster_nr_need_assist() 518 unsigned int need) in adjustment_possible() 517 adjustment_possible(const struct cluster_data *cluster, unsigned int need) adjustment_possible() argument 703 try_to_isolate(struct cluster_data *cluster, unsigned int need) try_to_isolate() argument 797 __try_to_unisolate(struct cluster_data *cluster, unsigned int need, bool force) __try_to_unisolate() argument 839 try_to_unisolate(struct cluster_data *cluster, unsigned int need) try_to_unisolate() argument 854 unsigned int need; do_core_ctl() local 898 unsigned int need; isolation_cpuhp_state() local [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | sphinx-pre-install | 21 my $need = 0; 97 # provide all packages we need. When such distros are 100 # So, we need to ignore the packages that distros would 101 # need for LaTeX to work 133 $need++; 390 return if (!$need && !$optional); 459 return if (!$need && !$optional); 514 return if (!$need && !$optional); 558 return if (!$need && !$optional); 588 return if (!$need [all...] |
/kernel/linux/linux-5.10/tools/virtio/ringtest/ |
H A D | ring.c | 68 /* we do not need to track last avail index 189 bool need; in kick_available() local 194 need = need_event(event->kick_index, in kick_available() 199 if (need) in kick_available() 237 /* simple in-order completion: we don't need in use_buf() 256 bool need; in call_used() local 262 need = need_event(event->call_index, in call_used() 268 if (need) in call_used()
|
H A D | virtio_ring_0_9.c | 55 /* we do not need to track last avail index 228 bool need; in kick_available() local 233 need = vring_need_event(vring_avail_event(&ring), in kick_available() 238 if (need) in kick_available() 321 bool need; in call_used() local 326 need = vring_need_event(vring_used_event(&ring), in call_used() 331 if (need) in call_used()
|
/kernel/linux/linux-6.6/tools/virtio/ringtest/ |
H A D | ring.c | 68 /* we do not need to track last avail index 189 bool need; in kick_available() local 194 need = need_event(event->kick_index, in kick_available() 199 if (need) in kick_available() 237 /* simple in-order completion: we don't need in use_buf() 256 bool need; in call_used() local 262 need = need_event(event->call_index, in call_used() 268 if (need) in call_used()
|
H A D | virtio_ring_0_9.c | 55 /* we do not need to track last avail index 228 bool need; in kick_available() local 233 need = vring_need_event(vring_avail_event(&ring), in kick_available() 238 if (need) in kick_available() 321 bool need; in call_used() local 326 need = vring_need_event(vring_used_event(&ring), in call_used() 331 if (need) in call_used()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | sphinx-pre-install | 21 my $need = 0; 94 # provide all packages we need. When such distros are 97 # So, we need to ignore the packages that distros would 98 # need for LaTeX to work 128 $need++; 389 return if (!$need && !$optional); 458 return if (!$need && !$optional); 512 return if (!$need && !$optional); 556 return if (!$need && !$optional); 586 return if (!$need [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | mdsmap.c | 67 size_t need; \ 69 need = sizeof(type) * n; \ 70 ceph_decode_need(p, end, need, bad); \ 71 *p += need; \ 77 size_t need; \ 79 need = (sizeof(ktype) + sizeof(vtype)) * n; \ 80 ceph_decode_need(p, end, need, bad); \ 81 *p += need; \ 361 size_t need; in ceph_mdsmap_decode() local 363 need in ceph_mdsmap_decode() [all...] |
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | mdsmap.c | 67 size_t need; \ 69 need = sizeof(type) * n; \ 70 ceph_decode_need(p, end, need, bad); \ 71 *p += need; \ 77 size_t need; \ 79 need = (sizeof(ktype) + sizeof(vtype)) * n; \ 80 ceph_decode_need(p, end, need, bad); \ 81 *p += need; \ 362 size_t need; in ceph_mdsmap_decode() local 364 need in ceph_mdsmap_decode() [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | perf_cpum_cf_diag.c | 372 size_t ctrset_size, need = 0; in cf_diag_getctrset() local 381 need = ctrset_size * sizeof(u64) + sizeof(*ctrdata); in cf_diag_getctrset() 382 if (need <= room) in cf_diag_getctrset() 388 need = 0; in cf_diag_getctrset() 393 " need %zd rc %d\n", in cf_diag_getctrset() 395 cpuhw->info.csvn, need, rc); in cf_diag_getctrset() 396 return need; in cf_diag_getctrset() 673 size_t need; in cf_diag_init() local 681 need = cf_diag_ctrset_maxsize(&info); in cf_diag_init() 682 if (need > sizeo in cf_diag_init() [all...] |
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
H A D | zfcp_erp.c | 32 * need for some recovery. 125 enum zfcp_erp_act_type need = want; in zfcp_erp_handle_failed() local 132 need = 0; in zfcp_erp_handle_failed() 136 need = 0; in zfcp_erp_handle_failed() 141 need = 0; in zfcp_erp_handle_failed() 150 need = 0; in zfcp_erp_handle_failed() 158 return need; in zfcp_erp_handle_failed() 166 enum zfcp_erp_act_type need = want; in zfcp_erp_required_act() local 181 need = ZFCP_ERP_ACTION_REOPEN_PORT; in zfcp_erp_required_act() 186 need in zfcp_erp_required_act() 213 zfcp_erp_setup_act(enum zfcp_erp_act_type need, u32 act_status, struct zfcp_adapter *adapter, struct zfcp_port *port, struct scsi_device *sdev) zfcp_erp_setup_act() argument 287 enum zfcp_erp_act_type need; zfcp_erp_action_enqueue() local [all...] |
/kernel/linux/linux-6.6/drivers/s390/scsi/ |
H A D | zfcp_erp.c | 32 * need for some recovery. 125 enum zfcp_erp_act_type need = want; in zfcp_erp_handle_failed() local 132 need = 0; in zfcp_erp_handle_failed() 136 need = 0; in zfcp_erp_handle_failed() 141 need = 0; in zfcp_erp_handle_failed() 150 need = 0; in zfcp_erp_handle_failed() 158 return need; in zfcp_erp_handle_failed() 166 enum zfcp_erp_act_type need = want; in zfcp_erp_required_act() local 181 need = ZFCP_ERP_ACTION_REOPEN_PORT; in zfcp_erp_required_act() 186 need in zfcp_erp_required_act() 213 zfcp_erp_setup_act(enum zfcp_erp_act_type need, u32 act_status, struct zfcp_adapter *adapter, struct zfcp_port *port, struct scsi_device *sdev) zfcp_erp_setup_act() argument 287 enum zfcp_erp_act_type need; zfcp_erp_action_enqueue() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | page_ext.c | 33 * is the need callback which is mandatory if user wants to avoid useless 37 * The need callback is used to decide whether extended memory allocation is 40 * allocating huge chunk of memory, each clients represent their need of 41 * extra memory through the need callback. If one of the need callbacks 44 * none of need callbacks return true, memory isn't needed at all in this boot 48 * When need callback returns true, page_ext checks if there is a request for 73 .need = need_page_idle, 106 bool need = false; in invoke_need_callbacks() local 109 if (page_ext_ops[i]->need()) { in invoke_need_callbacks() [all...] |
/kernel/linux/linux-5.10/net/ceph/ |
H A D | auth_x.c | 25 int need; in ceph_x_is_authenticated() local 27 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 28 dout("ceph_x_is_authenticated want=%d need=%d have=%d\n", in ceph_x_is_authenticated() 29 ac->want_keys, need, xi->have_keys); in ceph_x_is_authenticated() 36 int need; in ceph_x_should_authenticate() local 38 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 39 dout("ceph_x_should_authenticate want=%d need=%d have=%d\n", in ceph_x_should_authenticate() 40 ac->want_keys, need, xi->have_keys); in ceph_x_should_authenticate() 41 return need != 0; in ceph_x_should_authenticate() 369 dout(" need le in ceph_x_build_authorizer() 487 int need; ceph_x_build_request() local [all...] |
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | perf_cpum_cf.c | 481 size_t ctrset_size, need = 0; in cfdiag_getctrset() local 490 need = ctrset_size * sizeof(u64) + sizeof(*ctrdata); in cfdiag_getctrset() 491 if (need <= room) { in cfdiag_getctrset() 498 need = 0; in cfdiag_getctrset() 501 return need; in cfdiag_getctrset() 1507 size_t need = 0; in cfset_cpuset_read() local 1510 need = sizeof(*p) + sizeof(u64) * ctrset_size; in cfset_cpuset_read() 1511 if (need <= room) { in cfset_cpuset_read() 1516 need = 0; in cfset_cpuset_read() 1518 return need; in cfset_cpuset_read() 1600 size_t need; cfset_ioctl_start() local 1921 size_t need; cfset_init() local [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | auth_x.c | 26 int need; /* missing + need renewal */ in ceph_x_is_authenticated() local 28 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 30 WARN_ON((need & missing) != missing); in ceph_x_is_authenticated() 39 int need; in ceph_x_should_authenticate() local 41 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 42 dout("%s want 0x%x have 0x%x need 0x%x -> %d\n", __func__, in ceph_x_should_authenticate() 43 ac->want_keys, xi->have_keys, need, !!need); in ceph_x_should_authenticate() 44 return !!need; in ceph_x_should_authenticate() 492 int need; ceph_x_build_request() local [all...] |
/kernel/linux/linux-5.10/fs/configfs/ |
H A D | item.c | 54 int need; in config_item_set_name() local 62 need = vsnprintf(item->ci_namebuf, limit, fmt, args); in config_item_set_name() 64 if (need < limit) in config_item_set_name()
|
/kernel/linux/linux-6.6/fs/configfs/ |
H A D | item.c | 52 int need; in config_item_set_name() local 60 need = vsnprintf(item->ci_namebuf, limit, fmt, args); in config_item_set_name() 62 if (need < limit) in config_item_set_name()
|
/kernel/linux/linux-5.10/mm/ |
H A D | page_ext.c | 31 * is the need callback which is mandatory if user wants to avoid useless 35 * The need callback is used to decide whether extended memory allocation is 38 * allocating huge chunk of memory, each clients represent their need of 39 * extra memory through the need callback. If one of the need callbacks 42 * none of need callbacks return true, memory isn't needed at all in this boot 46 * When need callback returns true, page_ext checks if there is a request for 78 bool need = false; in invoke_need_callbacks() local 81 if (page_ext_ops[i]->need && page_ext_ops[i]->need()) { in invoke_need_callbacks() [all...] |
/kernel/linux/linux-6.6/arch/arc/mm/ |
H A D | tlbex.S | 13 * -For MMU V2, we need not do heuristics at the time of commiting a D-TLB 52 ; need to be saved as well by extending the "global" to be 4 words. Hence 55 ; only need to save only a handful of regs, as opposed to complete reg file] 341 ; By now, r2 setup with all the Flags we need to check in PTE
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | amd_gart_64.c | 364 struct scatterlist *sout, unsigned long pages, int need) in dma_map_cont() 366 if (!need) { in dma_map_cont() 383 int need = 0, nextneed, i, out, start; in gart_map_sg() local 414 if (!iommu_merge || !nextneed || !need || s->offset || in gart_map_sg() 418 sgmap, pages, need) < 0) in gart_map_sg() 431 need = nextneed; in gart_map_sg() 435 if (dma_map_cont(dev, start_sg, i - start, sgmap, pages, need) < 0) in gart_map_sg() 741 /* need to map that range */ in gart_iommu_init() 363 dma_map_cont(struct device *dev, struct scatterlist *start, int nelems, struct scatterlist *sout, unsigned long pages, int need) dma_map_cont() argument
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | amd_gart_64.c | 362 struct scatterlist *sout, unsigned long pages, int need) in dma_map_cont() 364 if (!need) { in dma_map_cont() 381 int need = 0, nextneed, i, out, start, ret; in gart_map_sg() local 412 if (!iommu_merge || !nextneed || !need || s->offset || in gart_map_sg() 416 sgmap, pages, need); in gart_map_sg() 430 need = nextneed; in gart_map_sg() 434 ret = dma_map_cont(dev, start_sg, i - start, sgmap, pages, need); in gart_map_sg() 739 /* need to map that range */ in gart_iommu_init() 361 dma_map_cont(struct device *dev, struct scatterlist *start, int nelems, struct scatterlist *sout, unsigned long pages, int need) dma_map_cont() argument
|