Benign repos Download

sysfs.c

imports <linux/fs.h>C declares a character or byte buffer
SHA-256c8dc19608f3edeec655479f9f942fa7fe8d9bc2207579fcecaa1a3328f72407f
MaleculeH(Db)Md(In)

Evidence

imports <linux/fs.h> lines 1–25
⋯8 lines
9 */
10
11#include <linux/time.h>
12#include <linux/fs.h>
13#include <linux/seq_file.h>
14#include <linux/slab.h>
15#include <linux/proc_fs.h>
16#include <linux/part_stat.h>
17
18#include "ext4.h"
19#include "ext4_jbd2.h"
20
21typedef enum {
⋯4 lines
C declares a character or byte buffer lines 48–58
48:21… fset,
49 ptr_ext4_super_block_offset,
50} attr_ptr_t;
51
52static const char proc_dirname[] = "fs/ext4";
53static struct proc_dir_entry *ext4_proc_root;
54
⋯4 lines
Kernel error code return lines 93–103
93:3… return ret;
94
95 if (t && (!is_power_of_2(t) || t > 0x40000000))
96 return -EINVAL;
97
98 sbi->s_inode_readahead_blks = t;
⋯5 lines
English function-word token "the" lines 140–148
140:23… paces(buf), 0, &t);
141 if (ret)
142 return ret;
143
144 /*the maximum time interval must not exceed one year.*/
145 if (t > (365*24*60*60))
146 return -EINVAL;
147
148 …
English function-word token "this" lines 344–351
344:28…
345 NULL,
346};
347ATTRIBUTE_GROUPS(ext4);
348
349/* Features this copy of ext4 supports */
350EXT4_ATTR_FEATURE(lazy_itable_init);
351EXT4_ATTR_FEATURE(batched_discard …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.