Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 37) sorted by relevance

12

/lib/
Dkstrtox.c24 const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) in _parse_integer_fixup_radix()
48 unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *p) in _parse_integer()
85 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull()
121 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull()
145 int kstrtoll(const char *s, unsigned int base, long long *res) in kstrtoll()
170 int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul()
186 int _kstrtol(const char *s, unsigned int base, long *res) in _kstrtol()
217 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint()
248 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint()
263 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16()
[all …]
Dseq_buf.c28 static bool seq_buf_can_fit(struct seq_buf *s, size_t len) in seq_buf_can_fit()
40 int seq_buf_print_seq(struct seq_file *m, struct seq_buf *s) in seq_buf_print_seq()
57 int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args) in seq_buf_vprintf()
83 int seq_buf_printf(struct seq_buf *s, const char *fmt, ...) in seq_buf_printf()
113 int seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary) in seq_buf_bprintf()
141 int seq_buf_puts(struct seq_buf *s, const char *str) in seq_buf_puts()
169 int seq_buf_putc(struct seq_buf *s, unsigned char c) in seq_buf_putc()
193 int seq_buf_putmem(struct seq_buf *s, const void *mem, unsigned int len) in seq_buf_putmem()
221 int seq_buf_putmem_hex(struct seq_buf *s, const void *mem,
265 int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc)
[all …]
Dparser.c24 static int match_one(char *s, const char *p, substring_t args[]) in match_one()
105 int match_token(char *s, const match_table_t table, substring_t args[]) in match_token()
126 static int match_number(substring_t *s, int *result, int base) in match_number()
159 static int match_u64int(substring_t *s, u64 *result, int base) in match_u64int()
185 int match_int(substring_t *s, int *result) in match_int()
202 int match_u64(substring_t *s, u64 *result) in match_u64()
217 int match_octal(substring_t *s, int *result) in match_octal()
232 int match_hex(substring_t *s, int *result) in match_hex()
251 const char *s = str; in match_wildcard() local
320 char *match_strdup(const substring_t *s) in match_strdup()
Dstring.c409 char *strchr(const char *s, int c) in strchr()
428 char *strchrnul(const char *s, int c) in strchrnul()
443 char *strrchr(const char *s, int c) in strrchr()
465 char *strnchr(const char *s, size_t count, int c) in strnchr()
500 char *strim(char *s) in strim()
523 size_t strlen(const char *s) in strlen()
540 size_t strnlen(const char *s, size_t count) in strnlen()
557 size_t strspn(const char *s, const char *accept) in strspn()
584 size_t strcspn(const char *s, const char *reject) in strcspn()
635 char *strsep(char **s, const char *ct) in strsep()
[all …]
Ducs2_string.c7 ucs2_strnlen(const ucs2_char_t *s, size_t maxlength) in ucs2_strnlen()
18 ucs2_strlen(const ucs2_char_t *s) in ucs2_strlen()
Dnet_utils.c7 bool mac_pton(const char *s, u8 *mac) in mac_pton()
Ddecompress_unxz.c207 const uint8_t *s = src; in memmove() local
258 struct xz_dec *s; in unxz() local
Dassoc_array.c1189 struct assoc_array_shortcut *s = assoc_array_ptr_to_shortcut(ptr); in assoc_array_delete() local
1239 struct assoc_array_shortcut *s = in assoc_array_delete() local
1322 struct assoc_array_shortcut *s = in assoc_array_rcu_cleanup() local
1560 struct assoc_array_shortcut *s; in assoc_array_gc() local
1636 struct assoc_array_shortcut *s = in assoc_array_gc() local
Dchecksum.c192 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold() local
Dvsprintf.c127 int skip_atoi(const char **s) in skip_atoi()
598 static char *string_nocheck(char *buf, char *end, const char *s, in string_nocheck()
617 static char *error_string(char *buf, char *end, const char *s, in error_string()
662 char *string(char *buf, char *end, const char *s, in string()
845 const char *array[4], *s; in dentry_name() local
3151 long long s; in vsscanf() member
3238 char *s = (char *)va_arg(args, char*); in vsscanf() local
3249 char *s = (char *)va_arg(args, char *); in vsscanf() local
3279 char *s = (char *)va_arg(args, char *); in vsscanf() local
/lib/zlib_deflate/
Ddeflate.c142 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) argument
153 #define INSERT_STRING(s, str, match_head) \ argument
162 #define CLEAR_HASH(s) \ argument
176 deflate_state *s; in zlib_deflateInit2() local
257 deflate_state *s; in zlib_deflateReset() local
289 deflate_state *s, in putShortMSB()
307 deflate_state *s = (deflate_state *) strm->state; in flush_pending() local
333 deflate_state *s; in zlib_deflate() local
470 deflate_state *s; in zlib_deflateEnd() local
520 deflate_state *s in lm_init()
[all …]
Ddeftree.c156 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) argument
160 # define send_code(s, c, tree) \ argument
180 deflate_state *s, in send_bits()
205 #define send_bits(s, value, length) \ argument
296 deflate_state *s in zlib_tr_init()
327 deflate_state *s in init_block()
350 #define pqremove(s, tree, top) \ argument
372 deflate_state *s, in pqdownheap()
408 deflate_state *s, in gen_bitlen()
539 deflate_state *s, in build_tree()
[all …]
Ddefutil.h262 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} argument
270 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) argument
290 #define put_short(s, w) { \ argument
298 static inline void bi_flush(deflate_state *s) in bi_flush()
314 static inline void bi_windup(deflate_state *s) in bi_windup()
/lib/xz/
Dxz_dec_stream.c157 static bool fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp()
175 static enum xz_ret dec_vli(struct xz_dec *s, const uint8_t *in, in dec_vli()
218 static enum xz_ret dec_block(struct xz_dec *s, struct xz_buf *b) in dec_block()
281 static void index_update(struct xz_dec *s, const struct xz_buf *b) in index_update()
296 static enum xz_ret dec_index(struct xz_dec *s, struct xz_buf *b) in dec_index()
346 static enum xz_ret crc32_validate(struct xz_dec *s, struct xz_buf *b) in crc32_validate()
370 static bool check_skip(struct xz_dec *s, struct xz_buf *b) in check_skip()
387 static enum xz_ret dec_stream_header(struct xz_dec *s) in dec_stream_header()
422 static enum xz_ret dec_stream_footer(struct xz_dec *s) in dec_stream_footer()
449 static enum xz_ret dec_block_header(struct xz_dec *s) in dec_block_header()
[all …]
Dxz_dec_bcj.c88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
160 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc()
181 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64()
265 static size_t bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm()
288 static size_t bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb()
316 static size_t bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc()
345 static void bcj_apply(struct xz_dec_bcj *s, in bcj_apply()
399 static void bcj_flush(struct xz_dec_bcj *s, struct xz_buf *b) in bcj_flush()
417 XZ_EXTERN enum xz_ret xz_dec_bcj_run(struct xz_dec_bcj *s, in xz_dec_bcj_run()
529 struct xz_dec_bcj *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_bcj_create() local
[all …]
Dxz_dec_lzma2.c572 static uint16_t *lzma_literal_probs(struct xz_dec_lzma2 *s) in lzma_literal_probs()
581 static void lzma_literal(struct xz_dec_lzma2 *s) in lzma_literal()
619 static void lzma_len(struct xz_dec_lzma2 *s, struct lzma_len_dec *l, in lzma_len()
646 static void lzma_match(struct xz_dec_lzma2 *s, uint32_t pos_state) in lzma_match()
688 static void lzma_rep_match(struct xz_dec_lzma2 *s, uint32_t pos_state) in lzma_rep_match()
722 static bool lzma_main(struct xz_dec_lzma2 *s) in lzma_main()
767 static void lzma_reset(struct xz_dec_lzma2 *s) in lzma_reset()
799 static bool lzma_props(struct xz_dec_lzma2 *s, uint8_t props) in lzma_props()
846 static bool lzma2_lzma(struct xz_dec_lzma2 *s, struct xz_buf *b) in lzma2_lzma()
931 XZ_EXTERN enum xz_ret xz_dec_lzma2_run(struct xz_dec_lzma2 *s, in xz_dec_lzma2_run()
[all …]
Dxz_private.h157 #define xz_dec_bcj_end(s) kfree(s) argument
/lib/zstd/
Dfse_compress.c161 …FSE_FUNCTION_TYPE s = tableSymbol[u]; /* note : static analyzer may not understand tableSymbol is … in FSE_buildCTable_wksp() local
169 unsigned s; in FSE_buildCTable_wksp() local
345 U32 s; in FSE_count_simple() local
422 U32 s; in FSE_count_parallel_wksp() local
431 U32 s; in FSE_count_parallel_wksp() local
522 U32 s; in FSE_normalizeM2() local
626 unsigned s; in FSE_normalizeCount() local
675 unsigned s; in FSE_buildCTable_raw() local
742 #define FSE_FLUSHBITS(s) (fast ? BIT_flushBitsFast(s) : BIT_flushBits(s)) in FSE_compress_usingCTable_generic() argument
Dfse_decompress.c120 U32 s; in FSE_buildDTable_wksp() local
139 U32 s, position = 0; in FSE_buildDTable_wksp() local
196 unsigned s; in FSE_buildDTable_raw() local
Dhuf_compress.c504 int s; in HUF_estimateCompressedSize() local
514 int s; in HUF_validateCTable() local
528 #define HUF_FLUSHBITS(s) BIT_flushBits(s) argument
/lib/mpi/
Dmpi-internal.h56 #define MPN_COPY(d, s, n) \ argument
63 #define MPN_COPY_DECR(d, s, n) \ argument
/lib/842/
D842_decompress.c59 #define beN_to_cpu(d, s) \ argument
67 static int __split_next_bits(struct sw842_param *p, u64 *d, u8 n, u8 s) in __split_next_bits()
D842_compress.c154 static int __split_add_bits(struct sw842_param *p, u64 d, u8 n, u8 s) in __split_add_bits()
169 int b = p->bit, bits = b + n, s = round_up(bits, 8) - bits; in add_bits() local
/lib/reed_solomon/
Dreed_solomon.c362 uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, in decode_rs8()
413 uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, in decode_rs16()
/lib/lz4/
Dlz4_decompress.c190 unsigned int s; in LZ4_decompress_generic() local
304 unsigned int s; in LZ4_decompress_generic() local

12