how 78 arch/alpha/kernel/process.c struct halt_info *how = (struct halt_info *)generic_ptr; how 106 arch/alpha/kernel/process.c if (how->mode == LINUX_REBOOT_CMD_RESTART) { how 107 arch/alpha/kernel/process.c if (!how->restart_cmd) { how 150 arch/alpha/kernel/process.c alpha_mv.kill_arch(how->mode); how 152 arch/alpha/kernel/process.c if (! alpha_using_srm && how->mode != LINUX_REBOOT_CMD_RESTART) { how 44 arch/alpha/kernel/signal.c SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask) how 51 arch/alpha/kernel/signal.c res = sigprocmask(how, &mask, &oldmask); how 16 arch/sh/include/asm/sh_bios.h extern void sh_bios_shutdown(unsigned int how); how 60 arch/sh/kernel/sh_bios.c void sh_bios_shutdown(unsigned int how) how 62 arch/sh/kernel/sh_bios.c sh_bios_call(BIOS_CALL_SHUTDOWN, how, 0, 0, 0); how 472 drivers/crypto/chelsio/chtls/chtls.h void chtls_shutdown(struct sock *sk, int how); how 430 drivers/crypto/chelsio/chtls/chtls_cm.c void chtls_shutdown(struct sock *sk, int how) how 432 drivers/crypto/chelsio/chtls/chtls_cm.c if ((how & SEND_SHUTDOWN) && how 1136 drivers/s390/cio/qdio_main.c int qdio_shutdown(struct ccw_device *cdev, int how) how 1172 drivers/s390/cio/qdio_main.c if (how & QDIO_FLAG_CLEANUP_USING_CLEAR) how 222 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c symlist_add(symlist_t *symlist, symbol_t *symbol, int how) how 232 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c if (how == SYMLIST_SORT) { how 197 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h symlist_add(symlist_t *symlist, symbol_t *symbol, int how); how 1160 drivers/scsi/ncr53c8xx.h #define SCR_LOAD_R(reg, how, n) \ how 1161 drivers/scsi/ncr53c8xx.h (0xe1000000 | how | (SCR_REG_OFS2(REG(reg))) | (n)) how 1163 drivers/scsi/ncr53c8xx.h #define SCR_STORE_R(reg, how, n) \ how 1164 drivers/scsi/ncr53c8xx.h (0xe0000000 | how | (SCR_REG_OFS2(REG(reg))) | (n)) how 643 drivers/scsi/sym53c8xx_2/sym_defs.h #define SCR_LOAD_R(reg, how, n) \ how 644 drivers/scsi/sym53c8xx_2/sym_defs.h (0xe1000000 | how | (SCR_REG_OFS2(REG(reg))) | (n)) how 646 drivers/scsi/sym53c8xx_2/sym_defs.h #define SCR_STORE_R(reg, how, n) \ how 647 drivers/scsi/sym53c8xx_2/sym_defs.h (0xe0000000 | how | (SCR_REG_OFS2(REG(reg))) | (n)) how 1843 drivers/staging/speakup/main.c int how = (var_id & 1) ? E_INC : E_DEC; how 1852 drivers/staging/speakup/main.c if (spk_set_num_var(1, p_header, how) != 0) how 61 drivers/staging/speakup/speakup.h int spk_set_num_var(int val, struct st_var_header *var, int how); how 63 drivers/staging/speakup/speakup.h int spk_set_mask_bits(const char *input, const int which, const int how); how 178 drivers/staging/speakup/varhandlers.c int spk_set_num_var(int input, struct st_var_header *var, int how) how 190 drivers/staging/speakup/varhandlers.c switch (how) { how 277 drivers/staging/speakup/varhandlers.c int spk_set_mask_bits(const char *input, const int which, const int how) how 282 drivers/staging/speakup/varhandlers.c if (how & 1) { how 304 drivers/staging/speakup/varhandlers.c if (how & 2) { how 160 fs/autofs/autofs_i.h struct autofs_sb_info *sbi, unsigned int how); how 462 fs/autofs/dev-ioctl.c int how; how 464 fs/autofs/dev-ioctl.c how = param->expire.how; how 467 fs/autofs/dev-ioctl.c return autofs_do_expire_multi(sbi->sb, mnt, sbi, how); how 12 fs/autofs/expire.c unsigned long timeout, unsigned int how) how 20 fs/autofs/expire.c if (!(how & AUTOFS_EXP_IMMEDIATE)) { how 30 fs/autofs/expire.c struct dentry *dentry, unsigned int how) how 52 fs/autofs/expire.c if (how & AUTOFS_EXP_FORCED) { how 153 fs/autofs/expire.c unsigned int how) how 158 fs/autofs/expire.c if (how & AUTOFS_EXP_FORCED) how 172 fs/autofs/expire.c if (!autofs_can_expire(top, timeout, how)) how 185 fs/autofs/expire.c unsigned int how) how 207 fs/autofs/expire.c if (autofs_mount_busy(mnt, p, how)) { how 231 fs/autofs/expire.c if (how & AUTOFS_EXP_FORCED) how 235 fs/autofs/expire.c if (!autofs_can_expire(top, timeout, how)) how 244 fs/autofs/expire.c unsigned int how) how 256 fs/autofs/expire.c if (autofs_mount_busy(mnt, p, how)) how 262 fs/autofs/expire.c if (how & AUTOFS_EXP_FORCED) how 266 fs/autofs/expire.c if (autofs_can_expire(p, timeout, how)) how 277 fs/autofs/expire.c unsigned int how) how 288 fs/autofs/expire.c if (!autofs_direct_busy(mnt, root, timeout, how)) { how 299 fs/autofs/expire.c if (!autofs_direct_busy(mnt, root, timeout, how)) { how 324 fs/autofs/expire.c unsigned int how) how 343 fs/autofs/expire.c if (autofs_mount_busy(mnt, dentry, how)) how 349 fs/autofs/expire.c if (how & AUTOFS_EXP_FORCED) how 353 fs/autofs/expire.c if (autofs_can_expire(dentry, timeout, how)) how 362 fs/autofs/expire.c if (how & AUTOFS_EXP_FORCED) how 369 fs/autofs/expire.c if (autofs_can_expire(dentry, timeout, how)) how 378 fs/autofs/expire.c if (!(how & AUTOFS_EXP_LEAVES)) { how 380 fs/autofs/expire.c if (!(how & AUTOFS_EXP_FORCED)) { how 387 fs/autofs/expire.c if (!autofs_tree_busy(mnt, dentry, timeout, how)) how 397 fs/autofs/expire.c if (!(how & AUTOFS_EXP_FORCED)) { how 404 fs/autofs/expire.c expired = autofs_check_leaves(mnt, dentry, timeout, how); how 423 fs/autofs/expire.c unsigned int how) how 447 fs/autofs/expire.c expired = should_expire(dentry, mnt, timeout, how); how 460 fs/autofs/expire.c how &= ~AUTOFS_EXP_LEAVES; how 461 fs/autofs/expire.c found = should_expire(expired, mnt, timeout, how); how 576 fs/autofs/expire.c struct autofs_sb_info *sbi, unsigned int how) how 582 fs/autofs/expire.c dentry = autofs_expire_direct(sb, mnt, sbi, how); how 584 fs/autofs/expire.c dentry = autofs_expire_indirect(sb, mnt, sbi, how); how 614 fs/autofs/expire.c unsigned int how = 0; how 616 fs/autofs/expire.c if (arg && get_user(how, arg)) how 619 fs/autofs/expire.c return autofs_do_expire_multi(sb, mnt, sbi, how); how 4266 fs/namei.c int how = 0; how 4279 fs/namei.c how = LOOKUP_EMPTY; how 4283 fs/namei.c how |= LOOKUP_FOLLOW; how 4285 fs/namei.c error = user_path_at(olddfd, oldname, how, &old_path); how 4290 fs/namei.c (how & LOOKUP_REVAL)); how 4314 fs/namei.c if (retry_estale(error, how)) { how 4316 fs/namei.c how |= LOOKUP_REVAL; how 1394 fs/namespace.c static bool disconnect_mount(struct mount *mnt, enum umount_tree_flags how) how 1397 fs/namespace.c if (how & UMOUNT_SYNC) how 1412 fs/namespace.c if (how & UMOUNT_CONNECTED) how 1427 fs/namespace.c static void umount_tree(struct mount *mnt, enum umount_tree_flags how) how 1432 fs/namespace.c if (how & UMOUNT_PROPAGATE) how 1447 fs/namespace.c if (how & UMOUNT_PROPAGATE) how 1462 fs/namespace.c if (how & UMOUNT_SYNC) how 1465 fs/namespace.c disconnect = disconnect_mount(p, how); how 1047 fs/nfs/filelayout/filelayout.c static int filelayout_initiate_commit(struct nfs_commit_data *data, int how) how 1065 fs/nfs/filelayout/filelayout.c data->inode->i_ino, how, refcount_read(&ds->ds_clp->cl_count)); how 1073 fs/nfs/filelayout/filelayout.c &filelayout_commit_call_ops, how, how 1113 fs/nfs/filelayout/filelayout.c int how, struct nfs_commit_info *cinfo) how 1115 fs/nfs/filelayout/filelayout.c return pnfs_generic_commit_pagelist(inode, mds_pages, how, cinfo, how 1930 fs/nfs/flexfilelayout/flexfilelayout.c static int ff_layout_initiate_commit(struct nfs_commit_data *data, int how) how 1963 fs/nfs/flexfilelayout/flexfilelayout.c data->inode->i_ino, how, refcount_read(&ds->ds_clp->cl_count), how 1976 fs/nfs/flexfilelayout/flexfilelayout.c how, RPC_TASK_SOFTCONN); how 1987 fs/nfs/flexfilelayout/flexfilelayout.c int how, struct nfs_commit_info *cinfo) how 1989 fs/nfs/flexfilelayout/flexfilelayout.c return pnfs_generic_commit_pagelist(inode, mds_pages, how, cinfo, how 253 fs/nfs/internal.h const struct rpc_call_ops *call_ops, int how, int flags); how 477 fs/nfs/internal.h int how, int flags); how 494 fs/nfs/internal.h int how, struct nfs_commit_info *cinfo); how 7977 fs/nfs/nfs4proc.c .how = SP4_MACH_CRED, how 8020 fs/nfs/nfs4proc.c if (sp->how == SP4_MACH_CRED) { how 8175 fs/nfs/nfs4proc.c calldata->args.state_protect.how = SP4_NONE; how 1796 fs/nfs/nfs4xdr.c encode_uint32(xdr, args->state_protect.how); how 1798 fs/nfs/nfs4xdr.c switch (args->state_protect.how) { how 5543 fs/nfs/nfs4xdr.c res->state_protect.how = be32_to_cpup(p); how 5544 fs/nfs/nfs4xdr.c switch (res->state_protect.how) { how 564 fs/nfs/pagelist.c int how, struct nfs_commit_info *cinfo) how 581 fs/nfs/pagelist.c switch (how & (FLUSH_STABLE | FLUSH_COND_STABLE)) { how 615 fs/nfs/pagelist.c const struct rpc_call_ops *call_ops, int how, int flags) how 634 fs/nfs/pagelist.c hdr->rw_ops->rw_initiate(hdr, &msg, rpc_ops, &task_setup_data, how); how 648 fs/nfs/pagelist.c if (how & FLUSH_SYNC) { how 2665 fs/nfs/pnfs.c int how) how 2674 fs/nfs/pnfs.c inode->i_ino, hdr->args.count, hdr->args.offset, how); how 2675 fs/nfs/pnfs.c trypnfs = nfss->pnfs_curr_ld->write_pagelist(hdr, how); how 2684 fs/nfs/pnfs.c struct nfs_pgio_header *hdr, int how) how 2690 fs/nfs/pnfs.c trypnfs = pnfs_try_to_write_data(hdr, call_ops, lseg, how); how 165 fs/nfs/pnfs.h int how, how 372 fs/nfs/pnfs.h int how, how 375 fs/nfs/pnfs.h int how)); how 438 fs/nfs/pnfs.h pnfs_commit_list(struct inode *inode, struct list_head *mds_pages, int how, how 443 fs/nfs/pnfs.h return NFS_SERVER(inode)->pnfs_curr_ld->commit_pagelist(inode, mds_pages, how, cinfo); how 741 fs/nfs/pnfs.h pnfs_commit_list(struct inode *inode, struct list_head *mds_pages, int how, how 261 fs/nfs/pnfs_nfs.c int how, struct nfs_commit_info *cinfo, how 263 fs/nfs/pnfs_nfs.c int how)) how 294 fs/nfs/pnfs_nfs.c data->mds_ops, how, 0); how 306 fs/nfs/pnfs_nfs.c initiate_commit(data, how); how 210 fs/nfs/read.c struct rpc_task_setup *task_setup_data, int how) how 1395 fs/nfs/write.c static int flush_task_priority(int how) how 1397 fs/nfs/write.c switch (how & (FLUSH_HIGHPRI|FLUSH_LOWPRI)) { how 1409 fs/nfs/write.c struct rpc_task_setup *task_setup_data, int how) how 1411 fs/nfs/write.c int priority = flush_task_priority(how); how 1692 fs/nfs/write.c int how, int flags) how 1695 fs/nfs/write.c int priority = flush_task_priority(how); how 1720 fs/nfs/write.c if (how & FLUSH_SYNC) how 1806 fs/nfs/write.c nfs_commit_list(struct inode *inode, struct list_head *head, int how, how 1821 fs/nfs/write.c data->mds_ops, how, 0); how 1914 fs/nfs/write.c int how, struct nfs_commit_info *cinfo) how 1918 fs/nfs/write.c status = pnfs_commit_list(inode, head, how, cinfo); how 1920 fs/nfs/write.c status = nfs_commit_list(inode, head, how, cinfo); how 1924 fs/nfs/write.c static int __nfs_commit_inode(struct inode *inode, int how, how 1929 fs/nfs/write.c int may_wait = how & FLUSH_SYNC; how 1938 fs/nfs/write.c ret = nfs_generic_commit_list(inode, &head, how, &cinfo); how 1958 fs/nfs/write.c int nfs_commit_inode(struct inode *inode, int how) how 1960 fs/nfs/write.c return __nfs_commit_inode(inode, how, NULL); how 594 fs/nfsd/vfs.c int how; how 662 fs/nfsd/vfs.c err2 = nfsd_permission(rqstp, export, dentry, map->how); how 708 include/linux/compat.h asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set, how 905 include/linux/compat.h asmlinkage long compat_sys_sigprocmask(int how, compat_old_sigset_t __user *nset, how 1725 include/linux/lsm_hooks.h int (*socket_shutdown)(struct socket *sock, int how); how 227 include/linux/net.h int sock_wake_async(struct socket_wq *sk_wq, int how, int band); how 313 include/linux/net.h int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how); how 129 include/linux/nfs_page.h int how); how 1281 include/linux/nfs_xdr.h u32 how; how 1296 include/linux/security.h int security_socket_shutdown(struct socket *sock, int how); how 1422 include/linux/security.h static inline int security_socket_shutdown(struct socket *sock, int how) how 408 include/linux/socket.h extern int __sys_shutdown(int fd, int how); how 686 include/linux/syscalls.h asmlinkage long sys_rt_sigprocmask(int how, sigset_t __user *set, how 1124 include/linux/syscalls.h asmlinkage long sys_sigprocmask(int how, old_sigset_t __user *set, how 335 include/net/bluetooth/bluetooth.h static inline struct sk_buff *bt_skb_alloc(unsigned int len, gfp_t how) how 339 include/net/bluetooth/bluetooth.h skb = alloc_skb(len + BT_SKB_RESERVE, how); how 26 include/net/dst_ops.h struct net_device *dev, int how); how 34 include/net/inet_common.h int inet_shutdown(struct socket *sock, int how); how 318 include/net/nfc/nci_core.h gfp_t how) how 322 include/net/nfc/nci_core.h skb = alloc_skb(len + ndev->tx_headroom + ndev->tx_tailroom, how); how 1090 include/net/sock.h void (*shutdown)(struct sock *sk, int how); how 2212 include/net/sock.h static inline void sk_wake_async(const struct sock *sk, int how, int band) how 2216 include/net/sock.h sock_wake_async(rcu_dereference(sk->sk_wq), how, band); how 317 include/net/tcp.h void tcp_shutdown(struct sock *sk, int how); how 63 include/uapi/linux/auto_dev-ioctl.h __u32 how; how 128 kernel/compat.c COMPAT_SYSCALL_DEFINE3(sigprocmask, int, how, how 144 kernel/compat.c switch (how) { how 2936 kernel/signal.c int sigprocmask(int how, sigset_t *set, sigset_t *oldset) how 2945 kernel/signal.c switch (how) { how 3019 kernel/signal.c SYSCALL_DEFINE4(rt_sigprocmask, int, how, sigset_t __user *, nset, how 3036 kernel/signal.c error = sigprocmask(how, &new_set, NULL); how 3050 kernel/signal.c COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t __user *, nset, how 3066 kernel/signal.c error = sigprocmask(how, &new_set, NULL); how 4189 kernel/signal.c SYSCALL_DEFINE3(sigprocmask, int, how, old_sigset_t __user *, nset, how 4203 kernel/signal.c switch (how) { how 22 net/atm/pvc.c static int pvc_shutdown(struct socket *sock, int how) how 41 net/atm/svc.c static int svc_shutdown(struct socket *sock, int how) how 1684 net/ax25/af_ax25.c static int ax25_shutdown(struct socket *sk, int how) how 1106 net/bluetooth/l2cap_sock.c static int l2cap_sock_shutdown(struct socket *sock, int how) how 912 net/bluetooth/rfcomm/sock.c static int rfcomm_sock_shutdown(struct socket *sock, int how) how 968 net/bluetooth/sco.c static int sco_sock_shutdown(struct socket *sock, int how) how 2691 net/core/sock.c int sock_no_shutdown(struct socket *sock, int how) how 314 net/dccp/dccp.h void dccp_shutdown(struct sock *sk, int how); how 1095 net/dccp/proto.c void dccp_shutdown(struct sock *sk, int how) how 1097 net/dccp/proto.c dccp_pr_debug("called shutdown(%x)\n", how); how 1291 net/decnet/af_decnet.c static int dn_shutdown(struct socket *sock, int how) how 1310 net/decnet/af_decnet.c if (how != SHUT_RDWR) how 109 net/decnet/dn_route.c static void dn_dst_ifdown(struct dst_entry *, struct net_device *dev, int how); how 156 net/decnet/dn_route.c static void dn_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how) how 158 net/decnet/dn_route.c if (how) { how 847 net/ipv4/af_inet.c int inet_shutdown(struct socket *sock, int how) how 855 net/ipv4/af_inet.c how++; /* maps 0->1 has the advantage of making bit 1 rcvs and how 858 net/ipv4/af_inet.c if ((how & ~SHUTDOWN_MASK) || !how) /* MAXINT->0 */ how 877 net/ipv4/af_inet.c sk->sk_shutdown |= how; how 879 net/ipv4/af_inet.c sk->sk_prot->shutdown(sk, how); how 887 net/ipv4/af_inet.c if (!(how & RCV_SHUTDOWN)) how 2312 net/ipv4/tcp.c void tcp_shutdown(struct sock *sk, int how) how 2318 net/ipv4/tcp.c if (!(how & SEND_SHUTDOWN)) how 167 net/ipv6/addrconf.c static int addrconf_ifdown(struct net_device *dev, int how); how 3707 net/ipv6/addrconf.c static int addrconf_ifdown(struct net_device *dev, int how) how 3709 net/ipv6/addrconf.c unsigned long event = how ? NETDEV_UNREGISTER : NETDEV_DOWN; how 3728 net/ipv6/addrconf.c if (how) { how 3742 net/ipv6/addrconf.c if (!how && !idev->cnf.disable_ipv6) { how 3780 net/ipv6/addrconf.c if (!how) how 3850 net/ipv6/addrconf.c if (how) { how 3860 net/ipv6/addrconf.c if (how) { how 89 net/ipv6/route.c struct net_device *dev, int how); how 387 net/ipv6/route.c int how) how 1553 net/iucv/af_iucv.c static int iucv_sock_shutdown(struct socket *sock, int how) how 1560 net/iucv/af_iucv.c how++; how 1562 net/iucv/af_iucv.c if ((how & ~SHUTDOWN_MASK) || !how) how 1577 net/iucv/af_iucv.c if (how == SEND_SHUTDOWN || how == SHUTDOWN_MASK) { how 1600 net/iucv/af_iucv.c sk->sk_shutdown |= how; how 1601 net/iucv/af_iucv.c if (how == RCV_SHUTDOWN || how == SHUTDOWN_MASK) { how 415 net/llc/af_llc.c static int llc_ui_shutdown(struct socket *sock, int how) how 424 net/llc/af_llc.c if (how != 2) how 5191 net/sctp/socket.c static void sctp_shutdown(struct sock *sk, int how) how 5200 net/sctp/socket.c if (how & SEND_SHUTDOWN && !list_empty(&ep->asocs)) { how 1654 net/smc/af_smc.c static int smc_shutdown(struct socket *sock, int how) how 1663 net/smc/af_smc.c if ((how < SHUT_RD) || (how > SHUT_RDWR)) how 1677 net/smc/af_smc.c rc = kernel_sock_shutdown(smc->clcsock, how); how 1683 net/smc/af_smc.c switch (how) { how 1696 net/smc/af_smc.c rc1 = kernel_sock_shutdown(smc->clcsock, how); how 1698 net/smc/af_smc.c sk->sk_shutdown |= how + 1; how 1306 net/socket.c int sock_wake_async(struct socket_wq *wq, int how, int band) how 1311 net/socket.c switch (how) { how 2151 net/socket.c int __sys_shutdown(int fd, int how) how 2158 net/socket.c err = security_socket_shutdown(sock, how); how 2160 net/socket.c err = sock->ops->shutdown(sock, how); how 2166 net/socket.c SYSCALL_DEFINE2(shutdown, int, fd, int, how) how 2168 net/socket.c return __sys_shutdown(fd, how); how 3802 net/socket.c int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) how 3804 net/socket.c return sock->ops->shutdown(sock, how); how 2607 net/tipc/socket.c static int tipc_shutdown(struct socket *sock, int how) how 2612 net/tipc/socket.c if (how != SHUT_RDWR) how 30 scripts/gcc-plugins/randomize_layout_plugin.c #define MISMATCH(loc, how, ...) INFORM(loc, "casting between randomized structure pointer types (" how "): %qT and %qT\n", __VA_ARGS__) how 1012 security/apparmor/lsm.c static int apparmor_socket_shutdown(struct socket *sock, int how) how 2042 security/security.c int security_socket_shutdown(struct socket *sock, int how) how 2044 security/security.c return call_int_hook(socket_shutdown, 0, sock, how); how 4876 security/selinux/hooks.c static int selinux_socket_shutdown(struct socket *sock, int how) how 899 tools/perf/builtin-trace.c .arg = { [0] = STRARRAY(how, sighow), }, }, how 266 tools/perf/util/ordered-events.c static int __ordered_events__flush(struct ordered_events *oe, enum oe_flush how, how 283 tools/perf/util/ordered-events.c switch (how) { how 320 tools/perf/util/ordered-events.c str[how], oe->nr_events); how 326 tools/perf/util/ordered-events.c if (how == OE_FLUSH__ROUND) how 329 tools/perf/util/ordered-events.c oe->last_flush_type = how; how 333 tools/perf/util/ordered-events.c str[how], oe->nr_events); how 339 tools/perf/util/ordered-events.c int ordered_events__flush(struct ordered_events *oe, enum oe_flush how) how 341 tools/perf/util/ordered-events.c return __ordered_events__flush(oe, how, 0); how 58 tools/perf/util/ordered-events.h int ordered_events__flush(struct ordered_events *oe, enum oe_flush how);