/drivers/net/ppp/ |
D | ppp_mppe.c | 171 static void *mppe_alloc(unsigned char *options, int optlen) in mppe_alloc() argument 177 if (optlen != CILEN_MPPE + sizeof(state->master_key) || in mppe_alloc() 250 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, in mppe_init() argument 256 if (optlen != CILEN_MPPE || in mppe_init() 308 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_comp_init() argument 312 return mppe_init(arg, options, optlen, unit, debug, "mppe_comp_init"); in mppe_comp_init() 414 mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_decomp_init() argument 418 return mppe_init(arg, options, optlen, unit, debug, "mppe_decomp_init"); in mppe_decomp_init()
|
/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_main.c | 468 int __user *optlen) in do_chtls_getsockopt() argument 479 char __user *optval, int __user *optlen) in chtls_getsockopt() argument 485 optname, optval, optlen); in chtls_getsockopt() 487 return do_chtls_getsockopt(sk, optval, optlen); in chtls_getsockopt() 491 sockptr_t optval, unsigned int optlen) in do_chtls_setsockopt() argument 501 if (sockptr_is_null(optval) || optlen < sizeof(*crypto_info)) { in do_chtls_setsockopt() 570 sockptr_t optval, unsigned int optlen) in chtls_setsockopt() argument 576 optname, optval, optlen); in chtls_setsockopt() 578 return do_chtls_setsockopt(sk, optname, optval, optlen); in chtls_setsockopt()
|
/drivers/infiniband/core/ |
D | ucma.c | 1255 void *optval, size_t optlen) in ucma_set_option_id() argument 1261 if (optlen != sizeof(u8)) { in ucma_set_option_id() 1268 if (optlen != sizeof(int)) { in ucma_set_option_id() 1275 if (optlen != sizeof(int)) { in ucma_set_option_id() 1282 if (optlen != sizeof(u8)) { in ucma_set_option_id() 1296 struct ib_path_rec_data *path_data, size_t optlen) in ucma_set_ib_path() argument 1302 if (optlen % sizeof(*path_data)) in ucma_set_ib_path() 1305 for (; optlen; optlen -= sizeof(*path_data), path_data++) { in ucma_set_ib_path() 1311 if (!optlen) in ucma_set_ib_path() 1343 void *optval, size_t optlen) in ucma_set_option_ib() argument [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | shadow.c | 183 int optlen; in nvbios_shadow() local 186 optarg = nvkm_stropt(device->cfgopt, "NvBios", &optlen); in nvbios_shadow() 187 source = optarg ? kstrndup(optarg, optlen, GFP_KERNEL) : NULL; in nvbios_shadow()
|
/drivers/video/fbdev/ |
D | acornfb.c | 897 int optlen; in acornfb_setup() local 899 optlen = strlen(optp->name); in acornfb_setup() 901 if (strncmp(opt, optp->name, optlen) == 0 && in acornfb_setup() 902 opt[optlen] == ':') { in acornfb_setup() 903 optp->parse(opt + optlen + 1); in acornfb_setup()
|
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 954 int cnt, opt, optlen; in chcr_ktls_check_tcp_options() local 959 for (; cnt > 0; cnt -= optlen, cp += optlen) { in chcr_ktls_check_tcp_options() 964 optlen = 1; in chcr_ktls_check_tcp_options() 968 optlen = cp[1]; in chcr_ktls_check_tcp_options() 969 if (optlen < 2 || optlen > cnt) in chcr_ktls_check_tcp_options()
|
/drivers/isdn/mISDN/ |
D | socket.c | 436 char __user *optval, int __user *optlen) in data_sock_getsockopt() argument 441 if (get_user(len, optlen)) in data_sock_getsockopt()
|
/drivers/atm/ |
D | firestream.c | 1233 void __user *optval,int optlen) 1242 void __user *optval,unsigned int optlen)
|