Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 25 of 29) sorted by relevance

12

/fs/incfs/
Ddata_mgmt.c251 struct ondisk_signature *sig = NULL; in validate_hash_tree() local
262 sig = df->df_signature; in validate_hash_tree()
263 if (!tree || !sig) in validate_hash_tree()
275 sig->mtree_offset; in validate_hash_tree()
325 struct ondisk_signature *sig = df->df_signature; in revalidate_signature() local
333 if (!sig || !df->df_hash_tree || sig->sig_size == 0) in revalidate_signature()
340 add_data_buf = kzalloc(sig->add_data_size, GFP_NOFS); in revalidate_signature()
346 read_res = incfs_kread(bf, add_data_buf, sig->add_data_size, in revalidate_signature()
347 sig->add_data_offset); in revalidate_signature()
352 if (read_res != sig->add_data_size) { in revalidate_signature()
[all …]
Dformat.c304 struct mem_range sig) in incfs_write_signature_to_backing_file() argument
325 if (sig.data != NULL && sig.len > 0) { in incfs_write_signature_to_backing_file()
328 sg.sg_sig_size = cpu_to_le32(sig.len); in incfs_write_signature_to_backing_file()
331 result = write_to_bf(bfc, sig.data, sig.len, pos, false); in incfs_write_signature_to_backing_file()
Dformat.h289 int (*handle_signature)(struct incfs_file_signature *sig,
324 struct mem_range sig);
/fs/proc/
Darray.c480 struct signal_struct *sig = task->signal; in do_task_stat() local
482 if (sig->tty) { in do_task_stat()
483 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()
486 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
492 cmin_flt = sig->cmin_flt; in do_task_stat()
493 cmaj_flt = sig->cmaj_flt; in do_task_stat()
494 cutime = sig->cutime; in do_task_stat()
495 cstime = sig->cstime; in do_task_stat()
496 cgtime = sig->cgtime; in do_task_stat()
497 rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); in do_task_stat()
[all …]
/fs/isofs/
Drock.c139 static int rock_check_overflow(struct rock_state *rs, int sig) in rock_check_overflow() argument
143 switch (sig) { in rock_check_overflow()
189 sig, len, rs->len); in rock_check_overflow()
203 int sig; in get_rock_ridge_filename() local
227 sig = isonum_721(rs.chr); in get_rock_ridge_filename()
228 if (rock_check_overflow(&rs, sig)) in get_rock_ridge_filename()
239 switch (sig) { in get_rock_ridge_filename()
313 int cnt, sig; in parse_rock_ridge_inode_internal() local
343 sig = isonum_721(rs.chr); in parse_rock_ridge_inode_internal()
344 if (rock_check_overflow(&rs, sig)) in parse_rock_ridge_inode_internal()
[all …]
/fs/ecryptfs/
Ddebug.c21 char sig[ECRYPTFS_SIG_SIZE_HEX + 1]; in ecryptfs_dump_auth_tok() local
37 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
39 sig[ECRYPTFS_SIG_SIZE_HEX] = '\0'; in ecryptfs_dump_auth_tok()
40 ecryptfs_printk(KERN_DEBUG, " * signature = [%s]\n", sig); in ecryptfs_dump_auth_tok()
Decryptfs_kernel.h53 unsigned char sig[ECRYPTFS_SIG_SIZE]; member
92 static inline struct key *ecryptfs_get_encrypted_key(char *sig) in ecryptfs_get_encrypted_key() argument
94 return request_key(&key_type_encrypted, sig, NULL); in ecryptfs_get_encrypted_key()
104 static inline struct key *ecryptfs_get_encrypted_key(char *sig) in ecryptfs_get_encrypted_key() argument
296 unsigned char sig[ECRYPTFS_SIG_SIZE_HEX + 1]; member
649 int ecryptfs_add_keysig(struct ecryptfs_crypt_stat *crypt_stat, char *sig);
652 char *sig, u32 global_auth_tok_flags);
655 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig);
667 char *sig);
Dkeystore.c487 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) in ecryptfs_find_global_auth_tok_for_sig() argument
498 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig()
528 printk(KERN_WARNING "Invalidating auth tok with sig = [%s]\n", sig); in ecryptfs_find_global_auth_tok_for_sig()
557 char *sig) in ecryptfs_find_auth_tok_for_sig() argument
562 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
574 sig); in ecryptfs_find_auth_tok_for_sig()
1097 ecryptfs_get_auth_tok_sig(char **sig, struct ecryptfs_auth_tok *auth_tok) in ecryptfs_get_auth_tok_sig() argument
1101 (*sig) = NULL; in ecryptfs_get_auth_tok_sig()
1104 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1107 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
[all …]
Dsuper.c144 seq_printf(m, ",ecryptfs_fnek_sig=%s", walker->sig); in ecryptfs_show_options()
146 seq_printf(m, ",ecryptfs_sig=%s", walker->sig); in ecryptfs_show_options()
Dmain.c196 global_auth_tok->sig); in ecryptfs_init_global_auth_toks()
200 "option: [%s]\n", global_auth_tok->sig); in ecryptfs_init_global_auth_toks()
/fs/
Dselect.c771 void __user *, sig) in SYSCALL_DEFINE6() argument
776 if (sig) { in SYSCALL_DEFINE6()
777 if (!access_ok(sig, sizeof(void *)+sizeof(size_t)) in SYSCALL_DEFINE6()
778 || __get_user(up, (sigset_t __user * __user *)sig) in SYSCALL_DEFINE6()
780 (size_t __user *)(sig+sizeof(void *)))) in SYSCALL_DEFINE6()
791 void __user *, sig) in SYSCALL_DEFINE6() argument
796 if (sig) { in SYSCALL_DEFINE6()
797 if (!access_ok(sig, sizeof(void *)+sizeof(size_t)) in SYSCALL_DEFINE6()
798 || __get_user(up, (sigset_t __user * __user *)sig) in SYSCALL_DEFINE6()
800 (size_t __user *)(sig+sizeof(void *)))) in SYSCALL_DEFINE6()
[all …]
Dexec.c1063 struct signal_struct *sig = tsk->signal; in de_thread() local
1074 if (signal_group_exit(sig)) { in de_thread()
1083 sig->group_exit_task = tsk; in de_thread()
1084 sig->notify_count = zap_other_threads(tsk); in de_thread()
1086 sig->notify_count--; in de_thread()
1088 while (sig->notify_count) { in de_thread()
1113 sig->notify_count = -1; in de_thread()
1182 sig->group_exit_task = NULL; in de_thread()
1183 sig->notify_count = 0; in de_thread()
1190 exit_itimers(sig); in de_thread()
[all …]
Dfcntl.c709 struct fown_struct *fown, int sig) in sigio_perm()
719 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
990 static void kill_fasync_rcu(struct fasync_struct *fa, int sig, int band) in kill_fasync_rcu() argument
1006 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
1014 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument
1021 kill_fasync_rcu(rcu_dereference(*fp), sig, band); in kill_fasync()
Dio_uring.c2917 const sigset_t __user *sig, size_t sigsz) in io_cqring_wait() argument
2934 if (sig) { in io_cqring_wait()
2937 ret = set_compat_user_sigmask((const compat_sigset_t __user *)sig, in io_cqring_wait()
2941 ret = set_user_sigmask(sig, sigsz); in io_cqring_wait()
3684 u32, min_complete, u32, flags, const sigset_t __user *, sig, in SYSCALL_DEFINE6()
3736 ret = io_cqring_wait(ctx, min_complete, sig, sigsz); in SYSCALL_DEFINE6()
/fs/pstore/
Dram_core.c34 uint32_t sig; member
490 static int persistent_ram_post_init(struct persistent_ram_zone *prz, u32 sig, in persistent_ram_post_init() argument
502 sig ^= PERSISTENT_RAM_SIG; in persistent_ram_post_init()
504 if (prz->buffer->sig == sig) { in persistent_ram_post_init()
522 prz->buffer->sig); in persistent_ram_post_init()
523 prz->buffer->sig = sig; in persistent_ram_post_init()
562 u32 sig, struct persistent_ram_ecc_info *ecc_info, in persistent_ram_new() argument
583 ret = persistent_ram_post_init(prz, sig, ecc_info); in persistent_ram_new()
Dram.c521 unsigned int *cnt, u32 sig, u32 flags) in ramoops_init_przs() argument
583 prz_ar[i] = persistent_ram_new(*paddr, zone_sz, sig, in ramoops_init_przs()
615 phys_addr_t *paddr, size_t sz, u32 sig) in ramoops_init_prz() argument
630 *prz = persistent_ram_new(*paddr, sz, sig, &cxt->ecc_info, in ramoops_init_prz()
/fs/hfsplus/
Dwrapper.c99 __be16 sig; in hfsplus_read_mdb() local
101 sig = *(__be16 *)(bufptr + HFSP_WRAPOFF_EMBEDSIG); in hfsplus_read_mdb()
102 if (sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIG) && in hfsplus_read_mdb()
103 sig != cpu_to_be16(HFSPLUS_VOLHEAD_SIGX)) in hfsplus_read_mdb()
/fs/affs/
Dsuper.c349 u8 sig[4]; in affs_fill_super() local
459 memcpy(sig, boot_bh->b_data, 4); in affs_fill_super()
461 chksum = be32_to_cpu(*(__be32 *)sig); in affs_fill_super()
515 sig, sig[3] + '0', blocksize); in affs_fill_super()
/fs/nfsd/
Dblocklayoutxdr.h36 u8 sig[PNFS_BLOCK_UUID_LEN]; member
Dblocklayoutxdr.c56 p = xdr_encode_opaque(p, b->simple.sig, b->simple.sig_len); in nfsd4_block_encode_volume()
Dblocklayout.c163 return sb->s_export_op->get_uuid(sb, b->simple.sig, &b->simple.sig_len, in nfsd4_block_get_device_info_simple()
/fs/nfs/blocklayout/
Dblocklayout.h67 u8 sig[PNFS_BLOCK_UUID_LEN]; member
Drpc_pipefs.c47 p = xdr_encode_opaque(p, b->simple.sigs[i].sig, in nfs4_encode_simple()
/fs/ubifs/
Dubifs-media.h798 __u8 sig[]; member
Dauth.c259 signode->sig, le32_to_cpu(signode->len), in ubifs_sb_verify_signature()

12