Searched refs:content (Results 1 - 25 of 107) sorted by relevance

12345

/linux-master/tools/testing/selftests/damon/
H A D_debugfs_common.sh6 content=$2
11 echo "$content" > "$file"
14 echo "writing $content to $file doesn't return $expected"
35 content=$(cat "$file")
36 if [ "$content" != "$expected" ]
38 echo "reading $file expected $expected but $content"
H A Dsysfs.sh10 content=$2
13 if ! echo "$content" > "$file"
15 echo "writing $content to $file failed"
24 content=$2
27 if (echo "$content" > "$file") 2> /dev/null
29 echo "writing $content to $file succeed ($fail_reason)"
H A D_damon_sysfs.py18 '''Returns the read content and error string. The read content is None if
275 content, err = read_file(nr_targets_file)
278 if int(content) != len(self.targets):
289 content, err = read_file(nr_schemes_file)
290 if int(content) != len(self.schemes):
319 content, err = read_file(nr_contexts_file)
322 if int(content) != len(self.contexts):
341 content, err = read_file(os.path.join(scheme.sysfs_dir(),
345 scheme.tried_bytes = int(content)
[all...]
/linux-master/tools/testing/ktest/examples/bootconfigs/
H A Dverify-functiongraph.sh8 content=`cat $file`
9 if [ "$content" != "$val" ]; then
10 echo "FAILED: $file has '$content', expected '$val'"
18 content=`cat $file | sed -ne "/^$val/p"`
19 if [ -z "$content" ]; then
41 content=`cat $file | sed -ne "/^[0 ]*$val/p"`
42 if [ -z "$content" ]; then
H A Dverify-tracing.sh8 content=`cat $file`
9 if [ "$content" != "$val" ]; then
10 echo "FAILED: $file has '$content', expected '$val'"
18 content=`cat $file | sed -ne "/^$val/p"`
19 if [ -z "$content" ]; then
41 content=`cat $file | sed -ne "/^[0 ]*$val/p"`
42 if [ -z "$content" ]; then
H A Dverify-boottrace.sh8 content=`cat $file`
9 if [ "$content" != "$val" ]; then
10 echo "FAILED: $file has '$content', expected '$val'"
18 content=`cat $file | sed -ne "/^$val/p"`
19 if [ -z "$content" ]; then
41 content=`cat $file | sed -ne "/^[0 ]*$val/p"`
42 if [ -z "$content" ]; then
/linux-master/Documentation/sphinx/
H A Dkernel_abi.py96 content = ViewList()
118 if new_f != f and content:
119 self.do_parse(content, node)
120 content = ViewList()
130 content.append(line, f, ln)
134 if content:
135 self.do_parse(content, node)
139 def do_parse(self, content, node):
140 with switch_source_input(self.state, content):
141 self.state.nested_parse(content,
[all...]
H A DrstFlatTable.py71 def c_span(name, rawtext, text, lineno, inliner, options=None, content=None):
76 content = content if content is not None else []
82 def r_span(name, rawtext, text, lineno, inliner, options=None, content=None):
87 content = content if content is not None else []
114 if not self.content:
116 'The "%s" directive is empty; content require
[all...]
H A Dkernel_feat.py116 content = ViewList()
126 content.append(l, fname, c)
130 with switch_source_input(self.state, content):
131 self.state.nested_parse(content, 0, node, match_titles=1)
/linux-master/drivers/s390/char/
H A Dhmcdrv_cache.c25 * @content: kernel-space buffer, 4k aligned
26 * @len: size of @content cache (0 if caching disabled)
27 * @ofs: start of content within file (-1 if no cached content)
33 * read/dir requests. But content is cached only under some preconditions.
34 * Uncached content is signalled by a negative value of @ofs.
42 void *content; member in struct:hmcdrv_cache_entry
56 * hmcdrv_cache_get() - looks for file data/content in read cache
60 * in content cache (for the file/cmd specified in @ftp)
74 if ((hmcdrv_cache_file.ofs < 0) || /* has content
[all...]
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dsec.c31 u32 content; local
50 content = ((key->keyidx & 0x3)) |
58 content = (cam->addr[2]) |
65 content = 0;
69 content = (key->key[j]) |
77 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, content);
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-synthetic-eprobe.tc32 content=`grep '^ *ls-' trace | grep 'file='`
35 if [ -z "$content" ]; then
/linux-master/scripts/
H A Dasn1_compiler.c305 char *content; member in struct:token
327 //debug("cmp(%s,%s) = ", token->content, dir);
329 val = memcmp(token->content, dir, clen);
423 tokens[tix].content = malloc(tokens[tix].size + 1);
424 if (!tokens[tix].content) {
428 memcpy(tokens[tix].content, start, tokens[tix].size);
429 tokens[tix].content[tokens[tix].size] = 0;
434 if (islower(tokens[tix].content[0])) {
463 tokens[tix].content = malloc(tokens[tix].size + 1);
464 if (!tokens[tix].content) {
[all...]
H A Dget_abi.pl131 my $content = $3;
151 $content =~ s/[,.;]$//;
153 push @{$symbols{$content}->{file}}, " $file:" . ($ln - 1);
156 $what .= "\xac" . $content;
166 $what = $content;
167 $label = $content;
170 push @labels, [($content, $label)];
173 push @{$data{$nametag}->{symbols}}, $content if ($data{$nametag}->{what});
209 $content = ' ' x length($new_tag) . $sep . $content;
[all...]
H A Dinsert-sys-cert.c64 void *content; member in struct:sym
130 s->content = (void *)hdr + s->offset;
181 s->content = (void *)hdr + s->offset;
380 lsize = (unsigned long *)lsize_sym.content;
381 used = (int *)used_sym.content;
390 strncmp(cert_sym.content, cert, cert_size) == 0) {
398 memcpy(cert_sym.content, cert, cert_size);
400 memset(cert_sym.content + cert_size,
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c443 static void hns3_dbg_fill_content(char *content, u16 len, argument
448 char *pos = content;
459 memset(content, ' ', len);
538 char content[HNS3_DBG_INFO_LEN]; local
547 hns3_dbg_fill_content(content, sizeof(content), coal_info_items,
549 *pos += scnprintf(buf + *pos, len - *pos, "%s", content);
554 hns3_dbg_fill_content(content, sizeof(content), coal_info_items,
557 *pos += scnprintf(buf + *pos, len - *pos, "%s", content);
588 char content[HNS3_DBG_INFO_LEN]; local
687 char content[HNS3_DBG_INFO_LEN]; local
790 char content[HNS3_DBG_INFO_LEN]; local
841 char content[HNS3_DBG_INFO_LEN]; local
921 char content[HNS3_DBG_INFO_LEN]; local
994 char content[HNS3_DBG_INFO_LEN]; local
1147 char content[HNS3_DBG_INFO_LEN]; local
[all...]
/linux-master/arch/s390/include/asm/
H A Dcpu_mf.h195 static inline int __ecctr(u64 ctr, u64 *content) argument
205 *content = _content;
212 u64 content; local
215 cc = __ecctr(ctr, &content);
217 *val = content;
/linux-master/fs/exfat/
H A Dfatent.c39 unsigned int *content)
52 *content = le32_to_cpu(*(__le32 *)(&bh->b_data[off]));
55 if (*content > EXFAT_BAD_CLUSTER)
56 *content = EXFAT_EOF_CLUSTER;
63 unsigned int content)
78 *fat_entry = cpu_to_le32(content);
86 unsigned int *content)
97 err = __exfat_ent_get(sb, loc, content);
105 if (*content == EXFAT_FREE_CLUSTER) {
112 if (*content
38 __exfat_ent_get(struct super_block *sb, unsigned int loc, unsigned int *content) argument
62 exfat_ent_set(struct super_block *sb, unsigned int loc, unsigned int content) argument
85 exfat_ent_get(struct super_block *sb, unsigned int loc, unsigned int *content) argument
[all...]
/linux-master/fs/cachefiles/
H A Dxattr.c24 __u8 content; /* Content presence (enum cachefiles_content) */ member in struct:cachefiles_xattr
60 buf->content = object->content_info;
62 buf->content = CACHEFILES_CONTENT_DIRTY;
74 buf->content,
82 buf->content,
127 } else if (buf->content == CACHEFILES_CONTENT_DIRTY) {
137 buf->content, why);
/linux-master/include/uapi/linux/
H A Ddns_resolver.h75 __u8 content; /* enum dns_payload_content_type */ member in struct:dns_payload_header
/linux-master/sound/core/seq/
H A Dseq_info.c29 entry->content = SNDRV_INFO_CONTENT_TEXT;
/linux-master/tools/verification/dot2/
H A Ddot2k.py59 content = fd.read()
61 return content
148 def __create_file(self, file_name, content):
157 file.write(content)
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/
H A DvalgrindPlugin.py130 content = vfd.read()
131 def_mo = self.definitely_lost_re.search(content)
132 ind_mo = self.indirectly_lost_re.search(content)
133 pos_mo = self.possibly_lost_re.search(content)
134 nle_mo = self.non_leak_error_re.search(content)
150 res.append_failmsg(content)
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_stream_encoder.c223 const uint32_t *content = (const uint32_t *) &info_packet->sb[0]; local
253 /* Write generic packet content 128 bytes long. Four sets are used (indexes 7
260 REG_WRITE(AFMT_GENERIC_0, *content++);
261 REG_WRITE(AFMT_GENERIC_1, *content++);
262 REG_WRITE(AFMT_GENERIC_2, *content++);
263 REG_WRITE(AFMT_GENERIC_3, *content++);
264 REG_WRITE(AFMT_GENERIC_4, *content++);
265 REG_WRITE(AFMT_GENERIC_5, *content++);
266 REG_WRITE(AFMT_GENERIC_6, *content++);
267 REG_WRITE(AFMT_GENERIC_7, *content
[all...]
/linux-master/sound/isa/gus/
H A Dgus_mem_proc.c59 entry->content = SNDRV_INFO_CONTENT_DATA;
77 entry->content = SNDRV_INFO_CONTENT_DATA;

Completed in 276 milliseconds

12345