/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
H A D | It_posix_queue_090.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 40 (void)snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 43 queue[i] = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 50 queue[numqueues] = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 63 (void)snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 65 ret = mq_unlink(qname); in Testcase() 69 (void)snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 71 ret = mq_unlink(qname); in Testcase() 85 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_027.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH]; in Testcase() local 39 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 43 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 49 ret = mq_unlink(qname); in Testcase() 56 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_098.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 39 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 43 queue = mq_open(qname, O_CREAT | O_RDWR | O_WRONLY, S_IRUSR | S_IWUSR, NULL); in Testcase() 49 ret = mq_unlink(qname); in Testcase() 55 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_046.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 40 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 44 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 54 ret = mq_unlink(qname); in Testcase() 61 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_084.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 41 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 44 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 56 ret = mq_unlink(qname); in Testcase() 62 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_026.cpp | 36 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 39 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 43 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 50 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_080.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH], msgrcd[MQUEUE_STANDARD_NAME_LENGTH]; in Testcase() local 43 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 49 queue = mq_open(qname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase() 76 ret = mq_unlink(qname); in Testcase() 82 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_081.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH], msgrcd[MQUEUE_STANDARD_NAME_LENGTH]; in Testcase() local 43 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 49 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in Testcase() 66 ret = mq_unlink(qname); in Testcase() 72 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_083.cpp | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 42 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 47 queue = mq_open(qname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase() 68 ret = mq_unlink(qname); in Testcase() 74 mq_unlink(qname); in Testcase()
|
/kernel/liteos_m/testsuites/sample/posix/mqueue/ |
H A D | It_posix_queue_017.c | 34 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH]; in Testcase() local 38 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 42 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 50 ret = mq_unlink(qname); in Testcase() 56 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_030.c | 34 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 39 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 43 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 53 ret = mq_unlink(qname); in Testcase() 60 mq_unlink(qname); in Testcase()
|
H A D | It_posix_queue_016.c | 35 CHAR qname[MQUEUE_STANDARD_NAME_LENGTH] = ""; in Testcase() local 38 ret = snprintf_s(qname, MQUEUE_STANDARD_NAME_LENGTH, MQUEUE_STANDARD_NAME_LENGTH - 1, \ in Testcase() 42 queue = mq_open(qname, O_RDWR, S_IRUSR | S_IWUSR, NULL); in Testcase() 49 mq_unlink(qname); in Testcase()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_debugfs.c | 67 static char qname[16]; in debugfs_dim_ring_init() local 69 snprintf(qname, 10, "%d", ring_idx); in debugfs_dim_ring_init() 70 debugfs_create_file(qname, 0600, dd, dim, &debugfs_dim_fops); in debugfs_dim_ring_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_debugfs.c | 67 static char qname[16]; in debugfs_dim_ring_init() local 69 snprintf(qname, 10, "%d", ring_idx); in debugfs_dim_ring_init() 70 debugfs_create_file(qname, 0600, dd, dim, &debugfs_dim_fops); in debugfs_dim_ring_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_trace.h | 78 __string(qname, q->name) 92 __assign_str(qname, q->name); 101 __get_str(dev_name), __get_str(qname), __entry->irq_num,
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | send.c | 508 const char *qname; in batadv_forw_packet_alloc() local 511 qname = "unknown"; in batadv_forw_packet_alloc() 514 qname = "bcast"; in batadv_forw_packet_alloc() 517 qname = "batman"; in batadv_forw_packet_alloc() 520 "%s queue is full\n", qname); in batadv_forw_packet_alloc()
|
/kernel/linux/linux-6.6/fs/ |
H A D | anon_inodes.c | 63 const struct qstr qname = QSTR_INIT(name, strlen(name)); in anon_inode_make_secure_inode() local 70 error = security_inode_init_security_anon(inode, &qname, context_inode); in anon_inode_make_secure_inode()
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | send.c | 502 const char *qname; in batadv_forw_packet_alloc() local 505 qname = "unknown"; in batadv_forw_packet_alloc() 508 qname = "bcast"; in batadv_forw_packet_alloc() 511 qname = "batman"; in batadv_forw_packet_alloc() 514 "%s queue is full\n", qname); in batadv_forw_packet_alloc()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | sched.c | 228 static void __rpc_init_priority_wait_queue(struct rpc_wait_queue *queue, const char *qname, unsigned char nr_queues) in __rpc_init_priority_wait_queue() argument 241 rpc_assign_waitqueue_name(queue, qname); in __rpc_init_priority_wait_queue() 244 void rpc_init_priority_wait_queue(struct rpc_wait_queue *queue, const char *qname) in rpc_init_priority_wait_queue() argument 246 __rpc_init_priority_wait_queue(queue, qname, RPC_NR_PRIORITY); in rpc_init_priority_wait_queue() 250 void rpc_init_wait_queue(struct rpc_wait_queue *queue, const char *qname) in rpc_init_wait_queue() argument 252 __rpc_init_priority_wait_queue(queue, qname, 1); in rpc_init_wait_queue()
|
/kernel/linux/linux-5.10/fs/fat/ |
H A D | namei_vfat.c | 656 static int vfat_add_entry(struct inode *dir, const struct qstr *qname, in vfat_add_entry() argument 664 len = vfat_striptail_len(qname); in vfat_add_entry() 672 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, in vfat_add_entry() 692 static int vfat_find(struct inode *dir, const struct qstr *qname, in vfat_find() argument 695 unsigned int len = vfat_striptail_len(qname); in vfat_find() 698 return fat_search_long(dir, qname->name, len, sinfo); in vfat_find()
|
/kernel/linux/linux-6.6/mm/ |
H A D | secretmem.c | 198 const struct qstr qname = QSTR_INIT(anon_name, strlen(anon_name)); in secretmem_file_create() local 205 err = security_inode_init_security_anon(inode, &qname, NULL); in secretmem_file_create()
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | proc_sysctl.c | 675 struct qstr qname; in proc_sys_fill_cache() local 679 qname.name = table->procname; in proc_sys_fill_cache() 680 qname.len = strlen(table->procname); in proc_sys_fill_cache() 681 qname.hash = full_name_hash(dir, qname.name, qname.len); in proc_sys_fill_cache() 683 child = d_lookup(dir, &qname); in proc_sys_fill_cache() 686 child = d_alloc_parallel(dir, &qname, &wq); in proc_sys_fill_cache() 714 return dir_emit(ctx, qname.name, qname in proc_sys_fill_cache() [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A D | proc_sysctl.c | 686 struct qstr qname; in proc_sys_fill_cache() local 690 qname.name = table->procname; in proc_sys_fill_cache() 691 qname.len = strlen(table->procname); in proc_sys_fill_cache() 692 qname.hash = full_name_hash(dir, qname.name, qname.len); in proc_sys_fill_cache() 694 child = d_lookup(dir, &qname); in proc_sys_fill_cache() 697 child = d_alloc_parallel(dir, &qname, &wq); in proc_sys_fill_cache() 725 return dir_emit(ctx, qname.name, qname in proc_sys_fill_cache() [all...] |
/kernel/linux/linux-6.6/fs/fat/ |
H A D | namei_vfat.c | 656 static int vfat_add_entry(struct inode *dir, const struct qstr *qname, in vfat_add_entry() argument 664 len = vfat_striptail_len(qname); in vfat_add_entry() 672 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, in vfat_add_entry() 692 static int vfat_find(struct inode *dir, const struct qstr *qname, in vfat_find() argument 695 unsigned int len = vfat_striptail_len(qname); in vfat_find() 698 return fat_search_long(dir, qname->name, len, sinfo); in vfat_find()
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | sched.c | 243 static void __rpc_init_priority_wait_queue(struct rpc_wait_queue *queue, const char *qname, unsigned char nr_queues) in __rpc_init_priority_wait_queue() argument 256 rpc_assign_waitqueue_name(queue, qname); in __rpc_init_priority_wait_queue() 259 void rpc_init_priority_wait_queue(struct rpc_wait_queue *queue, const char *qname) in rpc_init_priority_wait_queue() argument 261 __rpc_init_priority_wait_queue(queue, qname, RPC_NR_PRIORITY); in rpc_init_priority_wait_queue() 265 void rpc_init_wait_queue(struct rpc_wait_queue *queue, const char *qname) in rpc_init_wait_queue() argument 267 __rpc_init_priority_wait_queue(queue, qname, 1); in rpc_init_wait_queue()
|