/linux/net/bridge/netfilter/ |
A D | ebt_mark_m.c | 49 struct ebt_mark_m_info *kern = dst; in mark_mt_compat_from_user() local 51 kern->mark = user->mark; in mark_mt_compat_from_user() 52 kern->mask = user->mask; in mark_mt_compat_from_user() 53 kern->invert = user->invert; in mark_mt_compat_from_user() 54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user() 60 const struct ebt_mark_m_info *kern = src; in mark_mt_compat_to_user() local 62 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user() 63 put_user(kern->mask, &user->mask) || in mark_mt_compat_to_user() 64 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user() 65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
|
A D | ebt_mark.c | 65 struct ebt_mark_t_info *kern = dst; in mark_tg_compat_from_user() local 67 kern->mark = user->mark; in mark_tg_compat_from_user() 68 kern->target = user->target; in mark_tg_compat_from_user() 74 const struct ebt_mark_t_info *kern = src; in mark_tg_compat_to_user() local 76 if (put_user(kern->mark, &user->mark) || in mark_tg_compat_to_user() 77 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
|
/linux/drivers/gpu/drm/ |
A D | drm_agpsupport.c | 61 struct agp_kern_info *kern; in drm_legacy_agp_info() local 66 kern = &dev->agp->agp_info; in drm_legacy_agp_info() 67 info->agp_version_major = kern->version.major; in drm_legacy_agp_info() 68 info->agp_version_minor = kern->version.minor; in drm_legacy_agp_info() 69 info->mode = kern->mode; in drm_legacy_agp_info() 70 info->aperture_base = kern->aper_base; in drm_legacy_agp_info() 71 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_legacy_agp_info() 72 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in drm_legacy_agp_info() 73 info->memory_used = kern->current_memory << PAGE_SHIFT; in drm_legacy_agp_info() 74 info->id_vendor = kern->device->vendor; in drm_legacy_agp_info() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_agp.c | 200 struct agp_kern_info *kern; in radeon_agp_head_info() local 205 kern = &rdev->agp->agp_info; in radeon_agp_head_info() 206 info->agp_version_major = kern->version.major; in radeon_agp_head_info() 207 info->agp_version_minor = kern->version.minor; in radeon_agp_head_info() 208 info->mode = kern->mode; in radeon_agp_head_info() 209 info->aperture_base = kern->aper_base; in radeon_agp_head_info() 210 info->aperture_size = kern->aper_size * 1024 * 1024; in radeon_agp_head_info() 211 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in radeon_agp_head_info() 212 info->memory_used = kern->current_memory << PAGE_SHIFT; in radeon_agp_head_info() 213 info->id_vendor = kern->device->vendor; in radeon_agp_head_info() [all …]
|
/linux/net/nfc/ |
A D | af_nfc.c | 19 int kern) in nfc_sock_create() argument 31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
|
A D | llcp_sock.c | 445 int flags, bool kern) in llcp_sock_accept() argument 964 struct sock *nfc_llcp_sock_alloc(struct socket *sock, int type, gfp_t gfp, int kern) in nfc_llcp_sock_alloc() argument 969 sk = sk_alloc(&init_net, PF_NFC, gfp, &llcp_sock_proto, kern); in nfc_llcp_sock_alloc() 1015 const struct nfc_protocol *nfc_proto, int kern) in llcp_sock_create() argument 1034 sk = nfc_llcp_sock_alloc(sock, sock->type, GFP_ATOMIC, kern); in llcp_sock_create()
|
/linux/drivers/net/ppp/ |
A D | pppox.c | 115 int kern) in pppox_create() argument 129 rc = pppox_protos[protocol]->create(net, sock, kern); in pppox_create()
|
/linux/drivers/media/usb/dvb-usb-v2/ |
A D | mxl111sf.h | 123 #define mxl_printk(kern, fmt, arg...) \ argument 124 printk(kern "%s: " fmt "\n", __func__, ##arg)
|
/linux/drivers/isdn/mISDN/ |
A D | socket.c | 593 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in data_sock_create() argument 600 sk = sk_alloc(net, PF_ISDN, GFP_KERNEL, &mISDN_proto, kern); in data_sock_create() 749 base_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in base_sock_create() argument 758 sk = sk_alloc(net, PF_ISDN, GFP_KERNEL, &mISDN_proto, kern); in base_sock_create() 774 mISDN_sock_create(struct net *net, struct socket *sock, int proto, int kern) in mISDN_sock_create() argument 780 err = base_sock_create(net, sock, proto, kern); in mISDN_sock_create() 794 err = data_sock_create(net, sock, proto, kern); in mISDN_sock_create()
|
/linux/net/atm/ |
A D | pvc.c | 134 int kern) in pvc_create() argument 140 return vcc_create(net, sock, protocol, PF_ATMPVC, kern); in pvc_create()
|
A D | svc.c | 32 int kern); 323 bool kern) in svc_accept() argument 334 error = svc_create(sock_net(sk), newsock, 0, kern); in svc_accept() 657 int kern) in svc_create() argument 665 error = vcc_create(net, sock, protocol, AF_ATMSVC, kern); in svc_create()
|
A D | common.h | 14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
|
/linux/crypto/ |
A D | algif_hash.c | 231 bool kern) in hash_accept() argument 252 err = af_alg_accept(ask->parent, newsock, kern); in hash_accept() 364 int flags, bool kern) in hash_accept_nokey() argument 372 return hash_accept(sock, newsock, flags, kern); in hash_accept_nokey()
|
A D | af_alg.c | 277 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern) in af_alg_accept() argument 292 sk2 = sk_alloc(sock_net(sk), PF_ALG, GFP_KERNEL, &alg_proto, kern); in af_alg_accept() 339 bool kern) in alg_accept() argument 341 return af_alg_accept(sock->sk, newsock, kern); in alg_accept() 373 int kern) in alg_create() argument 384 sk = sk_alloc(net, PF_ALG, GFP_KERNEL, &alg_proto, kern); in alg_create()
|
/linux/include/linux/ |
A D | net.h | 150 struct socket *newsock, int flags, bool kern); 211 int protocol, int kern); 230 struct socket **res, int kern);
|
A D | if_pppox.h | 73 int (*create)(struct net *net, struct socket *sock, int kern);
|
/linux/arch/um/drivers/ |
A D | umcast_kern.c | 166 .kern = &umcast_kern_info, 176 .kern = &umcast_kern_info,
|
A D | net_kern.c | 431 (*transport->kern->init)(dev, init); in eth_configure() 439 .protocol = transport->kern->protocol, in eth_configure() 443 .read = transport->kern->read, in eth_configure() 444 .write = transport->kern->write, in eth_configure()
|
/linux/net/bluetooth/bnep/ |
A D | sock.c | 198 int kern) in bnep_sock_create() argument 207 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &bnep_proto, kern); in bnep_sock_create()
|
/linux/net/bluetooth/cmtp/ |
A D | sock.c | 201 int kern) in cmtp_sock_create() argument 210 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &cmtp_proto, kern); in cmtp_sock_create()
|
/linux/Documentation/driver-api/usb/ |
A D | usb3-debug-port.rst | 74 # tail -f /var/log/kern.log 129 root@target: tail -f /var/log/kern.log 142 root@host: tail -f /var/log/kern.log
|
/linux/net/bluetooth/hidp/ |
A D | sock.c | 249 int kern) in hidp_sock_create() argument 258 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hidp_proto, kern); in hidp_sock_create()
|
/linux/net/bluetooth/rfcomm/ |
A D | sock.c | 271 …ruct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in rfcomm_sock_alloc() argument 276 sk = sk_alloc(net, PF_BLUETOOTH, prio, &rfcomm_proto, kern); in rfcomm_sock_alloc() 313 int protocol, int kern) in rfcomm_sock_create() argument 326 sk = rfcomm_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in rfcomm_sock_create() 474 bool kern) in rfcomm_sock_accept() argument
|
/linux/arch/um/include/shared/ |
A D | net_kern.h | 57 const struct net_kern_info *kern; member
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_sk_storage_tracing.c | 87 int BPF_PROG(inet_csk_accept, struct sock *sk, int flags, int *err, bool kern, in BPF_PROG() argument
|