tag | line | file | source code |
sa | 133 | arch/alpha/kernel/signal.c | static void setup_frame(struct sigaction * sa, struct sigcontext_struct ** fp, |
sa | 224 | arch/alpha/kernel/signal.c | struct sigaction * sa; |
sa | 231 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr; |
sa | 248 | arch/alpha/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 250 | arch/alpha/kernel/signal.c | if (sa->sa_handler == SIG_IGN) { |
sa | 258 | arch/alpha/kernel/signal.c | if (sa->sa_handler == SIG_DFL) { |
sa | 294 | arch/alpha/kernel/signal.c | (regs->r0 == ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
sa | 298 | arch/alpha/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 317 | arch/alpha/kernel/signal.c | sa = current->sig->action; |
sa | 318 | arch/alpha/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 323 | arch/alpha/kernel/signal.c | setup_frame(sa,&frame,pc,regs,sw,signr,oldmask); |
sa | 324 | arch/alpha/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
sa | 326 | arch/alpha/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 327 | arch/alpha/kernel/signal.c | sa->sa_handler = NULL; |
sa | 328 | arch/alpha/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 329 | arch/alpha/kernel/signal.c | oldmask |= sa->sa_mask; |
sa | 85 | arch/i386/kernel/signal.c | void setup_frame(struct sigaction * sa, unsigned long ** fp, unsigned long eip, |
sa | 93 | arch/i386/kernel/signal.c | if (regs->ss != USER_DS && sa->sa_restorer) |
sa | 94 | arch/i386/kernel/signal.c | frame = (unsigned long *) sa->sa_restorer; |
sa | 152 | arch/i386/kernel/signal.c | struct sigaction * sa; |
sa | 165 | arch/i386/kernel/signal.c | sa = current->sig->action + signr; |
sa | 181 | arch/i386/kernel/signal.c | sa = current->sig->action + signr - 1; |
sa | 183 | arch/i386/kernel/signal.c | if (sa->sa_handler == SIG_IGN) { |
sa | 191 | arch/i386/kernel/signal.c | if (sa->sa_handler == SIG_DFL) { |
sa | 226 | arch/i386/kernel/signal.c | (regs->eax == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
sa | 230 | arch/i386/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 244 | arch/i386/kernel/signal.c | sa = current->sig->action; |
sa | 245 | arch/i386/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 250 | arch/i386/kernel/signal.c | setup_frame(sa,&frame,eip,regs,signr,oldmask); |
sa | 251 | arch/i386/kernel/signal.c | eip = (unsigned long) sa->sa_handler; |
sa | 252 | arch/i386/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 253 | arch/i386/kernel/signal.c | sa->sa_handler = NULL; |
sa | 257 | arch/i386/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 258 | arch/i386/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 | 314 | arch/mips/kernel/signal.c | !(sa->sa_flags & SA_RESTART))) |
sa | 318 | arch/mips/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 338 | arch/mips/kernel/signal.c | sa = current->sig->action; |
sa | 339 | arch/mips/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 344 | arch/mips/kernel/signal.c | setup_frame(sa, &frame, pc, regs, signr, oldmask); |
sa | 345 | arch/mips/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
sa | 346 | arch/mips/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 347 | arch/mips/kernel/signal.c | sa->sa_handler = NULL; |
sa | 348 | arch/mips/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 349 | 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 | 177 | arch/ppc/kernel/signal.c | ((int)regs->result == -ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
sa | 181 | arch/ppc/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 199 | arch/ppc/kernel/signal.c | sa = current->sig->action; |
sa | 200 | arch/ppc/kernel/signal.c | for (mask = 1 ; mask ; sa++,signr++,mask += mask) { |
sa | 207 | arch/ppc/kernel/signal.c | nip = (unsigned long) sa->sa_handler; |
sa | 211 | arch/ppc/kernel/signal.c | if (sa->sa_flags & SA_ONESHOT) |
sa | 212 | arch/ppc/kernel/signal.c | sa->sa_handler = NULL; |
sa | 217 | arch/ppc/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 137 | arch/sparc/kernel/signal.c | setup_frame(struct sigaction *sa, struct sigcontext_struct **fp, |
sa | 225 | arch/sparc/kernel/signal.c | struct sigaction *sa; |
sa | 230 | arch/sparc/kernel/signal.c | sa = current->sig->action + signr; |
sa | 232 | arch/sparc/kernel/signal.c | if(sa->sa_handler == SIG_IGN) { |
sa | 238 | arch/sparc/kernel/signal.c | if(sa->sa_handler == SIG_DFL) { |
sa | 269 | arch/sparc/kernel/signal.c | (regs->u_regs[UREG_I0] == ERESTARTSYS && !(sa->sa_flags & SA_RESTART))) |
sa | 273 | arch/sparc/kernel/signal.c | mask &= ~sa->sa_mask; |
sa | 290 | arch/sparc/kernel/signal.c | sa = current->sig->action; |
sa | 291 | arch/sparc/kernel/signal.c | for(mask = 1; mask; sa++, signr++, mask += mask) { |
sa | 296 | arch/sparc/kernel/signal.c | setup_frame(sa, &frame, pc, npc, regs, signr, oldmask); |
sa | 297 | arch/sparc/kernel/signal.c | pc = (unsigned long) sa->sa_handler; |
sa | 299 | arch/sparc/kernel/signal.c | if(sa->sa_flags & SA_ONESHOT) |
sa | 300 | arch/sparc/kernel/signal.c | sa->sa_handler = NULL; |
sa | 301 | arch/sparc/kernel/signal.c | current->blocked |= sa->sa_mask; |
sa | 302 | 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 | 730 | drivers/net/tulip.c | struct sockaddr *sa=(struct sockaddr *)addr; |
sa | 735 | drivers/net/tulip.c | printk(" %2.2x", dev->dev_addr[i] = sa->sa_data[i]); |
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 | 136 | fs/nfs/rpcsock.c | struct sockaddr sa; |
sa | 137 | fs/nfs/rpcsock.c | int alen = sizeof(sa); |
sa | 149 | fs/nfs/rpcsock.c | if (alen != salen || memcmp(&sa, sap, alen)) { |
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 | 28 | kernel/exit.c | struct sigaction * sa = sig + p->sig->action - 1; |
sa | 33 | kernel/exit.c | if (sa->sa_handler == SIG_IGN && sig != SIGCHLD) |
sa | 36 | kernel/exit.c | if ((sa->sa_handler == SIG_DFL) && |
sa | 427 | net/appletalk/aarp.c | int aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr) |
sa | 447 | net/appletalk/aarp.c | if(at->s_net==sa->s_net) |
sa | 464 | net/appletalk/aarp.c | skb->data[0]=sa->s_node; |
sa | 487 | net/appletalk/aarp.c | hash=sa->s_node%(AARP_HASH_SIZE-1); |
sa | 495 | net/appletalk/aarp.c | if(sa->s_node==ATADDR_BCAST) |
sa | 505 | net/appletalk/aarp.c | a=aarp_find_entry(resolved[hash],dev,sa); |
sa | 526 | net/appletalk/aarp.c | a=aarp_find_entry(unresolved[hash],dev,sa); |
sa | 561 | net/appletalk/aarp.c | a->target_addr= *sa; |
sa | 642 | net/appletalk/aarp.c | struct at_addr sa, *ma; |
sa | 691 | net/appletalk/aarp.c | sa.s_node=ea->pa_src_node; |
sa | 692 | net/appletalk/aarp.c | sa.s_net=ea->pa_src_net; |
sa | 736 | net/appletalk/aarp.c | if((a=aarp_find_entry(unresolved[hash],dev,&sa))==NULL || dev != a->dev) |
sa | 761 | net/appletalk/aarp.c | sa.s_node=ea->pa_dst_node; |
sa | 762 | net/appletalk/aarp.c | sa.s_net=ea->pa_dst_net; |
sa | 764 | net/appletalk/aarp.c | if(sa.s_node!=ma->s_node) |
sa | 766 | net/appletalk/aarp.c | if(sa.s_net && ma->s_net && sa.s_net!=ma->s_net) |
sa | 769 | net/appletalk/aarp.c | sa.s_node=ea->pa_src_node; |
sa | 770 | net/appletalk/aarp.c | sa.s_net=ea->pa_src_net; |
sa | 776 | net/appletalk/aarp.c | aarp_send_reply(dev,ma,&sa,ea->hw_src); |
sa | 320 | net/appletalk/ddp.c | static struct atalk_iface *atif_add_device(struct device *dev, struct at_addr *sa) |
sa | 328 | net/appletalk/ddp.c | iface->address= *sa; |
sa | 511 | net/appletalk/ddp.c | static struct device *atrtr_get_dev(struct at_addr *sa) |
sa | 513 | net/appletalk/ddp.c | struct atalk_route *atr=atrtr_find(sa); |
sa | 696 | net/appletalk/ddp.c | struct sockaddr_at *sa; |
sa | 713 | net/appletalk/ddp.c | sa=(struct sockaddr_at*)&atreq.ifr_addr; |
sa | 721 | net/appletalk/ddp.c | if(sa->sat_family!=AF_APPLETALK) |
sa | 726 | net/appletalk/ddp.c | nr=(struct netrange *)&sa->sat_zero[0]; |
sa | 734 | net/appletalk/ddp.c | if(sa->sat_addr.s_node==ATADDR_BCAST || sa->sat_addr.s_node == 254) |
sa | 744 | net/appletalk/ddp.c | atif->address.s_net=sa->sat_addr.s_net; |
sa | 745 | net/appletalk/ddp.c | atif->address.s_node=sa->sat_addr.s_node; |
sa | 750 | net/appletalk/ddp.c | atif=atif_add_device(dev, &sa->sat_addr); |
sa | 770 | net/appletalk/ddp.c | sa=(struct sockaddr_at *)&rtdef.rt_gateway; |
sa | 771 | net/appletalk/ddp.c | sa->sat_family=AF_APPLETALK; |
sa | 772 | net/appletalk/ddp.c | sa->sat_addr.s_net=atif->address.s_net; |
sa | 773 | net/appletalk/ddp.c | sa->sat_addr.s_node=atif->address.s_node; |
sa | 774 | net/appletalk/ddp.c | sa=(struct sockaddr_at *)&rtdef.rt_dst; |
sa | 776 | net/appletalk/ddp.c | sa->sat_family=AF_APPLETALK; |
sa | 777 | net/appletalk/ddp.c | sa->sat_addr.s_node=ATADDR_ANYNODE; |
sa | 785 | net/appletalk/ddp.c | sa->sat_addr.s_net=atif->address.s_net; |
sa | 799 | 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 | ip_alias_init_1(struct net_alias_type *this, struct net_alias *alias, struct sockaddr *sa) |
sa | 81 | net/ipv4/ip_alias.c | 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 | 143 | net/netrom/nr_dev.c | struct sockaddr *sa=addr; |
sa | 144 | net/netrom/nr_dev.c | memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); |