/linux-4.1.27/net/rxrpc/ |
D | ar-security.c | 28 static struct rxrpc_security *rxrpc_security_get(struct rxrpc_security *sec) in rxrpc_security_get() argument 30 return try_module_get(sec->owner) ? sec : NULL; in rxrpc_security_get() 36 static void rxrpc_security_put(struct rxrpc_security *sec) in rxrpc_security_put() argument 38 module_put(sec->owner); in rxrpc_security_put() 46 struct rxrpc_security *sec = NULL; in rxrpc_security_lookup() local 52 list_for_each_entry(sec, &rxrpc_security_methods, link) { in rxrpc_security_lookup() 53 if (sec->security_index == security_index) { in rxrpc_security_lookup() 54 if (unlikely(!rxrpc_security_get(sec))) in rxrpc_security_lookup() 60 sec = NULL; in rxrpc_security_lookup() 63 _leave(" = %p [%s]", sec, sec ? sec->name : ""); in rxrpc_security_lookup() [all …]
|
/linux-4.1.27/net/mac802154/ |
D | llsec.c | 32 void mac802154_llsec_init(struct mac802154_llsec *sec) in mac802154_llsec_init() argument 34 memset(sec, 0, sizeof(*sec)); in mac802154_llsec_init() 36 memset(&sec->params.default_key_source, 0xFF, IEEE802154_ADDR_LEN); in mac802154_llsec_init() 38 INIT_LIST_HEAD(&sec->table.security_levels); in mac802154_llsec_init() 39 INIT_LIST_HEAD(&sec->table.devices); in mac802154_llsec_init() 40 INIT_LIST_HEAD(&sec->table.keys); in mac802154_llsec_init() 41 hash_init(sec->devices_short); in mac802154_llsec_init() 42 hash_init(sec->devices_hw); in mac802154_llsec_init() 43 rwlock_init(&sec->lock); in mac802154_llsec_init() 46 void mac802154_llsec_destroy(struct mac802154_llsec *sec) in mac802154_llsec_destroy() argument [all …]
|
D | llsec.h | 73 void mac802154_llsec_init(struct mac802154_llsec *sec); 74 void mac802154_llsec_destroy(struct mac802154_llsec *sec); 76 int mac802154_llsec_get_params(struct mac802154_llsec *sec, 78 int mac802154_llsec_set_params(struct mac802154_llsec *sec, 82 int mac802154_llsec_key_add(struct mac802154_llsec *sec, 85 int mac802154_llsec_key_del(struct mac802154_llsec *sec, 88 int mac802154_llsec_dev_add(struct mac802154_llsec *sec, 90 int mac802154_llsec_dev_del(struct mac802154_llsec *sec, 93 int mac802154_llsec_devkey_add(struct mac802154_llsec *sec, 96 int mac802154_llsec_devkey_del(struct mac802154_llsec *sec, [all …]
|
D | mib.c | 116 res = mac802154_llsec_get_params(&sdata->sec, params); in mac802154_get_params() 132 res = mac802154_llsec_set_params(&sdata->sec, params, changed); in mac802154_set_params() 148 res = mac802154_llsec_key_add(&sdata->sec, id, key); in mac802154_add_key() 163 res = mac802154_llsec_key_del(&sdata->sec, id); in mac802154_del_key() 178 res = mac802154_llsec_dev_add(&sdata->sec, llsec_dev); in mac802154_add_dev() 192 res = mac802154_llsec_dev_del(&sdata->sec, dev_addr); in mac802154_del_dev() 208 res = mac802154_llsec_devkey_add(&sdata->sec, device_addr, key); in mac802154_add_devkey() 224 res = mac802154_llsec_devkey_del(&sdata->sec, device_addr, key); in mac802154_del_devkey() 239 res = mac802154_llsec_seclevel_add(&sdata->sec, sl); in mac802154_add_seclevel() 254 res = mac802154_llsec_seclevel_del(&sdata->sec, sl); in mac802154_del_seclevel() [all …]
|
D | rx.c | 95 rc = mac802154_llsec_decrypt(&sdata->sec, skb); in ieee802154_subif_frame() 165 pr_debug("seclevel %i\n", hdr->sec.level); in ieee802154_parse_frame_start() 167 switch (hdr->sec.key_id_mode) { in ieee802154_parse_frame_start() 173 pr_debug("key %02x\n", hdr->sec.key_id); in ieee802154_parse_frame_start() 178 le32_to_cpu(hdr->sec.short_src) >> 16, in ieee802154_parse_frame_start() 179 le32_to_cpu(hdr->sec.short_src) & 0xffff, in ieee802154_parse_frame_start() 180 hdr->sec.key_id); in ieee802154_parse_frame_start() 184 key = swab64((__force u64)hdr->sec.extended_src); in ieee802154_parse_frame_start() 186 hdr->sec.key_id); in ieee802154_parse_frame_start()
|
D | iface.c | 332 mac802154_llsec_get_params(&sdata->sec, ¶ms); in mac802154_set_header_security() 346 hdr->sec.level = level; in mac802154_set_header_security() 347 hdr->sec.key_id_mode = params.out_key.mode; in mac802154_set_header_security() 349 hdr->sec.short_src = params.out_key.short_source; in mac802154_set_header_security() 351 hdr->sec.extended_src = params.out_key.extended_source; in mac802154_set_header_security() 352 hdr->sec.key_id = params.out_key.id; in mac802154_set_header_security() 455 mac802154_llsec_destroy(&sdata->sec); in mac802154_wpan_free() 509 mac802154_llsec_init(&sdata->sec); in ieee802154_setup_sdata()
|
D | tx.c | 139 rc = mac802154_llsec_encrypt(&sdata->sec, skb); in ieee802154_subif_start_xmit()
|
D | ieee802154_i.h | 96 struct mac802154_llsec sec; member
|
/linux-4.1.27/crypto/ |
D | tcrypt.c | 58 static unsigned int sec; variable 1573 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1575 test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0, in do_test() 1577 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1579 test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0, in do_test() 1581 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1583 test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0, in do_test() 1585 test_cipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0, in do_test() 1587 test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, in do_test() 1589 test_cipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0, in do_test() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_gc.c | 66 void sptlrpc_gc_add_sec(struct ptlrpc_sec *sec) in sptlrpc_gc_add_sec() argument 68 LASSERT(sec->ps_policy->sp_cops->gc_ctx); in sptlrpc_gc_add_sec() 69 LASSERT(sec->ps_gc_interval > 0); in sptlrpc_gc_add_sec() 70 LASSERT(list_empty(&sec->ps_gc_list)); in sptlrpc_gc_add_sec() 72 sec->ps_gc_next = get_seconds() + sec->ps_gc_interval; in sptlrpc_gc_add_sec() 75 list_add_tail(&sec_gc_list, &sec->ps_gc_list); in sptlrpc_gc_add_sec() 78 CDEBUG(D_SEC, "added sec %p(%s)\n", sec, sec->ps_policy->sp_name); in sptlrpc_gc_add_sec() 82 void sptlrpc_gc_del_sec(struct ptlrpc_sec *sec) in sptlrpc_gc_del_sec() argument 84 if (list_empty(&sec->ps_gc_list)) in sptlrpc_gc_del_sec() 93 list_del_init(&sec->ps_gc_list); in sptlrpc_gc_del_sec() [all …]
|
D | sec_lproc.c | 80 struct ptlrpc_sec *sec = NULL; in sptlrpc_info_lprocfs_seq_show() local 88 sec = sptlrpc_import_sec_ref(cli->cl_import); in sptlrpc_info_lprocfs_seq_show() 89 if (sec == NULL) in sptlrpc_info_lprocfs_seq_show() 92 sec_flags2str(sec->ps_flvr.sf_flags, str, sizeof(str)); in sptlrpc_info_lprocfs_seq_show() 95 sptlrpc_flavor2name_base(sec->ps_flvr.sf_rpc)); in sptlrpc_info_lprocfs_seq_show() 97 sptlrpc_flavor2name_bulk(&sec->ps_flvr, str, sizeof(str))); in sptlrpc_info_lprocfs_seq_show() 99 sec_flags2str(sec->ps_flvr.sf_flags, str, sizeof(str))); in sptlrpc_info_lprocfs_seq_show() 100 seq_printf(seq, "id: %d\n", sec->ps_id); in sptlrpc_info_lprocfs_seq_show() 102 atomic_read(&sec->ps_refcount)); in sptlrpc_info_lprocfs_seq_show() 103 seq_printf(seq, "nctx: %d\n", atomic_read(&sec->ps_nctx)); in sptlrpc_info_lprocfs_seq_show() [all …]
|
D | sec.c | 254 struct ptlrpc_cli_ctx *get_my_ctx(struct ptlrpc_sec *sec) in get_my_ctx() argument 259 LASSERT(sec); in get_my_ctx() 260 LASSERT(sec->ps_policy->sp_cops->lookup_ctx); in get_my_ctx() 262 if (sec->ps_flvr.sf_flags & (PTLRPC_SEC_FL_REVERSE | in get_my_ctx() 266 if (sec->ps_flvr.sf_flags & PTLRPC_SEC_FL_REVERSE) { in get_my_ctx() 275 return sec->ps_policy->sp_cops->lookup_ctx(sec, &vcred, in get_my_ctx() 288 struct ptlrpc_sec *sec = ctx->cc_sec; in sptlrpc_cli_ctx_put() local 290 LASSERT(sec); in sptlrpc_cli_ctx_put() 296 sec->ps_policy->sp_cops->release_ctx(sec, ctx, sync); in sptlrpc_cli_ctx_put() 360 struct ptlrpc_sec **sec) in import_sec_validate_get() argument [all …]
|
D | sec_plain.c | 56 static inline struct plain_sec *sec2plsec(struct ptlrpc_sec *sec) in sec2plsec() argument 58 return container_of(sec, struct plain_sec, pls_base); in sec2plsec() 415 void plain_destroy_sec(struct ptlrpc_sec *sec) in plain_destroy_sec() argument 417 struct plain_sec *plsec = sec2plsec(sec); in plain_destroy_sec() 419 LASSERT(sec->ps_policy == &plain_policy); in plain_destroy_sec() 420 LASSERT(sec->ps_import); in plain_destroy_sec() 421 LASSERT(atomic_read(&sec->ps_refcount) == 0); in plain_destroy_sec() 422 LASSERT(atomic_read(&sec->ps_nctx) == 0); in plain_destroy_sec() 425 class_import_put(sec->ps_import); in plain_destroy_sec() 431 void plain_kill_sec(struct ptlrpc_sec *sec) in plain_kill_sec() argument [all …]
|
D | sec_null.c | 131 void null_destroy_sec(struct ptlrpc_sec *sec) in null_destroy_sec() argument 133 LASSERT(sec == &null_sec); in null_destroy_sec() 137 struct ptlrpc_cli_ctx *null_lookup_ctx(struct ptlrpc_sec *sec, in null_lookup_ctx() argument 146 int null_flush_ctx_cache(struct ptlrpc_sec *sec, in null_flush_ctx_cache() argument 154 int null_alloc_reqbuf(struct ptlrpc_sec *sec, in null_alloc_reqbuf() argument 178 void null_free_reqbuf(struct ptlrpc_sec *sec, in null_free_reqbuf() argument 196 int null_alloc_repbuf(struct ptlrpc_sec *sec, in null_alloc_repbuf() argument 214 void null_free_repbuf(struct ptlrpc_sec *sec, in null_free_repbuf() argument 225 int null_enlarge_reqbuf(struct ptlrpc_sec *sec, in null_enlarge_reqbuf() argument
|
D | Makefile | 15 ptlrpc_objs += sec.o sec_bulk.o sec_gc.o sec_config.o
|
/linux-4.1.27/fs/reiserfs/ |
D | xattr_security.c | 58 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument 63 sec->name = NULL; in reiserfs_security_init() 69 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, in reiserfs_security_init() 70 &sec->value, &sec->length); in reiserfs_security_init() 75 sec->name = NULL; in reiserfs_security_init() 76 sec->value = NULL; in reiserfs_security_init() 77 sec->length = 0; in reiserfs_security_init() 81 if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) { in reiserfs_security_init() 83 reiserfs_xattr_nblocks(inode, sec->length); in reiserfs_security_init() 93 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument [all …]
|
D | xattr.h | 40 struct reiserfs_security_handle *sec); 43 struct reiserfs_security_handle *sec); 44 void reiserfs_security_free(struct reiserfs_security_handle *sec); 109 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument 116 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument 120 static inline void reiserfs_security_free(struct reiserfs_security_handle *sec) in reiserfs_security_free() argument
|
/linux-4.1.27/arch/powerpc/boot/dts/fsl/ |
D | qoriq-sec5.3-0.dtsi | 36 compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0"; 37 fsl,sec-era = <4>; 45 compatible = "fsl,sec-v5.3-job-ring", 46 "fsl,sec-v5.0-job-ring", 47 "fsl,sec-v4.0-job-ring"; 53 compatible = "fsl,sec-v5.3-job-ring", 54 "fsl,sec-v5.0-job-ring", 55 "fsl,sec-v4.0-job-ring"; 61 compatible = "fsl,sec-v5.3-job-ring", 62 "fsl,sec-v5.0-job-ring", [all …]
|
D | qoriq-sec5.2-0.dtsi | 36 compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0"; 37 fsl,sec-era = <5>; 45 compatible = "fsl,sec-v5.2-job-ring", 46 "fsl,sec-v5.0-job-ring", 47 "fsl,sec-v4.0-job-ring"; 53 compatible = "fsl,sec-v5.2-job-ring", 54 "fsl,sec-v5.0-job-ring", 55 "fsl,sec-v4.0-job-ring"; 61 compatible = "fsl,sec-v5.2-job-ring", 62 "fsl,sec-v5.0-job-ring", [all …]
|
D | qoriq-sec4.2-0.dtsi | 36 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0"; 37 fsl,sec-era = <3>; 45 compatible = "fsl,sec-v4.2-job-ring", 46 "fsl,sec-v4.0-job-ring"; 52 compatible = "fsl,sec-v4.2-job-ring", 53 "fsl,sec-v4.0-job-ring"; 59 compatible = "fsl,sec-v4.2-job-ring", 60 "fsl,sec-v4.0-job-ring"; 66 compatible = "fsl,sec-v4.2-job-ring", 67 "fsl,sec-v4.0-job-ring"; [all …]
|
D | qoriq-sec5.0-0.dtsi | 36 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; 37 fsl,sec-era = <5>; 45 compatible = "fsl,sec-v5.0-job-ring", 46 "fsl,sec-v4.0-job-ring"; 52 compatible = "fsl,sec-v5.0-job-ring", 53 "fsl,sec-v4.0-job-ring"; 59 compatible = "fsl,sec-v5.0-job-ring", 60 "fsl,sec-v4.0-job-ring"; 66 compatible = "fsl,sec-v5.0-job-ring", 67 "fsl,sec-v4.0-job-ring"; [all …]
|
D | qoriq-sec6.0-0.dtsi | 35 compatible = "fsl,sec-v6.0", "fsl,sec-v5.0", 36 "fsl,sec-v4.0"; 37 fsl,sec-era = <6>; 42 compatible = "fsl,sec-v6.0-job-ring", 43 "fsl,sec-v5.2-job-ring", 44 "fsl,sec-v5.0-job-ring", 45 "fsl,sec-v4.4-job-ring", 46 "fsl,sec-v4.0-job-ring"; 51 compatible = "fsl,sec-v6.0-job-ring", 52 "fsl,sec-v5.2-job-ring", [all …]
|
D | p1023si-post.dtsi | 178 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0"; 179 fsl,sec-era = <3>; 187 compatible = "fsl,sec-v4.2-job-ring", 188 "fsl,sec-v4.0-job-ring"; 194 compatible = "fsl,sec-v4.2-job-ring", 195 "fsl,sec-v4.0-job-ring"; 201 compatible = "fsl,sec-v4.2-job-ring", 202 "fsl,sec-v4.0-job-ring"; 208 compatible = "fsl,sec-v4.2-job-ring", 209 "fsl,sec-v4.0-job-ring"; [all …]
|
D | qoriq-sec4.0-0.dtsi | 36 compatible = "fsl,sec-v4.0"; 37 fsl,sec-era = <1>; 45 compatible = "fsl,sec-v4.0-job-ring"; 51 compatible = "fsl,sec-v4.0-job-ring"; 57 compatible = "fsl,sec-v4.0-job-ring"; 63 compatible = "fsl,sec-v4.0-job-ring"; 69 compatible = "fsl,sec-v4.0-rtic"; 76 compatible = "fsl,sec-v4.0-rtic-memory"; 81 compatible = "fsl,sec-v4.0-rtic-memory"; 86 compatible = "fsl,sec-v4.0-rtic-memory"; [all …]
|
D | pq3-sec4.4-0.dtsi | 36 compatible = "fsl,sec-v4.4", "fsl,sec-v4.0"; 37 fsl,sec-era = <3>; 45 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring"; 51 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring"; 57 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring"; 63 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring";
|
/linux-4.1.27/fs/hpfs/ |
D | alloc.c | 11 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() argument 16 hpfs_error(s, "free count underflow, allocating sector %08x", sec); in hpfs_claim_alloc() 24 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() argument 29 hpfs_error(s, "free count overflow, freeing sector %08x", sec); in hpfs_claim_free() 37 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc() argument 42 hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec); in hpfs_claim_dirband_alloc() 50 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free() argument 55 hpfs_error(s, "dirband free count overflow, freeing sector %08x", sec); in hpfs_claim_dirband_free() 68 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument 72 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated() [all …]
|
D | anode.c | 14 struct bplus_header *btree, unsigned sec, in hpfs_bplus_lookup() argument 25 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup() 32 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a); in hpfs_bplus_lookup() 37 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup() 38 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup() 39 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup() 53 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a); in hpfs_bplus_lookup() 329 static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec) in anode_lookup() argument 334 return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh); in anode_lookup() 342 secno sec; in hpfs_ea_read() local [all …]
|
D | map.c | 19 secno sec; in hpfs_map_bitmap() local 26 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap() 27 if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) { in hpfs_map_bitmap() 28 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id); in hpfs_map_bitmap() 31 ret = hpfs_map_4sectors(s, sec, qbh, 4); in hpfs_map_bitmap()
|
/linux-4.1.27/arch/x86/tools/ |
D | relocs.c | 272 struct section *sec = &secs[i]; in sym_lookup() local 278 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup() 281 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup() 282 symtab = sec->symtab; in sym_lookup() 283 strtab = sec->link->strtab; in sym_lookup() 404 struct section *sec = &secs[i]; in read_shdrs() local 408 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs() 409 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs() 410 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs() 411 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs() [all …]
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | libipw_wx.c | 316 struct libipw_security sec = { in libipw_wx_set_encode() local 361 sec.enabled = 0; in libipw_wx_set_encode() 362 sec.encrypt = 0; in libipw_wx_set_encode() 363 sec.level = SEC_LEVEL_0; in libipw_wx_set_encode() 364 sec.flags |= SEC_ENABLED | SEC_LEVEL | SEC_ENCRYPT; in libipw_wx_set_encode() 370 sec.enabled = 1; in libipw_wx_set_encode() 371 sec.encrypt = 1; in libipw_wx_set_encode() 372 sec.flags |= SEC_ENABLED | SEC_ENCRYPT; in libipw_wx_set_encode() 412 memcpy(sec.keys[key], keybuf, erq->length); in libipw_wx_set_encode() 414 memset(sec.keys[key] + erq->length, 0, in libipw_wx_set_encode() [all …]
|
D | ipw2100.c | 1656 if ((priv->ieee->sec.flags & SEC_ENABLED) && priv->ieee->sec.enabled) in ipw2100_set_scan_options() 5497 if (!priv->ieee->sec.enabled) { in ipw2100_configure_security() 5503 if (priv->ieee->sec.flags & SEC_AUTH_MODE) { in ipw2100_configure_security() 5504 if (priv->ieee->sec.auth_mode == WLAN_AUTH_SHARED_KEY) in ipw2100_configure_security() 5506 else if (priv->ieee->sec.auth_mode == WLAN_AUTH_LEAP) in ipw2100_configure_security() 5511 if (priv->ieee->sec.flags & SEC_LEVEL) in ipw2100_configure_security() 5512 sec_level = priv->ieee->sec.level; in ipw2100_configure_security() 5515 if (priv->ieee->sec.flags & SEC_UNICAST_GROUP) in ipw2100_configure_security() 5516 use_group = priv->ieee->sec.unicast_uses_group; in ipw2100_configure_security() 5526 if (priv->ieee->sec.enabled) { in ipw2100_configure_security() [all …]
|
D | ipw2200.c | 2098 if (priv->ieee->sec.encrypt) { in ipw_irq_tasklet() 5922 if (!(priv->ieee->sec.flags & (1 << index))) in ipw_send_tgi_tx_key() 5926 memcpy(key.key, priv->ieee->sec.keys[index], SCM_TEMPORAL_KEY_LENGTH); in ipw_send_tgi_tx_key() 5949 if (!(priv->ieee->sec.flags & (1 << i))) { in ipw_send_wep_keys() 5954 key.key_size = priv->ieee->sec.key_sizes[i]; in ipw_send_wep_keys() 5955 memcpy(key.key, priv->ieee->sec.keys[i], key.key_size); in ipw_send_wep_keys() 6012 switch (priv->ieee->sec.level) { in ipw_set_hwcrypto_keys() 6014 if (priv->ieee->sec.flags & SEC_ACTIVE_KEY) in ipw_set_hwcrypto_keys() 6017 priv->ieee->sec.active_key); in ipw_set_hwcrypto_keys() 6023 if (priv->ieee->sec.flags & SEC_ACTIVE_KEY) in ipw_set_hwcrypto_keys() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | cputime.h | 71 unsigned long sec; in jiffies_to_cputime() local 75 sec = jif / HZ; in jiffies_to_cputime() 80 if (sec) in jiffies_to_cputime() 81 ct += (cputime_t) sec * tb_ticks_per_sec; in jiffies_to_cputime() 93 u64 sec; in jiffies64_to_cputime64() local 97 sec = jif / HZ; in jiffies64_to_cputime64() 102 if (sec) in jiffies64_to_cputime64() 103 ct += (u64) sec * tb_ticks_per_sec; in jiffies64_to_cputime64() 125 unsigned long sec; in usecs_to_cputime() local 129 sec = us / 1000000; in usecs_to_cputime() [all …]
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dvb_demux.c | 94 return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len)); in dvb_dmx_crc32() 143 u8 xor = f->filter.filter_value[i] ^ feed->feed.sec.secbuf[i]; in dvb_dmx_swfilter_sectionfilter() 154 return feed->cb.sec(feed->feed.sec.secbuf, feed->feed.sec.seclen, in dvb_dmx_swfilter_sectionfilter() 162 struct dmx_section_feed *sec = &feed->feed.sec; in dvb_dmx_swfilter_section_feed() local 165 if (!sec->is_filtering) in dvb_dmx_swfilter_section_feed() 171 if (sec->check_crc) { in dvb_dmx_swfilter_section_feed() 172 section_syntax_indicator = ((sec->secbuf[1] & 0x80) != 0); in dvb_dmx_swfilter_section_feed() 174 demux->check_crc32(feed, sec->secbuf, sec->seclen)) in dvb_dmx_swfilter_section_feed() 181 } while ((f = f->next) && sec->is_filtering); in dvb_dmx_swfilter_section_feed() 183 sec->seclen = 0; in dvb_dmx_swfilter_section_feed() [all …]
|
D | dmxdev.c | 341 struct dmx_sct_filter_params *para = &dmxdevfilter->params.sec; in dvb_dmxdev_filter_timer() 380 if (dmxdevfilter->params.sec.flags & DMX_ONESHOT) in dvb_dmxdev_section_callback() 432 dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec); in dvb_dmxdev_feed_stop() 454 return filter->feed.sec->start_filtering(filter->feed.sec); in dvb_dmxdev_feed_start() 477 u16 pid = filter->params.sec.pid; in dvb_dmxdev_feed_restart() 482 dmxdev->filter[i].params.sec.pid == pid) { in dvb_dmxdev_feed_restart() 488 filter->feed.sec); in dvb_dmxdev_feed_restart() 503 if (!dmxdevfilter->feed.sec) in dvb_dmxdev_filter_stop() 506 if (dmxdevfilter->filter.sec) in dvb_dmxdev_filter_stop() 507 dmxdevfilter->feed.sec-> in dvb_dmxdev_filter_stop() [all …]
|
D | dmxdev.h | 66 struct dmx_section_filter *sec; member 72 struct dmx_section_feed *sec; member 76 struct dmx_sct_filter_params sec; member
|
D | dvb_demux.h | 70 struct dmx_section_feed sec; member 75 dmx_section_cb sec; member
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | adf_cfg.c | 68 struct adf_cfg_section *sec = in qat_dev_cfg_show() local 71 seq_printf(sfile, "[%s]\n", sec->name); in qat_dev_cfg_show() 72 list_for_each(list, &sec->param_head) { in qat_dev_cfg_show() 191 struct adf_cfg_section *sec) in adf_cfg_keyval_add() argument 193 list_add_tail(&new->list, &sec->param_head); in adf_cfg_keyval_add() 255 struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, sec_name); in adf_cfg_key_val_get() local 258 if (sec) in adf_cfg_key_val_get() 259 keyval = adf_cfg_key_value_find(sec, key_name); in adf_cfg_key_val_get() 335 struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, name); in adf_cfg_section_add() local 337 if (sec) in adf_cfg_section_add() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/crypto/ |
D | fsl-sec6.txt | 23 Definition: Must include "fsl,sec-v6.0". 25 - fsl,sec-era 63 compatible = "fsl,sec-v6.0"; 64 fsl,sec-era = <6>; 84 Definition: Must include "fsl,sec-v6.0-job-ring". 103 compatible = "fsl,sec-v6.0-job-ring"; 117 compatible = "fsl,sec-v6.0"; 118 fsl,sec-era = <6>; 123 compatible = "fsl,sec-v6.0-job-ring", 124 "fsl,sec-v5.2-job-ring", [all …]
|
D | fsl-sec4.txt | 57 Definition: Must include "fsl,sec-v4.0" 59 - fsl,sec-era 115 compatible = "fsl,sec-v4.0"; 116 fsl,sec-era = <2>; 138 Definition: Must include "fsl,sec-v4.0-job-ring" 174 compatible = "fsl,sec-v4.0-job-ring"; 196 Definition: Must include "fsl,sec-v4.0-rtic". 229 compatible = "fsl,sec-v4.0-rtic"; 247 Definition: Must include "fsl,sec-v4.0-rtic-memory". 279 compatible = "fsl,sec-v4.0-rtic-memory"; [all …]
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 296 struct ieee80211_security sec = { in ieee80211_wx_set_encode() local 339 sec.enabled = 0; in ieee80211_wx_set_encode() 340 sec.level = SEC_LEVEL_0; in ieee80211_wx_set_encode() 341 sec.flags |= SEC_ENABLED | SEC_LEVEL; in ieee80211_wx_set_encode() 349 sec.enabled = 1; in ieee80211_wx_set_encode() 350 sec.flags |= SEC_ENABLED; in ieee80211_wx_set_encode() 390 memcpy(sec.keys[key], keybuf, erq->length); in ieee80211_wx_set_encode() 392 memset(sec.keys[key] + erq->length, 0, in ieee80211_wx_set_encode() 395 key, escape_essid(sec.keys[key], len), in ieee80211_wx_set_encode() 397 sec.key_sizes[key] = len; in ieee80211_wx_set_encode() [all …]
|
D | ieee80211_softmac.c | 2853 struct ieee80211_security sec = { in ieee80211_wpa_set_auth_algs() local 2858 sec.auth_mode = WLAN_AUTH_SHARED_KEY; in ieee80211_wpa_set_auth_algs() 2862 sec.auth_mode = WLAN_AUTH_OPEN; in ieee80211_wpa_set_auth_algs() 2867 sec.auth_mode = WLAN_AUTH_LEAP; in ieee80211_wpa_set_auth_algs() 2874 ieee->set_security(ieee->dev, &sec); in ieee80211_wpa_set_auth_algs() 2907 struct ieee80211_security sec = { in ieee80211_wpa_set_param() local 2916 sec.flags |= SEC_LEVEL; in ieee80211_wpa_set_param() 2917 sec.level = SEC_LEVEL_0; in ieee80211_wpa_set_param() 2920 sec.flags |= SEC_LEVEL; in ieee80211_wpa_set_param() 2921 sec.level = SEC_LEVEL_1; in ieee80211_wpa_set_param() [all …]
|
/linux-4.1.27/arch/mips/sibyte/swarm/ |
D | setup.c | 92 unsigned long sec; in read_persistent_clock() local 96 sec = xicor_get_time(); in read_persistent_clock() 100 sec = m41t81_get_time(); in read_persistent_clock() 105 sec = mktime(2000, 1, 1, 0, 0, 0); in read_persistent_clock() 108 ts->tv_sec = sec; in read_persistent_clock() 112 int rtc_mips_set_time(unsigned long sec) in rtc_mips_set_time() argument 116 return xicor_set_time(sec); in rtc_mips_set_time() 119 return m41t81_set_time(sec); in rtc_mips_set_time()
|
D | rtc_m41t81.c | 193 unsigned int year, mon, day, hour, min, sec; in m41t81_get_time() local 201 sec = m41t81_read(M41T81REG_SC); in m41t81_get_time() 203 if (sec == m41t81_read(M41T81REG_SC)) break; in m41t81_get_time() 212 sec = bcd2bin(sec); in m41t81_get_time() 221 return mktime(year, mon, day, hour, min, sec); in m41t81_get_time()
|
D | rtc_xicor1241.c | 173 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local 177 sec = xicor_read(X1241REG_SC); in xicor_get_time() 194 sec = bcd2bin(sec); in xicor_get_time() 204 return mktime(year, mon, day, hour, min, sec); in xicor_get_time()
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-tegra.c | 110 unsigned long sec, msec; in tegra_rtc_read_time() local 118 sec = readl(info->rtc_base + TEGRA_RTC_REG_SHADOW_SECONDS); in tegra_rtc_read_time() 122 rtc_time_to_tm(sec, tm); in tegra_rtc_read_time() 125 sec, in tegra_rtc_read_time() 140 unsigned long sec; in tegra_rtc_set_time() local 148 rtc_tm_to_time(tm, &sec); in tegra_rtc_set_time() 151 sec, in tegra_rtc_set_time() 163 writel(sec, info->rtc_base + TEGRA_RTC_REG_SECONDS); in tegra_rtc_set_time() 174 unsigned long sec; in tegra_rtc_read_alarm() local 177 sec = readl(info->rtc_base + TEGRA_RTC_REG_SECONDS_ALARM0); in tegra_rtc_read_alarm() [all …]
|
D | rtc-tx4939.c | 74 unsigned long sec; in tx4939_rtc_read_time() local 89 sec = (buf[5] << 24) | (buf[4] << 16) | (buf[3] << 8) | buf[2]; in tx4939_rtc_read_time() 90 rtc_time_to_tm(sec, tm); in tx4939_rtc_read_time() 99 unsigned long sec; in tx4939_rtc_set_alarm() local 109 rtc_tm_to_time(&alrm->time, &sec); in tx4939_rtc_set_alarm() 112 buf[2] = sec; in tx4939_rtc_set_alarm() 113 buf[3] = sec >> 8; in tx4939_rtc_set_alarm() 114 buf[4] = sec >> 16; in tx4939_rtc_set_alarm() 115 buf[5] = sec >> 24; in tx4939_rtc_set_alarm() 131 unsigned long sec; in tx4939_rtc_read_alarm() local [all …]
|
D | rtc-m48t35.c | 30 u8 sec; member 64 tm->tm_sec = readb(&priv->reg->sec); in m48t35_read_time() 95 unsigned char mon, day, hrs, min, sec; in m48t35_set_time() local 104 sec = tm->tm_sec; in m48t35_set_time() 119 sec = bin2bcd(sec); in m48t35_set_time() 134 writeb(sec, &priv->reg->sec); in m48t35_set_time()
|
D | rtc-ds1286.c | 222 unsigned char mon, day, hrs, min, sec; in ds1286_set_time() local 232 sec = tm->tm_sec; in ds1286_set_time() 244 sec = bin2bcd(sec); in ds1286_set_time() 260 ds1286_rtc_write(priv, sec, RTC_SECONDS); in ds1286_set_time() 293 unsigned char hrs, min, sec; in ds1286_set_alarm() local 297 sec = alm->time.tm_sec; in ds1286_set_alarm() 305 if (sec != 0) in ds1286_set_alarm()
|
D | rtc-mxc.c | 114 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; in get_alarm_or_time() local 120 sec = readw(ioaddr + RTC_SECOND); in get_alarm_or_time() 125 sec = readw(ioaddr + RTC_ALRM_SEC); in get_alarm_or_time() 132 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; in get_alarm_or_time() 140 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local 153 sec = tod - min * 60; in set_alarm_or_time() 160 writew(sec, ioaddr + RTC_SECOND); in set_alarm_or_time() 165 writew(sec, ioaddr + RTC_ALRM_SEC); in set_alarm_or_time()
|
D | rtc-bq4802.c | 96 u8 sec, min, hrs, day, mon, yrs, century, val; in bq4802_set_time() local 108 sec = tm->tm_sec; in bq4802_set_time() 110 sec = bin2bcd(sec); in bq4802_set_time() 123 p->write(p, 0x00, sec); in bq4802_set_time()
|
D | rtc-ds1742.c | 161 unsigned int cen, sec; in ds1742_rtc_probe() local 188 sec = readb(ioaddr + RTC_SECONDS); in ds1742_rtc_probe() 189 if (sec & RTC_STOP) { in ds1742_rtc_probe() 190 sec &= RTC_SECONDS_MASK; in ds1742_rtc_probe() 193 writeb(sec, ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
|
D | rtc-mrst.c | 115 unsigned char mon, day, hrs, min, sec; in mrst_set_time() local 123 sec = time->tm_sec; in mrst_set_time() 136 vrtc_cmos_write(sec, RTC_SECONDS); in mrst_set_time() 219 unsigned char hrs, min, sec; in mrst_set_alarm() local 227 sec = t->time.tm_sec; in mrst_set_alarm() 236 vrtc_cmos_write(sec, RTC_SECONDS_ALARM); in mrst_set_alarm()
|
D | rtc-ds1511.c | 187 u8 mon, day, dow, hrs, min, sec, yrs, cen; in ds1511_rtc_set_time() local 206 sec = rtc_tm->tm_sec; in ds1511_rtc_set_time() 214 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in ds1511_rtc_set_time() 220 sec = bin2bcd(sec) & 0x7f; in ds1511_rtc_set_time() 236 rtc_write(sec, RTC_SEC); in ds1511_rtc_set_time()
|
D | rtc-vr41xx.c | 111 static inline void write_elapsed_second(unsigned long sec) in write_elapsed_second() argument 115 rtc1_write(ETIMELREG, (uint16_t)(sec << 15)); in write_elapsed_second() 116 rtc1_write(ETIMEMREG, (uint16_t)(sec >> 1)); in write_elapsed_second() 117 rtc1_write(ETIMEHREG, (uint16_t)(sec >> 17)); in write_elapsed_second()
|
D | rtc-ds1216.c | 18 u8 sec; member 88 tm->tm_sec = bcd2bin(regs.sec); in ds1216_rtc_read_time() 117 regs.sec = bin2bcd(tm->tm_sec); in ds1216_rtc_set_time()
|
D | rtc-ds1553.c | 281 unsigned int cen, sec; in ds1553_rtc_probe() local 298 sec = readb(ioaddr + RTC_SECONDS); in ds1553_rtc_probe() 299 if (sec & RTC_STOP) { in ds1553_rtc_probe() 300 sec &= RTC_SECONDS_MASK; in ds1553_rtc_probe() 303 writeb(sec, ioaddr + RTC_SECONDS); in ds1553_rtc_probe()
|
D | rtc-m48t59.c | 211 u8 mday, hour, min, sec; in m48t59_rtc_setalarm() local 241 sec = tm->tm_sec; in m48t59_rtc_setalarm() 242 sec = (sec < 60) ? bin2bcd(sec) : 0x00; in m48t59_rtc_setalarm() 251 M48T59_WRITE(sec, M48T59_ALARM_SEC); in m48t59_rtc_setalarm()
|
D | rtc-cmos.c | 117 hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec) in hpet_set_alarm_time() argument 332 unsigned char mon, mday, hrs, min, sec, rtc_control; in cmos_set_alarm() local 341 sec = t->time.tm_sec; in cmos_set_alarm() 350 sec = (sec < 60) ? bin2bcd(sec) : 0xff; in cmos_set_alarm() 361 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in cmos_set_alarm()
|
D | rtc-bfin.c | 88 u32 sec = (now % 60); in rtc_time_to_bfin() local 92 return (sec << SEC_BITS_OFF) + in rtc_time_to_bfin()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 308 struct rtllib_security sec = { in rtllib_wx_set_encode() local 351 sec.enabled = 0; in rtllib_wx_set_encode() 352 sec.level = SEC_LEVEL_0; in rtllib_wx_set_encode() 353 sec.flags |= SEC_ENABLED | SEC_LEVEL; in rtllib_wx_set_encode() 361 sec.enabled = 1; in rtllib_wx_set_encode() 362 sec.flags |= SEC_ENABLED; in rtllib_wx_set_encode() 404 memcpy(sec.keys[key], keybuf, erq->length); in rtllib_wx_set_encode() 406 memset(sec.keys[key] + erq->length, 0, in rtllib_wx_set_encode() 409 key, escape_essid(sec.keys[key], len), in rtllib_wx_set_encode() 411 sec.key_sizes[key] = len; in rtllib_wx_set_encode() [all …]
|
D | rtllib_softmac.c | 3257 struct rtllib_security sec = { in rtllib_wpa_set_auth_algs() local 3262 sec.auth_mode = WLAN_AUTH_SHARED_KEY; in rtllib_wpa_set_auth_algs() 3266 sec.auth_mode = WLAN_AUTH_OPEN; in rtllib_wpa_set_auth_algs() 3270 sec.auth_mode = WLAN_AUTH_LEAP >> 6; in rtllib_wpa_set_auth_algs() 3277 ieee->set_security(ieee->dev, &sec); in rtllib_wpa_set_auth_algs() 3309 struct rtllib_security sec = { in rtllib_wpa_set_param() local 3318 sec.flags |= SEC_LEVEL; in rtllib_wpa_set_param() 3319 sec.level = SEC_LEVEL_0; in rtllib_wpa_set_param() 3321 sec.flags |= SEC_LEVEL; in rtllib_wpa_set_param() 3322 sec.level = SEC_LEVEL_1; in rtllib_wpa_set_param() [all …]
|
/linux-4.1.27/tools/perf/scripts/python/ |
D | netdev-times.py | 227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 230 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 233 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 236 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 239 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 242 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec) 245 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument 247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 251 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument 252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, irq, ret) [all …]
|
D | net_dropmonitor.py | 69 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | cam.c | 33 rtlpriv->sec.use_defaultkey = false; in rtl_cam_reset_sec_info() 34 rtlpriv->sec.pairwise_enc_algorithm = NO_ENCRYPTION; in rtl_cam_reset_sec_info() 35 rtlpriv->sec.group_enc_algorithm = NO_ENCRYPTION; in rtl_cam_reset_sec_info() 36 memset(rtlpriv->sec.key_buf, 0, KEY_BUF_SIZE * MAX_KEY_LEN); in rtl_cam_reset_sec_info() 37 memset(rtlpriv->sec.key_len, 0, KEY_BUF_SIZE); in rtl_cam_reset_sec_info() 38 rtlpriv->sec.pairwise_key = NULL; in rtl_cam_reset_sec_info() 193 switch (rtlpriv->sec.pairwise_enc_algorithm) { in rtl_cam_mark_invalid() 235 switch (rtlpriv->sec.pairwise_enc_algorithm) { in rtl_cam_empty_entry() 283 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() 294 addr = rtlpriv->sec.hwsec_cam_sta_addr[i]; in rtl_cam_get_free_entry() [all …]
|
D | core.c | 1496 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl_op_set_key() 1510 rtlpriv->sec.being_setkey = true; in rtl_op_set_key() 1550 rtlpriv->sec.use_defaultkey = true; in rtl_op_set_key() 1579 rtlpriv->sec.pairwise_enc_algorithm == NO_ENCRYPTION) { in rtl_op_set_key() 1580 if (rtlpriv->sec.pairwise_enc_algorithm == in rtl_op_set_key() 1585 rtlpriv->sec.pairwise_enc_algorithm = key_type; in rtl_op_set_key() 1599 rtlpriv->sec.pairwise_enc_algorithm = key_type; in rtl_op_set_key() 1600 rtlpriv->sec.group_enc_algorithm = key_type; in rtl_op_set_key() 1602 memcpy(rtlpriv->sec.key_buf[key_idx], in rtl_op_set_key() 1604 rtlpriv->sec.key_len[key_idx] = key->keylen; in rtl_op_set_key() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_sec.h | 545 void (*destroy_sec) (struct ptlrpc_sec *sec); 554 void (*kill_sec) (struct ptlrpc_sec *sec); 564 struct ptlrpc_cli_ctx * (*lookup_ctx) (struct ptlrpc_sec *sec, 579 void (*release_ctx) (struct ptlrpc_sec *sec, 594 (struct ptlrpc_sec *sec, 605 void (*gc_ctx) (struct ptlrpc_sec *sec); 614 struct ptlrpc_sec *sec, 628 int (*alloc_reqbuf)(struct ptlrpc_sec *sec, 639 void (*free_reqbuf) (struct ptlrpc_sec *sec, 652 int (*alloc_repbuf)(struct ptlrpc_sec *sec, [all …]
|
/linux-4.1.27/include/linux/ |
D | export.h | 45 #define __CRC_SYMBOL(sym, sec) \ argument 49 __attribute__((section("___kcrctab" sec "+" #sym), unused)) \ 52 #define __CRC_SYMBOL(sym, sec) argument 56 #define __EXPORT_SYMBOL(sym, sec) \ argument 58 __CRC_SYMBOL(sym, sec) \ 65 __attribute__((section("___ksymtab" sec "+" #sym), unused)) \
|
D | percpu-defs.h | 48 #define __PCPU_ATTRS(sec) \ argument 49 __percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \ 85 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ argument 87 extern __PCPU_ATTRS(sec) __typeof__(type) name 89 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ argument 93 extern __PCPU_ATTRS(sec) __typeof__(type) name; \ 94 __PCPU_ATTRS(sec) PER_CPU_DEF_ATTRIBUTES __weak \ 100 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ argument 101 extern __PCPU_ATTRS(sec) __typeof__(type) name 103 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ argument [all …]
|
D | time.h | 44 const unsigned int min, const unsigned int sec); 52 const unsigned int sec) in mktime() argument 54 return mktime64(year, mon, day, hour, min, sec); in mktime() 57 extern void set_normalized_timespec(struct timespec *ts, time_t sec, s64 nsec);
|
D | dio.h | 142 #define DIO_ENCODE_ID(pr,sec) ((((int)sec & 0xff) << 8) | ((int)pr & 0xff)) argument
|
D | mmzone.h | 1075 #define section_nr_to_pfn(sec) ((sec) << PFN_SECTION_SHIFT) argument 1119 #define SECTION_NR_TO_ROOT(sec) ((sec) / SECTIONS_PER_ROOT) argument
|
D | pps_kernel.h | 110 kt->sec = ts.tv_sec; in timespec_to_pps_ktime()
|
D | poll.h | 162 extern int poll_select_set_timeout(struct timespec *to, long sec, long nsec);
|
D | time64.h | 98 extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
|
/linux-4.1.27/arch/mips/include/asm/ |
D | mc146818-time.h | 91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local 97 sec = CMOS_READ(RTC_SECONDS); in mc146818_get_cmos_time() 103 } while (sec != CMOS_READ(RTC_SECONDS)); in mc146818_get_cmos_time() 106 sec = bcd2bin(sec); in mc146818_get_cmos_time() 116 return mktime(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
|
D | m48t37.h | 22 volatile u8 sec; member
|
/linux-4.1.27/arch/frv/kernel/ |
D | time.c | 90 unsigned int year, mon, day, hour, min, sec; in read_persistent_clock() local 92 extern void arch_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); in read_persistent_clock() 99 hour = min = sec = 0; in read_persistent_clock() 100 arch_gettod (&year, &mon, &day, &hour, &min, &sec); in read_persistent_clock() 104 ts->tv_sec = mktime(year, mon, day, hour, min, sec); in read_persistent_clock()
|
/linux-4.1.27/arch/mips/dec/ |
D | time.c | 23 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock() local 29 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock() 41 } while (sec != CMOS_READ(RTC_SECONDS)); in read_persistent_clock() 46 sec = bcd2bin(sec); in read_persistent_clock() 56 ts->tv_sec = mktime(year, mon, day, hour, min, sec); in read_persistent_clock()
|
/linux-4.1.27/kernel/time/ |
D | time.c | 326 const unsigned int min, const unsigned int sec) in mktime64() argument 341 )*60 + sec; /* finally seconds */ in mktime64() 359 void set_normalized_timespec(struct timespec *ts, time_t sec, s64 nsec) in set_normalized_timespec() argument 369 ++sec; in set_normalized_timespec() 374 --sec; in set_normalized_timespec() 376 ts->tv_sec = sec; in set_normalized_timespec() 439 void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec) in set_normalized_timespec64() argument 449 ++sec; in set_normalized_timespec64() 454 --sec; in set_normalized_timespec64() 456 ts->tv_sec = sec; in set_normalized_timespec64() [all …]
|
D | ntp.c | 724 __kernel_time_t sec; /* seconds */ member 733 .sec = ts.tv_sec, in pps_normalize_ts() 739 norm.sec++; in pps_normalize_ts() 807 if (freq_norm.sec > (2 << pps_shift)) { in hardpps_update_freq() 813 freq_norm.sec); in hardpps_update_freq() 822 freq_norm.sec); in hardpps_update_freq() 924 if ((freq_norm.sec == 0) || in __hardpps() 925 (freq_norm.nsec > MAXFREQ * freq_norm.sec) || in __hardpps() 926 (freq_norm.nsec < -MAXFREQ * freq_norm.sec)) { in __hardpps() 937 if (freq_norm.sec >= (1 << pps_shift)) { in __hardpps()
|
D | clocksource.c | 662 u64 sec; in __clocksource_update_freq_scale() local 678 sec = cs->mask; in __clocksource_update_freq_scale() 679 do_div(sec, freq); in __clocksource_update_freq_scale() 680 do_div(sec, scale); in __clocksource_update_freq_scale() 681 if (!sec) in __clocksource_update_freq_scale() 682 sec = 1; in __clocksource_update_freq_scale() 683 else if (sec > 600 && cs->mask > UINT_MAX) in __clocksource_update_freq_scale() 684 sec = 600; in __clocksource_update_freq_scale() 687 NSEC_PER_SEC / scale, sec * scale); in __clocksource_update_freq_scale()
|
D | clockevents.c | 502 u64 sec; in clockevents_config() local 512 sec = dev->max_delta_ticks; in clockevents_config() 513 do_div(sec, freq); in clockevents_config() 514 if (!sec) in clockevents_config() 515 sec = 1; in clockevents_config() 516 else if (sec > 600 && dev->max_delta_ticks > UINT_MAX) in clockevents_config() 517 sec = 600; in clockevents_config() 519 clockevents_calc_mult_shift(dev, freq, sec); in clockevents_config()
|
/linux-4.1.27/Documentation/devicetree/bindings/watchdog/ |
D | atmel-wdt.txt | 11 - timeout-sec: contains the watchdog timeout in seconds. 13 - atmel,max-heartbeat-sec : Should contain the maximum heartbeat value in 16 - atmel,min-heartbeat-sec : Should contain the minimum heartbeat value in 17 seconds. This value must be smaller than the max-heartbeat-sec value. 42 timeout-sec = <15>; 47 atmel,max-heartbeat-sec = <16>; 48 atmel,min-heartbeat-sec = <0>;
|
D | brcm,bcm2835-pm-wdog.txt | 10 - timeout-sec : Contains the watchdog timeout in seconds 17 timeout-sec = <10>;
|
D | pnx4008-wdt.txt | 9 - timeout-sec: contains the watchdog timeout in seconds. 16 timeout-sec = <10>;
|
D | stericsson-coh901327.txt | 10 - timeout-sec: contains the watchdog timeout in seconds. 18 timeout-sec = <60>;
|
D | cadence-wdt.txt | 13 - timeout-sec : Watchdog timeout value (in seconds). 23 timeout-sec = <10>;
|
D | qcom-wdt.txt | 15 - timeout-sec : shall contain the default watchdog timeout in seconds, 23 timeout-sec = <10>;
|
D | davinci-wdt.txt | 8 - timeout-sec : Contains the watchdog timeout in seconds 22 timeout-sec = <30>;
|
D | marvel.txt | 35 - timeout-sec : Contains the watchdog timeout in seconds 43 timeout-sec = <10>;
|
D | samsung-wdt.txt | 23 - timeout-sec : contains the watchdog timeout in seconds.
|
/linux-4.1.27/arch/sh/boards/mach-sh03/ |
D | rtc.c | 42 unsigned int year, mon, day, hour, min, sec; in get_cmos_time() local 47 sec = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10; in get_cmos_time() 55 } while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10); in get_cmos_time() 57 hour > 23 || min > 59 || sec > 59) { in get_cmos_time() 61 year, mon, day, hour, min, sec); in get_cmos_time() 77 return mktime(year, mon, day, hour, min, sec); in get_cmos_time()
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
D | time.c | 131 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local 134 sec = chrp_cmos_clock_read(RTC_SECONDS); in chrp_get_rtc_time() 140 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); in chrp_get_rtc_time() 143 sec = bcd2bin(sec); in chrp_get_rtc_time() 152 tm->tm_sec = sec; in chrp_get_rtc_time()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
D | iwl-drv.c | 168 iwl_free_fw_desc(drv, &img->sec[i]); in iwl_free_fw_img() 186 struct fw_sec *sec) in iwl_alloc_fw_desc() argument 192 if (!sec || !sec->size) in iwl_alloc_fw_desc() 195 data = vmalloc(sec->size); in iwl_alloc_fw_desc() 199 desc->len = sec->size; in iwl_alloc_fw_desc() 200 desc->offset = sec->offset; in iwl_alloc_fw_desc() 201 memcpy(data, sec->data, desc->len); in iwl_alloc_fw_desc() 261 struct fw_sec sec[IWL_UCODE_SECTION_MAX]; member 304 int sec) in get_sec() argument 306 return &pieces->img[type].sec[sec]; in get_sec() [all …]
|
D | iwl-fw.h | 120 struct fw_desc sec[IWL_UCODE_SECTION_MAX]; member
|
/linux-4.1.27/arch/m68k/atari/ |
D | time.c | 168 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local 179 sec = t->tm_sec; in atari_tt_hwclk() 198 sec = bin2bcd(sec); in atari_tt_hwclk() 231 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk() 240 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk() 260 sec = bcd2bin(sec); in atari_tt_hwclk() 276 t->tm_sec = sec; in atari_tt_hwclk()
|
/linux-4.1.27/arch/x86/kernel/ |
D | rtc.c | 64 unsigned int status, year, mon, day, hour, min, sec, century = 0; in mach_get_cmos_time() local 78 sec = CMOS_READ(RTC_SECONDS); in mach_get_cmos_time() 97 sec = bcd2bin(sec); in mach_get_cmos_time() 111 now->tv_sec = mktime(year, mon, day, hour, min, sec); in mach_get_cmos_time()
|
D | pvclock.c | 130 now.tv_sec = wall_clock->sec; in pvclock_read_wallclock()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_hwtstamp.c | 54 static int stmmac_init_systime(void __iomem *ioaddr, u32 sec, u32 nsec) in stmmac_init_systime() argument 59 writel(sec, ioaddr + PTP_STSUR); in stmmac_init_systime() 103 static int stmmac_adjust_systime(void __iomem *ioaddr, u32 sec, u32 nsec, in stmmac_adjust_systime() argument 109 writel(sec, ioaddr + PTP_STSUR); in stmmac_adjust_systime()
|
D | stmmac_ptp.c | 77 u32 sec, nsec; in stmmac_adjust_time() local 87 sec = quotient; in stmmac_adjust_time() 92 priv->hw->ptp->adjust_systime(priv->ioaddr, sec, nsec, neg_adj); in stmmac_adjust_time()
|
D | common.h | 417 int (*init_systime) (void __iomem *ioaddr, u32 sec, u32 nsec); 419 int (*adjust_systime) (void __iomem *ioaddr, u32 sec, u32 nsec,
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
D | time.c | 86 int sec, min, hour, mon, mday, year; in maple_set_rtc_time() local 98 sec = tm->tm_sec; in maple_set_rtc_time() 106 sec = bin2bcd(sec); in maple_set_rtc_time() 113 maple_clock_write(sec, RTC_SECONDS); in maple_set_rtc_time()
|
/linux-4.1.27/include/asm-generic/ |
D | rtc.h | 119 unsigned char mon, day, hrs, min, sec; in __set_rtc_time() local 131 sec = time->tm_sec; in __set_rtc_time() 166 sec = bin2bcd(sec); in __set_rtc_time() 187 CMOS_WRITE(sec, RTC_SECONDS); in __set_rtc_time()
|
D | vmlinux.lds.h | 74 #define CPU_KEEP(sec) *(.cpu##sec) argument 75 #define CPU_DISCARD(sec) argument 77 #define CPU_KEEP(sec) argument 78 #define CPU_DISCARD(sec) *(.cpu##sec) argument 82 #define MEM_KEEP(sec) *(.mem##sec) argument 83 #define MEM_DISCARD(sec) argument 85 #define MEM_KEEP(sec) argument 86 #define MEM_DISCARD(sec) *(.mem##sec) argument
|
D | cputime_jiffies.h | 44 #define secs_to_cputime(sec) jiffies_to_cputime((sec) * HZ) argument
|
/linux-4.1.27/drivers/char/ |
D | ds1302.c | 178 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 192 sec = rtc_tm.tm_sec; in rtc_ioctl() 206 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl() 214 sec = bin2bcd(sec); in rtc_ioctl() 228 CMOS_WRITE(sec, RTC_SECONDS); in rtc_ioctl()
|
D | rtc.c | 110 #define hpet_set_alarm_time(hrs, min, sec) 0 argument 498 unsigned char hrs, min, sec; in rtc_do_ioctl() local 507 sec = alm_tm.tm_sec; in rtc_do_ioctl() 510 if (hpet_set_alarm_time(hrs, min, sec)) { in rtc_do_ioctl() 518 if (sec < 60) in rtc_do_ioctl() 519 sec = bin2bcd(sec); in rtc_do_ioctl() 521 sec = 0xff; in rtc_do_ioctl() 535 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in rtc_do_ioctl() 549 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_do_ioctl() local 568 sec = rtc_tm.tm_sec; in rtc_do_ioctl() [all …]
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-bench.txt | 33 Total time:5.855 sec 35 170792 ops/sec 96 Total time:0.308 sec 102 Total time:0.582 sec 122 Total time:8.091 sec 124 123581 ops/sec 129 Total time:0.016 sec 131 59004 ops/sec
|
D | perf-stat.txt | 165 678 context switches # 0.000 M/sec 166 133 CPU migrations # 0.000 M/sec 167 235724 pagefaults # 0.029 M/sec 168 24821162526 CPU cycles # 3057.784 M/sec 169 18687303457 instructions # 2302.138 M/sec 170 172158895 cache references # 21.209 M/sec 171 27075259 cache misses # 3.335 M/sec
|
/linux-4.1.27/drivers/pps/ |
D | kapi.c | 46 ts->sec++; in pps_add_offset() 50 ts->sec--; in pps_add_offset() 52 ts->sec += offset->sec; in pps_add_offset() 177 struct pps_ktime ts_real = { .sec = 0, .nsec = 0, .flags = 0 }; in pps_event()
|
D | sysfs.c | 41 (long long) pps->assert_tu.sec, pps->assert_tu.nsec, in assert_show() 55 (long long) pps->clear_tu.sec, pps->clear_tu.nsec, in clear_show()
|
D | pps.c | 165 (long long) fdata.timeout.sec, in pps_cdev_ioctl() 167 ticks = fdata.timeout.sec * HZ; in pps_cdev_ioctl()
|
/linux-4.1.27/tools/perf/util/ |
D | symbol-elf.c | 155 Elf_Scn *sec = NULL; in elf_addr_to_index() local 159 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_addr_to_index() 160 gelf_getshdr(sec, &shdr); in elf_addr_to_index() 175 Elf_Scn *sec = NULL; in elf_section_by_name() local 182 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_section_by_name() 185 gelf_getshdr(sec, shp); in elf_section_by_name() 190 return sec; in elf_section_by_name() 355 Elf_Scn *sec; in elf_read_build_id() local 378 sec = elf_section_by_name(elf, &ehdr, &shdr, in elf_read_build_id() 380 if (sec) in elf_read_build_id() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/ |
D | imx-snvs-poweroff.txt | 9 -compatible: "fsl,sec-v4.0-poweroff" 14 compatible = "fsl,sec-v4.0-mon", "simple-bus"; 20 compatible = "fsl,sec-v4.0-poweroff";
|
/linux-4.1.27/fs/hfs/ |
D | hfs_fs.h | 252 #define __hfs_u_to_mtime(sec) cpu_to_be32(sec + 2082844800U - sys_tz.tz_minuteswest * 60) argument 253 #define __hfs_m_to_utime(sec) (be32_to_cpu(sec) - 2082844800U + sys_tz.tz_minuteswest * 60) argument 273 #define sb_bread512(sb, sec, data) ({ \ argument 279 __start = (loff_t)(sec) << HFS_SECTOR_SIZE_BITS;\
|
/linux-4.1.27/arch/m68k/mvme16x/ |
D | rtc.c | 68 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 84 sec = rtc_tm.tm_sec; in rtc_ioctl() 94 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl() 103 rtc->bcd_sec = bin2bcd(sec); in rtc_ioctl()
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
D | intel_mid_vrtc.c | 61 u8 sec, min, hour, mday, mon; in vrtc_get_time() local 70 sec = vrtc_cmos_read(RTC_SECONDS); in vrtc_get_time() 83 "mon: %d year: %d\n", sec, min, hour, mday, mon, year); in vrtc_get_time() 85 now->tv_sec = mktime(year, mon, mday, hour, min, sec); in vrtc_get_time()
|
/linux-4.1.27/drivers/scsi/ |
D | sr_vendor.c | 209 unsigned long min, sec, frame; in sr_cd_check() local 229 sec = bcd2bin(buffer[16]); in sr_cd_check() 231 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; in sr_cd_check() 236 unsigned long min, sec, frame; in sr_cd_check() local 257 sec = bcd2bin(buffer[2]); in sr_cd_check() 259 sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame; in sr_cd_check()
|
D | gdth_proc.c | 142 int id, i, j, k, sec, flag; in gdth_show_info() local 544 sec = (int)(tv.tv_sec - estr->first_stamp); in gdth_show_info() 545 if (sec < 0) sec = 0; in gdth_show_info() 547 sec/3600, sec%3600/60, sec%60, hrec); in gdth_show_info()
|
/linux-4.1.27/Documentation/ptp/ |
D | testptp.c | 109 return t->sec * 1000000000LL + t->nsec; in pctns() 366 event.t.sec, event.t.nsec); in main() 444 perout_request.start.sec = ts.tv_sec + 2; in main() 446 perout_request.period.sec = 0; in main() 504 (pct+2*i)->sec, (pct+2*i)->nsec); in main() 506 (pct+2*i+1)->sec, (pct+2*i+1)->nsec); in main() 508 (pct+2*i+2)->sec, (pct+2*i+2)->nsec); in main()
|
/linux-4.1.27/arch/m68k/bvme6000/ |
D | rtc.c | 73 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 89 sec = rtc_tm.tm_sec; in rtc_ioctl() 99 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl() 112 rtc->bcd_sec = bin2bcd(sec); in rtc_ioctl()
|
/linux-4.1.27/arch/arm/mach-highbank/ |
D | Makefile | 3 plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
/linux-4.1.27/arch/arm/mach-keystone/ |
D | Makefile | 3 plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | divamnt.c | 89 void diva_os_get_time(dword *sec, dword *usec) in diva_os_get_time() argument 100 *sec = (dword) (tv.tv_sec - start_time.tv_sec); in diva_os_get_time() 103 *sec = 0; in diva_os_get_time() 110 *sec = (dword) tv.tv_sec; in diva_os_get_time()
|
D | debug.c | 36 dword sec; member 376 dword sec, usec; in DI_register() local 380 diva_os_get_time(&sec, &usec); in DI_register() 429 clients[free_id].sec = sec; in DI_register() 468 pmsg->time_sec = sec; in DI_register() 487 dword sec, usec; in DI_deregister() local 492 diva_os_get_time(&sec, &usec); in DI_deregister() 540 pmsg->time_sec = sec; in DI_deregister() 578 dword sec, usec; in DI_format() local 598 diva_os_get_time(&sec, &usec); in DI_format() [all …]
|
/linux-4.1.27/Documentation/usb/ |
D | ehci.txt | 7 - "High Speed" 480 Mbit/sec (60 MByte/sec) 8 - "Full Speed" 12 Mbit/sec (1.5 MByte/sec) 9 - "Low Speed" 1.5 Mbit/sec 143 them. The 480 Mbit/sec "raw transfer rate" is obeyed by all devices, 153 So more than 50 MByte/sec is available for bulk transfers, when both 156 approach the quoted 480 MBit/sec transfer rate. 161 20 MByte/sec transfer rates. This is of course subject to change; 165 at around 28 MByte/sec aggregate transfer rate. While this is clearly 166 enough for a single device at 20 MByte/sec, putting three such devices 167 onto one bus does not get you 60 MByte/sec. The issue appears to be [all …]
|
/linux-4.1.27/arch/m32r/kernel/ |
D | time.c | 142 unsigned int epoch, year, mon, day, hour, min, sec; in read_persistent_clock() local 144 sec = min = hour = day = mon = year = 0; in read_persistent_clock() 160 ts->tv_sec = mktime(year, mon, day, hour, min, sec); in read_persistent_clock()
|
/linux-4.1.27/arch/tile/gxio/ |
D | iorpc_mpipe.c | 413 uint64_t sec; member 418 int gxio_mpipe_get_timestamp_aux(gxio_mpipe_context_t *context, uint64_t *sec, in gxio_mpipe_get_timestamp_aux() argument 428 *sec = params->sec; in gxio_mpipe_get_timestamp_aux() 438 uint64_t sec; member 443 int gxio_mpipe_set_timestamp_aux(gxio_mpipe_context_t *context, uint64_t sec, in gxio_mpipe_set_timestamp_aux() argument 449 params->sec = sec; in gxio_mpipe_set_timestamp_aux()
|
/linux-4.1.27/arch/arm/mach-bcm/ |
D | Makefile | 30 ifeq ($(call as-instr,.arch_extension sec,as_has_sec),as_has_sec) 31 CFLAGS_bcm_kona_smc.o += -Wa,-march=armv7-a+sec -DREQUIRES_SEC
|
/linux-4.1.27/arch/arm/mach-exynos/ |
D | Makefile | 20 plus_sec := $(call as-instr,.arch_extension sec,+sec)
|
/linux-4.1.27/net/ieee802154/ |
D | header_ops.c | 116 rc = ieee802154_hdr_push_sechdr(buf + pos, &hdr->sec); in ieee802154_hdr_push() 263 pos += ieee802154_hdr_get_sechdr(skb->data + pos, &hdr->sec); in ieee802154_hdr_pull() 308 pos += ieee802154_hdr_get_sechdr(buf + pos, &hdr->sec); in ieee802154_hdr_peek() 320 hlen += ieee802154_sechdr_lengths[hdr->sec.key_id_mode] - 1; in ieee802154_max_payload() 321 hlen += ieee802154_sechdr_authtag_len(&hdr->sec); in ieee802154_max_payload()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | mac.c | 261 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92c_set_key() 263 rtlpriv->sec.key_len[idx] = 0; in rtl92c_set_key() 286 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl92c_set_key() 312 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92c_set_key() 322 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]); in rtl92c_set_key() 325 rtlpriv->sec.key_buf[0][0], in rtl92c_set_key() 326 rtlpriv->sec.key_buf[0][1]); in rtl92c_set_key() 332 rtlpriv->sec.pairwise_key, in rtl92c_set_key() 333 rtlpriv->sec. in rtl92c_set_key() 341 rtlpriv->sec. in rtl92c_set_key() [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | kizbox.dts | 61 timeout-sec = <15>; 62 atmel,max-heartbeat-sec = <16>; 63 atmel,min-heartbeat-sec = <0>;
|
/linux-4.1.27/drivers/mtd/ |
D | ssfdc.c | 61 unsigned char sec; member 78 unsigned char *sec) in get_chs() argument 92 if (sec) in get_chs() 93 *sec = chs_table[k].sec; in get_chs()
|
D | sm_ftl.h | 71 unsigned char sec; member
|
/linux-4.1.27/fs/nfsd/ |
D | stats.c | 55 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; in nfsd_proc_show() local 56 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show()
|
/linux-4.1.27/net/bluetooth/ |
D | l2cap_sock.c | 499 struct bt_security sec; in l2cap_sock_getsockopt() local 525 memset(&sec, 0, sizeof(sec)); in l2cap_sock_getsockopt() 527 sec.level = chan->conn->hcon->sec_level; in l2cap_sock_getsockopt() 530 sec.key_size = chan->conn->hcon->enc_key_size; in l2cap_sock_getsockopt() 532 sec.level = chan->sec_level; in l2cap_sock_getsockopt() 535 len = min_t(unsigned int, len, sizeof(sec)); in l2cap_sock_getsockopt() 536 if (copy_to_user(optval, (char *) &sec, len)) in l2cap_sock_getsockopt() 747 struct bt_security sec; in l2cap_sock_setsockopt() local 772 sec.level = BT_SECURITY_LOW; in l2cap_sock_setsockopt() 774 len = min_t(unsigned int, sizeof(sec), optlen); in l2cap_sock_setsockopt() [all …]
|
/linux-4.1.27/drivers/net/wan/ |
D | hdlc_cisco.c | 230 u32 sec, min, hrs, days; in cisco_rx() local 231 sec = ntohl(cisco_data->time) / 1000; in cisco_rx() 232 min = sec / 60; sec -= min * 60; in cisco_rx() 236 days, hrs, min, sec); in cisco_rx()
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
D | sock.c | 687 struct bt_security sec; in rfcomm_sock_setsockopt() local 709 sec.level = BT_SECURITY_LOW; in rfcomm_sock_setsockopt() 711 len = min_t(unsigned int, sizeof(sec), optlen); in rfcomm_sock_setsockopt() 712 if (copy_from_user((char *) &sec, optval, len)) { in rfcomm_sock_setsockopt() 717 if (sec.level > BT_SECURITY_HIGH) { in rfcomm_sock_setsockopt() 722 rfcomm_pi(sk)->sec_level = sec.level; in rfcomm_sock_setsockopt() 830 struct bt_security sec; in rfcomm_sock_getsockopt() local 853 sec.level = rfcomm_pi(sk)->sec_level; in rfcomm_sock_getsockopt() 854 sec.key_size = 0; in rfcomm_sock_getsockopt() 856 len = min_t(unsigned int, len, sizeof(sec)); in rfcomm_sock_getsockopt() [all …]
|
/linux-4.1.27/arch/m68k/sun3x/ |
D | time.c | 49 h->sec = bin2bcd(t->tm_sec); in sun3x_hwclk() 59 t->tm_sec = bcd2bin(h->sec); in sun3x_hwclk()
|
D | time.h | 10 volatile unsigned char sec; member
|
/linux-4.1.27/drivers/atm/ |
D | horizon.h | 89 #define PRINTDD(sec,fmt,args...) argument 90 #define PRINTDDB(sec,fmt,args...) argument 91 #define PRINTDDM(sec,fmt,args...) argument 92 #define PRINTDDE(sec,fmt,args...) argument
|
D | ambassador.h | 89 #define PRINTDDB(sec,fmt,args...) argument 90 #define PRINTDDM(sec,fmt,args...) argument 91 #define PRINTDDE(sec,fmt,args...) argument
|
/linux-4.1.27/arch/m68k/emu/ |
D | nfblock.c | 68 sector_t sec = bio->bi_iter.bi_sector; in nfhd_make_request() local 75 nfhd_read_write(dev->id, 0, dir, sec >> shift, len >> shift, in nfhd_make_request() 77 sec += len; in nfhd_make_request()
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_chardev.c | 171 enable = req.perout.period.sec || req.perout.period.nsec; in ptp_ioctl() 201 pct->sec = ts.tv_sec; in ptp_ioctl() 205 pct->sec = ts.tv_sec; in ptp_ioctl() 210 pct->sec = ts.tv_sec; in ptp_ioctl()
|
D | ptp_sysfs.c | 122 event.index, event.t.sec, event.t.nsec); in extts_fifo_show() 138 &req.perout.start.sec, &req.perout.start.nsec, in period_store() 139 &req.perout.period.sec, &req.perout.period.nsec); in period_store() 145 enable = req.perout.period.sec || req.perout.period.nsec; in period_store()
|
/linux-4.1.27/Documentation/ |
D | static-keys.txt | 254 200,003 context-switches # 0.234 M/sec ( +- 0.00% ) 255 0 CPU-migrations # 0.000 M/sec ( +- 39.58% ) 256 487 page-faults # 0.001 M/sec ( +- 0.02% ) 261 208,368,926 branches # 243.507 M/sec ( +- 0.06% ) 271 200,004 context-switches # 0.238 M/sec ( +- 0.00% ) 272 0 CPU-migrations # 0.000 M/sec ( +- 40.87% ) 273 487 page-faults # 0.001 M/sec ( +- 0.05% ) 278 206,859,359 branches # 245.956 M/sec ( +- 0.04% )
|
/linux-4.1.27/arch/um/os-Linux/ |
D | time.c | 30 unsigned long sec = usec / UM_USEC_PER_SEC; in timer_one_shot() local 34 interval = ((struct itimerval) { { 0, 0 }, { sec, usec } }); in timer_one_shot()
|
/linux-4.1.27/drivers/net/phy/ |
D | dp83640.c | 276 u32 sec; in phy2rxts() local 278 sec = p->sec_lo; in phy2rxts() 279 sec |= p->sec_hi << 16; in phy2rxts() 283 rxts->ns += ((u64)sec) * 1000000000ULL; in phy2rxts() 293 u32 sec; in phy2txts() local 295 sec = p->sec_lo; in phy2txts() 296 sec |= p->sec_hi << 16; in phy2txts() 300 ns += ((u64)sec) * 1000000000ULL; in phy2txts() 311 u32 sec, nsec, pwidth; in periodic_output() local 340 sec = clkreq->perout.start.sec; in periodic_output() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/sec/ |
D | Kbuild | 1 nvkm-y += nvkm/engine/sec/g98.o
|
/linux-4.1.27/drivers/net/hippi/ |
D | Kconfig | 9 HIgh Performance Parallel Interface (HIPPI) is a 800Mbit/sec and 10 1600Mbit/sec dual-simplex switched or point-to-point network. HIPPI
|
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/ |
D | renesas-memory-controllers.txt | 30 - "sec" (secure interrupt) 42 interrupt-names = "sec", "temp";
|
/linux-4.1.27/arch/tile/include/gxio/ |
D | iorpc_mpipe.h | 123 int gxio_mpipe_get_timestamp_aux(gxio_mpipe_context_t *context, uint64_t *sec, 126 int gxio_mpipe_set_timestamp_aux(gxio_mpipe_context_t *context, uint64_t sec,
|
/linux-4.1.27/arch/ia64/kernel/ |
D | mca_drv.h | 108 #define slidx_count(slidx, sec) \ argument 111 slidx_foreach_entry(__pos, &((slidx)->sec)) { __count++; }\
|
/linux-4.1.27/fs/isofs/ |
D | inode.c | 576 struct iso_supplementary_descriptor *sec = NULL; in isofs_fill_super() local 644 sec = (struct iso_supplementary_descriptor *)vdp; in isofs_fill_super() 645 if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) { in isofs_fill_super() 647 if (sec->escape[2] == 0x40) in isofs_fill_super() 649 else if (sec->escape[2] == 0x43) in isofs_fill_super() 651 else if (sec->escape[2] == 0x45) in isofs_fill_super() 661 sec = NULL; in isofs_fill_super() 698 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super() 769 pri = (struct iso_primary_descriptor *) sec; in isofs_fill_super()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 50 static void start_int_poll_timer(struct controller *ctrl, int sec); 68 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer() argument 71 if ((sec <= 0) || (sec > 60)) in start_int_poll_timer() 72 sec = 2; in start_int_poll_timer() 76 ctrl->poll_timer.expires = jiffies + sec * HZ; in start_int_poll_timer()
|
D | shpchp_hpc.c | 183 static void start_int_poll_timer(struct controller *ctrl, int sec); 249 static void start_int_poll_timer(struct controller *ctrl, int sec) in start_int_poll_timer() argument 252 if ((sec <= 0) || (sec > 60)) in start_int_poll_timer() 253 sec = 2; in start_int_poll_timer() 257 ctrl->poll_timer.expires = jiffies + sec * HZ; in start_int_poll_timer()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | pvclock-abi.h | 38 u32 sec; member
|
D | hpet.h | 100 unsigned char sec);
|
/linux-4.1.27/drivers/block/ |
D | amiflop.c | 868 sec, /* 0-...*/ member 1063 hdr.sec, hdr.len_desc, hdr.crc); in dos_read() 1096 unit[drive].track, drive, scnt, hdr.sec); in dos_read() 1106 hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); in dos_read() 1111 …raw = dos_decode((unsigned char *)(unit[drive].trackbuf + (hdr.sec - 1) * 512), (ushort *) raw, 51… in dos_read() 1113 crc = dos_data_crc(unit[drive].trackbuf + (hdr.sec - 1) * 512); in dos_read() 1118 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read() 1120 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[0], in dos_read() 1121 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[1], in dos_read() 1122 ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[2], in dos_read() [all …]
|
D | hd.c | 581 unsigned int block, nsect, sec, track, head, cyl; in hd_request() local 619 sec = block % disk->sect + 1; in hd_request() 627 cyl, head, sec, nsect, bio_data(req->bio)); in hd_request() 632 hd_out(disk, nsect, sec, head, cyl, ATA_CMD_PIO_READ, in hd_request() 638 hd_out(disk, nsect, sec, head, cyl, ATA_CMD_PIO_WRITE, in hd_request()
|
/linux-4.1.27/crypto/asymmetric_keys/ |
D | x509_cert_parser.c | 502 unsigned year, mon, day, hour, min, sec, mon_len; in x509_decode_time() local 531 sec = DD2bin(p); in x509_decode_time() 553 sec < 0 || sec > 59) in x509_decode_time() 556 *_t = mktime64(year, mon, day, hour, min, sec); in x509_decode_time()
|
D | verify_pefile.c | 35 const struct section_header *secs, *sec; in pefile_parse_binary() local 115 if (ctx->n_sections > (ctx->header_size - cursor) / sizeof(*sec)) in pefile_parse_binary()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gm204.c | 31 pmu_code(struct nv50_devinit_priv *priv, u32 pmu, u32 img, u32 len, bool sec) in pmu_code() argument 36 nv_wr32(priv, 0x10a180, 0x01000000 | (sec ? 0x10000000 : 0) | pmu); in pmu_code()
|
/linux-4.1.27/arch/mips/kernel/ |
D | time.c | 37 int __weak rtc_mips_set_time(unsigned long sec) in rtc_mips_set_time() argument
|
/linux-4.1.27/include/net/ |
D | ieee802154_netdev.h | 94 struct ieee802154_sechdr sec; member 125 ieee802154_sechdr_authtag_len(const struct ieee802154_sechdr *sec) in ieee802154_sechdr_authtag_len() argument 127 switch (sec->level) { in ieee802154_sechdr_authtag_len()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | acceptor.c | 427 accept2secure(const char *acc, long *sec) in accept2secure() argument 430 *sec = 1; in accept2secure() 433 *sec = 0; in accept2secure()
|
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/4xx/ |
D | emac.txt | 33 - rx-fifo-size : 1 cell, Rx fifo size in bytes for 10 and 100 Mb/sec 36 - tx-fifo-size : 1 cell, Tx fifo size in bytes for 10 and 100 Mb/sec 74 - rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec 77 - tx-fifo-size-gige : 1 cell, Tx fifo size in bytes for 1000 Mb/sec
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | hw.c | 883 rtlpriv->sec.pairwise_enc_algorithm, in rtl92de_enable_hw_security_config() 884 rtlpriv->sec.group_enc_algorithm); in rtl92de_enable_hw_security_config() 885 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl92de_enable_hw_security_config() 891 if (rtlpriv->sec.use_defaultkey) { in rtl92de_enable_hw_security_config() 2193 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92de_set_key() 2195 rtlpriv->sec.key_len[idx] = 0; in rtl92de_set_key() 2218 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl92de_set_key() 2242 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92de_set_key() 2252 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]); in rtl92de_set_key() 2255 rtlpriv->sec.key_buf[0][0], in rtl92de_set_key() [all …]
|
/linux-4.1.27/drivers/firmware/ |
D | Makefile | 15 CFLAGS_qcom_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1)
|
/linux-4.1.27/drivers/input/misc/ |
D | hp_sdc_rtc.c | 599 ttime.sec = alm_tm.tm_hour * 3600 + in hp_sdc_rtc_ioctl() 613 unsigned char mon, day, hrs, min, sec, leap_yr; in hp_sdc_rtc_ioctl() 627 sec = hp_sdc_rtc_tm.tm_sec; in hp_sdc_rtc_ioctl() 638 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in hp_sdc_rtc_ioctl()
|
/linux-4.1.27/include/uapi/linux/ |
D | pps.h | 54 __s64 sec; member
|
D | ptp_clock.h | 42 __s64 sec; /* seconds */ member
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ptp.c | 345 if (t->sec > 4 || t->sec < 0) in fm10k_ptp_enable() 356 period = t->sec * 1000000000LL + t->nsec; in fm10k_ptp_enable()
|
/linux-4.1.27/fs/cifs/ |
D | netmisc.c | 965 int sec, min, days, month, year; in cnvrtDosUnixTm() local 973 sec = 2 * st->TwoSeconds; in cnvrtDosUnixTm() 975 if ((sec > 59) || (min > 59)) in cnvrtDosUnixTm() 976 cifs_dbg(VFS, "illegal time min %d sec %d\n", min, sec); in cnvrtDosUnixTm() 977 sec += (min * 60); in cnvrtDosUnixTm() 978 sec += 60 * 60 * st->Hours; in cnvrtDosUnixTm() 1006 sec += 24 * 60 * 60 * days; in cnvrtDosUnixTm() 1008 ts.tv_sec = sec + offset; in cnvrtDosUnixTm()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | hw.c | 910 rtlpriv->sec.pairwise_enc_algorithm, in rtl92ce_enable_hw_security_config() 911 rtlpriv->sec.group_enc_algorithm); in rtl92ce_enable_hw_security_config() 913 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl92ce_enable_hw_security_config() 921 if (rtlpriv->sec.use_defaultkey) { in rtl92ce_enable_hw_security_config() 2187 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92ce_set_key() 2189 rtlpriv->sec.key_len[idx] = 0; in rtl92ce_set_key() 2214 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl92ce_set_key() 2241 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92ce_set_key() 2252 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]); in rtl92ce_set_key() 2255 rtlpriv->sec.key_buf[0][0], in rtl92ce_set_key() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-crypto.c | 208 int sec = 1; /* do test only 1 sec */ in cfs_crypto_performance_test() local 212 for (start = jiffies, end = start + sec * HZ, bcount = 0; in cfs_crypto_performance_test()
|
/linux-4.1.27/scripts/mod/ |
D | modpost.c | 267 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname() argument 269 const char *secname = sec_name(elf, sec); in export_from_secname() 285 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec() argument 287 if (sec == elf->export_sec) in export_from_sec() 289 else if (sec == elf->export_unused_sec) in export_from_sec() 291 else if (sec == elf->export_gpl_sec) in export_from_sec() 293 else if (sec == elf->export_unused_gpl_sec) in export_from_sec() 295 else if (sec == elf->export_gpl_future_sec) in export_from_sec() 848 const char *sec = sech_name(elf, sechdr); in check_section() local 852 !match(sec, section_white_list)) { in check_section() [all …]
|
/linux-4.1.27/sound/firewire/bebob/ |
D | bebob_stream.c | 202 unsigned int sec, sections, ch, channels; in map_data_channels() local 240 for (sec = 0; sec < sections; sec++) { in map_data_channels() 245 sec, &type); in map_data_channels()
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
D | nfnetlink_log.h | 31 __aligned_be64 sec; member
|
D | nfnetlink_queue.h | 29 __aligned_be64 sec; member
|
/linux-4.1.27/arch/arm/include/asm/xen/ |
D | interface.h | 77 u32 sec; member
|
/linux-4.1.27/drivers/md/bcache/ |
D | sysfs.c | 53 sysfs_time_stats_attribute(btree_gc, sec, ms); 54 sysfs_time_stats_attribute(btree_split, sec, us); 532 sysfs_print_time_stats(&c->btree_gc_time, btree_gc, sec, ms); in SHOW() 533 sysfs_print_time_stats(&c->btree_split_time, btree_split, sec, us); in SHOW() 706 sysfs_time_stats_attribute_list(btree_gc, sec, ms) 707 sysfs_time_stats_attribute_list(btree_split, sec, us)
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/ |
D | Kbuild | 17 include $(src)/nvkm/engine/sec/Kbuild
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 123 u32 sec, nsec; in igb_ptp_read_i210() local 131 sec = rd32(E1000_SYSTIMH); in igb_ptp_read_i210() 133 ts->tv_sec = sec; in igb_ptp_read_i210() 510 ts.tv_sec = rq->perout.period.sec; in igb_ptp_feature_enable_i210() 537 igb->perout[i].start.tv_sec = rq->perout.start.sec; in igb_ptp_feature_enable_i210() 541 wr32(trgttimh, rq->perout.start.sec); in igb_ptp_feature_enable_i210()
|
/linux-4.1.27/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-adc-ad7280a | 18 36.9 minutes. The resolution of the timer is 71.5 sec.
|
/linux-4.1.27/fs/jffs2/ |
D | os-linux.h | 34 #define ITIME(sec) ((struct timespec){sec, 0}) argument
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | fw.c | 724 struct rtl_security *sec = &rtlpriv->sec; in rtl8821ae_set_fw_global_info_cmd() local 729 sec->pairwise_enc_algorithm, sec->group_enc_algorithm); in rtl8821ae_set_fw_global_info_cmd() 733 sec->pairwise_enc_algorithm); in rtl8821ae_set_fw_global_info_cmd() 735 sec->group_enc_algorithm); in rtl8821ae_set_fw_global_info_cmd()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | cfg80211.c | 1446 struct brcmf_cfg80211_security *sec; in brcmf_set_wpa_version() local 1462 sec = &profile->sec; in brcmf_set_wpa_version() 1463 sec->wpa_versions = sme->crypto.wpa_versions; in brcmf_set_wpa_version() 1471 struct brcmf_cfg80211_security *sec; in brcmf_set_auth_type() local 1501 sec = &profile->sec; in brcmf_set_auth_type() 1502 sec->auth_type = sme->auth_type; in brcmf_set_auth_type() 1511 struct brcmf_cfg80211_security *sec; in brcmf_set_wsec_mode() local 1577 sec = &profile->sec; in brcmf_set_wsec_mode() 1578 sec->cipher_pairwise = sme->crypto.ciphers_pairwise[0]; in brcmf_set_wsec_mode() 1579 sec->cipher_group = sme->crypto.cipher_group; in brcmf_set_wsec_mode() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | hw.c | 168 if (rtlpriv->sec.pairwise_enc_algorithm == in rtl92se_set_hw_reg() 449 rtlpriv->sec.pairwise_enc_algorithm, in rtl92se_enable_hw_security_config() 450 rtlpriv->sec.group_enc_algorithm); in rtl92se_enable_hw_security_config() 452 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl92se_enable_hw_security_config() 460 if (rtlpriv->sec.use_defaultkey) { in rtl92se_enable_hw_security_config() 2438 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92se_set_key() 2440 rtlpriv->sec.key_len[idx] = 0; in rtl92se_set_key() 2465 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl92se_set_key() 2491 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92se_set_key() 2508 rtlpriv->sec.key_buf[key_index]); in rtl92se_set_key() [all …]
|
/linux-4.1.27/arch/x86/lguest/ |
D | boot.c | 929 unsigned long sec, nsec; in lguest_clock_read() local 939 sec = lguest_data.time.tv_sec; in lguest_clock_read() 951 } while (unlikely(lguest_data.time.tv_sec != sec)); in lguest_clock_read() 954 return sec*1000000000ULL + nsec; in lguest_clock_read()
|
/linux-4.1.27/drivers/edac/ |
D | ppc4xx_edac.c | 168 int sec; /* Single-bit correctable error IRQ assigned */ member 1031 pdata->irqs.sec = NO_IRQ; in ppc4xx_edac_mc_init() 1152 pdata->irqs.sec = sec_irq; in ppc4xx_edac_register_irq() 1359 free_irq(pdata->irqs.sec, mci); in ppc4xx_edac_remove()
|
/linux-4.1.27/Documentation/networking/ |
D | dccp.txt | 71 service codes (RFC 4340, sec. 8.1.2); if this socket option is not set, 108 partial checksum coverage (RFC 4340, sec. 9.2). The default is that checksums 121 restrictive this setting (see [RFC 4340, sec. 9.2.1]). Partial coverage 168 The initial sequence window (sec. 7.5.2) of the sender. This influences
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | hw.c | 906 rtlpriv->sec.pairwise_enc_algorithm, in rtl8723e_enable_hw_security_config() 907 rtlpriv->sec.group_enc_algorithm); in rtl8723e_enable_hw_security_config() 909 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl8723e_enable_hw_security_config() 917 if (rtlpriv->sec.use_defaultkey) { in rtl8723e_enable_hw_security_config() 2252 memset(rtlpriv->sec.key_buf[idx], 0, in rtl8723e_set_key() 2254 rtlpriv->sec.key_len[idx] = 0; in rtl8723e_set_key() 2279 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl8723e_set_key() 2305 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl8723e_set_key() 2322 rtlpriv->sec.key_buf[key_index]); in rtl8723e_set_key() 2334 rtlpriv->sec.key_buf in rtl8723e_set_key() [all …]
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | rtas-proc.c | 400 unsigned int year, mon, day, hour, min, sec; in ppc_rtas_clock_show() local 402 hour = ret[3]; min = ret[4]; sec = ret[5]; in ppc_rtas_clock_show() 404 mktime(year, mon, day, hour, min, sec)); in ppc_rtas_clock_show()
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | fixed-link.txt | 28 - c: link speed in Mbits/sec, accepted values are: 10, 100 and 1000
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 60 u32 sec, usec; in solo_timer_sync() local 72 sec = solo_reg_read(solo_dev, SOLO_TIMER_SEC); in solo_timer_sync() 77 diff = (long)ts.tv_sec - (long)sec; in solo_timer_sync()
|
/linux-4.1.27/net/dccp/ccids/ |
D | Kconfig | 33 This text was extracted from RFC 4340 (sec. 10.2),
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | hw.c | 1031 rtlpriv->sec.pairwise_enc_algorithm, in rtl88ee_enable_hw_security_config() 1032 rtlpriv->sec.group_enc_algorithm); in rtl88ee_enable_hw_security_config() 1034 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl88ee_enable_hw_security_config() 1042 if (rtlpriv->sec.use_defaultkey) { in rtl88ee_enable_hw_security_config() 2381 memset(rtlpriv->sec.key_buf[idx], 0, in rtl88ee_set_key() 2383 rtlpriv->sec.key_len[idx] = 0; in rtl88ee_set_key() 2408 if (is_wepkey || rtlpriv->sec.use_defaultkey) { in rtl88ee_set_key() 2434 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl88ee_set_key() 2452 rtlpriv->sec.key_buf[key_index]); in rtl88ee_set_key() 2464 rtlpriv->sec.key_buf in rtl88ee_set_key() [all …]
|