Home
last modified time | relevance | path

Searched refs:kern (Results 1 – 25 of 105) sorted by relevance

12345

/linux/net/bridge/netfilter/
A Debt_mark_m.c49 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 Debt_mark.c65 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 Ddrm_agpsupport.c61 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 Dradeon_agp.c200 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 Daf_nfc.c19 int kern) in nfc_sock_create() argument
31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
A Dllcp_sock.c445 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 Dpppox.c115 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 Dmxl111sf.h123 #define mxl_printk(kern, fmt, arg...) \ argument
124 printk(kern "%s: " fmt "\n", __func__, ##arg)
/linux/drivers/isdn/mISDN/
A Dsocket.c593 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 Dpvc.c134 int kern) in pvc_create() argument
140 return vcc_create(net, sock, protocol, PF_ATMPVC, kern); in pvc_create()
A Dsvc.c32 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 Dcommon.h14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
/linux/crypto/
A Dalgif_hash.c231 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 Daf_alg.c277 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 Dnet.h150 struct socket *newsock, int flags, bool kern);
211 int protocol, int kern);
230 struct socket **res, int kern);
A Dif_pppox.h73 int (*create)(struct net *net, struct socket *sock, int kern);
/linux/arch/um/drivers/
A Dumcast_kern.c166 .kern = &umcast_kern_info,
176 .kern = &umcast_kern_info,
A Dnet_kern.c431 (*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 Dsock.c198 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 Dsock.c201 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 Dusb3-debug-port.rst74 # 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 Dsock.c249 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 Dsock.c271 …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 Dnet_kern.h57 const struct net_kern_info *kern; member
/linux/tools/testing/selftests/bpf/progs/
A Dtest_sk_storage_tracing.c87 int BPF_PROG(inet_csk_accept, struct sock *sk, int flags, int *err, bool kern, in BPF_PROG() argument

Completed in 30 milliseconds

12345