Home
last modified time | relevance | path

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

/fs/proc/
Darray.c468 struct signal_struct *sig = task->signal; in do_task_stat() local
470 if (sig->tty) { in do_task_stat()
471 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()
474 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
480 cmin_flt = sig->cmin_flt; in do_task_stat()
481 cmaj_flt = sig->cmaj_flt; in do_task_stat()
482 cutime = sig->cutime; in do_task_stat()
483 cstime = sig->cstime; in do_task_stat()
484 cgtime = sig->cgtime; in do_task_stat()
485 rsslim = ACCESS_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.c35 char sig[ECRYPTFS_SIG_SIZE_HEX + 1]; in ecryptfs_dump_auth_tok() local
51 memcpy(sig, auth_tok->token.password.signature, in ecryptfs_dump_auth_tok()
53 sig[ECRYPTFS_SIG_SIZE_HEX] = '\0'; in ecryptfs_dump_auth_tok()
54 ecryptfs_printk(KERN_DEBUG, " * signature = [%s]\n", sig); in ecryptfs_dump_auth_tok()
Decryptfs_kernel.h60 unsigned char sig[ECRYPTFS_SIG_SIZE]; member
99 static inline struct key *ecryptfs_get_encrypted_key(char *sig) in ecryptfs_get_encrypted_key() argument
101 return request_key(&key_type_encrypted, sig, NULL); in ecryptfs_get_encrypted_key()
111 static inline struct key *ecryptfs_get_encrypted_key(char *sig) in ecryptfs_get_encrypted_key() argument
303 unsigned char sig[ECRYPTFS_SIG_SIZE_HEX + 1]; member
656 int ecryptfs_add_keysig(struct ecryptfs_crypt_stat *crypt_stat, char *sig);
659 char *sig, u32 global_auth_tok_flags);
662 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig);
674 char *sig);
Dkeystore.c501 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) in ecryptfs_find_global_auth_tok_for_sig() argument
512 if (memcmp(walker->sig, sig, ECRYPTFS_SIG_SIZE_HEX)) in ecryptfs_find_global_auth_tok_for_sig()
542 printk(KERN_WARNING "Invalidating auth tok with sig = [%s]\n", sig); in ecryptfs_find_global_auth_tok_for_sig()
571 char *sig) in ecryptfs_find_auth_tok_for_sig() argument
576 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
588 sig); in ecryptfs_find_auth_tok_for_sig()
1128 ecryptfs_get_auth_tok_sig(char **sig, struct ecryptfs_auth_tok *auth_tok) in ecryptfs_get_auth_tok_sig() argument
1132 (*sig) = NULL; in ecryptfs_get_auth_tok_sig()
1135 (*sig) = auth_tok->token.password.signature; in ecryptfs_get_auth_tok_sig()
1138 (*sig) = auth_tok->token.private_key.signature; in ecryptfs_get_auth_tok_sig()
[all …]
Dsuper.c160 seq_printf(m, ",ecryptfs_fnek_sig=%s", walker->sig); in ecryptfs_show_options()
162 seq_printf(m, ",ecryptfs_sig=%s", walker->sig); in ecryptfs_show_options()
Dmain.c210 global_auth_tok->sig); in ecryptfs_init_global_auth_toks()
214 "option: [%s]\n", global_auth_tok->sig); in ecryptfs_init_global_auth_toks()
Dcrypto.c761 rc = ecryptfs_add_keysig(crypt_stat, global_auth_tok->sig); in ecryptfs_copy_mount_wide_sigs_to_inode_sigs()
/fs/pstore/
Dram_core.c33 uint32_t sig; member
479 static int persistent_ram_post_init(struct persistent_ram_zone *prz, u32 sig, in persistent_ram_post_init() argument
488 sig ^= PERSISTENT_RAM_SIG; in persistent_ram_post_init()
490 if (prz->buffer->sig == sig) { in persistent_ram_post_init()
508 prz->buffer->sig); in persistent_ram_post_init()
512 prz->buffer->sig = sig; in persistent_ram_post_init()
538 u32 sig, struct persistent_ram_ecc_info *ecc_info, in persistent_ram_new() argument
558 ret = persistent_ram_post_init(prz, sig, ecc_info); in persistent_ram_new()
Dram.c544 unsigned int *cnt, u32 sig, u32 flags) in ramoops_init_przs() argument
599 prz_ar[i] = persistent_ram_new(*paddr, zone_sz, sig, in ramoops_init_przs()
629 phys_addr_t *paddr, size_t sz, u32 sig) in ramoops_init_prz() argument
641 *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/
Dselect.c761 void __user *, sig) in SYSCALL_DEFINE6() argument
766 if (sig) { in SYSCALL_DEFINE6()
767 if (!access_ok(VERIFY_READ, sig, sizeof(void *)+sizeof(size_t)) in SYSCALL_DEFINE6()
768 || __get_user(up, (sigset_t __user * __user *)sig) in SYSCALL_DEFINE6()
770 (size_t __user *)(sig+sizeof(void *)))) in SYSCALL_DEFINE6()
1363 struct compat_timespec __user *, tsp, void __user *, sig) in COMPAT_SYSCALL_DEFINE6() argument
1368 if (sig) { in COMPAT_SYSCALL_DEFINE6()
1369 if (!access_ok(VERIFY_READ, sig, in COMPAT_SYSCALL_DEFINE6()
1371 __get_user(up, (compat_uptr_t __user *)sig) || in COMPAT_SYSCALL_DEFINE6()
1373 (compat_size_t __user *)(sig+sizeof(up)))) in COMPAT_SYSCALL_DEFINE6()
Dexec.c1054 struct signal_struct *sig = tsk->signal; in de_thread() local
1065 if (signal_group_exit(sig)) { in de_thread()
1074 sig->group_exit_task = tsk; in de_thread()
1075 sig->notify_count = zap_other_threads(tsk); in de_thread()
1077 sig->notify_count--; in de_thread()
1079 while (sig->notify_count) { in de_thread()
1104 sig->notify_count = -1; in de_thread()
1172 sig->group_exit_task = NULL; in de_thread()
1173 sig->notify_count = 0; in de_thread()
1180 exit_itimers(sig); in de_thread()
[all …]
Dfcntl.c703 struct fown_struct *fown, int sig) in sigio_perm()
713 !security_file_send_sigiotask(p, fown, sig)); in sigio_perm()
979 static void kill_fasync_rcu(struct fasync_struct *fa, int sig, int band) in kill_fasync_rcu() argument
996 if (!(sig == SIGURG && fown->signum == 0)) in kill_fasync_rcu()
1004 void kill_fasync(struct fasync_struct **fp, int sig, int band) in kill_fasync() argument
1011 kill_fasync_rcu(rcu_dereference(*fp), sig, band); in kill_fasync()
Dbinfmt_elf_fdpic.c1340 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1341 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
Dbinfmt_elf.c1487 prstatus->pr_sigpend = p->pending.signal.sig[0]; in fill_prstatus()
1488 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
/fs/affs/
Dsuper.c352 u8 sig[4]; in affs_fill_super() local
458 memcpy(sig, boot_bh->b_data, 4); in affs_fill_super()
460 chksum = be32_to_cpu(*(__be32 *)sig); in affs_fill_super()
513 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.c162 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()
Ddev.c90 memcpy(&b->simple.sigs[i].sig, p, in nfs4_block_decode_volume()
/fs/autofs4/
Dwaitq.c497 shutdown_sigs_mask = SHUTDOWN_SIGS & ~oldset.sig[0]; in autofs4_wait()