Home
last modified time | relevance | path

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

12

/fs/proc/
Darray.c483 struct signal_struct *sig = task->signal; in do_task_stat() local
485 if (sig->tty) { in do_task_stat()
486 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()
489 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
495 cmin_flt = sig->cmin_flt; in do_task_stat()
496 cmaj_flt = sig->cmaj_flt; in do_task_stat()
497 cutime = sig->cutime; in do_task_stat()
498 cstime = sig->cstime; in do_task_stat()
499 cgtime = sig->cgtime; in do_task_stat()
500 rsslim = READ_ONCE(sig->rlim[RLIMIT_RSS].rlim_cur); in do_task_stat()
[all …]
/fs/incfs/
Dverity.c71 static int incfs_end_enable_verity(struct file *filp, u8 *sig, size_t sig_size) in incfs_end_enable_verity() argument
75 .data = sig, in incfs_end_enable_verity()
87 if (sig) { in incfs_end_enable_verity()
114 if (sig) { in incfs_end_enable_verity()
409 } __packed sig = { in incfs_add_signature_record() local
412 cpu_to_le32(sizeof(sig.hash_section)), in incfs_add_signature_record()
446 hash_tree = incfs_alloc_mtree(range((u8 *)&sig, sizeof(sig)), in incfs_add_signature_record()
462 range((u8 *)&sig, sizeof(sig)), in incfs_add_signature_record()
476 memcpy(sig.hash_section.root_hash, hash.data, alg->digest_size); in incfs_add_signature_record()
477 result = incfs_kwrite(bfc, &sig, sizeof(sig), sig_offset); in incfs_add_signature_record()
[all …]
Ddata_mgmt.c674 struct incfs_df_signature *sig = NULL; in validate_hash_tree() local
689 sig = df->df_signature; in validate_hash_tree()
690 if (!tree || !sig) in validate_hash_tree()
730 hash_block_offset[lvl] + sig->hash_offset); in validate_hash_tree()
1344 struct incfs_df_signature *sig = NULL; in incfs_read_merkle_tree_blocks() local
1350 sig = df->df_signature; in incfs_read_merkle_tree_blocks()
1353 if (offset > sig->hash_size) in incfs_read_merkle_tree_blocks()
1356 if (offset + to_read > sig->hash_size) in incfs_read_merkle_tree_blocks()
1357 to_read = sig->hash_size - offset; in incfs_read_merkle_tree_blocks()
1359 return incfs_kread(bfc, dst.data, to_read, sig->hash_offset + offset); in incfs_read_merkle_tree_blocks()
[all …]
Dformat.h334 int (*handle_signature)(struct incfs_file_signature *sig,
336 int (*handle_status)(struct incfs_status *sig,
374 struct mem_range sig, u32 tree_size,
Dformat.c249 struct mem_range sig, u32 tree_size, in incfs_write_signature_to_backing_file() argument
268 if (sig.data != NULL && sig.len > 0) { in incfs_write_signature_to_backing_file()
269 sg.sg_sig_size = cpu_to_le32(sig.len); in incfs_write_signature_to_backing_file()
272 result = write_to_bf(bfc, sig.data, sig.len, rollback_pos); in incfs_write_signature_to_backing_file()
/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/pstore/
Dram_core.c34 uint32_t sig; member
506 static int persistent_ram_post_init(struct persistent_ram_zone *prz, u32 sig, in persistent_ram_post_init() argument
518 sig ^= PERSISTENT_RAM_SIG; in persistent_ram_post_init()
520 if (prz->buffer->sig == sig) { in persistent_ram_post_init()
538 prz->buffer->sig); in persistent_ram_post_init()
539 prz->buffer->sig = sig; in persistent_ram_post_init()
578 u32 sig, struct persistent_ram_ecc_info *ecc_info, in persistent_ram_new() argument
601 ret = persistent_ram_post_init(prz, sig, ecc_info); in persistent_ram_new()
Dzone.c35 uint32_t sig; member
406 if (buf->sig != zone->buffer->sig) { in psz_kmsg_recover_meta()
508 if (tmpbuf.sig != zone->buffer->sig) { in psz_recover_zone()
769 zone->buffer->sig = zone->oldbuf->sig; in psz_kmsg_write_record()
1180 zone->buffer->sig = type ^ PSZ_SIG; in psz_init_zone()
Dram.c478 unsigned int *cnt, u32 sig, u32 flags) in ramoops_init_przs() argument
541 prz_ar[i] = persistent_ram_new(*paddr, zone_sz, sig, in ramoops_init_przs()
573 phys_addr_t *paddr, size_t sz, u32 sig) in ramoops_init_prz() argument
588 *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/
Dexec.c1047 struct signal_struct *sig = tsk->signal; in de_thread() local
1058 if (signal_group_exit(sig)) { in de_thread()
1067 sig->group_exit_task = tsk; in de_thread()
1068 sig->notify_count = zap_other_threads(tsk); in de_thread()
1070 sig->notify_count--; in de_thread()
1072 while (sig->notify_count) { in de_thread()
1097 sig->notify_count = -1; in de_thread()
1162 sig->group_exit_task = NULL; in de_thread()
1163 sig->notify_count = 0; in de_thread()
1175 sig->group_exit_task = NULL; in de_thread()
[all …]
Dfcntl.c717 struct fown_struct *fown, int sig) in sigio_perm()
727 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
1002 static void kill_fasync_rcu(struct fasync_struct *fa, int sig, int band) in kill_fasync_rcu() argument
1019 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
1027 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument
1034 kill_fasync_rcu(rcu_dereference(*fp), sig, band); in kill_fasync()
Dselect.c796 void __user *, sig) in SYSCALL_DEFINE6() argument
800 if (get_sigset_argpack(&x, sig)) in SYSCALL_DEFINE6()
810 void __user *, sig) in SYSCALL_DEFINE6() argument
814 if (get_sigset_argpack(&x, sig)) in SYSCALL_DEFINE6()
1369 struct __kernel_timespec __user *, tsp, void __user *, sig) in COMPAT_SYSCALL_DEFINE6() argument
1373 if (get_compat_sigset_argpack(&x, sig)) in COMPAT_SYSCALL_DEFINE6()
1384 struct old_timespec32 __user *, tsp, void __user *, sig) in COMPAT_SYSCALL_DEFINE6() argument
1388 if (get_compat_sigset_argpack(&x, sig)) in COMPAT_SYSCALL_DEFINE6()
/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

12