| /linux/include/linux/ |
| H A D | textsearch.h | 19 * struct ts_state - search state 30 * struct ts_ops - search module operations 31 * @name: name of search algorithm 32 * @init: initialization function to prepare a search 34 * @destroy: destroy algorithm specific parts of a search configuration 38 * @list: list to search 54 * struct ts_config - search configuration 57 * @get_next_block: callback to fetch the next block to search in 58 * @finish: callback to finalize a search 69 * @conf: search configuration [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | flowring.c | 45 struct brcmf_flowring_tdls_entry *search; in brcmf_flowring_is_tdls_mac() local 47 search = flow->tdls_entry; in brcmf_flowring_is_tdls_mac() 49 while (search) { in brcmf_flowring_is_tdls_mac() 50 if (memcmp(search->mac, mac, ETH_ALEN) == 0) in brcmf_flowring_is_tdls_mac() 52 search = search->next; in brcmf_flowring_is_tdls_mac() 382 struct brcmf_flowring_tdls_entry *search; 391 search = flow->tdls_entry; in brcmf_flowring_detach() 392 while (search) { in brcmf_flowring_detach() 393 remove = search; in brcmf_flowring_detach() 387 struct brcmf_flowring_tdls_entry *search; brcmf_flowring_detach() local 436 struct brcmf_flowring_tdls_entry *search; brcmf_flowring_delete_peer() local 480 struct brcmf_flowring_tdls_entry *search; brcmf_flowring_add_tdls_peer() local [all...] |
| /linux/drivers/acpi/acpica/ |
| H A D | nssearch.c | 4 * Module Name: nssearch - Namespace search 30 * PARAMETERS: target_name - Ascii ACPI name to search for 31 * parent_node - Starting node where search will begin 37 * DESCRIPTION: Search a single level of the namespace. Performs a 38 * simple search of the specified level, and does not add 39 * entries or search parents. 46 * could be easily modified to support any improved search 47 * algorithm. However, the linear search was chosen for simplicity 53 * the linear search seems to be sufficient, as there would seem to be 54 * little value in improving the search. [all …]
|
| /linux/lib/ |
| H A D | textsearch.c | 3 * lib/textsearch.c Generic text search interface 16 * both linear and non-linear data. Individual search algorithms are 38 * (1) User configures a search by calling textsearch_prepare() specifying 39 * the search parameters such as the pattern and algorithm name. 40 * (2) Core requests the algorithm to allocate and initialize a search 42 * (3) User starts the search(es) by calling textsearch_find() or 45 * (4) Core eventually resets the search offset and forwards the find() 57 * Before a search can be performed, a configuration must be created 66 * The actual search is performed by either calling 219 * textsearch_find_continuous - search a pattern in continuous/linear data [all …]
|
| H A D | bsearch.c | 3 * A generic implementation of binary search for the Linux kernel 14 * bsearch - binary search an array of elements 16 * @base: pointer to first element to search 21 * This function does a binary search on the given array. The
|
| /linux/tools/docs/ |
| H A D | get_abi.py | 95 """Initialize an argparse subparser for ABI search""" 100 parser = subparsers.add_parser("search", 102 description="Search ABI using a regular expression") 105 help="Case-insensitive search pattern for the ABI symbol") 122 The search logic tries to minimize the number of regular expressions to 123 search per each symbol. 128 On experimental tests, if the number of ABI symbols to search per devnode 150 parser.add_argument("-s", "--search-string", 151 help="search string regular expression to limit symbol search") 162 help="Don't actually search for undefined. "
|
| /linux/Documentation/kbuild/ |
| H A D | kconfig.rst | 11 navigation, search, and other general help text. 173 The Search function searches for kernel configuration symbol 183 For search help, enter / followed by TAB-TAB (to highlight 185 regular expressions (regexes) in the search string, so if you 193 is when the search matches the complete symbol name); 207 search results after exiting this new menu. 245 You can search either in the menu entry "prompt" strings 248 Use / to begin a search through the menu entries. This does 251 terminate the search mode. 258 current search result [all...] |
| /linux/tools/include/linux/ |
| H A D | find.h | 25 * @addr: The address to base the search on 53 * @addr1: The first address to base the search on 54 * @addr2: The second address to base the search on 83 * @addr: The address to base the search on 111 * @addr: The address to start the search at 112 * @size: The maximum number of bits to search 133 * @addr1: The first address to base the search on 134 * @addr2: The second address to base the search on 158 * @addr: The address to start the search at 159 * @size: The maximum number of bits to search
|
| /linux/tools/perf/util/ |
| H A D | dwarf-aux.h | 79 DIE_FIND_CB_END = 0, /* End of Search */ 80 DIE_FIND_CB_CHILD = 1, /* Search only children */ 81 DIE_FIND_CB_SIBLING = 2, /* Search only siblings */ 82 DIE_FIND_CB_CONTINUE = 3, /* Search children and siblings */ 85 /* Search child DIEs */ 90 /* Search a non-inlined function including given address */ 94 /* Search a non-inlined function with tail call at given address */ 98 /* Search the top inlined function including given address */ 102 /* Search the deepest inlined function including given address */ 106 /* Search [all...] |
| /linux/Documentation/security/keys/ |
| H A D | request-key.rst | 105 search notes that the session keyring has auth key V in its bottom level. 107 This will permit it to then search the keyrings of process A with the 149 The Search Algorithm 152 A search of any particular keyring proceeds in the following fashion: 155 firstly calls key_permission(SEARCH) on the keyring it's starting with, 156 if this denies permission, it doesn't search further. 159 matches the criteria specified, calls key_permission(SEARCH) on it to see 161 not, the search continues, and the error code is retained if of higher 165 searching. It calls key_permission(SEARCH) on each keyring, and if this 206 EACCES/EPERM are only returned on a direct search of a specific keyring where [all …]
|
| /linux/drivers/acpi/ |
| H A D | nhlt.c | 80 * acpi_nhlt_tb_find_endpoint - Search a NHLT table for an endpoint. 81 * @tb: the table to search. 88 * value to ignore the parameter during the search. 107 * acpi_nhlt_find_endpoint - Search all NHLT tables for an endpoint. 114 * value to ignore the parameter during the search. 128 * acpi_nhlt_endpoint_find_fmtcfg - Search endpoint's formats configuration space 130 * @ep: the endpoint to search. 161 * acpi_nhlt_tb_find_fmtcfg - Search a NHLT table for a specific format. 162 * @tb: the table to search. 174 * value to ignore the parameter during the search. [all …]
|
| /linux/drivers/md/bcache/ |
| H A D | bset.c | 236 /* Auxiliary search trees */ 256 * the auxiliar search tree - when we're done searching the bset_float tree we 257 * have this many bytes left that we do a linear search over. 261 * cacheline in the linear search - but the linear search might stop before it 278 /* Space required for the auxiliary search trees */ 365 /* Binary tree stuff for auxiliary search trees */ 509 * t->tree is a binary search tree in an array; each node corresponds to a key 556 * maintain a full search tree, we just keep a simple lookup table in t->prev. 683 * accelerate bkey search in a btree node (pointed by bset_tree->data in 684 * memory). After search in the auxiliar tree by calling bset_search_tree(), [all …]
|
| H A D | request.c | 477 struct search { struct 503 struct search *s = container_of(cl, struct search, cl); in bch_cache_read_endio() argument 529 struct search *s = container_of(op, struct search, op); in cache_lookup_fn() 594 closure_type(s, struct search, iop.cl); in CLOSURE_CALLBACK() 640 struct search *s = container_of(cl, struct search, cl); in request_endio() 656 struct search *s = container_of(cl, struct search, cl); in backing_request_endio() 683 static void bio_complete(struct search *s) in bio_complete() 696 static void do_bio_hook(struct search *s, in do_bio_hook() 717 closure_type(s, struct search, cl); in CLOSURE_CALLBACK() 726 mempool_free(s, &s->iop.c->search); in CLOSURE_CALLBACK() [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | gct.c | 14 gct6_find_nodes(gct6_node *node, gct6_search_struct *search) in gct6_find_nodes() argument 25 /* Check against the search struct. */ in gct6_find_nodes() 26 for (wanted = search; in gct6_find_nodes() 41 status |= gct6_find_nodes(GCT_NODE_PTR(node->next), search); in gct6_find_nodes() 45 status |= gct6_find_nodes(GCT_NODE_PTR(node->child), search); in gct6_find_nodes()
|
| /linux/tools/lib/python/kdoc/ |
| H A D | kdoc_parser.py | 462 while arg_expr.search(args): 489 elif KernRe(r'\(.+\)\s*\(').search(arg): 505 elif KernRe(r'\(.+\)\s*\[').search(arg): 552 elif bitfield_re.search(param): 568 not known_sections.search(section): 612 if not return_type or KernRe(r'void\s*\w*\s*$').search(return_type): 636 if r.search(proto): 640 if r.search(proto): 718 if r.search(arg): 734 # End of the tuple loop - search agai [all...] |
| H A D | kdoc_re.py | 99 def search(self, string): 101 Handles a re.search storing its results. 104 self.last_match = self.regex.search(string) 70 def search(self, string): global() member in KernRe 214 def search(self, regex, line): global() member in NestedMatch
|
| /linux/scripts/coccinelle/free/ |
| H A D | put_device.cocci | 12 @search exists@ 40 p1 << search.p1; 41 p2 << search.p2; 50 p1 << search.p1; 51 p2 << search.p2;
|
| H A D | pci_free_consistent.cocci | 13 @search@ 39 p1 << search.p1; 40 p2 << search.p2; 47 p1 << search.p1; 48 p2 << search.p2;
|
| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| H A D | fgraph-multi-filter.tc | 44 search=$1 47 if [ -z "$search" ]; then 50 grep $search enabled_functions | wc -l 52 grep $search enabled_functions | grep $vsearch| wc -l 78 search=$2 81 cnt=`function_count $search $vsearch`
|
| /linux/tools/perf/pmu-events/ |
| H A D | pmu-events.h | 102 * Search for a table and entry matching with pmu__name_wildcard_match or any 104 * success/continue the search while non-zero means to terminate. The special 106 * the tables which doesn't terminate the search of all tables. 121 * Search for a table and entry matching with pmu__name_wildcard_match or any 123 * success/continue the search while non-zero means to terminate. The special 125 * of the tables which doesn't terminate the search of all tables.
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | spectral.c | 499 struct spectral_search_fft_report *search, in ath11k_spectral_pull_search() 502 report->timestamp = __le32_to_cpu(search->timestamp); in ath11k_spectral_pull_search() 504 __le32_to_cpu(search->info0)); in ath11k_spectral_pull_search() 506 __le32_to_cpu(search->info0)); in ath11k_spectral_pull_search() 508 __le32_to_cpu(search->info0)); in ath11k_spectral_pull_search() 510 __le32_to_cpu(search->info0)); in ath11k_spectral_pull_search() 512 __le32_to_cpu(search->info0)); in ath11k_spectral_pull_search() 514 __le32_to_cpu(search->info1)); in ath11k_spectral_pull_search() 516 __le32_to_cpu(search->info1)); in ath11k_spectral_pull_search() 518 __le32_to_cpu(search in ath11k_spectral_pull_search() 500 ath11k_spectral_pull_search(struct ath11k * ar,struct spectral_search_fft_report * search,struct ath11k_spectral_search_report * report) ath11k_spectral_pull_search() argument 576 struct ath11k_spectral_search_report search; ath11k_spectral_process_fft() local [all...] |
| /linux/Documentation/w1/ |
| H A D | w1-netlink.rst | 11 is found either due to automatic or requested search. 33 device (search/alarm search) 51 W1_CMD_SEARCH - search command 52 W1_CMD_ALARM_SEARCH - alarm search command 100 W1 search and alarm search commands. 202 read/write/search commands for all master/slave devices found on the bus.
|
| /linux/drivers/w1/ |
| H A D | w1.c | 40 /* A search stops when w1_max_slave_count devices have been found in that 41 * search. The next search will start over and detect the same set of devices 46 * be read directly skipping the normal slower search process. 51 "maximum number of slaves detected in a search"); 399 * doesn't include it and most messages from the bus search don't in w1_atoreg_num() 463 /* It would be nice to do a targeted search one the one-wire bus in w1_master_attribute_store_add() 465 * current search doesn't support that. in w1_master_attribute_store_add() 535 static W1_MASTER_ATTR_RW(search, S_IRUGO | S_IWUSR | S_IWGRP); 960 * w1_search() - Performs a ROM Search & registers any devices found. 961 * @dev: The master device to search [all …]
|
| /linux/Documentation/power/ |
| H A D | opp.rst | 11 3. OPP Search Functions 59 -> queries to search/retrieve information -> 128 3. OPP Search Functions 132 to search the OPP list that OPP library internally manages. These search 142 Search for an OPP based on an *exact* frequency and 161 This is the only search function that operates on OPPs which are 165 Search for an available OPP which is *at most* the 176 Search for an available OPP which is *at least* the 251 retrieved using the search functions, the following functions can be used by SoC 371 Search functions:
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-rs.c | 116 /* legacy rate format, search for match in table */ in il4965_hwrate_to_plcp_idx() 473 * Fill uCode API rate_n_flags field, based on "search" or "active" table. 527 * fill "search" or "active" tx mode table. 827 * to check "search" mode, or a prior "search" mode after we've moved in il4965_rs_tx_status() 828 * to a new "search" mode (which might become the new "active" mode). in il4965_rs_tx_status() 876 /* Figure out if rate scale algorithm is in active or search table */ in il4965_rs_tx_status() 887 D_RATE("Neither active nor search matches tx rate\n"); in il4965_rs_tx_status() 892 D_RATE("search- lq:%x, ant:%x, SGI:%d\n", tmp_tbl->lq_type, in il4965_rs_tx_status() 943 * table as active/search. in il4965_rs_tx_status() 1046 * Find starting rate for new "search" high-throughput mode of modulation. [all …]
|