Home
last modified time | relevance | path

Searched full:strategy (Results 1 – 25 of 966) sorted by relevance

12345678910>>...39

/netbsd-src/share/man/man9/
H A Dbufq.958 .Fn bufq_alloc "struct bufq_state **bufq" "const char *strategy" "int flags"
94 Each buffer queue strategy module is defined by the
107 Registers the specified buffer queue strategy module so it can be used
110 Unregisters the specified buffer queue strategy module.
111 The routine will fail if any buffer queues for the specified strategy
115 .It Fn bufq_alloc "bufq" "strategy" "flags"
121 .Fa strategy
122 specifies a buffer queue strategy to be used for this buffer queue.
129 select a strategy.
133 select a strategy, assuming it will be used for a normal disk device.
[all …]
H A Dphysio.939 .Fa "void (*strategy)(buf_t *)"
54 .Fa strategy
58 .Fa strategy
69 .Fa strategy
85 .Bl -tag -width "strategy "
86 .It Fa strategy
87 The device strategy routine to call for each chunk of data to initiate
91 The buffer to use with the strategy routine.
97 set when passed to the strategy routine.
110 that the device's strategy routine can handle.
[all …]
H A Ddisklabel.960 using the device strategy routine passed in
62 Note that a buffer structure is required to pass to the strategy routine;
74 to get an appropriately sized buffer to pass to the device strategy routine.
97 it acquires and sets up an I/O buffer to pass to the strategy routine
112 Otherwise, any error condition reported by the device strategy routine
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DDomTreeUpdater.h32 explicit DomTreeUpdater(UpdateStrategy Strategy_) : Strategy(Strategy_) {} in DomTreeUpdater()
34 : DT(&DT_), Strategy(Strategy_) {} in DomTreeUpdater()
36 : DT(DT_), Strategy(Strategy_) {} in DomTreeUpdater()
38 : PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
40 : PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
43 : DT(&DT_), PDT(&PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
46 : DT(DT_), PDT(PDT_), Strategy(Strategy_) {} in DomTreeUpdater()
50 /// Returns true if the current strategy is Lazy.
51 bool isLazy() const { return Strategy == UpdateStrategy::Lazy; }; in isLazy()
53 /// Returns true if the current strategy is Eager.
[all …]
/netbsd-src/sys/fs/udf/
H A Dudf_readwrite.c605 /* disc strategy dispatchers */
611 struct udf_strategy *strategy = ump->strategy; in udf_create_logvol_dscr() local
615 KASSERT(strategy); in udf_create_logvol_dscr()
621 error = (strategy->create_logvol_dscr)(&args); in udf_create_logvol_dscr()
632 struct udf_strategy *strategy = ump->strategy; in udf_free_logvol_dscr() local
635 KASSERT(strategy); in udf_free_logvol_dscr()
640 (strategy->free_logvol_dscr)(&args); in udf_free_logvol_dscr()
648 struct udf_strategy *strategy = ump->strategy; in udf_read_logvol_dscr() local
652 KASSERT(strategy); in udf_read_logvol_dscr()
657 error = (strategy->read_logvol_dscr)(&args); in udf_read_logvol_dscr()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/contrib/
H A Dbench-stringop85 test "$2" "$3" "-mstringop-strategy=libcall" libcall
86 test "$2" "$3" "-mstringop-strategy=rep_byte -malign-stringops" rep1
87 test "$2" "$3" "-mstringop-strategy=rep_byte -mno-align-stringops" rep1noalign
88 test "$2" "$3" "-mstringop-strategy=rep_4byte -malign-stringops" rep4
89 test "$2" "$3" "-mstringop-strategy=rep_4byte -mno-align-stringops" rep4noalign
92 test "$2" "$3" "-mstringop-strategy=rep_8byte -malign-stringops" rep8
93 test "$2" "$3" "-mstringop-strategy=rep_8byte -mno-align-stringops" rep8noalign
95 test "$2" "$3" "-mstringop-strategy=loop -malign-stringops" loop
96 test "$2" "$3" "-mstringop-strategy=loop -mno-align-stringops" loopnoalign
97 test "$2" "$3" "-mstringop-strategy=unrolled_loop -malign-stringops" unrl
[all …]
/netbsd-src/external/gpl3/gcc/dist/contrib/
H A Dbench-stringop85 test "$2" "$3" "-mstringop-strategy=libcall" libcall
86 test "$2" "$3" "-mstringop-strategy=rep_byte -malign-stringops" rep1
87 test "$2" "$3" "-mstringop-strategy=rep_byte -mno-align-stringops" rep1noalign
88 test "$2" "$3" "-mstringop-strategy=rep_4byte -malign-stringops" rep4
89 test "$2" "$3" "-mstringop-strategy=rep_4byte -mno-align-stringops" rep4noalign
92 test "$2" "$3" "-mstringop-strategy=rep_8byte -malign-stringops" rep8
93 test "$2" "$3" "-mstringop-strategy=rep_8byte -mno-align-stringops" rep8noalign
95 test "$2" "$3" "-mstringop-strategy=loop -malign-stringops" loop
96 test "$2" "$3" "-mstringop-strategy=loop -mno-align-stringops" loopnoalign
97 test "$2" "$3" "-mstringop-strategy=unrolled_loop -malign-stringops" unrl
[all …]
/netbsd-src/sys/ddb/
H A Ddb_sym.c213 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) in db_search_symbol() argument
231 (NULL, val, strategy, &newdiff); in db_search_symbol()
242 if (ksyms_getname(&mod, &sym, (vaddr_t)val, strategy) == 0) { in db_search_symbol()
293 * After matching the symbol according to the given strategy
308 db_symstr(char *buf, size_t buflen, db_expr_t off, db_strategy_t strategy) in db_symstr() argument
324 cursym = db_search_symbol(off, strategy, &d); in db_symstr()
333 if (strategy == DB_STGY_PROC) { in db_symstr()
350 strategy|KSYMS_CLOSEST) == 0) { in db_symstr()
352 if (strategy & KSYMS_PROC && val == off) { in db_symstr()
354 strategy|KSYMS_CLOSEST) != 0) in db_symstr()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Dmail_addr_find.c17 /* query_form, out_form, strategy)
24 /* int strategy;
40 /* int strategy;
78 /* the default search strategy for full and partial addresses.
103 /* .IP strategy
104 /* The lookup strategy for full and partial addresses, specified
202 /* strategy_from_string - symbolic strategy flags to internal form */
211 /* strategy_to_string - internal form to symbolic strategy flags */
332 int out_form, int strategy) in mail_addr_find_opt() argument
364 if (*var_rcpt_delim == 0 || (strategy & MA_FIND_NOEXT) == 0) { in mail_addr_find_opt()
[all …]
/netbsd-src/sys/kern/
H A Dsubr_bufq.c131 bufq_alloc(struct bufq_state **bufqp, const char *strategy, int flags) in bufq_alloc() argument
140 KASSERT((flags & BUFQ_EXACT) == 0 || strategy != BUFQ_STRAT_ANY); in bufq_alloc()
158 * select strategy. in bufq_alloc()
159 * if a strategy specified by flags is found, use it. in bufq_alloc()
169 if (strategy != BUFQ_STRAT_ANY && in bufq_alloc()
170 STRAT_MATCH(strategy, (it))) { in bufq_alloc()
178 if (strategy == BUFQ_STRAT_ANY || found_exact) in bufq_alloc()
181 /* Try to autoload the bufq strategy module */ in bufq_alloc()
184 strlcat(strategy_module_name, strategy, in bufq_alloc()
192 panic("bufq_alloc: no strategy"); in bufq_alloc()
[all …]
/netbsd-src/games/warp/
H A Dthem.c77 if (nuke->strategy && ambsize < 90 && !rand_mod(200-smarts)) in their_smarts()
94 if (curkl->strategy) { in their_smarts()
98 if (!--curkl->strategy) { /* clock ran down */ in their_smarts()
123 curkl->strategy = 0; in their_smarts()
128 curkl->strategy = rand_mod(15)+5; in their_smarts()
169 if (curkl->strategy) in their_smarts()
170 curkl->strategy--; in their_smarts()
270 curkl->vely = curkl->strategy & 3; in their_smarts()
273 curkl->velx = (curkl->strategy >> 2) & 3; in their_smarts()
347 if (nuke->strategy && rand_mod(3)) { in modify_amoeba()
[all …]
H A Dweapon.c146 switch (obj->strategy||thru_stars?0: in attack()
181 (massacre || obj->strategy || in attack()
189 if (obj->strategy) { in attack()
193 obj->strategy = 0; in attack()
201 obj->strategy = 1; in attack()
207 if (thru_stars && obj->strategy < 7) in attack()
215 if (obj->strategy) { in attack()
220 obj->strategy += (!torps && deados > 10); in attack()
221 if (obj->strategy > 4) in attack()
223 if (!torps && obj->strategy > 5) { in attack()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DThreading.h164 /// Retrieves the max available threads for the current strategy. This
179 /// Build a strategy from a number of threads as a string provided in \p Num.
181 /// strategy, we attempt to equally allocate the threads on all CPU sockets.
182 /// "0" or an empty string will return the \p Default strategy.
187 /// Returns a thread strategy for tasks requiring significant memory or other
189 /// be less efficient. Avoid this strategy if doing lots of I/O. Currently
201 /// Like heavyweight_hardware_concurrency() above, but builds a strategy
203 /// If \p Num is invalid, returns a default strategy where one thread per
213 /// Returns a default thread strategy where all available hardware resources
223 /// Returns an optimal thread strategy to execute specified amount of tasks.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp59 if (Strategy != UpdateStrategy::Lazy || !DT) in applyDomTreeUpdates()
80 if (Strategy != UpdateStrategy::Lazy || !PDT) in applyPostDomTreeUpdates()
122 if (Strategy == UpdateStrategy::Eager) { in recalculate()
167 if (Strategy == UpdateStrategy::Eager || DeletedBBs.empty()) in isBBPendingDeletion()
179 if (Strategy == UpdateStrategy::Lazy) { in deleteBB()
192 if (Strategy == UpdateStrategy::Lazy) { in callbackDeleteBB()
234 if (Strategy == UpdateStrategy::Lazy) { in applyUpdates()
294 if (Strategy == UpdateStrategy::Lazy) in applyUpdatesPermissive()
331 if (Strategy == UpdateStrategy::Eager) { in insertEdge()
352 if (Strategy == UpdateStrategy::Eager) { in insertEdgeRelaxed()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dtarget-reloc.h597 // Return the strategy to use for a local symbol which is not a
609 // Return the strategy to use for a local symbol which is a section
636 // Return the strategy to use for a global symbol, given the
643 // This is a strategy class used with scan_relocatable_relocs
725 Relocatable_relocs::Reloc_strategy strategy; in scan_relocatable_relocs() local
730 strategy = Relocatable_relocs::RELOC_DISCARD; in scan_relocatable_relocs()
738 strategy = scan.global_strategy(r_type, object, r_sym); in scan_relocatable_relocs()
754 strategy = Relocatable_relocs::RELOC_DISCARD; in scan_relocatable_relocs()
757 strategy = scan.local_non_section_strategy(r_type, object, in scan_relocatable_relocs()
761 strategy = scan.local_section_strategy(r_type, object); in scan_relocatable_relocs()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dtarget-reloc.h597 // Return the strategy to use for a local symbol which is not a
609 // Return the strategy to use for a local symbol which is a section
636 // Return the strategy to use for a global symbol, given the
643 // This is a strategy class used with scan_relocatable_relocs
725 Relocatable_relocs::Reloc_strategy strategy; in scan_relocatable_relocs() local
730 strategy = Relocatable_relocs::RELOC_DISCARD; in scan_relocatable_relocs()
738 strategy = scan.global_strategy(r_type, object, r_sym); in scan_relocatable_relocs()
754 strategy = Relocatable_relocs::RELOC_DISCARD; in scan_relocatable_relocs()
757 strategy = scan.local_non_section_strategy(r_type, object, in scan_relocatable_relocs()
761 strategy = scan.local_section_strategy(r_type, object); in scan_relocatable_relocs()
[all …]
/netbsd-src/sys/dev/dm/
H A Ddm_target.c163 if (dm_target->strategy == NULL) { in dm_target_insert()
164 printf("%s missing strategy\n", dm_target->name); in dm_target_insert()
322 dmt->strategy = &dm_target_linear_strategy; in dm_target_init()
337 dmt->strategy = &dm_target_stripe_strategy; in dm_target_init()
350 dmt->strategy = &dm_target_error_strategy; in dm_target_init()
361 dmt->strategy = &dm_target_zero_strategy; in dm_target_init()
374 dmt->strategy = &dm_target_delay_strategy; in dm_target_init()
389 dmt->strategy = &dm_target_flakey_strategy; in dm_target_init()
/netbsd-src/lib/libz/
H A Dzlib.351 "int windowBits" "int memLevel" "int strategy"
60 .Fn deflateParams "z_streamp strm" "int level" "int strategy"
83 .Fn gzsetparams "gzFile file" "int level" "int strategy"
677 "int windowBits" "int memLevel" "int strategy" ;
723 .Fa strategy
746 .Fa strategy
836 so this strategy is slow and can consume lots of memory.
873 .It Fa int Fn deflateParams "z_streamp strm" "int level" "int strategy" ;
877 function dynamically updates the compression level and compression strategy.
878 The interpretation of level and strategy is as in
[all …]
/netbsd-src/sys/arch/shark/stand/ofwboot/
H A Dofdev.c105 strategy(void *devdata, int rw, daddr_t blk, size_t size, void *buf, in strategy() function
115 panic("strategy"); in strategy()
150 strategy,
194 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread) in search_label()
213 if (strategy(devp, F_READ, poff + LABELSECTOR, in search_label()
221 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread) in search_label()
232 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread) in search_label()
302 if (strategy(&ofdev, F_READ, in devopen()
/netbsd-src/sbin/dkctl/
H A Ddkctl.859 is called without any command, it displays strategy, cache, and all of
177 .It Ic strategy Op Ar name
178 Get and set the disk I/O scheduler (buffer queue strategy) on the
182 argument, the currently selected strategy will be shown.
183 To set the bufq strategy, the
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-logue.cc309 /* Determine the strategy for savings/restoring registers. */
329 int strategy = 0; in rs6000_savres_strategy() local
335 strategy |= (SAVE_INLINE_FPRS | REST_INLINE_FPRS in rs6000_savres_strategy()
340 strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS; in rs6000_savres_strategy()
343 strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS; in rs6000_savres_strategy()
346 strategy |= SAVE_INLINE_VRS | REST_INLINE_VRS; in rs6000_savres_strategy()
353 strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS; in rs6000_savres_strategy()
354 strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS; in rs6000_savres_strategy()
355 strategy |= SAVE_INLINE_VRS | REST_INLINE_VRS; in rs6000_savres_strategy()
361 strategy |= SAVE_INLINE_FPRS; in rs6000_savres_strategy()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000-logue.c309 /* Determine the strategy for savings/restoring registers. */
329 int strategy = 0; in rs6000_savres_strategy() local
335 strategy |= (SAVE_INLINE_FPRS | REST_INLINE_FPRS in rs6000_savres_strategy()
340 strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS; in rs6000_savres_strategy()
343 strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS; in rs6000_savres_strategy()
346 strategy |= SAVE_INLINE_VRS | REST_INLINE_VRS; in rs6000_savres_strategy()
353 strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS; in rs6000_savres_strategy()
354 strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS; in rs6000_savres_strategy()
355 strategy |= SAVE_INLINE_VRS | REST_INLINE_VRS; in rs6000_savres_strategy()
361 strategy |= SAVE_INLINE_FPRS; in rs6000_savres_strategy()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DGarbageCollection.rst18 First, you should pick a collector strategy. LLVM includes a number of built
20 Note that the collector strategy is a description of how LLVM should generate
24 Next, mark your generated functions as using your chosen collector strategy.
61 your final stack maps. Depending on the collector strategy chosen, this is
188 language. We try to mitigate this by providing built in collector strategy
201 IR features is specified by the selected :ref:`GC strategy description
211 The ``gc`` function attribute is used to specify the desired GC strategy to the
217 It is the selected GC strategy which defines the exact nature of the code
231 either implementation (on a per :ref:`GC strategy <plugin>` basis). Longer
251 :ref:`GC strategy <plugin>`. All calls to ``llvm.gcroot`` **must** reside
[all …]
/netbsd-src/sys/arch/ews4800mips/ews4800mips/
H A Dsector.c42 void (*strategy)(struct buf *); member
54 rw->strategy = strat; in sector_init()
96 rw->strategy(b); in sector_read()
134 rw->strategy(b); in sector_write()
/netbsd-src/sys/arch/macppc/stand/ofwboot/
H A Dofdev.c67 strategy(void *devdata, int rw, daddr_t blk, size_t size, void *buf, in strategy() function
77 panic("strategy"); in strategy()
118 { "OpenFirmware", strategy, devopen_dummy, devclose, noioctl }
197 if (strategy(devp, F_READ, blkno, DEV_BSIZE, pme, &nread) in search_mac_label()
244 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread) in search_dos_label()
263 if (strategy(devp, F_READ, poff + 1, in search_dos_label()
271 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread) in search_dos_label()
282 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread) in search_dos_label()
448 (strategy(&ofdev, F_READ, in devopen()

12345678910>>...39