tag | line | file | source code |
sa | 133 | arch/alpha/kernel/signal.c | static void setup_frame(struct sigaction * sa, struct sigcontext_struct ** fp, |
sa | 226 | arch/alpha/kernel/signal.c | struct sigaction * sa; |
sa | 233 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr; |
sa | 250 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 252 | arch/alpha/kernel/signal.c | if (sa->sa_handler == SIG_IGN) { |
sa | 260 | arch/alpha/kernel/signal.c | if (sa->sa_handler == SIG_DFL) { |
sa | 297 | arch/alpha/kernel/signal.c | (regs->r0 == ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
sa | 301 | arch/alpha/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 320 | arch/alpha/kernel/signal.c | sa = current->sig->action; |
sa | 321 | arch/alpha/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 326 | arch/alpha/kernel/signal.c | setup_frame(sa,&frame,pc,regs,sw,signr,oldmask); |
sa | 327 | arch/alpha/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
sa | 329 | arch/alpha/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 330 | arch/alpha/kernel/signal.c | sa->sa_handler = NULL; |
sa | 331 | arch/alpha/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 332 | arch/alpha/kernel/signal.c | oldmask |= sa->sa_mask; |
sa | 160 | arch/i386/kernel/signal.c | static void setup_frame(struct sigaction * sa, |
sa | 167 | arch/i386/kernel/signal.c | if (regs->ss != USER_DS && sa->sa_restorer) |
sa | 168 | arch/i386/kernel/signal.c | frame = (unsigned long *) sa->sa_restorer; |
sa | 213 | arch/i386/kernel/signal.c | regs->eip = (unsigned long) sa->sa_handler; |
sa | 223 | arch/i386/kernel/signal.c | static void handle_signal(unsigned long signr, struct sigaction *sa, |
sa | 235 | arch/i386/kernel/signal.c | if (!(sa->sa_flags & SA_RESTART)) { |
sa | 247 | arch/i386/kernel/signal.c | setup_frame(sa, regs, signr, oldmask); |
sa | 249 | arch/i386/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 250 | arch/i386/kernel/signal.c | sa->sa_handler = NULL; |
sa | 251 | arch/i386/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 267 | arch/i386/kernel/signal.c | struct sigaction * sa; |
sa | 280 | arch/i386/kernel/signal.c | sa = current->sig->action + signr; |
sa | 296 | arch/i386/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 298 | arch/i386/kernel/signal.c | if (sa->sa_handler == SIG_IGN) { |
sa | 306 | arch/i386/kernel/signal.c | if (sa->sa_handler == SIG_DFL) { |
sa | 337 | arch/i386/kernel/signal.c | handle_signal(signr, sa, oldmask, regs); |
sa | 278 | arch/m68k/kernel/signal.c | static void setup_frame (struct sigaction * sa, unsigned long **fp, |
sa | 396 | arch/m68k/kernel/signal.c | struct sigaction * sa; |
sa | 406 | arch/m68k/kernel/signal.c | sa = current->sig->action + signr; |
sa | 436 | arch/m68k/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 438 | arch/m68k/kernel/signal.c | if (sa->sa_handler == SIG_IGN) { |
sa | 446 | arch/m68k/kernel/signal.c | if (sa->sa_handler == SIG_DFL) { |
sa | 482 | arch/m68k/kernel/signal.c | !(sa->sa_flags & SA_RESTART))) |
sa | 486 | arch/m68k/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 516 | arch/m68k/kernel/signal.c | sa = current->sig->action; |
sa | 517 | arch/m68k/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 522 | arch/m68k/kernel/signal.c | setup_frame(sa,&frame,pc,regs,signr,oldmask); |
sa | 523 | arch/m68k/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
sa | 524 | arch/m68k/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 525 | arch/m68k/kernel/signal.c | sa->sa_handler = NULL; |
sa | 528 | arch/m68k/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 529 | arch/m68k/kernel/signal.c | oldmask |= sa->sa_mask; |
sa | 146 | arch/mips/kernel/signal.c | static void setup_frame(struct sigaction * sa, struct sc **fp, |
sa | 247 | arch/mips/kernel/signal.c | struct sigaction * sa; |
sa | 252 | arch/mips/kernel/signal.c | sa = current->sig->action + signr; |
sa | 268 | arch/mips/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 270 | arch/mips/kernel/signal.c | if (sa->sa_handler == SIG_IGN) { |
sa | 278 | arch/mips/kernel/signal.c | if (sa->sa_handler == SIG_DFL) { |
sa | 315 | arch/mips/kernel/signal.c | !(sa->sa_flags & SA_RESTART))) |
sa | 319 | arch/mips/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 339 | arch/mips/kernel/signal.c | sa = current->sig->action; |
sa | 340 | arch/mips/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 345 | arch/mips/kernel/signal.c | setup_frame(sa, &frame, pc, regs, signr, oldmask); |
sa | 346 | arch/mips/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
sa | 347 | arch/mips/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 348 | arch/mips/kernel/signal.c | sa->sa_handler = NULL; |
sa | 349 | arch/mips/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 350 | arch/mips/kernel/signal.c | oldmask |= sa->sa_mask; |
sa | 102 | arch/ppc/kernel/signal.c | struct sigaction * sa; |
sa | 116 | arch/ppc/kernel/signal.c | sa = current->sig->action + signr; |
sa | 132 | arch/ppc/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 134 | arch/ppc/kernel/signal.c | if (sa->sa_handler == SIG_IGN) { |
sa | 142 | arch/ppc/kernel/signal.c | if (sa->sa_handler == SIG_DFL) { |
sa | 178 | arch/ppc/kernel/signal.c | ((int)regs->result == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
sa | 182 | arch/ppc/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 200 | arch/ppc/kernel/signal.c | sa = current->sig->action; |
sa | 201 | arch/ppc/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 208 | arch/ppc/kernel/signal.c | nip = (unsigned long) sa->sa_handler; |
sa | 212 | arch/ppc/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 213 | arch/ppc/kernel/signal.c | sa->sa_handler = NULL; |
sa | 218 | arch/ppc/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 138 | arch/sparc/kernel/signal.c | setup_frame(struct sigaction *sa, struct sigcontext_struct **fp, |
sa | 228 | arch/sparc/kernel/signal.c | struct sigaction *sa; |
sa | 233 | arch/sparc/kernel/signal.c | sa = current->sig->action + signr; |
sa | 249 | arch/sparc/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 251 | arch/sparc/kernel/signal.c | if(sa->sa_handler == SIG_IGN) { |
sa | 257 | arch/sparc/kernel/signal.c | if(sa->sa_handler == SIG_DFL) { |
sa | 289 | arch/sparc/kernel/signal.c | (regs->u_regs[UREG_I0] == ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
sa | 293 | arch/sparc/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 310 | arch/sparc/kernel/signal.c | sa = current->sig->action; |
sa | 311 | arch/sparc/kernel/signal.c | for(mask = 1; mask; sa++, signr++, mask += mask) { |
sa | 316 | arch/sparc/kernel/signal.c | setup_frame(sa, &frame, pc, npc, regs, signr, oldmask); |
sa | 317 | arch/sparc/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
sa | 319 | arch/sparc/kernel/signal.c | if(sa->sa_flags & SA_ONESHOT) |
sa | 320 | arch/sparc/kernel/signal.c | sa->sa_handler = NULL; |
sa | 321 | arch/sparc/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 322 | arch/sparc/kernel/signal.c | oldmask |= sa->sa_mask; |
sa | 1278 | drivers/net/pi2.c | static int pi_set_mac_address(struct device *dev, struct sockaddr *sa) |
sa | 1280 | drivers/net/pi2.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); /* addr is an AX.25 shifted ASCII */ |
sa | 741 | drivers/net/pt.c | static int pt_set_mac_address(struct device *dev, struct sockaddr *sa) |
sa | 743 | drivers/net/pt.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); /* addr is an AX.25 shifted ASCII */ |
sa | 1033 | drivers/net/slip.c | struct sockaddr *sa=addr; |
sa | 1034 | drivers/net/slip.c | memcpy(dev->dev_addr, sa->sa_data, AX25_ADDR_LEN); |
sa | 32 | fs/ncpfs/sock.c | struct sockaddr_ipx *sa, int *addr_len) |
sa | 40 | fs/ncpfs/sock.c | msg.msg_name = (void *)sa; |
sa | 53 | fs/ncpfs/sock.c | struct sockaddr_ipx *sa, int addr_len) |
sa | 62 | fs/ncpfs/sock.c | msg.msg_name = (void *)sa; |
sa | 531 | fs/nfs/nfsroot.c | struct sockaddr_in sa; |
sa | 534 | fs/nfs/nfsroot.c | sa.sin_family = AF_INET; |
sa | 535 | fs/nfs/nfsroot.c | sa.sin_addr.s_addr = htonl(addr); |
sa | 536 | fs/nfs/nfsroot.c | sa.sin_port = htons(port); |
sa | 537 | fs/nfs/nfsroot.c | result = sock->ops->connect(sock, (struct sockaddr *) &sa, sizeof(sa), 0); |
sa | 551 | fs/nfs/nfsroot.c | struct sockaddr_in sa; |
sa | 554 | fs/nfs/nfsroot.c | sa.sin_family = AF_INET; |
sa | 555 | fs/nfs/nfsroot.c | sa.sin_addr.s_addr = htonl(addr); |
sa | 556 | fs/nfs/nfsroot.c | sa.sin_port = htons(port); |
sa | 557 | fs/nfs/nfsroot.c | result = sock->ops->bind(sock, (struct sockaddr *) &sa, sizeof(sa)); |
sa | 136 | fs/nfs/rpcsock.c | struct sockaddr sa; |
sa | 143 | fs/nfs/rpcsock.c | msg.msg_name = &sa; |
sa | 144 | fs/nfs/rpcsock.c | msg.msg_namelen = sizeof(sa); |
sa | 28 | fs/smbfs/sock.c | struct sockaddr_in *sa, int *addr_len) |
sa | 36 | fs/smbfs/sock.c | msg.msg_name = (void *)sa; |
sa | 141 | include/linux/atalk.h | extern int aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr); |
sa | 81 | include/linux/net_alias.h | (struct net_alias_type *this, struct device *, struct sockaddr *sa); |
sa | 83 | include/linux/net_alias.h | (struct net_alias_type *this,struct net_alias *alias, struct sockaddr *sa); |
sa | 116 | include/linux/net_alias.h | extern struct device * net_alias_dev_get(char *dev_name, int aliasing_ok, int *err, struct sockaddr *sa, void *data); |
sa | 117 | include/linux/net_alias.h | extern int net_alias_dev_rehash(struct device *dev, struct sockaddr *sa); |
sa | 125 | include/linux/net_alias.h | extern struct device * net_alias_dev_chk(struct device *main_dev, struct sockaddr *sa, int flags_on, int flags_off); |
sa | 31 | kernel/exit.c | struct sigaction * sa = sig + p->sig->action - 1; |
sa | 40 | kernel/exit.c | if (sa->sa_handler == SIG_IGN && sig != SIGCHLD) |
sa | 43 | kernel/exit.c | if ((sa->sa_handler == SIG_DFL) && |
sa | 61 | kernel/exit.c | struct sigaction *sa = p->sig->action + sig; |
sa | 64 | kernel/exit.c | if (sa->sa_handler == SIG_IGN) |
sa | 65 | kernel/exit.c | sa->sa_handler = SIG_DFL; |
sa | 425 | net/appletalk/aarp.c | int aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr) |
sa | 448 | net/appletalk/aarp.c | if(at->s_net==sa->s_net && sa->s_net==ddp->deh_snet) |
sa | 465 | net/appletalk/aarp.c | skb->data[0]=sa->s_node; |
sa | 488 | net/appletalk/aarp.c | hash=sa->s_node%(AARP_HASH_SIZE-1); |
sa | 496 | net/appletalk/aarp.c | if(sa->s_node==ATADDR_BCAST) |
sa | 506 | net/appletalk/aarp.c | a=aarp_find_entry(resolved[hash],dev,sa); |
sa | 527 | net/appletalk/aarp.c | a=aarp_find_entry(unresolved[hash],dev,sa); |
sa | 562 | net/appletalk/aarp.c | a->target_addr= *sa; |
sa | 643 | net/appletalk/aarp.c | struct at_addr sa, *ma; |
sa | 692 | net/appletalk/aarp.c | sa.s_node=ea->pa_src_node; |
sa | 693 | net/appletalk/aarp.c | sa.s_net=ea->pa_src_net; |
sa | 737 | net/appletalk/aarp.c | if((a=aarp_find_entry(unresolved[hash],dev,&sa))==NULL || dev != a->dev) |
sa | 762 | net/appletalk/aarp.c | sa.s_node=ea->pa_dst_node; |
sa | 763 | net/appletalk/aarp.c | sa.s_net=ea->pa_dst_net; |
sa | 765 | net/appletalk/aarp.c | if(sa.s_node!=ma->s_node) |
sa | 767 | net/appletalk/aarp.c | if(sa.s_net && ma->s_net && sa.s_net!=ma->s_net) |
sa | 770 | net/appletalk/aarp.c | sa.s_node=ea->pa_src_node; |
sa | 771 | net/appletalk/aarp.c | sa.s_net=ea->pa_src_net; |
sa | 777 | net/appletalk/aarp.c | aarp_send_reply(dev,ma,&sa,ea->hw_src); |
sa | 328 | net/appletalk/ddp.c | static struct atalk_iface *atif_add_device(struct device *dev, struct at_addr *sa) |
sa | 336 | net/appletalk/ddp.c | iface->address= *sa; |
sa | 360 | net/appletalk/ddp.c | struct sockaddr_at *sa; |
sa | 373 | net/appletalk/ddp.c | sa = (struct sockaddr_at*)&atreq.ifr_addr; |
sa | 374 | net/appletalk/ddp.c | sa->sat_addr.s_node = probe_node; |
sa | 375 | net/appletalk/ddp.c | sa->sat_addr.s_net = probe_net; |
sa | 379 | net/appletalk/ddp.c | atif->address.s_net=htons(sa->sat_addr.s_net); |
sa | 380 | net/appletalk/ddp.c | atif->address.s_node=sa->sat_addr.s_node; |
sa | 550 | net/appletalk/ddp.c | static struct device *atrtr_get_dev(struct at_addr *sa) |
sa | 552 | net/appletalk/ddp.c | struct atalk_route *atr=atrtr_find(sa); |
sa | 735 | net/appletalk/ddp.c | struct sockaddr_at *sa; |
sa | 752 | net/appletalk/ddp.c | sa=(struct sockaddr_at*)&atreq.ifr_addr; |
sa | 760 | net/appletalk/ddp.c | if(sa->sat_family!=AF_APPLETALK) |
sa | 765 | net/appletalk/ddp.c | nr=(struct netrange *)&sa->sat_zero[0]; |
sa | 773 | net/appletalk/ddp.c | if(sa->sat_addr.s_node==ATADDR_BCAST || sa->sat_addr.s_node == 254) |
sa | 783 | net/appletalk/ddp.c | atif->address.s_net=sa->sat_addr.s_net; |
sa | 784 | net/appletalk/ddp.c | atif->address.s_node=sa->sat_addr.s_node; |
sa | 789 | net/appletalk/ddp.c | atif=atif_add_device(dev, &sa->sat_addr); |
sa | 809 | net/appletalk/ddp.c | sa=(struct sockaddr_at *)&rtdef.rt_gateway; |
sa | 810 | net/appletalk/ddp.c | sa->sat_family=AF_APPLETALK; |
sa | 811 | net/appletalk/ddp.c | sa->sat_addr.s_net=atif->address.s_net; |
sa | 812 | net/appletalk/ddp.c | sa->sat_addr.s_node=atif->address.s_node; |
sa | 813 | net/appletalk/ddp.c | sa=(struct sockaddr_at *)&rtdef.rt_dst; |
sa | 815 | net/appletalk/ddp.c | sa->sat_family=AF_APPLETALK; |
sa | 816 | net/appletalk/ddp.c | sa->sat_addr.s_node=ATADDR_ANYNODE; |
sa | 824 | net/appletalk/ddp.c | sa->sat_addr.s_net=atif->address.s_net; |
sa | 838 | net/appletalk/ddp.c | sa->sat_addr.s_net=htons(ct); |
sa | 66 | net/core/net_alias.c | static int nat_bind(struct net_alias_type *nat,struct net_alias *alias, struct sockaddr *sa); |
sa | 72 | net/core/net_alias.c | static int net_alias_devsetup(struct net_alias *alias, struct net_alias_type *nat, struct sockaddr *sa); |
sa | 74 | net/core/net_alias.c | static struct device *net_alias_dev_create(struct device *main_dev, int slot, int *err, struct sockaddr *sa, void *data); |
sa | 107 | net/core/net_alias.c | nat_addr32(struct net_alias_type *nat, struct sockaddr *sa) |
sa | 110 | net/core/net_alias.c | return nat->get_addr32(nat, sa); |
sa | 112 | net/core/net_alias.c | return (*(struct sockaddr_in *)sa).sin_addr.s_addr; |
sa | 138 | net/core/net_alias.c | nat_hash_key(struct net_alias_type *nat, struct sockaddr *sa) |
sa | 140 | net/core/net_alias.c | return HASH(nat_addr32(nat,sa), sa->sa_family); |
sa | 175 | net/core/net_alias.c | nat_bind(struct net_alias_type *nat,struct net_alias *alias, struct sockaddr *sa) |
sa | 177 | net/core/net_alias.c | if (nat->alias_init_1) nat->alias_init_1(nat, alias, sa); |
sa | 200 | net/core/net_alias.c | struct device *dev, struct sockaddr *sa) |
sa | 203 | net/core/net_alias.c | return nat->dev_addr_chk(nat, dev, sa); |
sa | 205 | net/core/net_alias.c | return (dev->pa_addr == (*(struct sockaddr_in *)sa).sin_addr.s_addr); |
sa | 244 | net/core/net_alias.c | struct sockaddr *sa) |
sa | 261 | net/core/net_alias.c | family = (sa)? sa->sa_family : main_dev->family; |
sa | 333 | net/core/net_alias.c | net_alias_dev_create(struct device *main_dev, int slot, int *err, struct sockaddr *sa, void *data) |
sa | 350 | net/core/net_alias.c | family = (sa)? sa->sa_family : main_dev->family; |
sa | 417 | net/core/net_alias.c | net_alias_devsetup(alias, nat, sa); |
sa | 429 | net/core/net_alias.c | nat_bind(nat, alias, sa); |
sa | 436 | net/core/net_alias.c | addr32 = (sa)? nat_addr32(nat, sa) : alias->dev.pa_addr; |
sa | 676 | net/core/net_alias.c | struct sockaddr *sa, void *data) |
sa | 736 | net/core/net_alias.c | return net_alias_dev_create(dev, slot, err, sa, data); |
sa | 745 | net/core/net_alias.c | net_alias_dev_rehash(struct device *dev, struct sockaddr *sa) |
sa | 761 | net/core/net_alias.c | if (!sa) |
sa | 802 | net/core/net_alias.c | if (o_nat->type == sa->sa_family) |
sa | 806 | net/core/net_alias.c | n_nat = nat_getbytype(sa->sa_family); |
sa | 809 | net/core/net_alias.c | printk("ERROR: net_alias_rehash(%s): unreg family==%d.\n", alias->name, sa->sa_family); |
sa | 818 | net/core/net_alias.c | n_hash = nat_hash_key(n_nat, sa); |
sa | 872 | net/core/net_alias.c | nat_bind(n_nat, alias, sa); |
sa | 1013 | net/core/net_alias.c | nat_addr_chk(struct net_alias_type *nat, struct net_alias_info *alias_info, struct sockaddr *sa, int flags_on, int flags_off) |
sa | 1016 | net/core/net_alias.c | for(alias = alias_info->hash_tab[nat_hash_key(nat,sa)]; |
sa | 1019 | net/core/net_alias.c | if (alias->dev.family != sa->sa_family) continue; |
sa | 1026 | net/core/net_alias.c | nat_dev_addr_chk_1(nat,&alias->dev,sa)) |
sa | 1064 | net/core/net_alias.c | net_alias_dev_chk(struct device *main_dev, struct sockaddr *sa,int flags_on, int flags_off) |
sa | 1079 | net/core/net_alias.c | nat = nat_getbytype(sa->sa_family); |
sa | 1083 | net/core/net_alias.c | return nat_addr_chk(nat, alias_info, sa, flags_on, flags_off); |
sa | 44 | net/ipv4/ip_alias.c | static int ip_alias_init_1(struct net_alias_type *this, struct net_alias *alias, struct sockaddr *sa) |
sa | 79 | net/ipv4/ip_alias.c | struct device *ip_alias_dev_select(struct net_alias_type *this, struct device *main_dev, struct sockaddr *sa) |
sa | 96 | net/ipv4/ip_alias.c | addr = (sa)? (*(struct sockaddr_in *)sa).sin_addr.s_addr : 0; |
sa | 154 | net/netrom/nr_dev.c | struct sockaddr *sa=addr; |
sa | 155 | net/netrom/nr_dev.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); |